[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Thank you very much.

 

It was very helpful.

 

Jordi

 

De: David BRADLEY <d.bradley@tess-inc.com>
Enviado el: dilluns, 17 de setembre de 2018 16:31
Para: TRNSYS users mailing list at OneBuilding.org <trnsys-users@lists.onebuilding.org>
CC: Jordi Macia <jordi.macia@ctm.com.es>
Asunto: Re: [TRNSYS-users] Command line syntax. Arguments to be passed to TRNExe.exe

 

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ó CTMCentre 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@01D22F69.00C333B0

 

AF-TECNIO-HORITZONTAL SENSE VALIDACIO           cid:image003.png@01D22F69.00C333B0 cid:image004.jpg@01D22F69.00C333B0 cid:image005.jpg@01D22F69.00C333B0 cid:image006.png@01D22F69.00C333B0 cid:image007.jpg@01D22F69.00C333B0

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@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@tess-inc.com
 
http://www.tess-inc.com
http://www.trnsys.com