[TRNSYS-users] subcall process

David BRADLEY d.bradley at tess-inc.com
Thu Jul 1 07:36:56 PDT 2021


Maurice,

   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.

c:\Trnsys18\Exe\TRNExe64.exe 
c:\Trnsys18\MyProjects\Project1\inputFile.dck /n /h

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.

The /h flag is also optional and forces Trnsys to run completely hidden 
in the background.

kind regards,

  David


On 07/01/2021 06:52, Maurice Charbit - OZE-ENERGIES via TRNSYS-users wrote:
>
> Hi all,
>
> I am using subcall.process in Python to launch trnsys.exe.
>
> 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?
>
> Regards
>
> Maurice
>
> Provenance : Courrier <https://go.microsoft.com/fwlink/?LinkId=550986> 
> pour Windows 10
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI  53703 USA

P:+1.608.274.2577
d.bradley at tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20210701/aa29e285/attachment.htm>


More information about the TRNSYS-users mailing list