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

Re: [TRNSYS-users] equation



Isabelle,

Is it possible, in Trnsys simulation studio, tu use a Constant value defined in the simulation cards ?


You can use any constant in other equations, as a parameter or as an initial value (for the last 2 options you need to set the variable type to "string").

The Studio creates the following 3 constants by default:
START : simulation start time
STEP  : simulation time step
STOP  : simulation stop time

You can also add your own equations/constants in the control cards (in the "simulation cards" field, e.g.
CONSTANTS 1
MyConstant = 123.45
(This is the same as creating an equation block in the Studio, except that CONSTANTS are picked by the parametric table tool in TRNEdit, EQUATIONS are not)

And don't forget that in TRNSYS 16, you do not have to pay attention to the order of equations anymore. You can have things like:
Var1 = Var2+6
Var2 = 4
in that order.


I hope this helps,

Michaël Kummert


--
_________________________________________________________

Michaël Kummert

Solar Energy Laboratory - University of Wisconsin-Madison
1303 Engr Res Bldg, 1500 Engineering Drive
Madison, WI 53706

Tel: +1 (608) 263-1589
Fax: +1 (608) 262-8464
E-mail: kummert@engr.wisc.edu

SEL Web Site: http://sel.me.wisc.edu
TRNSYS Web Site: http://sel.me.wisc.edu/trnsys