Pytrnsys package for TRNSYS simulations

Pytrnsys package for TRNSYS simulations is now available for researchers outside TRI-HP project.

The pytrnsys package developed by researchers from SPF Institute for Solar Technology in Switzerland provides a complete framework to run, process, plot and report TRNSYS simulations. It is designed to give researchers a fully automatized, thus a fast and reproducible way to execute and share TRNSYS simulations by the use of a single short configuration file. In addition, a large variety of commands is available to post-process simulation results.

The three developers of the pytrnsys package are:

  • Daniel Carbonell : SPF Institute for Solar Technology, Switzerland.
  • Mattia Battaglia : Institut für Solartechnik SPF, Rapperswil, Switzerland.
  • Jeremias Schmidli : Institut für Solartechnik SPF, Rapperswil, Switzerland.

A first version of this package was first created in 2013 and since then the code was continuously improved in the frame of different projects financed by the Swiss Federal Office of Energy (SFOE). We would like to thank SFOE for supporting all these projects related to simulations of renewable energy systems. We would also like to thank the European Union’s Horizon 2020 research and innovation programme for the funding received in the frame of TRI-HP project under the Grant Agreement No. 81488. The TRI-HP project has allowed us to further improve the code and to share it first with the consortium, and then to make it available for users outside the project.

Here is the link to the public repository of pytrnsys. The documentation can be found at this link. To find more about the package installation, please follow this link. Currently, pytrnsys offers also two examples: a solar domestic hot water system for a single-family house and a PV system with battery. Try these two examples to explore the capabilities of the framework. Stay up to date and follow the project on github to get the latest releases.