Skip to main content

A General Method to Compare Different Co-simulation Interfaces: Demonstration on a Case Study

  • Conference paper
  • First Online:
Simulation and Modeling Methodologies, Technologies and Applications (SIMULTECH 2017)

Abstract

A method is presented to compare different co-simulation interfaces. The comparison assesses user-friendliness and flexibility, computational costs and accuracy. Interfaces corresponding to different versions of loose and strong coupling are discussed. The specific implementations include the Functional Mockup Interface (FMI), the Building Controls Virtual Test Bed (BCVTB) and a Component Object Model (COM). A case study is introduced to present the method in a pedagogical way. The case study includes a compact thermal energy storage modelled in Trnsys and a heat sink modelled in Simulink. Generalizations of the method to realistic full-scale co-simulations are proposed.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Gomes, C., Thule, C., Broman, D., Larsen, P.G., Vangheluwe, H.: Co-simulation: State of the art, CoRR, vol. abs/1702.0, February 2017

    Google Scholar 

  2. Lund, P.D., Lindgren, J., Mikkola, J., Salpakari, J.: Review of energy system flexibility measures to enable high levels of variable renewable electricity. Renew. Sustain. Energy Rev. 45, 785–807 (2015)

    Article  Google Scholar 

  3. Schweiger, G., Rantzer, J., Ericsson, K., Lauenburg, P.: The potential of power-to-heat in Swedish district heating systems. Energy (2017 in press). https://doi.org/10.1016/j.energy.2017.02.075

    Article  Google Scholar 

  4. Bandhauer, T.M.: A Critical review of thermal issues in Lithium-ion batteries. J. Electrochem. Soc. 158(3), R1 (2011)

    Article  Google Scholar 

  5. Engel, G.: Sorption cold storage for thermal management of the battery of a hybrid vehicle. In: 12th International Renewable Energy Storage Conference (2018)

    Google Scholar 

  6. Allegrini, J., Orehounig, K., Mavromatidis, G., Ruesch, F., Dorer, V., Evins, R.: A review of modelling approaches and tools for the simulation of district-scale energy systems. Renew. Sustain. Energy Rev. 52, 1391–1404 (2015)

    Article  Google Scholar 

  7. Trcka, M., Hensen, J.L.M., Wetter, M.: Co-simulation of innovative integrated HVAC systems in buildings. J. Build. Perform. Simul. 2(3), 209–230 (2009)

    Article  Google Scholar 

  8. Wetter, M., Fuchs, M., Nouidui, T.S.: Design choices for thermofluid flow components and systems that are exported as Functional Mockup Units. In: 11th International Modelica Conference, no. iv, pp. 31–41 (2015)

    Google Scholar 

  9. Trcka, M.: Co-simulation for performance prediction of innovative integrated mechanical energy systems in buildings. Ph.d. thesis (2008)

    Google Scholar 

  10. Atam, E.: Current software barriers to advanced model-based control design for energy-efficient buildings. Renew. Sustain. Energy Rev. 73, 1031–1040 (2017)

    Article  Google Scholar 

  11. Mathias, O., Gerrit, W., Leon, U.: Life cycle simulation for a process plant based on a two-dimensional co-simulation approach. In: Computer Aided Chemical Engineering, vol. 37 (2015)

    Google Scholar 

  12. Arnold, M., Clauss, C., Schierz, T.: Error analysis and error estimates for Co-Simulation in FMI for model exhange and Co-Simulation V2.0. Arch. Mech. Eng. LX, 75–94 (2013)

    Article  Google Scholar 

  13. Engel, G., Chakkaravarthy, A., Schweiger, G.: A methodology to compare different co-simulation interfaces: a thermal engineering case study. In: SimulTech 2017 - Proceedings of the 7th International Conference on Simulation and Modeling Methodologies, Technologies and Applications (2017)

    Google Scholar 

  14. Engel, G., Schweiger, G.: A comparison of co-simulation interfaces between Trnsys and Simulink: a thermal engineering case study. In: 9th Vienna International Conference on Mathematical Modelling (2018)

    Google Scholar 

  15. Engel, G., Chakkaravarthy, A., Schweiger, G.: Co-simulation between Trnsys and Simulink based on type155. In: Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), vol. 10729 (2018)

    Chapter  Google Scholar 

  16. Blochwitz, T., Otter, M., Arnold, M., Bausch, C., Clauß, C., Elmqvist, H., Junghanns, A., Mauss, J., Monteiro, M., Neidhold, T., Neumerkel, D., Olsson, H., Peetz, J.V., Wolf, S.: The functional mockup interface for tool independent exchange of simulation models. In: 8th International Modelica Conference 2011, pp. 173–184 (2009)

    Google Scholar 

  17. Klein, S.A., Beckman, W.A., Duffie, J.A.: TRNYSYS - a transient simulation program (1976)

    Google Scholar 

  18. Wetter, M.: Co-simulation of building energy and control systems with the Building Controls Virtual Test Bed. J. Build. Perform. Simul. 4(3), 185–203 (2011)

    Article  Google Scholar 

  19. Hafner, I., Heinzl, B., Roessler, M.: An investigation on loose coupling co-simulation with the BCVTB. SNE Simul. Notes Eur. 23, 45–50 (2013)

    Google Scholar 

  20. Engel, G., Asenbeck, S., Koell, R., Kerskes, H., Wagner, W., van Helden, W., Kerskes, H.: Simulation of a seasonal, solar-driven sorption storage heating system. J. Energy Storage 13, 40–47 (2017)

    Article  Google Scholar 

  21. Köll, R., van Helden, W., Engel, G., Wagner, W., Dang, B., Jänchen, J., Kerskes, H., Badenhop, T., Herzog, T.: An experimental investigation of a realistic-scale seasonal solar adsorption storage system for buildings. Solar Energy 155, 388–397 (2017)

    Article  Google Scholar 

  22. Glueckauf, E.: Theory of chromatography. Part 10 - Formulae for diffusion into spheres and their application to chromatography. Trans. Faraday Soc. 51, 1540–1551 (1955)

    Article  Google Scholar 

  23. Dubinin, M.M.: Adsorption in micropores. J. Colloid Interface Sci. 23(4), 487–499 (1967)

    Article  Google Scholar 

  24. Widl, E.: TRNSYS FMU Export Utility (2015). https://sourceforge.net/projects/trnsys-fmu/

  25. Modelon: FMI toolbox for Matlab/Simulink (2017)

    Google Scholar 

Download references

Acknowledgements

The research leading to these results has received funding from the Austrian FFG Programme Energieforschung under grant agreement no. 845020, and the Research Studio Austria no. 844732. The authors acknowledge valuable discussions with W. Glatzl, H. Schranzhofer, G. Lechner, I. Hafner and E. Widl.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Georg Engel .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Engel, G., Chakkaravarthy, A.S., Schweiger, G. (2019). A General Method to Compare Different Co-simulation Interfaces: Demonstration on a Case Study. In: Obaidat, M., Ören, T., Rango, F. (eds) Simulation and Modeling Methodologies, Technologies and Applications . SIMULTECH 2017. Advances in Intelligent Systems and Computing, vol 873. Springer, Cham. https://doi.org/10.1007/978-3-030-01470-4_19

Download citation

Publish with us

Policies and ethics