[TRNSYS-users] Command line syntax. Arguments to be passed to TRNExe.exe

David BRADLEY d.bradley at tess-inc.com
Mon Sep 17 07:30:30 PDT 2018


Jordi,

   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.

   The way we typically handle this situation is by using include files. 
If you put the line:

INCLUDE MyInputs.inc

   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.

   kind regards,

  David



On 09/17/2018 07:43, Jordi Macia via TRNSYS-users wrote:
>
> Dear support service,
>
> I would like to execute TRNSYS with an externall call from another 
> program.
>
> As far as I have found out, the syntax is:
>
> >> TRNExe.exe <trnsys_file_name.dck>
>
> My question is: are other parameters I could pass in the command line, 
> after the filename, such as arguments to equations or control cards?
>
> Thank you so much in advance,
>
> Jordi Macià i Cid
>
> Researcher
>
> /Àrea de Sostenibilitat Ambiental i Energètica - CTM/
>
> CTM-2955 - copia
>
> 	
>
> **
>
> *Fundació CTM****Centre Tecnològic***
>
> Plaça de la Ciència, 2
>
> 08243 Manresa (BCN)
>
> Tel.  (+34) 93 877 73 73
>
> Mob. (+34) 659.85.52.18
>
> Fax. (+34) 93 877 73 74
>
> Skype: jordi_macia_cid
>
> Com arribar:
>
> cid:image002.jpg at 01D22F69.00C333B0 <http://www.ctm.com.es/contacto.asp>
>
> AF-TECNIO-HORITZONTAL SENSE 
> VALIDACIOcid:image003.png at 01D22F69.00C333B0 
> <http://www.ctm.com.es/>cid:image004.jpg at 01D22F69.00C333B0 
> <http://twitter.com/FundacioCTM>cid:image005.jpg at 01D22F69.00C333B0 
> <http://www.linkedin.com/company/ctm-centre-tecnol-gic>cid:image006.png at 01D22F69.00C333B0 
> <http://www.youtube.com/user/CTMCentreTecnologic>cid:image007.jpg at 01D22F69.00C333B0 
> <http://www.ctm.com.es/noticias-ctm.xml>
>
> /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ó./
>
> /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. 
> //Gracias por su colaboración./
>
> /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. //Thank you for your 
> cooperation.///
>
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

-- 
***************************
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
d.bradley at tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180917/a557176b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4070 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180917/a557176b/attachment-0010.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 1072 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180917/a557176b/attachment-0011.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 4710 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180917/a557176b/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 2059 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180917/a557176b/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 10454 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180917/a557176b/attachment-0012.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.jpg
Type: image/jpeg
Size: 948 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180917/a557176b/attachment-0013.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 1989 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180917/a557176b/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.jpg
Type: image/jpeg
Size: 14051 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180917/a557176b/attachment-0014.jpg>


More information about the TRNSYS-users mailing list