-
Notifications
You must be signed in to change notification settings - Fork 70
UseCases
Michael Wetter edited this page May 25, 2018
·
2 revisions
This page lists a use case for an end-user and a developer.
The End-User represents the user who is testing a controller that they have developed on a BOPTEST test case. The End-User will:
- Download selected test case image and deployment script from repository of test cases.
- Use the deployment script to deploy the test case image as a docker container and establish communication with the test case container through a port mapping.
- Interact with the test case container to retrieve information about the test, such as available control signals, measurements, communication steps, and input measurement forecasts (e.g. weather for MPC).
- Set the communication step size, in simulated seconds, with the test case or set the test case to advance according to the wall clock.
- Link the controller to be tested to the test case.
- Run the test to completion, exchanging measurement, forecast, and updated control signal data at every communication step.
- Receive KPI results of test.
- Receive other data collected during test, such as control signal or measurement trajectories, for further post processing.
The test case developer represents the user who is creating test case emulator models, defining control signals and measurements, setting simulation options (such as solver, tolerance, available communication steps), and writing KPI calculations. The test case developer will:
- Create the test case modelica model according to the specifications and template outlined in the test case requirements document.
- Include any required exogenous input data, such as weather files or occupancy schedules, defined outside of the model.
- Peer review test case model.
- Export the model as an FMU.
- Finalize test of the simulation of the FMU with exogenous input data locally.
- Use script to use FMU and exogenous input data files to build docker image representing test case (template docker images and associated files developed by infrastructure developer)
- Post docker image to BOPTEST test case repository.