Enhancement of the building simulation software TRNSYS by coupling to the VEPZO model programmed in Modelica

Svea Kübler
Fraunhofer-Institute for Building Physics, Valley, Germany

Victor Norrefeldt
Transsolar Energietechnik GmbH, Stuttgart, Germany

Ladda ner artikelhttp://dx.doi.org/10.3384/ecp14096107

Ingår i: Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden

Linköping Electronic Conference Proceedings 96:11, s. 107-114

Visa mer +

Publicerad: 2014-03-10

ISBN: 978-91-7519-380-9

ISSN: 1650-3686 (tryckt), 1650-3740 (online)


In this study; the possibility to interface a commercial building simulation tool with Modelica models is investigated. In this application; the zonal model VEPZO – modeled in Modelica – is coupled to the software TRNSYS – mainly programmed in Fortran – to be able to perform a dynamic co-simulation. The objective of this coupling is to obtain refined airflow and air temperature prediction; while retaining com-putation effort low enough to allow for transient computation. In a first attempt; a coupling using FMI was tested without success due to a lack of adequate solvers for FMI export. Therefore; a script coupling was implemented. Further steps include a validation and evaluation of the programmed interface and the results of the coupled system in respect to computation time; quality of results; usability and further development.


Building simulation; zonal model; FMU; Dymola scripting; TRNSYS


[1] Wetter, M.: Modelica library for building heating, ventilation and air-conditioning systems, 7th International Modelica Conference, Como, Italy, 20.-22. september 2009.

[2] Norrefeldt, V., Andersson, D., Pathak, A. et al.: The Indoor Climate Library and its application to heat and moisture transfer in a vehicle cabin, 9th Modelica Conference, 3.-5. september 2012, Munich, Germany.

[3] Norrefeldt, V., Grün, G., Sedlbauer, K.: VEPZO - Velocity propagating zonal model for the estimation of the airflow pattern and temperature distribution in a confined space, Building and Environment, Volume 48, pp. 183-194, 2012. DOI: 10.1016/j.buildenv.2011.09.007

[4] Norrefeldt, V., Grün, G.: VEPZO - Velocity Propagating Zonal Model for the prediction of airflow pattern and temperature distribution in enclosed spaces, 9th Modelica Conference, 3.- 5. september 2012, Munich, Germany.

[5] LBNL, consulted 7-3-2012, http://epb.lbl.gov/comis/

[6] Boukhris, Y., Gharbi, L., Ghrab-Morcos, N.: Modeling coupled heat transfer and air flow in a partitioned building with a zonal model: application to the winter thermal comfort, Building Simulation, Volume 2, pp. 67-74, 2009. DOI: 10.1007/S12273-009-9405-8

[7] Beausoleil-Morrison, I., Macdonalda, F., Kummert, M. et al.: The design of an ESP-r and TRNSYS cosimulator, BuildingSimulation, 14.-16.november 2011, Sydney, Austrailia.

[8] Trcka, M., Wetter, M., Hensen, J.: Comparison of co-simulation approaches for building simulation and HVAC/R system simulation, Building Simulation, 3.-5. septemper 2007, Bejing, China.

[9] Wetter, M.: Building Controls Virtual Test Bed UserManual, 2012.

[10] Modelica Association: Functional Mock-up Interface, 2012.

[11] Pazold, M., Burhenne, S., Radon, J. et al.: Integration of Modelica models into an existing simulation software using FMI for Co-Simulation, 9th Modelica Conference, 3.-5. september 2012, Munich, Germany.

[12] Wernersson, K.: Personal Communication, 2013.

[13] Mouriki, E.: Solar-Assisted Hybrid Ventilation in an Institutional Building, Master Thesis at Concordia Universtiy Montréal, Canada, 2009.

[14] Hussain, S.: Numerical investigations of the indoor thermal environment in atria and of the buoyancy-driven ventilation in a simple atriumbuilding, PhD Thesis at the Queen’s University, Montréal, Canada, 2012.

[15] National Renewable Energy Laboratory: NSRDB - National Solar Radiation Data Base, United States, 2007.

Citeringar i Crossref