Development of a “PCM-in-container” energy storage model component for a possible building energy evaluation in TRNSYS 18
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.
Authors
Phase Change Materials (PCMs) offer a promising pathway toward net-zero energy buildings by enhancing thermal energy efficiency. By absorbing and storing heat during the day and releasing it at night, PCMs can reduce reliance on active heating and cooling systems. While PCMs have been widely studied both experimentally and numerically, limited research exists on configurations where PCM containers are in direct contact with surrounding air. This study developed a novel “PCM-in-container” component in TRNSYS 18 to simulate energy gains from such direct interactions. The component was integrated with greenhouse and weather modules in TRNSYS and validated experimentally using three model greenhouses containing air, water, and Vaseline as PCM substances. Model performance was assessed using R-squared (R²), correlation coefficient (CC), root mean square error (RMSE) and mean absolute error (MAE). For water-based PCM, values of R² = 0.97, CC = 0.99, RMSE = 2.01°C, and MAE = 1.33°C were obtained, demonstrating strong model accuracy. The results showed that PCM-filled containers (e.g., structural or railing pipes) could increase nighttime greenhouse temperatures by up to 7°C. The developed component enables energy gain simulations and nighttime heating predictions, offering a valuable tool for greenhouse energy demand evaluation. Although the current model does not account for hysteresis, future work may incorporate this through modifications in the TRNSYS Fortran environment.
Downloads
Citations
CRediT authorship contribution
QOO: Conceptualization, Methodology, Software, Validation, Formal analysis, Writing - Original Draft, Investigation, Visualization. TDA: Investigation, Resources, Data curation, Writing - Review & Editing. WHN: Investigation, Resources, Data curation, Visualization. MAA: Investigation, Writing - Review & Editing. AR: Investigation, Writing - Review & Editing. AAA: Investigation, Writing - Review & Editing. AOA: Investigation, Writing - Review & Editing. HWL: Supervision, Resources, Funding acquisition. SL: Resources, Writing - Review & Editing, Supervision, Project administration, Funding acquisition.
Supporting Agencies
This work was supported by the Korea Institute of Planning and Evaluation for Technology in Food, Agriculture, Forestry (IPET) through Agriculture, Food and Rural Affairs Convergence Technologies Program for Educating Creative Global Leader, funded by Ministry of Agriculture, Food and Rural Affairs (MAFRA) (717001-7). , This research was supported by Basic Science Research Program through the National Research Foundation of Korea (NRF), funded by the Ministry of Education [NRF-2019R1I1A3A01051739]., This work was carried out with the support of “Research Program for Agriculture Science and Technology Development (Project No. RS-2025-02223042)” Rural Development Administration, Republic of KoreaData Availability Statement
The source code for the PCM component building and compilation can be found at https://github.com/users/cosmosopy/projects/1. Other data will be available on request.
Department of Agricultural and Bioenvironmental Engineering, Federal College of Agriculture Ibadan, Nigeria
How to Cite

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.