[TRNSYS-users] An integral problem in trnsys

Song Aoye soymail at pku.edu.cn
Sun May 8 04:48:58 PDT 2022


Thanks for the suggestion, I solved this using a combination of Type150 and equation for integration.




Best regards,

Aoye


-----Original Messages-----
From:"David BRADLEY" <d.bradley at tess-inc.com>
Sent Time:2022-05-06 22:27:13 (Friday)
To: "TRNSYS users mailing list at OneBuilding.org" <trnsys-users at lists.onebuilding.org>
Cc: "Song Aoye" <soymail at pku.edu.cn>
Subject: Re: [TRNSYS-users] An integral problem in trnsys



I think that you could accomplish this by creating a Type55 for each of the individual integration periods that you want, then combine the results together using an equation.

kind regards,

 David




On 05/06/2022 04:32, Song Aoye via TRNSYS-users wrote:


Dear every users,




I want to achieve integration of different time intervals through type24 or type55 of trnsys.

For example, I now have a model with time step = 1hr and simulation time = 24hr

I want to achieve intergration from
0-1 hr, then reset the value
2-5 hr, then reset the value
6-10 hr, then reset the value
11-12 hr, then reset the value


13-24 hr

This example can be shown in following figure:




Can integral and value reset in this way be achieved in TRNSYS? If it doesn't work, I'm going to use a combination of python and trnsys.




Best Regards,

SONG Aoye



_______________________________________________
TRNSYS-users mailing list TRNSYS-users at lists.onebuilding.orghttp://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
-- 
***************************
David BRADLEY
Principal
Thermal Energy System Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI  53703 USA

P:+1.608.274.2577 d.bradley at tess-inc.comhttp://www.tess-inc.comhttp://www.trnsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20220508/004259d9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1651829398017.png
Type: image/png
Size: 21372 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20220508/004259d9/attachment-0002.png>


More information about the TRNSYS-users mailing list