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

Re: [TRNSYS-users] Type 84 "Moving average" range check error



Jochen,
Thank you for pointing this problem out. Having had a look at the Trnsys17 version of Type84, it looks as though the problem could still exist. We'll get it fixed for the next release!
Best,
 David


On 8/4/2010 04:27, Jochen Doell wrote:
Dear TRNSYS users,

I spent quite a few hours on a problem and I want to share the solution
in order to prevent other users to also get crazy.

When you use type 84 - Moving average with parameter 3 (number of
timesteps)>  100 you will receive a "Range check error" and no further
comments. It took me a while to identify that component because I only
changed my simulation time step and the input parameter for type 84 was
timestep-dependent...

If you need bigger periods of time to create the moving average you can
change the value "NTmax" in line 72 of the sourcecode and recompile the
trndll.dll. But have in mind that this slows down your simulation quite
heavily. This again can be avoided be cutting down NImax and NOmax to
the exact number of inputs your simulation requires (both in line 72).

A hint on this limitation in the manual or an error message would have
been a great help.

Best regards,
Jochen


--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com