IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v18y2025i2p255-d1562885.html
   My bibliography  Save this article

Interfacing TRNSYS with MATLAB for Building Energy System Optimization

Author

Listed:
  • 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)

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.

Suggested Citation

  • Josef Meiers & Georg Frey, 2025. "Interfacing TRNSYS with MATLAB for Building Energy System Optimization," Energies, MDPI, vol. 18(2), pages 1-23, January.
  • Handle: RePEc:gam:jeners:v:18:y:2025:i:2:p:255-:d:1562885
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/18/2/255/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/18/2/255/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:18:y:2025:i:2:p:255-:d:1562885. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.