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

Re: [TRNSYS-users] An integral problem in trnsys



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@tess-inc.com>
Sent Time:2022-05-06 22:27:13 (Friday)
To: "TRNSYS users mailing list at OneBuilding.org" <trnsys-users@lists.onebuilding.org>
Cc: "Song Aoye" <soymail@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 hrthen reset the value
11-12 hrthen 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@lists.onebuilding.org http://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@tess-inc.com http://www.tess-inc.com http://www.trnsys.com