[TRNSYS-users] Issue regarding Type24 (integrator) component
thornton at tess-inc.com
Thu Dec 13 06:26:20 PST 2018
Iteration mode 1 means that the component is called EVERY time one of its input values change and at least once each time step. Hooking up an integrator with this iteration mode to a component that has any sort of iteration each time step will cause issues. In iteration mode 4, the integrator is called once each time step, after everything else is converged, to perform the integration on the final values of all its inputs.
Sent from my iPhone
> On Dec 13, 2018, at 2:05 AM, Michel Tamarzians <micheltamarzians at gmail.com> wrote:
> Dear jeff,
> Thanks for the quick reply.
> I mean indeed the sourcing fortran code of the component. Standard it is set to iteration mode 4 so that it is called after all the other components have converged but before the printers. But I was wondering why it is not giving the same final answer if you change the source fortran code to iteration mode 1, so that the component is called every time step.
> Shouldn't the final output of the component be the same regarding the iteration mode for type24?
> Thanks again!
> Kind regards,
>> On Thu, 13 Dec 2018, 05:36 Jeff Thornton via TRNSYS-users <trnsys-users at lists.onebuilding.org wrote:
>> When you say "set the iteration mode to 4", are you referring to changing the source of Type 24? If so, I'm not sure why you would do this. Type 24 has been programmed to handle nearly all cases that you could throw at it. Unless you're doing something odd post-convergence, this should never have to be changed.
>> Jeff Thornton
>> President - TESS LLC
>> 3 N. Pinckney Street, Suite 202, Madison WI USA 53703
>> Office: (608) 274-2577 Fax: (608) 278-1475
>> E-Mail: thornton at tess-inc.com
>>> On 12/12/2018 2:54 am, Michel Tamarzians via TRNSYS-users wrote:
>>> Dear all,
>>> I am doing a simulation for one year and using Type24 to integrate the generated power of my solar array. However, if I set the iterationmode of Type24 to "mode 1" (calculated every hour) or "mode 4" (calculated after all other components) it gives me as a final result a total different value which will affect my lcoe calcualtions.
>>> Can someone perhaps explain to me why this happens? In my understanding I think the integral should give the same value, right?
>>> Again thanks for any help!
>>> Kind regards,
>>> TRNSYS-users mailing list
>>> TRNSYS-users at lists.onebuilding.org
>> TRNSYS-users mailing list
>> TRNSYS-users at lists.onebuilding.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the TRNSYS-users