The Advanced Controls Test Bed (ACTB) is a virtual buildings test bed that interfaces external controllers to high-fidelity Spawn of EnergyPlus models.
Migrate the ACTB testing/makefile to use as much from boptest-service/boptest as possible. Minimize the duplication that exists in ACTB and the BOPTEST copy for compilation.
boptest-service Changes
Switch to 0.2.0-d7f1e095f3 Spawn version since that's what's used in the compilation in the chose modelica-buildings commit for SpawnRefSmallOffice.
Add libtinfo5 to boptest-service/worker/Dockerfile since the Spawn binary complains about not being able to find it at runtime in the worker image.
Add generation of the Spawn data during compilation in boptest-service/boptest/testing/makefile. This could be split into a separate command or similar in the future, if desired.
# Start boptest-service bundled into ACTB
$ cd boptest-service && docker compose up web worker provision
# Run the control simulation
$ cd examples/python/RLC-spawnrefsmalloffice && python c1a_Direct_run_600_v1.py
Description
actb_client.py
to handle https://github.com/ibpsa/project1-boptest/pull/508 (refactoring of the forecast APIs in BOPTEST).testing/makefile
to use as much fromboptest-service/boptest
as possible. Minimize the duplication that exists in ACTB and the BOPTEST copy for compilation.boptest-service
Changes0.2.0-d7f1e095f3
Spawn version since that's what's used in the compilation in the chose modelica-buildings commit for SpawnRefSmallOffice.libtinfo5
toboptest-service/worker/Dockerfile
since the Spawn binary complains about not being able to find it at runtime in the worker image.boptest-service/boptest/testing/makefile
. This could be split into a separate command or similar in the future, if desired.Fixes https://github.com/henze-research-group/MODRLC/issues/51.
Testing