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

Re: [TRNSYS-users] trnsys on multicore/multiprocessor machine



Hi,

It is possible if you set the correct command line in the loop however you need to specify a maximum number of trnsys exe run (TRNExe64.exe) in your task manager for example 4 or 8 based on your computer core specification otherwise it will open too many trnsys exe run and your computer will hang after a while. The exe runs will run simultaneously and whenever one finished another exe one will be replaced so you will have 4 or 8 exe runs at the same time till you reach your desired number of runs.  You can see the command from TRNSYS website here:

Q: How can I run TRNSYS (perhaps from another program or batch file) and avoid having to click 'Continue' or 'Yes' at the end of each simulation?

https://sel.me.wisc.edu/trnsys/faq/faq.htm

"C:\Trnsys18\Exe\TRNExe64.exe" "C:\Trnsys18\Examples\SDHW\SDHW.dck" /n


Arian  

On Monday, October 18, 2021, 01:42:36 AM GMT+3:30, Maurice Charbit - OZE-ENERGIES via TRNSYS-users <trnsys-users@lists.onebuilding.org> wrote:


Hi,

 

I have access to a multi-core/multiprocessor PC and I have an individual license of TRNSYS. I need to launch TRNSYS many times (via os.system in Python) which is very time consuming.

 

Question : is it possible, in the goal to reduce computation time, to launch simultanously several trnsys.exe.

 

 

 

Envoyé à partir de Courrier pour Windows

 

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org