[TRNSYS-users] trnsys on multicore/multiprocessor machine

Arian Bahrami arianbhm at yahoo.com
Sun Oct 17 23:53:47 PDT 2021


 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 at lists.onebuilding.org> wrote:  
 
  <!--#yiv5584168755 _filtered {} _filtered {}#yiv5584168755 #yiv5584168755 p.yiv5584168755MsoNormal, #yiv5584168755 li.yiv5584168755MsoNormal, #yiv5584168755 div.yiv5584168755MsoNormal {margin:0cm;font-size:11.0pt;font-family:"Calibri", sans-serif;}#yiv5584168755 a:link, #yiv5584168755 span.yiv5584168755MsoHyperlink {color:blue;text-decoration:underline;}#yiv5584168755 .yiv5584168755MsoChpDefault {} _filtered {}#yiv5584168755 div.yiv5584168755WordSection1 {}-->
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 at lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20211018/054877d8/attachment.htm>


More information about the TRNSYS-users mailing list