[TRNSYS-users] Suggestion

David Bradley bradley at tess-inc.com
Wed Jan 23 13:53:54 PST 2008


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 at 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 at 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 at tess-inc.com
Web Pages:  http://www.tess-inc.com     and      http://www.trnsys.com

"Providing software solutions for today's energy engineering projects"
****************************************************************************************






More information about the TRNSYS-users mailing list