Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

This should not be done with the BCVTB since the tool is not designed for that. It might be better for you to export EnergyPlus as an FMU, and import it in Simulink/Matlab so you can call it multiple times at a given time step. One difficulty I see is with the whole setup is to actually reinitialize EnergyPlus with the values found by the optimizer at every step. This is particularly important when your system model has states.

This should not be done with the BCVTB since the tool is not designed for that. It might be better for you to export EnergyPlus as an FMU, and import it in Simulink/Matlab so you can call it multiple times at a given time step. One difficulty I see is with the whole setup is to actually reinitialize EnergyPlus with the values found by the optimizer at every step. This is particularly important when your system model has states.