Dear all,
I am currently working on a parameter variation.
A Python script is the base for this.
This Python script set the variables in the input file for TRNSYS.
The Python script also start the simulation of TRNSYS (For this purpose the command in Python = subprocess).
Problem: The Python script can not detect when TRNSYS finished the simulation. The Python script can only detected when TRNSYS is closed.
Question: Is there a way TRNSYS automatically close after the simulation has been run?
Or is there a way to close the OnlinePlotter automatically after the simulation has been run?
Alternatively: Does anyone know of a way to do this through Python?
Thank you!
Kind regards,
Andrea Sauer