[TRNSYS-users] Re: TYPE55 periodic integrator
Jeff Thornton
thornton at tess-inc.com
Wed Nov 3 09:13:40 PST 2004
At 01:52 PM 11/3/2004 +0100, you wrote:
>I simulate a system with a simulation time step of 1 minute. I would like to
>use TYPE 55 "periodic integrator" to obtain mean temperatures over a period
>of 3 minutes.
>The values of the parameters for one input are written below :
>
>- Integrate or sum input 1 : -1 (sum)
>- Relative starting hour for input 1 : 1 hr
>- Duration for input 1 : 3 min
>- Cycle repeat time for input 1 : 3 min
>- Reset time for input 1 : 3 min
>- Absolute starting hour for input 1 : 1 hr
>- Absolute stopping hour for input 1 : 744 hr
>
>It doesn't work correctly and I do not understand why. I think the problem
>comes from the "relative starting hour". I tried 1 hr, 0 hr, 3 min without
>success.
Are you using a later version of the TRNSYS 15 software? I just tried the
following example and it worked perfectly:
ASSIGN ***.LST 6
ASSIGN ***.OUT 21
EQUATIONS 2
STEP=1/60
RESET=3/60
SIMULATION 1 100 STEP
EQUATIONS 1
A=TIME
UNIT 55 TYPE 55 PERIODIC INTEGRATOR
PARAMETERS 7
1 1 RESET RESET RESET 1 8760
INPUTS 1
A
0.0
UNIT 25 TYPE 25 PRINTER
PARAMETERS 5
RESET 1 8760 21 1
INPUTS 2
55,3 55,2
MEAN COUNT
- -
END
Results:
TIME MEAN COUNT
[HR] [-] [-]
+1.00000E+00 +0.00000E+00 +0.00000E+00
+1.05000E+00 +1.03333E+00 +3.00000E+00
+1.10000E+00 +1.08333E+00 +3.00000E+00
+1.15000E+00 +1.13333E+00 +3.00000E+00
+1.20000E+00 +1.18333E+00 +3.00000E+00
+1.25000E+00 +1.23333E+00 +3.00000E+00
+1.30000E+00 +1.28333E+00 +3.00000E+00
+1.35000E+00 +1.33333E+00 +3.00000E+00
+1.40000E+00 +1.38333E+00 +3.00000E+00
+1.45000E+00 +1.43333E+00 +3.00000E+00
+1.50000E+00 +1.48333E+00 +3.00000E+00
+1.55000E+00 +1.53333E+00 +3.00000E+00
+1.60000E+00 +1.58333E+00 +3.00000E+00
+1.65000E+00 +1.63333E+00 +3.00000E+00
+1.70000E+00 +1.68333E+00 +3.00000E+00
+1.75000E+00 +1.73333E+00 +3.00000E+00
+1.80000E+00 +1.78333E+00 +3.00000E+00
+1.85000E+00 +1.83333E+00 +3.00000E+00
+1.90000E+00 +1.88333E+00 +3.00000E+00
+1.95000E+00 +1.93333E+00 +3.00000E+00
+2.00000E+00 +1.98333E+00 +3.00000E+00
+2.05000E+00 +2.03333E+00 +3.00000E+00
+2.10000E+00 +2.08333E+00 +3.00000E+00
+2.15000E+00 +2.13333E+00 +3.00000E+00
+2.20000E+00 +2.18333E+00 +3.00000E+00
etc.
Jeff
*********************************************************************************
Thermal Energy System Specialists (TESS)
Jeff Thornton 2916 Marketplace Drive
Principal Suite 104
Phone: (608) 274-2577 Madison WI 53719
Fax: (608) 278-1475 USA
E-mail: thornton at tess-inc.com
Web Page: www.tess-inc.com
"Providing software solutions for today's energy engineering projects"
*********************************************************************************
More information about the TRNSYS-users
mailing list