-
Notifications
You must be signed in to change notification settings - Fork 161
Co Simulation Interfaces
This feature should allow linking during run-time Modelica-based models with other simulation programs such as EnergyPlus, MATLAB and Simulink. A user can then simulate the building heat flow and daylighting in EnergyPlus and design control algorithms in MATLAB or Simulink, while using Dymola to simulate an HVAC system expressed in Modelica.
We propose to make a Modelica model that provides a link to the Building Controls Virtual Test Bed (BCVTB). The BCVTB then provides the link to other simulators, or to models that are directly defined in Ptolemy II as Ptolemy II is the modeling environment on which the BCVTB is built.
This link will require a fixed sampling time in which data are exchanged between the Modelica-based model and the BCVTB.
This will also allow linking Modelica-based models with controls hardware using digital/analog converters or a BACnet interface from the BCVTB.
A block that can connect to the BCVTB has been implemented. It is available in the Buildings library version 0.6.0 or higher and documented here.
In addition, an FMU for co-simulation import interface has been developed for EnergyPlus, and an FMU for co-simulation export facility for EnergyPlus will be released in 2013.