<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)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;
mso-fareast-language:EN-US;}
pre
{mso-style-priority:99;
mso-style-link:"HTML con formato previo Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;
mso-fareast-language:CA;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;
mso-fareast-language:CA;}
span.EstiloCorreo19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.HTMLconformatoprevioCar
{mso-style-name:"HTML con formato previo Car";
mso-style-priority:99;
mso-style-link:"HTML con formato previo";
font-family:Consolas;
color:black;
mso-fareast-language:EN-US;}
span.EstiloCorreo22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
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 bgcolor="white" lang="CA" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thank you very much. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">It was very helpful.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Jordi<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="ES" style="color:windowtext;mso-fareast-language:CA">De:</span></b><span lang="ES" style="color:windowtext;mso-fareast-language:CA"> David BRADLEY <d.bradley@tess-inc.com>
<br>
<b>Enviado el:</b> dilluns, 17 de setembre de 2018 16:31<br>
<b>Para:</b> TRNSYS users mailing list at OneBuilding.org <trnsys-users@lists.onebuilding.org><br>
<b>CC:</b> Jordi Macia <jordi.macia@ctm.com.es><br>
<b>Asunto:</b> Re: [TRNSYS-users] Command line syntax. Arguments to be passed to TRNExe.exe<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Jordi,<span style="font-size:12.0pt;mso-fareast-language:CA"><o:p></o:p></span></p>
<p> There is no way to pass equation values or control cards through the command line. There are a few options switches that will hide the online plotter and/or make Trnsys run in the background.<o:p></o:p></p>
<p> The way we typically handle this situation is by using include files. If you put the line:<o:p></o:p></p>
<p>INCLUDE MyInputs.inc<o:p></o:p></p>
<p> into your input file (using the control cards field) then the contents of that *.inc file will be treated as though they were just another part of the input file. If you have an interface program, it can leave behind the *.inc file then call Trnsys through
the command line.<o:p></o:p></p>
<p> kind regards,<o:p></o:p></p>
<p> David<o:p></o:p></p>
<p><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 09/17/2018 07:43, Jordi Macia via TRNSYS-users wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Dear support service,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I would like to execute TRNSYS with an externall call from another program.<o:p></o:p></p>
<p class="MsoNormal">As far as I have found out, the syntax is:<o:p></o:p></p>
<p class="MsoNormal">>> TRNExe.exe <trnsys_file_name.dck><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">My question is: are other parameters I could pass in the command line, after the filename, such as arguments to equations or control cards?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Thank you so much in advance,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#323E4F;mso-fareast-language:CA">Jordi Macià i Cid</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#323E4F;mso-fareast-language:CA"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;color:#323E4F;mso-fareast-language:CA">Researcher</span><o:p></o:p></p>
<p class="MsoNormal"><i><span lang="ES" style="font-size:9.0pt;color:#323E4F;mso-fareast-language:CA">Àrea de Sostenibilitat Ambiental i Energètica - CTM</span></i><o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr style="height:128.25pt">
<td width="159" valign="top" style="width:118.9pt;padding:0cm 5.4pt 0cm 5.4pt;height:128.25pt">
<p class="MsoNormal" style="line-height:115%"><span style="font-size:10.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:CA"><img width="142" height="128" style="width:1.4791in;height:1.3333in" id="Imagen_x0020_1" src="cid:image001.jpg@01D44EAC.CD1EDB80" alt="CTM-2955 - copia"></span><o:p></o:p></p>
</td>
<td width="207" valign="top" style="width:155.1pt;padding:0cm 5.4pt 0cm 5.4pt;height:128.25pt">
<p class="MsoNormal" style="line-height:115%"><b><span style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#005782;mso-fareast-language:CA"> </span></b><o:p></o:p></p>
<p class="MsoNormal" style="line-height:115%"><b><span style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#005782;mso-fareast-language:CA"> Fundació CTMCentre Tecnològic</span></b><o:p></o:p></p>
<p class="MsoNormal" style="line-height:115%"><span style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:CA"> Plaça de la Ciència, 2</span><o:p></o:p></p>
<p class="MsoNormal" style="line-height:115%"><span style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:CA"> 08243 Manresa (BCN)</span><o:p></o:p></p>
<p class="MsoNormal" style="line-height:115%"><span style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:CA"> Tel. (+34) 93 877 73 73</span><o:p></o:p></p>
<p class="MsoNormal" style="line-height:115%"><span style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:CA"> Mob. (+34) 659.85.52.18</span><o:p></o:p></p>
<p class="MsoNormal" style="line-height:115%"><span style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:CA"> Fax. (+34) 93 877 73 74</span><o:p></o:p></p>
<p class="MsoNormal" style="line-height:115%"><span style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:CA"> Skype: jordi_macia_cid</span><o:p></o:p></p>
<p class="MsoNormal" style="line-height:115%"><span style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:CA"> Com arribar:</span><span style="color:#1F497D;mso-fareast-language:CA">
</span><o:p></o:p></p>
<p class="MsoNormal" style="line-height:115%"><span style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:CA"> </span><span style="mso-fareast-language:CA"><a href="http://www.ctm.com.es/contacto.asp"><span style="color:windowtext;text-decoration:none"><img border="0" width="39" height="39" style="width:.4062in;height:.4062in" id="Imagen_x0020_2" src="cid:image002.jpg@01D44EAC.CD1EDB80" alt="cid:image002.jpg@01D22F69.00C333B0"></span></a></span><o:p></o:p></p>
<p class="MsoNormal" style="line-height:115%"><span style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:CA"> </span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-left:7.1pt"><span style="color:#1F497D;mso-fareast-language:CA"><img border="0" width="126" height="30" style="width:1.3125in;height:.3125in" id="Imagen_x0020_3" src="cid:image003.png@01D44EAC.CD1EDB80" alt="AF-TECNIO-HORITZONTAL SENSE VALIDACIO"></span><span lang="ES" style="color:#1F497D;mso-fareast-language:CA">
</span><a href="http://www.ctm.com.es/"><span style="color:#1F497D;mso-fareast-language:CA;text-decoration:none"><img border="0" width="30" height="30" style="width:.3125in;height:.3125in" id="Imagen_x0020_4" src="cid:image004.png@01D44EAC.CD1EDB80" alt="cid:image003.png@01D22F69.00C333B0"></span></a><span lang="ES" style="color:#1F497D;mso-fareast-language:CA"> </span><a href="http://twitter.com/FundacioCTM" target="_blank"><span style="color:blue;mso-fareast-language:CA;text-decoration:none"><img border="0" width="30" height="30" style="width:.3125in;height:.3125in" id="Imagen_x0020_5" src="cid:image005.jpg@01D44EAC.CD1EDB80" alt="cid:image004.jpg@01D22F69.00C333B0"></span></a><span lang="ES" style="color:#1F497D;mso-fareast-language:CA"> </span><a href="http://www.linkedin.com/company/ctm-centre-tecnol-gic"><span style="color:black;mso-fareast-language:CA;text-decoration:none"><img border="0" width="32" height="31" style="width:.3333in;height:.3229in" id="Imagen_x0020_6" src="cid:image006.jpg@01D44EAC.CD1EDB80" alt="cid:image005.jpg@01D22F69.00C333B0"></span></a><span lang="ES" style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:CA"> </span><a href="http://www.youtube.com/user/CTMCentreTecnologic"><span style="color:#1F497D;mso-fareast-language:CA;text-decoration:none"><img border="0" width="31" height="31" style="width:.3229in;height:.3229in" id="Imagen_x0020_7" src="cid:image007.png@01D44EAC.CD1EDB80" alt="cid:image006.png@01D22F69.00C333B0"></span></a><span lang="ES" style="mso-fareast-language:CA"> </span><a href="http://www.ctm.com.es/noticias-ctm.xml" target="_blank"><span style="color:#1F497D;mso-fareast-language:CA;text-decoration:none"><img border="0" width="30" height="30" style="width:.3125in;height:.3125in" id="Imagen_x0020_8" src="cid:image008.jpg@01D44EAC.CD1EDB80" alt="cid:image007.jpg@01D22F69.00C333B0"></span></a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:29.2pt;margin-bottom:5.0pt;margin-left:0cm;text-align:justify">
<i><span lang="ES" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#999999;mso-fareast-language:CA">Aquest missatge i els fitxers annexes poden contenir informació confidencial o protegida. Si ha rebut aquest missatge per error, es prega no el reenviï
a ningú, que elimini tant l’original com totes les còpies i ho notifiqui al remitent mitjançant resposta al mateix. Gràcies per la seva col·laboració.</span></i><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:29.2pt;margin-bottom:5.0pt;margin-left:0cm;text-align:justify">
<i><span lang="ES" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#999999;mso-fareast-language:CA">Este mensaje y sus ficheros anexos pueden contener información confidencial o protegida. Si ha recibido este mensaje por error, se ruega no lo envíe
a nadie, que elimine tanto el original como todas sus copias y lo notifique al remitente mediante respuesta al mismo.
</span></i><i><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#999999;mso-fareast-language:CA">Gracias por su colaboración.</span></i><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:5.0pt;margin-right:29.2pt;margin-bottom:5.0pt;margin-left:0cm;text-align:justify">
<i><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#999999;mso-fareast-language:CA">Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for
delivery of the message to such person) you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify us by reply email.
</span></i><i><span lang="ES" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#999999;mso-fareast-language:CA">Thank you for your cooperation.</span></i><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:CA"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>TRNSYS-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a><o:p></o:p></pre>
<pre><a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:CA"><br>
<br>
<o:p></o:p></span></p>
<pre>-- <o:p></o:p></pre>
<pre>***************************<o:p></o:p></pre>
<pre>David BRADLEY<o:p></o:p></pre>
<pre>Principal<o:p></o:p></pre>
<pre>Thermal Energy Systems Specialists, LLC<o:p></o:p></pre>
<pre>3 North Pinckney Street - suite 202<o:p></o:p></pre>
<pre>Madison, WI 53703 USA<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>P:+1.608.274.2577<o:p></o:p></pre>
<pre>F:+1.608.278.1475<o:p></o:p></pre>
<pre><a href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><a href="http://www.tess-inc.com">http://www.tess-inc.com</a><o:p></o:p></pre>
<pre><a href="http://www.trnsys.com">http://www.trnsys.com</a><o:p></o:p></pre>
</div>
</body>
</html>