[TRNSYS-users] TRNSYS control cards

Jeff Thornton thornton at tess-inc.com
Thu Jan 10 07:49:20 PST 2019


Makram,

You can use an INCLUDE file.  Details can be found in the documentation.  The include file must also follow the TRNSYS requirements on structure.

So it may look like:
EQUATIONS 3
Tstart = 0
Tstop = 8760
Tstep = 0.05

Then these variable names appear in your control cards.  You could also put your control cards in an include file but then you have to edit the input file manually.

Jeff

Sent from my iPhone

> On Jan 10, 2019, at 9:35 AM, Makram ABDELLATIF <makram.abdellatif at yncrea.fr> wrote:
> 
> Thank you for your answer Jeff.
> Is there a way to change control cards externaly? For example:
> Simulation start time= tstart
> Simulation stop time= tstop
> simulation time step= tstep
>  
> Where tstart and tstop and tstep are given in a external file (.txt).
>  
> Thank you.
>  
> <image001.png>
> Makram ABDELLATIF
> Doctorant
> Département Construction Civile et Mécanique
> HEI, une école d’Yncréa Hauts-de-France
> Laboratoire Génie Civil et géo-Environnement
> makram.abdellatif at yncrea.fr  
> Tél. : 07.54.15.03.53
>  
> www.hei.fr / www.yncrea.fr
> www.lgcge.fr
>  
>  
> <image002.jpg>
>  
>  
> De : Jeff Thornton <thornton at tess-inc.com> 
> Envoyé : mercredi 9 janvier 2019 16:28
> À : TRNSYS users mailing list at OneBuilding.org <trnsys-users at lists.onebuilding.org>
> Cc : Makram ABDELLATIF <makram.abdellatif at yncrea.fr>
> Objet : Re: [TRNSYS-users] TRNSYS control cards
>  
> Makram,
>  
> You can use equations to set the control card variables.  For example:
>  
> STARTSIM= 0
> DAYS= 57
> STOPSIM= STARTSIM+DAYS*24
>  
> Then use these names in the appropriate spots in the control cards.  The only caveat is that they can’t change during the simulation.
>  
> Jeff / TESS
> 
> Sent from my iPhone
> 
> On Jan 9, 2019, at 2:39 AM, Makram ABDELLATIF via TRNSYS-users <trnsys-users at lists.onebuilding.org> wrote:
> 
> Hello everyone,
>  
> Is there a way to change control cards automatically?
> For example, by creating a parametr (or equation) or by calling a variable from an external txt file.
> Thank you.
>  
> Best Regards,
> Makram ABDELLATIF
> PhD student
> <image001.png>
> Makram ABDELLATIF
> PhD student
> Civil and Mechanical Construction Department
> HEI, a school of Yncréa Hauts-de-France
> Laboratory Civil Engineering and géo-Environment
> makram.abdellatif at yncrea.fr  
> Tél. : 07.54.15.03.53
>  
> www.hei.fr / www.yncrea.fr
> www.lgcge.fr
>  
>  
> <image002.jpg>
>  
>  
>  
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20190110/e13734ae/attachment-0001.html>


More information about the TRNSYS-users mailing list