[TRNSYS-users] trnsys on multicore/multiprocessor machine

Maurice Charbit - OZE-ENERGIES mch at oze-energies.com
Mon Oct 18 07:54:43 PDT 2021


Hi George

Thank you for your interesting answer


I use an optimizer that changes dynamically a set of parameters of Type56, via a .b18 file. This optimizer is able to launch several parameter sets. In this case I had expected that running several trnsys in parallel would reduce the computation time.

Regards

Maurice
________________________________
De : George Kyriakarakos <gk at aua.gr>
Envoyé : lundi 18 octobre 2021 14:31
À : 'TRNSYS users mailing list at OneBuilding.org' <trnsys-users at lists.onebuilding.org>
Cc : Maurice Charbit - OZE-ENERGIES <mch at oze-energies.com>
Objet : RE: [TRNSYS-users] trnsys on multicore/multiprocessor machine


Dear Maurice,



For optimization purposes there is no limitation on the number of trnsys.exe instances you can run at the same time. Using the TRNOPT component or manually setting up the use of GENOPT you can run in parallel a number of trnsys.exe instances equal to the number of your cores. Check the information on how you can do it manually below or get TRNOPT:

https://sel.me.wisc.edu/trnsys/demos/genopt-type56.pdf



You can also do parametric runs internally with TRNEDit, externally no limit in possible approaches.



To be honest I do not see another scenario where you would want to run trnsys.exe instances in parallel in a single computer for which the license is valid. I also cannot see any scenario benefitting of running more instances than 1 in parallel by a single core…

Best regards,

George

--

Dr. George Kyriakarakos, Agricultural Engineer
PhD, MSc Energy Systems & Renewable Energy Sources
Agricultural University of Athens,
Dept. of Natural Resources and Agricultural Engineering
Iera odos street, 75, Athens 11855, Greece
Tel. +30.210.5294046 (direct), Fax:+30.210.5294023
Mobile +30.6942.046895
e-mail: gk at aua.gr<mailto:gk at aua.gr>

Skype: georgekyriak







From: TRNSYS-users <trnsys-users-bounces at lists.onebuilding.org> On Behalf Of Maurice Charbit - OZE-ENERGIES via TRNSYS-users
Sent: Monday, October 18, 2021 1:12 AM
To: trnsys-users at lists.onebuilding.org
Cc: Maurice Charbit - OZE-ENERGIES <mch at oze-energies.com>
Subject: [TRNSYS-users] trnsys on multicore/multiprocessor machine



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<https://go.microsoft.com/fwlink/?LinkId=550986> pour Windows


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


More information about the TRNSYS-users mailing list