Skip to main content
QUICK REVIEW

[Paper Review] A Comparison between CODYRUN and TRNSYS, simulation models for thermal buildings behaviour

Franck Lucas, Thierry A. Mara|arXiv (Cornell University)|Dec 18, 2012
Building Energy and Comfort OptimizationEngineering4 references5 citations
TL;DR

This study compares CODYRUN and TRNSYS for simulating thermal behavior in buildings under tropical climate conditions, using a mono-zone test cell and a real multi-zone tropical house. Both models show comparable accuracy, but spectral analysis reveals CODYRUN underperforms in modeling direct solar radiation and outdoor temperature effects, while TRNSYS is more sensitive to diffuse solar and outdoor temperature inputs, highlighting key model-specific errors in radiant and thermal transfer representations.

ABSTRACT

Simulation codes of thermal behaviour could significantly improve housing construction design. Among the existing software, CODYRUN and TRNSYS are calculations codes of different conceptions. CODYRUN is exclusively dedicated to housing thermal behaviour, whereas TRNSYS is more generally used on any thermal system. The purpose of this article is to compare these two instruments in two different conditions . We will first modelize a mono-zone test cell, and analyse the results by means of signal treatment methods. Then, we will modelize a real case of multi-zone housing, representative of housing in wet tropical climates. We could so evaluate influences of meteorological and building description data on model errors.

Motivation & Objective

  • To evaluate and compare the accuracy of CODYRUN and TRNSYS in simulating thermal behavior of buildings in humid tropical climates.
  • To identify the influence of meteorological and building description parameters on simulation errors in both models.
  • To assess model performance using experimental data from a well-instrumented mono-zone test cell and a real multi-zone tropical dwelling.
  • To investigate the role of solar radiation (direct/diffuse), outdoor air temperature, and sky temperature in simulation residuals.
  • To guide model selection and improvement by identifying dominant error sources in each simulation code.

Proposed method

  • Simulations were conducted on a fully instrumented adiabatic test cell (22.5 m³) with known thermal and physical properties.
  • A real multi-zone tropical house with light-weight construction (breeze blocks, wood fiberboard, air layers) was modeled, including five thermal zones.
  • Both CODYRUN and TRNSYS were used to simulate indoor temperature responses under identical meteorological excitations.
  • Signal processing techniques, including power spectral density and squared coherency analysis, were applied to residuals to identify dominant error sources.
  • Variance decomposition was used to quantify the contribution of each weather input (outdoor temperature, direct/diffuse solar, wind speed) to simulation errors.
  • The TRNSYS Type 56 multi-zone building model was used with BID and PREDBID utilities, while CODYRUN employed a lumped-capacity finite difference method with user-defined heat transfer models.

Experimental results

Research questions

  • RQ1How do CODYRUN and TRNSYS compare in simulating indoor temperature dynamics in a controlled mono-zone test cell?
  • RQ2What meteorological inputs (direct solar, diffuse solar, outdoor temperature, wind speed) most significantly contribute to simulation errors in each model?
  • RQ3Why do simulation residuals in both models exhibit a 24-hour periodicity, and what does this imply about model fidelity?
  • RQ4How does model performance differ between a well-defined test cell and a real multi-zone tropical building with complex, less-defined construction?
  • RQ5To what extent do differences in heat transfer modeling (e.g., transfer functions vs. finite difference) affect accuracy in lightweight tropical constructions?

Key findings

  • In the mono-zone test cell, both CODYRUN and TRNSYS showed low residual standard deviations (0.44°C and 0.43°C respectively), indicating good overall agreement with experimental data.
  • Power spectral density analysis revealed that residuals for both models are not white noise, with a dominant 24-hour period, indicating systematic model errors tied to diurnal weather cycles.
  • Squared coherency analysis showed that CODYRUN residuals had stronger linear correlations with outdoor air and sky temperature (up to 0.8) than TRNSYS (up to 0.6), suggesting better sensitivity to these inputs.
  • For TRNSYS, 64% of the residual power in the [0–0.02] h⁻¹ range was attributed to outdoor temperature, while CODYRUN attributed 56% to the same input in the [0.02–0.08] h⁻¹ range.
  • In the multi-zone simulation, CODYRUN consistently underestimated indoor temperatures, especially at night, with a residual standard deviation of 2.02°C in the toilet zone, indicating poor long-wave radiation modeling.
  • Variance decomposition showed that for TRNSYS, 64% of residual power in the [0–0.02] h⁻¹ range was due to outdoor temperature, while for CODYRUN, 56% was attributed to outdoor or sky temperature, highlighting a key source of error in both models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.