Hi David
Thank you for the response. I did what you propose. More specifically my prog is
The problem is the following:
when TRNSYS crashes, as for example when a bad parameter is present in file .B18 as incompatible thickness, TRNSYS stops and opens a window to indicate a problem and waits for a manual answer, more specifically you have to click on the 'OK' button to exit TRNSYS.
As long as you dont click on the button TRNSYS is waiting.
I would like to exit by program and replace the manual response by soft.
regards
De : David BRADLEY <d.bradley@tess-inc.com>
Envoyé : jeudi 1 juillet 2021 16:36 À : TRNSYS users mailing list at OneBuilding.org <trnsys-users@lists.onebuilding.org> Cc : Maurice Charbit - OZE-ENERGIES <mch@oze-energies.com> Objet : Re: [TRNSYS-users] subcall process 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:
-- *************************** 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@tess-inc.com http://www.tess-inc.com http://www.trnsys.com |