EconPapers    
Economics at your fingertips  
 

Interfacing TRNSYS with MATLAB for Building Energy System Optimization

Josef Meiers and Georg Frey ()
Additional contact information
Josef Meiers: Chair of Automation and Energy Systems, Saarland University, 66123 Saarbruecken, Germany
Georg Frey: Chair of Automation and Energy Systems, Saarland University, 66123 Saarbruecken, Germany

Energies, 2025, vol. 18, issue 2, 1-23

Abstract: This contribution investigates whether the use of the MATLAB Optimization Toolbox on a parameter identification problem for a TRNSYS model provides better performance in iteration time. It presents the development of a framework connecting the MATLAB Optimization Toolbox with TRNSYS on the one hand and coordinating the optimization process of a TRNSYS model by GenOpt through MATLAB on the other hand. A benchmark framework in MATLAB was created to link TRNSYS and MATLAB and to configure the optimization process of GenOpt and the MATLAB Optimization Toolbox. Using this framework, a comprehensive comparison of the optimization solvers in GenOpt and the MATLAB Optimization Toolbox for the identification of the overall heat transfer coefficient of a TRNSYS heat exchanger model regarding the optimization time and number of iterations is presented as a use case. The results for the given problem show that GenOpt gives slightly better results in optimization time, whereas MATLAB has more potential and flexibility.

Keywords: TRNSYS; MATLAB; GenOpt; co-simulation; optimization; tool coupling (search for similar items in EconPapers)
JEL-codes: Q Q0 Q4 Q40 Q41 Q42 Q43 Q47 Q48 Q49 (search for similar items in EconPapers)
Date: 2025
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/1996-1073/18/2/255/pdf (application/pdf)
https://www.mdpi.com/1996-1073/18/2/255/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jeners:v:18:y:2025:i:2:p:255-:d:1562885

Access Statistics for this article

Energies is currently edited by Ms. Agatha Cao

More articles in Energies from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-03-19
Handle: RePEc:gam:jeners:v:18:y:2025:i:2:p:255-:d:1562885