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

Re: [TRNSYS-users] Equation



Hi Liam,

 

The description of the Equation component has been hidden in chapter

 

7.3.9.1. Available mathematical functions

 

Of the manual “07 – TRNEdit”, so that only very advanced users can find it.

 

It is not possible to use ‘real’ if-then-else control structures within equation (for that you must write a new component in a ‘real’ programming language), but it is possible going quite far with the GT / LT style commands by

-          combining several conditions in a polygon (GT(a,10)*10+LT(…) AND(GT(…), LT(…)) etc.)

-          using several equations with sever to eachother

 

If you have a particular problem, post it here, you’ll probably get a couple of propositions within the hour …

 

Werner

 

 

 


De : Liam O'Brien [mailto:obrien_liam@hotmail.com]
Envoyé : jeudi 24 juillet 2008 04:07
À : trnsys-users@engr.wisc.edu
Objet : [TRNSYS-users] Equation

 

Hello All,

Is anyone aware of a good guide for using Equation (i.e. "insert new equation")?  The only thing I could find in the manual is a 2-pager in Chapter 2 about Studio. 

Basically, what I would like to do is apply some basic controls, like: if condition A do this, if condition B do this, if condition C do this, else do this.  For example, I would like to set up where the solar-heated air is sent based on various conditions.  I know a single condition can be checked using GT, LT, etc.  But I'd like something slightly more advanced.  Perhaps my approach is not correct.

Any advice would be greatly appreciated.  Thank you.

Liam O'Brien






************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************






************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************