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

Re: [TRNSYS-users] Integrator type24



The integrator is working fine.  In TRNSYS, the integrator simply becomes the sum of (input value x time step).  With a one hour time step, the output value will be reset each hour.  Let's take a simple example of a 15 minute time step and a constant input value of 100.  At the end of the first time step, the value would be 25 (100/hour x 0.25 hours).  At the end of the next time step the value would be 50 (25+25).  At the end of the hour the value would be 100 before it resets for the next hour.  If you hook up a printer and print the integrated value each hour you'll get the average over that hour.  

If you're looking to get a continuous average value for an input (for example the average value over the preceding hour) then there are other models that are better suited to that.  Check the utility libraries in both the standard package and the TESS libraries.

Jeff Thornton
TESS


Sent from my iPhone

On May 16, 2015, at 11:50 AM, A. M <i_0z@hotmail.com> wrote:



Dear all,
 
Im running a simulation for 24hrs in 1mins timestep. However i want to find an average values for the input for each 1hr timestep. I dont know how to do this easily in TRNSYS.
However, I used integrator to sum up my intput values for each 1hr for 24hrs simulation time.
I found myself doesnt understand the function of integrator itself, as you can see from the attached pic, the integrator keeps giving me the same peak point of the actual curve and then it resets.
Does the integrator function correctly?
 
I also attached my project file to show you the parameters i used.
 
Please let me know what it could be?
 
Meer
<radiation.jpg>
<Average.tpf>
<integrator.jpg>
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org