<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:inherit;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hello all, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As part of a master + slave simulation, I’m trying to run .dck files from the command line as a python script as follows<span lang="EN-US">:<o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">import subprocess<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span lang="EN-US">subprocess.run([r"C:\Trnsys17\Exe\TRNExe.exe",r"C:\zGithub\ExampleTRNSYSmodel.dck","/h"])<o:p></o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The simulations are quite short (just a week or so), but I’ve noticed the majority of the computational time is dedicated to some sort of initialization, i.e. a 1 week simulation takes about 4 s, and a 2 week simulation
 under 5 s. Is there any way I can shave down this time (since making the simulations shorter has diminishing returns)?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Many thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Joe<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">Joseph Roberts</span></b><span lang="EN-US" style="color:#D04D2A;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">Eurac Research</span></b><span lang="EN-US" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB"> </span></b><span lang="EN-US" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">Institute for Renewable Energy </span><span lang="EN-US" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span lang="IT" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">Tel</span></b><span lang="IT" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB"> +39
 0471 055 841</span><span lang="IT" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><u><span lang="IT" style="color:#0563C1;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">joroberts@eurac.edu</span></u><span lang="IT" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="IT" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB"> </span><span lang="IT" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="IT" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">A. Volta Straße/Via A. Volta 13/A</span><span lang="IT" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="IT" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">39100 Bozen/Bolzano</span><span lang="IT" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span lang="IT" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB"> </span></b><span lang="IT" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="IT" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">Legal Seat</span><span lang="IT" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="IT" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">Drususallee/Viale Druso 1</span><span lang="IT" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="IT" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">I-39100 Bozen/Bolzano</span><span lang="IT" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB"><a href="http://www.eurac.edu/" target="_blank"><span lang="IT" style="color:blue">www.eurac.edu</span></a></span></b><u><span lang="IT" style="color:blue;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB"><o:p></o:p></span></u></p>
<p class="MsoNormal" style="background:white"><span lang="IT" style="color:#201F1E;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB"> </span><span lang="IT" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span style="color:#CC3300;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB"><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsubscribe.newsletter2go.com%2F%3Fn2g%3D3kdnp69j-qh67lolj-9bg&data=05%7C01%7CJosephAlexander.Roberts%40eurac.edu%7C5636051dca7445218cf008da7c331f0e%7C9251326703e3401a80d4c58ed6674e3b%7C0%7C0%7C637958856248291146%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=2KFEYgYYr3CE7W967yJZyon4B8tgK1gACcMA8KrfsVw%3D&reserved=0" target="_blank" title="Original URL: https://subscribe.newsletter2go.com/?n2g=3kdnp69j-qh67lolj-9bg. Click or tap if you trust this link."><span style="color:blue">subscribe
 to our newsletter</span></a></span></b><u><span style="color:blue;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB"><o:p></o:p></span></u></p>
<p class="MsoNormal" style="background:white"><b><span lang="EN-US" style="color:#D04D2A;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB"><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Feurac&data=05%7C01%7CJosephAlexander.Roberts%40eurac.edu%7C5636051dca7445218cf008da7c331f0e%7C9251326703e3401a80d4c58ed6674e3b%7C0%7C0%7C637958856248447364%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lAJLDz7yL4Gq3boV9d%2BRYPx4bMkaaWjjfNx%2BH44bPcc%3D&reserved=0" target="_blank" title="Original URL: https://twitter.com/eurac. Click or tap if you trust this link."><span style="color:blue">Twitter</span></a> l <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2Feurac.research&data=05%7C01%7CJosephAlexander.Roberts%40eurac.edu%7C5636051dca7445218cf008da7c331f0e%7C9251326703e3401a80d4c58ed6674e3b%7C0%7C0%7C637958856248447364%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Vm1UP5O8G152r9AA4VIIJDNQdOudbkJUyhwv6j1wc8I%3D&reserved=0" target="_blank" title="Original URL: https://www.facebook.com/eurac.research. Click or tap if you trust this link."><span style="color:blue">Facebook</span></a> l <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fuser%2FEURACtv&data=05%7C01%7CJosephAlexander.Roberts%40eurac.edu%7C5636051dca7445218cf008da7c331f0e%7C9251326703e3401a80d4c58ed6674e3b%7C0%7C0%7C637958856248447364%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xEFeVAAvzZZqhDq%2B4miv3%2FaqSB3CV%2BCwN%2Bdep3A%2FB3U%3D&reserved=0" target="_blank" title="Original URL: https://www.youtube.com/user/EURACtv. Click or tap if you trust this link."><span style="color:blue">Youtube</span></a> l <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Feuracresearch&data=05%7C01%7CJosephAlexander.Roberts%40eurac.edu%7C5636051dca7445218cf008da7c331f0e%7C9251326703e3401a80d4c58ed6674e3b%7C0%7C0%7C637958856248447364%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=OYxfS90U1k1%2BsWDjFOVkDOsJ9JZONawtyF9fmiYf3mo%3D&reserved=0" target="_blank" title="Original URL: https://www.linkedin.com/company/euracresearch. Click or tap if you trust this link."><span style="color:blue">LinkedIn</span></a></span></b><span style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="color:#201F1E;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB"> </span><span lang="EN-US" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:8.0pt;font-family:"inherit",serif;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">According to regulation (EU) 2016/679 this transmission is intended
 only for the use of the addressee and may contain confidential information. If you receive this transmission in error, please notify the sender immediately by email and delete all copies of this message and any attachments.</span><span lang="EN-US" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-US" style="font-size:8.0pt;font-family:"inherit",serif;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB"> </span><span lang="EN-US" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="DE" style="font-size:8.0pt;font-family:"inherit",serif;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">Diese Nachricht ist im Sinne der Verordnung (EU) 2016/679 ausschließlich
 für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Sollten Sie diese Nachricht irrtümlich erhalten haben, bitten wir Sie, den Absender darüber unverzüglich per E-Mail in Kenntnis zu setzen sowie die Nachricht und etwaige Kopien und
 Anlagen zu vernichten.</span><span lang="DE" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="DE" style="font-size:8.0pt;font-family:"inherit",serif;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB"> </span><span lang="DE" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="IT" style="font-size:8.0pt;font-family:"inherit",serif;color:black;border:none windowtext 1.0pt;padding:0cm;mso-fareast-language:EN-GB">Ai sensi del Regolamento UE 679/2016 questo messaggio è ad uso
 esclusivo del destinatario e può contenere informazioni riservate. Qualora Le fosse pervenuto per errore, Le chiediamo gentilmente di comunicarcelo immediatamente via e-mail ed eliminare qualsiasi copia e allegato.</span><span lang="IT" style="color:#201F1E;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="IT"><o:p> </o:p></span></p>
</div>
</body>
</html>