<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Dear all,<br/><br/>I am currently working on a parameter variation.<br/>A Python script is the base for this.<br/></div><div>This Python script set the variables in the input file for TRNSYS.<br/></div><div>The Python script also start the simulation of TRNSYS <span style="font-size:10px;">(For this purpose the command in Python = subprocess)</span>.<br/></div><div><br/></div><div>Problem: The Python script can not detect when TRNSYS finished the simulation. The Python script can only detected when TRNSYS is closed.<br/><br/>Question: Is there a way TRNSYS automatically close after the simulation has been run? <br/></div><div>Or is there a way to close the OnlinePlotter automatically after the simulation has been run? <br/><br/>Alternatively: Does anyone know of a way to do this through Python? <br/></div><div><br/></div><div>Thank you!<br/></div><div><span class="stream _p _pl1 _pd157611"><span class="mtxt"></span></span><br/></div><div><span class="stream _p _pl1 _pd157611" id="view"><span class="mtxt">Kind regards,</span></span><br/></div><div><br/></div><div>Andrea  Sauer<br/></div></div></body></html>