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

HVAC model in Modelica

asked 2021-01-25 07:34:12 -0600

Charalampos Angelopoulos's avatar

updated 2021-01-25 11:15:28 -0600

I am trying to implement the HVAC model presented in "Functional mock-up unit for co-simulation import in EnergyPlus".

Is it possible to find this model at the buildings library? I am not sure what is the last box used before exporting the Qsensible and Qlatent.

image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-01-26 03:38:15 -0600

updated 2021-01-26 07:24:41 -0600

I suggest starting from

You can then delete the demultiplexer and the multiplexer objects first. Next, you can connect the blocks from_degC1, perToRel1, from_degC, perToRel with real input connectors as shown on the figure you have posted.

For the outputs, you can get the latent and sensible enthalpy flow rate from the Buildings.Utilities.IO.BCVTB.MoistAirInterface component (bouBCVTB). That is the one connected to the box you are referring to.

I don't have the model any longer but I believe that the block was used to compute the average values of the outputs over the sampling period to replicate what is done in the bcvtb block found in the MoistAir example (This block should of course be deleted prior to exporting the model as an FMU 1.0 for co-simulation). You may be able to bypass the block if you are OK using the current values as opposed to averaged ones.

edit flag offensive delete link more


Thank you for the quick reply. I will follow your suggestions. Hopefully it should be fine.

Charalampos Angelopoulos's avatar Charalampos Angelopoulos  ( 2021-01-26 05:45:27 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools

1 follower


Asked: 2021-01-25 07:34:12 -0600

Seen: 339 times

Last updated: Jan 26 '21