Dear Karl, Thanks
for the idea. The problem is though that as soon as Tin gets less than Tset
again, it ‘looses’ its value. What i want is to keep it at
Tset untill another condition is met, but not when Tin<Tset. In fact i want
to include some form of hysteresis in a control loop. (PS: you
can use GE instead of combining GT and EQL) Kind
regards Stefan Van: Karl Vonderputten [mailto:karl@chromagen.com.au] Hello Mr De kool You could try the
following to raise a flag Eqns 3 Tset = 60 !
Tset whatever set point Tin = [9,6] !
Whatever output from whatever control card Tout = Tset*GT(Tin,
Tset)+ Tset*EQL(Tin, Tset) + Tin * LT( Tin, Tset) I included the
_expression_ in the middle because I was not sure what the equation would do if
the Value Tin was ever
exactly equal to Tset. It may not be necessary Please let me know
if this was helpful (I may like to use
it later myself) Regards Karl Von Der Putten From: Stefan de Kool
[mailto:S.deKool@chri.nl] Dear
all, Does
anyone know if there is a way to ‘raise flags’ in trnsys? I want to
give a certain variable a value at the moment a certain temperature is reached
and to keep that variable at that value regardless of further temperature
changes. Regards, Stefan
de Kool Cauberg-Huygen Raadgevende Ingenieurs B.V. Bezoekadres: Boterdiep 48, 3077 AW ROTTERDAM Postadres: Postbus 9222, 3007 AE ROTTERDAM Telefoon: +31 (0)10-2443638 Fax: +31 (0)10-425 44 43 http://www.chri.nl E-mail: s.dekool@chri.nl |