Conference Paper
Proceedings of eSim 2024: 13th Conference of IBPSA-Canada
Lessons Learned From Modelling a Complex Residential Building Energy System in TRNSYS
Lessons Learned From Modelling a Complex Residential Building Energy System in TRNSYS
Cem Kalkan, Colin Ward, Jean Duquette, Fidel Khouli, Mehmet Akif EzanCarleton UniversityAbstract: The TRNSYS software is a preferred choice for modelling the operation of diverse multi-component thermofluid systems. Thanks to its versatile architecture and associated libraries, TRNSYS enables users to develop custom components with a high level of accuracy and speed. However, challenges persist regarding how to properly integrate these components into larger-scale models and ensure correct functionality via program tracing. In this study, two key TRNSYS limitations are discussed: 1) the computation time related to coupling C++, MATLAB®, and Python codes with TRNSYS simulations, and 2) the need to emulate thermal inertia in closed loop fluid systems and the potential pitfalls that may occur if this aspect is not handled correctly. Examples are presented to illustrate these limitations and results are quantified via the calculation of simulation speed and modelling error. Potential solution methods are explained to help current and future TRNSYS users develop higher accuracy models. Keywords: Residential Building Energy System, TRNSYS, MATLAB, PythonPaper:![]()
