Original Articles

Development of a “PCM-in-container” energy storage model component for a possible building energy evaluation in TRNSYS 18

Publisher's note
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.
Published: 20 March 2026
53
Views
27
Downloads

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

Download data is not yet available.

Citations

Adesanya MA, Na WH, Rabiu A, Ogunlowo QO, Akpenpuun TD, Rasheed A, et al., 2022. TRNSYS simulation and experimental validation of internal temperature and heating demand in a glass greenhouse. Sustainability 14:8283. DOI: https://doi.org/10.3390/su14148283
Akpenpuun TD, Na WH, Ogunlowo QO, Rabiu A, Adesanya MA, et al., 2021a. Effect of glazing configuration as an energy-saving strategy in naturally ventilated greenhouses for strawberry (Seolhyang Sp.) cultivation. J Agric Eng 52:1177. DOI: https://doi.org/10.4081/jae.2021.1177
Akpenpuun TD, Na WH, Ogunlowo QO, Rabiu A, Adesanya MA, et al., 2021b. Effect of greenhouse cladding materials and thermal screen configuration on heating energy and strawberry (Fragaria Ananassa Var. ‘Seolhyang’) yield in winter. Agronomy 11:2498. DOI: https://doi.org/10.3390/agronomy11122498
Boussaba L, Lefebvre G, 2021. Investigation of white vaseline as an alternative phase change material for thermal regulation of physiological birth rooms. J Build Eng 44:102669. DOI: https://doi.org/10.1016/j.jobe.2021.102669
Cabeza LF, Castell A, Barrenech C, De Gracia A, Fernández AI, 2011. Materials used as PCM in Thermal energy storage in buildings: a review. Renew Sustain Energy Rev 15:1675–1695. DOI: https://doi.org/10.1016/j.rser.2010.11.018
Chandrasekharan R, Lee ES, Fisher DE, Deokar PS, 2013. An enhanced simulation model for building envelopes with phase change materials. ASHRAE T 119:1–10.
Chanson H, 2009. Turbulent air-water flows in hydraulic structures: dynamic similarity and scale effects. Environ Fluid Mech 9:125-142. DOI: https://doi.org/10.1007/s10652-008-9078-3
Cornaro C, Pierro M, Adoo Puggioni V, Roncarati D, 2017. Outdoor characterization of phase change materials reach NZEB. Buildings 7:55. DOI: https://doi.org/10.3390/buildings7030055
Eydani Asl M, Niezrecki C, Sherwood J, Avitabile P, 2017. Similitude analysis of thin-walled composite I-beams for subcomponent testing of wind turbine blades. Wind Eng 41:297–312. DOI: https://doi.org/10.1177/0309524X17709924
Jayalath A, Aye L, Mendis P, Ngo T, 2016. Effects of phase change material roof layers on thermal performance of a residential building in Melbourne and Sydney. Energy Build 121:152-158. DOI: https://doi.org/10.1016/j.enbuild.2016.04.007
Kutty N, Barakat D, Khoukhi M, 2023. A French residential retrofit towards achieving net-zero en- ergy target in a Mediterranean climate. Buildings 13:833. DOI: https://doi.org/10.3390/buildings13030833
Kuznik F, Virgone J, Johannes K, 2010. Development and validation of a new TRNSYS type for the simulation of external building walls containing PCM. Energy Build 42:1004-1009. DOI: https://doi.org/10.1016/j.enbuild.2010.01.012
Mazzeo D, Matera N, Cornaro C, Oliveti G, Romagnoni P, De Santoli L, 2020. EnergyPlus, IDA ICE and TRNSYS predictive simulation accuracy for building thermal behaviour evaluation by using an experimental campaign in solar test boxes with and without a PCM module. Energy Build 212:109812. DOI: https://doi.org/10.1016/j.enbuild.2020.109812
Mears DR, 1998. Greenhouse glazing effects on heat transfer for winter heating and summer cooling. Available from: https://horteng.envsci.rutgers.edu/workshop/lecture4.pdf
Mu M, Zhang S, Yang S, Wang Y, 2022. Phase change materials applied in agricultural greenhouses. J Energy Storage 49:104100. DOI: https://doi.org/10.1016/j.est.2022.104100
Naghibi Z, Carriveau R, Ting DS-K, 2020. Improving clean energy greenhouse heating with solar thermal energy storage and phase change materials. Energy Storage 2:e116. DOI: https://doi.org/10.1002/est2.116
Najjar A, Hasan A, 2008. Modeling of greenhouse with PCM energy storage. Energy Convers Manag 49:3338-3342. DOI: https://doi.org/10.1016/j.enconman.2008.04.015
Nishad S, Krupa I, 2022. Phase change materials for thermal energy storage applications in greenhouses: a review. Sustain Energy Technol Assess 52:102241. DOI: https://doi.org/10.1016/j.seta.2022.102241
Ogunlowo QO, Akpenpuun TD, Na WH, Rabiu A, Adesanya MA, Addae KS, et al., 2021. Analysis of heat and mass distribution in a single- and multi-span greenhouse microclimate. Agriculture 11:891. DOI: https://doi.org/10.3390/agriculture11090891
Ogunlowo QO, Akpenpuun TD, Na WH, Adesanya MA, Rabiu A, Dutta P, et al. 2023. Simulation of greenhouse energy and strawberry (Seolhyang Sp.) yield using TRNSYS DVBES: a base case. Solar Energy 266:112196. DOI: https://doi.org/10.1016/j.solener.2023.112196
Ogunlowo QO, Na WH, Rabiu A, Adesanya MA, Akpenpuun TD, Kim HT, Lee HW, 2022. Effect of envelope characteristics on the accuracy of discretised greenhouse model in TRNSYS. J Agric Eng 53:1420. DOI: https://doi.org/10.4081/jae.2022.1420
Panayiotou GP, Kalogirou SA, Tassou SA, 2016. Evaluation of the application of phase change materials (PCM) on the envelope of a typical dwelling in the Mediterranean region. Renew Energy 97:24-32. DOI: https://doi.org/10.1016/j.renene.2016.05.043
Poulad ME, Fung AS, Naylor D, 2011. Effects of convective heat transfer coefficient on the ability of PCM to reduce building energy demand. Proc. 12th Conf International Building Performance Simulation Association, Sydney. Available from: https://publications.ibpsa.org/proceedings/bs/2011/papers/bs2011_1202.pdf
Rabiu A, Na WH, Akpenpuun TD, Rasheed A, Adesanya MA, Ogunlowo QO, Kim HT, Lee HW, 2022. Determination of overall heat transfer coefficient for greenhouse energy-saving screen using trnsys and hotbox. Biosyst Eng 217:83-101. DOI: https://doi.org/10.1016/j.biosystemseng.2022.03.002
Rieradevall J, Montero JI, Llorach-Massana P, Pena J, 2017. Analysis of the technical, environmental and economic potential of phase change materials (PCM) for root zone heating in Mediterranean greenhouses. Renew Energy 103:570-581. DOI: https://doi.org/10.1016/j.renene.2016.11.040
Schranzhofer H, Puschnig P, Heinz A, Streicher W, 2006. Validation of a TRNSYS simulation model for PCM energy storages and PCM wall construction elements. Proc. 10th International Conference on Thermal Energy Storage, Pomona. pp. 2-7.
Seo IW, 2018. Similitude and dimensional analysis. In: Elementary Fluid Mechanics and Lab. Seoul, Seoul National University.
Tantau HJ, Akyazi G, 2017. The low energy greenhouse ‒ Heat Transfer by long wave radiation. Acta Horticulturae 1170:847-854. DOI: https://doi.org/10.17660/ActaHortic.2017.1170.108
Tayo OB, 2020. How to calculate accuracy for regression? Accessed: January 12, 2023. Available from: https://pub.towardsai.net/how-do-i-calculate-accuracy-for-regression-ec304f3e27b6.
TRANSSOLAR Energietechnik. 2017. Multizone building modeling with Type56 and TRNBuild. Available from: https://web.mit.edu/parmstr/Public/Documentation/06-MultizoneBuilding.pdf
Yoo, H. 2024. Average price of water yearly in South Korea from 2012 to 2022. Accessed: May 9, 2025. available from: https://www.statista.com/statistics/1416838/south-korea-average-water-price-yearly/
Zakir E, Ogunlowo QO, Akpenpuun TD, Na WH, Adesanya MA, Rabiu A, et al., 2022. Effect of thermal screen position on greenhouse microclimate and impact on crop growth and yield. Nigerian J Technol Dev 19:417-432. DOI: https://doi.org/10.4314/njtd.v19i4.15
Zhao M, Liu Y, Bao D, Hu X, Wang N, Liu L, 2023. Study on the influence of solar array tube on thermal environment of greenhouse. Sustainability 15:3127. DOI: https://doi.org/10.3390/su15043127

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 Korea

Data 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.

Qazeem Opeyemi Ogunlowo, Institute of Agricultural Science and Technology, Kyungpook National University, Daegu

Department of Agricultural and Bioenvironmental Engineering, Federal College of Agriculture Ibadan, Nigeria

How to Cite



“Development of a ‘PCM-in-container’ energy storage model component for a possible building energy evaluation in TRNSYS 18” (2026) Journal of Agricultural Engineering [Preprint]. doi:10.4081/jae.2026.1936.