<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi George</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you for your interesting answer</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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 <span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">I
 had expected that running several trnsys in parallel would reduce the computation time.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">Regards</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">Maurice</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De :</b> George Kyriakarakos <gk@aua.gr><br>
<b>Envoyé :</b> lundi 18 octobre 2021 14:31<br>
<b>À :</b> 'TRNSYS users mailing list at OneBuilding.org' <trnsys-users@lists.onebuilding.org><br>
<b>Cc :</b> Maurice Charbit - OZE-ENERGIES <mch@oze-energies.com><br>
<b>Objet :</b> RE: [TRNSYS-users] trnsys on multicore/multiprocessor machine</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
span.x_EmailStyle20
        {font-family:"Calibri",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:70.85pt 70.85pt 70.85pt 70.85pt}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-GB" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span lang="EN-US" style="">Dear Maurice,</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="">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:</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style=""><a href="https://sel.me.wisc.edu/trnsys/demos/genopt-type56.pdf">https://sel.me.wisc.edu/trnsys/demos/genopt-type56.pdf</a></span></p>
<p class="x_MsoNormal"><span lang="EN-US" style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="">You can also do parametric runs internally with TRNEDit, externally no limit in possible approaches.</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style=""> </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="">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… </span></p>
<p class="x_MsoNormal"><span lang="EN-US" style=""><br>
Best regards,<br>
<br>
George</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.0pt; color:black; background:white">--</span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.0pt; color:black; background:white">Dr. George Kyriakarakos, Agricultural Engineer</span><span lang="EN-US" style="font-size:10.0pt; color:black"><br>
<span style="background:white">PhD, MSc Energy Systems & Renewable Energy Sources</span><br>
<span style="background:white">Agricultural University of Athens,</span><br>
<span style="background:white">Dept. of Natural Resources and Agricultural Engineering</span><br>
<span style="background:white">Iera odos street, 75, Athens 11855, Greece</span><br>
<span style="background:white">Tel. +30.210.5294046 (direct), Fax:+30.210.5294023</span><br>
<span style="background:white">Mobile +30.6942.046895</span><br>
<span style="background:white">e-mail: <a href="mailto:gk@aua.gr"><span style="color:#0563C1">gk@aua.gr</span></a></span></span></p>
<p class="x_MsoNormal"><span lang="EN-US" style="font-size:10.0pt; color:black; background:white">Skype: georgekyriak</span><span lang="EN-US" style="color:black"></span></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><span lang="EN-US" style=""> </span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> TRNSYS-users <trnsys-users-bounces@lists.onebuilding.org>
<b>On Behalf Of </b>Maurice Charbit - OZE-ENERGIES via TRNSYS-users<br>
<b>Sent:</b> Monday, October 18, 2021 1:12 AM<br>
<b>To:</b> trnsys-users@lists.onebuilding.org<br>
<b>Cc:</b> Maurice Charbit - OZE-ENERGIES <mch@oze-energies.com><br>
<b>Subject:</b> [TRNSYS-users] trnsys on multicore/multiprocessor machine</span></p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><span lang="FR">Hi,</span></p>
<p class="x_MsoNormal"><span lang="FR"> </span></p>
<p class="x_MsoNormal"><span lang="FR">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.</span></p>
<p class="x_MsoNormal"><span lang="FR"> </span></p>
<p class="x_MsoNormal"><span lang="FR">Question : is it possible, in the goal to reduce computation time, to launch simultanously several trnsys.exe.</span></p>
<p class="x_MsoNormal"><span lang="FR"> </span></p>
<p class="x_MsoNormal"><span lang="FR"> </span></p>
<p class="x_MsoNormal"><span lang="FR"> </span></p>
<p class="x_MsoNormal"><span lang="FR">Envoyé à partir de <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Courrier</a> pour Windows</span></p>
<p class="x_MsoNormal"><span lang="FR"> </span></p>
</div>
</div>
</body>
</html>