<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Jordi,</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.</p>
    <p>  The way we typically handle this situation is by using include
      files. If you put the line:</p>
    <p>INCLUDE MyInputs.inc</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.</p>
    <p>  kind regards,</p>
    <p> David</p>
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 09/17/2018 07:43, Jordi Macia via
      TRNSYS-users wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:fa988db9c6d84274a8c2ef7da6159a77@E3SERVER.ctmd.lan">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        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;}
span.EstiloCorreo17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@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]-->
      <div class="WordSection1">
        <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
            style="color:#323E4F;mso-fareast-language:CA" lang="EN-US">Jordi
            Macià i Cid<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="color:#323E4F;mso-fareast-language:CA" lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:9.0pt;color:#323E4F;mso-fareast-language:CA"
            lang="EN-US">Researcher<o:p></o:p></span></p>
        <p class="MsoNormal"><i><span
              style="font-size:9.0pt;color:#323E4F;mso-fareast-language:CA"
              lang="ES">Àrea de Sostenibilitat Ambiental i Energètica -
              CTM<o:p></o:p></span></i></p>
        <table class="Taulanormal" style="border-collapse:collapse"
          cellspacing="0" cellpadding="0" border="0">
          <tbody>
            <tr style="height:128.25pt">
              <td style="width:118.9pt;padding:0cm 5.4pt 0cm
                5.4pt;height:128.25pt" valign="top" width="159">
                <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
                      style="width:1.4791in;height:1.3333in"
                      id="Imagen_x0020_1"
                      src="cid:part1.28698563.FD17FB73@tess-inc.com"
                      alt="CTM-2955 - copia" class="" height="128"
                      width="142"><o:p></o:p></span></p>
              </td>
              <td style="width:155.1pt;padding:0cm 5.4pt 0cm
                5.4pt;height:128.25pt" valign="top" width="207">
                <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"><o:p> </o:p></span></b></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ó CTM</span></b><b><span
style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#006699;mso-fareast-language:CA"></span></b><b><span
style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#005782;mso-fareast-language:CA">Centre
                      Tecnològic</span></b><b><span
style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#006699;mso-fareast-language:CA"><o:p></o:p></span></b></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<o:p></o:p></span></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)<o:p></o:p></span></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<o:p></o:p></span></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<o:p></o:p></span></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<o:p></o:p></span></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<o:p></o:p></span></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><span
                    style="color:#1F497D;mso-fareast-language:CA"><o:p></o:p></span></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"
                      moz-do-not-send="true"><span
                        style="color:windowtext;text-decoration:none"><img
                          style="width:.4062in;height:.4062in"
                          id="Imagen_x0020_2"
                          src="cid:part2.B69639D4.D50189D0@tess-inc.com"
                          alt="cid:image002.jpg@01D22F69.00C333B0"
                          class="" height="39" width="39" border="0"></span></a></span><span
style="font-size:8.0pt;line-height:115%;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:CA"><o:p></o:p></span></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"><o:p> </o:p></span></p>
              </td>
            </tr>
          </tbody>
        </table>
        <p class="MsoNormal" style="margin-left:7.1pt"><span
            style="color:#1F497D;mso-fareast-language:CA"><img
              style="width:1.3125in;height:.3125in" id="Imagen_x0020_3"
              src="cid:part4.528E8CA9.DE9F05D3@tess-inc.com"
              alt="AF-TECNIO-HORITZONTAL SENSE VALIDACIO" class=""
              height="30" width="126" border="0"></span><span
            style="color:#1F497D;mso-fareast-language:CA" lang="ES">          
          </span><a href="http://www.ctm.com.es/" moz-do-not-send="true"><span
style="color:#1F497D;mso-fareast-language:CA;text-decoration:none"><img
                style="width:.3125in;height:.3125in" id="Imagen_x0020_4"
                src="cid:part5.5A1DF414.519E0450@tess-inc.com"
                alt="cid:image003.png@01D22F69.00C333B0" class=""
                height="30" width="30" border="0"></span></a><span
            style="color:#1F497D;mso-fareast-language:CA" lang="ES"> </span><a
            href="http://twitter.com/FundacioCTM" target="_blank"
            moz-do-not-send="true"><span
              style="color:blue;mso-fareast-language:CA;text-decoration:none"><img
                style="width:.3125in;height:.3125in" id="Imagen_x0020_5"
                src="cid:part7.C3666291.5F4A231F@tess-inc.com"
                alt="cid:image004.jpg@01D22F69.00C333B0" class=""
                height="30" width="30" border="0"></span></a><span
            style="color:#1F497D;mso-fareast-language:CA" lang="ES"> </span><a
            href="http://www.linkedin.com/company/ctm-centre-tecnol-gic"
            moz-do-not-send="true"><span
              style="color:black;mso-fareast-language:CA;text-decoration:none"><img
                style="width:.3333in;height:.3229in" id="Imagen_x0020_6"
                src="cid:part9.55A0F5B8.D2AFCC62@tess-inc.com"
                alt="cid:image005.jpg@01D22F69.00C333B0" class=""
                height="31" width="32" border="0"></span></a><span
style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:CA"
            lang="ES"> </span><a
            href="http://www.youtube.com/user/CTMCentreTecnologic"
            moz-do-not-send="true"><span
              style="color:#1F497D;mso-fareast-language:CA;text-decoration:none"><img
                style="width:.3229in;height:.3229in" id="Imagen_x0020_7"
                src="cid:part11.4872DF4D.FA84F164@tess-inc.com"
                alt="cid:image006.png@01D22F69.00C333B0" class=""
                height="31" width="31" border="0"></span></a><span
            style="color:black;mso-fareast-language:CA" lang="ES"> </span><a
            href="http://www.ctm.com.es/noticias-ctm.xml"
            target="_blank" moz-do-not-send="true"><span
              style="color:#1F497D;mso-fareast-language:CA;text-decoration:none"><img
                style="width:.3125in;height:.3125in" id="Imagen_x0020_8"
                src="cid:part13.66AFB2FB.3FB6E026@tess-inc.com"
                alt="cid:image007.jpg@01D22F69.00C333B0" class=""
                height="30" width="30" border="0"></span></a><span
            style="color:black;mso-fareast-language:CA" lang="ES"><o:p></o:p></span></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
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#999999;mso-fareast-language:CA"
              lang="ES">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ó.<o:p></o:p></span></i></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
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#999999;mso-fareast-language:CA"
              lang="ES">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
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#999999;mso-fareast-language:CA"
              lang="EN-US">Gracias por su colaboración.<o:p></o:p></span></i></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
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#999999;mso-fareast-language:CA"
              lang="EN-US">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
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#999999;mso-fareast-language:CA"
              lang="ES">Thank you for your cooperation.</span></i><i><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:CA"
              lang="ES"><o:p></o:p></span></i></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>

<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
  </body>
</html>