[TRNSYS-users] Trnsed parameters

Kent Beason kbeason at schlitterbahn.com
Thu Nov 12 13:34:58 PST 2009


I've created a TRNSED distributable and have run into a problem
regarding Type 14 Night Setback.  I kept parameters 3, 5, 7, and 9
unlocked so as to include them in the TRNSED distributable, named
"ENDOFNIG, ENDOFNI1, BEGINOFN, BEGINOF1" in the .trd file, resp.
However, when I try to run the TRNSED file, the simulation stops from
"illegal variable name" and refers to these parameter names.  Refer to
the attached in which the names are set equal to the value as would be
input by the user, in the top section below "***Model Night Setback
(Type 14, Unit 22)".  In the second section under "Unit 22 Type 14 Night
Setback", you can see these variable names again with the component
parameter names to the right.  The simulation proceeds without problems
only when I manually type over these variable names with the integer
value I want them to be (in the .trd file itself).  TRNSED-User-defined
variables are done this way for other components in the same file but
there only seems to be a problem with this particular Type 14.

 

Thanks in advance for any help.

 

Kent Beason

Schlitterbahn Development Group

830-609-8904 m

830-608-8040 f

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20091112/b04259ce/attachment-0005.htm>
-------------- next part --------------
* Model "Night Setback" (Type 14)
* 
*
*|*
*|* *** Model Night Setback (Type 14, Unit 22)
*|*
CONSTANTS 4
*|*PARAMETERS																							VALUES			UNITS
ENDOFNIG= 6.0000000000000E+00							!Variable definition at left
*|End of night set-back                   |hr|hr|0|1|0.0|24.000|1000
ENDOFNI1= 6.0000000000000E+00							!Variable definition at left
*|End of night set-back again             |hr|hr|0|1|0.0|24.000|1000
BEGINOFN= 1.8000000000000E+01							!Variable definition at left
*|Begin of night set-back                 |hr|hr|0|1|0.0|24.000|1000
BEGINOF1= 1.8000000000000E+01							!Variable definition at left
*|Begin of night set-back again           |hr|hr|0|1|0.0|24.000|1000
*
UNIT 22 TYPE 14	 Night Setback
*$UNIT_NAME Night Setback
*$MODEL .\Utility Library (TESS)\Forcing Functions\Night Setback (Daily)\Type14i.tmf
*$POSITION 496 243
*$LAYER Main # 
PARAMETERS 12
0		! 1 Midnight
1		! 2 Control signal-1
ENDOFNIG	! 3 End of night set-back  		Manual overtype to left with above ENDOFNIG integer value eliminates problem
1		! 4 Control signal-2
ENDOFNI1	! 5 End of night set-back again 	Manual overtype to left with above ENDOFNI1 integer value eliminates problem
0		! 6 Control signal-3
BEGINOFN	! 7 Begin of night set-back		Manual overtype to left with above BEGINOFN integer value eliminates problem
0		! 8 Control signal-4
BEGINOF1	! 9 Begin of night set-back again	Manual overtype to left with above BEGINOF1 integer value eliminates problem
1		! 10 Control signal-5
24		! 11 Midnite
1		! 12 Control signal-6


More information about the TRNSYS-users mailing list