Interfacing TRNSYS with MATLAB for Building Energy System Optimization

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

Full description

Saved in:
Bibliographic Details
Main Authors: Josef Meiers, Georg Frey
Format: Article
Language:English
Published: MDPI AG 2025-01-01
Series:Energies
Subjects:
Online Access:https://www.mdpi.com/1996-1073/18/2/255
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1832588566031499264
author Josef Meiers
Georg Frey
author_facet Josef Meiers
Georg Frey
author_sort Josef Meiers
collection DOAJ
description 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.
format Article
id doaj-art-9222471caa52459fa2970a7015bd22f0
institution Kabale University
issn 1996-1073
language English
publishDate 2025-01-01
publisher MDPI AG
record_format Article
series Energies
spelling doaj-art-9222471caa52459fa2970a7015bd22f02025-01-24T13:30:48ZengMDPI AGEnergies1996-10732025-01-0118225510.3390/en18020255Interfacing TRNSYS with MATLAB for Building Energy System OptimizationJosef Meiers0Georg Frey1Chair of Automation and Energy Systems, Saarland University, 66123 Saarbruecken, GermanyChair of Automation and Energy Systems, Saarland University, 66123 Saarbruecken, GermanyThis 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.https://www.mdpi.com/1996-1073/18/2/255TRNSYSMATLABGenOptco-simulationoptimizationtool coupling
spellingShingle Josef Meiers
Georg Frey
Interfacing TRNSYS with MATLAB for Building Energy System Optimization
Energies
TRNSYS
MATLAB
GenOpt
co-simulation
optimization
tool coupling
title Interfacing TRNSYS with MATLAB for Building Energy System Optimization
title_full Interfacing TRNSYS with MATLAB for Building Energy System Optimization
title_fullStr Interfacing TRNSYS with MATLAB for Building Energy System Optimization
title_full_unstemmed Interfacing TRNSYS with MATLAB for Building Energy System Optimization
title_short Interfacing TRNSYS with MATLAB for Building Energy System Optimization
title_sort interfacing trnsys with matlab for building energy system optimization
topic TRNSYS
MATLAB
GenOpt
co-simulation
optimization
tool coupling
url https://www.mdpi.com/1996-1073/18/2/255
work_keys_str_mv AT josefmeiers interfacingtrnsyswithmatlabforbuildingenergysystemoptimization
AT georgfrey interfacingtrnsyswithmatlabforbuildingenergysystemoptimization