[TRNSYS-users] Discrete or non-discrete time step
Jeff Thornton
thornton at tess-inc.com
Fri Feb 11 08:21:44 PST 2022
Christopher,
TRNSYS will convert your timestep into the closest 1/N timestep where N is an integer and the timestep is in hours. In that way, there is always a constant number of timesteps per hour - making life a lot easier for people coding their own models. The largest value of N is currently coded to 36000; for a minimum timestep of 0.1 seconds.
Jeff
Sent from my iPhone
> On Feb 11, 2022, at 9:29 AM, Graf, Christopher via TRNSYS-users <trnsys-users at lists.onebuilding.org> wrote:
>
>
> Dear Trnsys users,
>
> as part of my research I simulated a building with domestic hot water (DHW) and space heating system for one year. My current time step is 3min (0.05hr). I’m thinking about lowering the time step to improve the resolution of my DHW tapping profiles and the simulation results.
>
> I wondered if I can basically take any time step? For example if I choose to take 5s (0.13 or rounded 0.13888889) it technically adds up to 8760 hr, but in reality the time steps needs to rounded after a certain number of decimals, true? Will the time step be rounded in TRNSYS? And if yes, how does TRNSYS cope with a time step which does not exactly add up to 8760 hr? Does it make a difference whether I chose to “min” or “s” instead of “hr” during the configuration of the time step in the settings menu?
>
> Therefore, would it be best or is it necessary to choose a time steps which is discrete and adds up to 8760 hr?
>
> Thank you for your answers!
>
> Best Regards,
> Christopher Graf
>
>
> Christopher Graf, M.Sc.
> Scientific Associate, PhD-Candidate
>
> Thermal Energy System Departement, Energy Economics and Process Integration Division
> Fraunhofer Institute for Energy Economics and Energy System Technology
>
> Gottschalkstr. 28a | 34127 Kassel | Germany (Visiting adress)
> Königstor 59 | 34119 Kassel |Germany (Postal adress)
>
> christopher.graf at iee.fraunhofer.de | Phone +49 561 804-2692
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20220211/f16298e2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 279 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20220211/f16298e2/attachment-0002.png>
More information about the TRNSYS-users
mailing list