[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TRNSYS-users] Suggestion
Fernando,
Thanks for the suggestion. We have been talking
about ways of adding this conditionality to
*.dcks ourselves. I put the request on the TRNSYS 17 list.
Cheers,
David
At 05:05 1/23/2008, fdominguezm@uma.es wrote:
Dear Trnsys users, I'd like to suggest a new
functionality for TRNSYS. In some projects I am
currently working on, I miss the ability to use
â??IFâ?? directives to remove or to add parts of
the DCK file. This function would be similar to
that provided by the ratio buttons in TRNEDIT,
this time implemented into TRNSYS itself. To
make it much simpler, the IF conditions do not
need to depend on variables that are solved at
run-time. For example: CONSTANT 1 ModelSelector
= 2 %if (ModelSelector = 1) then UNIT 22 TYPE
1 ?? %else if(ModelSelector = 2)
then U UNIT 22 TYPE 210 ?.. %endif DOE-2
and EnergyPlus makee this option available
through a â??macroâ?? language. Most of the
abilities of this macro language are inherent to
the DCK grammar, except the conditional blocks.
In my case, the conditional blocks would give me
an easy way to switch between alternative models
or model structures in the course of large
parametric simulations. Regards! Fernando
DomÃnguez-Muñoz University of Málaga (Spain)
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users
****************************************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY 2916 Marketplace Drive - Suite 104
Partner Madison, WI 53719
Phone: (608) 274-2577 USA
Fax: (608) 278-1475
E-mail: bradley@tess-inc.com
Web Pages: http://www.tess-inc.com and http://www.trnsys.com
"Providing software solutions for today's energy engineering projects"
****************************************************************************************