[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] python/trnsys



On 2021-11-17 07:07, Maurice Charbit - OZE-ENERGIES via TRNSYS-users wrote:
Hi all,

I am using subprocess.call in Python to run trnsys

When trnsys crash, trnsys opens a windows and waits for a manual
response. How can I circumvent this issue ?

This is from memory so I apologize if I get it slightly wrong but you can call TRNSYS with two different "switches" to control its behavior.

Trnexe64.exe /n <---- continues on without any user input after each simulation Trnexe64.exe /h <---- suppresses all TRNSYS displays and interaction and runs the program in the background

Jeff


--
Jeff W. Thornton
President
Thermal Energy System Specialists LLC
3 N. Pinckney Street, Suite 202
Madison WI 53703 USA
(608) 274-2577
www.tess-inc.com