<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Maurice,</p>
<p> The exe is probably asking you for the name of the input file
that you want to run. The Windows command line to launch Trnsys
and give it an input file name follows. I have never tried to
implement this from Python but hopefully it works anyway.</p>
<p>c:\Trnsys18\Exe\TRNExe64.exe
c:\Trnsys18\MyProjects\Project1\inputFile.dck /n /h</p>
<p>The /n flag is optional and suppresses the acknowledgement that
is normally required at the end of the simulation. Be aware that
this flag will also suppress the needed acknowledgement if an
error occurs during the simulation.<br>
</p>
<p>The /h flag is also optional and forces Trnsys to run completely
hidden in the background.<br>
</p>
<p>kind regards,</p>
<p> David</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 07/01/2021 06:52, Maurice Charbit -
OZE-ENERGIES via TRNSYS-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:VE1P189MB09269EFE09A2199D9FD1B2808A009@VE1P189MB0926.EURP189.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}.MsoChpDefault
{mso-style-type:export-only;}div.WordSection1
{page:WordSection1;}</style>
<div class="WordSection1">
<p class="MsoNormal">Hi all,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am using subcall.process in Python to
launch trnsys.exe.</p>
<p class="MsoNormal">When an error occurs in trnsys, trnsys
opens a window and asks for a MANUAL response to exit from the
.exe. How can I do to force by program this response?</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards</p>
<p class="MsoNormal">Maurice</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Provenance : <a
href="https://go.microsoft.com/fwlink/?LinkId=550986"
moz-do-not-send="true">
Courrier</a> pour Windows 10</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI 53703 USA
P:+1.608.274.2577
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
</body>
</html>