MODELICA VERSUS TRNSYS – A COMPARISON BETWEEN AN EQUATION-BASED AND A PROCEDURAL MODELING LANGUAGE FOR BUILDING ENERGY SIMULATION

Michael Wetter, Christoph Haugstetter

2006 · 61 citations · 10 references

Concepts

Abstract

We present the implementation of a multizone building energy simulation model in the equation-based modeling languageModelica and compare it to an implementation with comparable modeling detail in TRNSYS. Our development time comparison in-dicates a five to ten times faster development through use of the equation-based modeling language Mod-elica. The development time for TRNSYS was ex-trapolated using data from BuildOpt and comparison between BuildOpt and TRNSYS since TRNSYS data were not available. We provide a comparative model validation of the Modelica and TRNSYS implemen-tation, and compare their numerical performance. The difference in predicted annual heating and cool-ing energy usage between our Modelica model and TRNSYS is 5 % to 20%, which we primarily attribute to our simplified window model. The computation time of the Modelica model was three to four times longer than TRNSYS, but we believe that dismissing equation-based modeling languages as computation-ally inefficient is a premature conclusion.

References

10