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

Re: [TRNSYS-users] Simulation Summary



Thanks Werner, that works perfectly well!

Best regards,

Jan

 

Von: TRNSYS-users <trnsys-users-bounces@lists.onebuilding.org> Im Auftrag von KEILHOLZ Werner via TRNSYS-users
Gesendet: Dienstag, 7. Februar 2023 17:10
An: TRNSYS users mailing list at OneBuilding.org <trnsys-users@lists.onebuilding.org>
Cc: KEILHOLZ Werner <werner.keilholz@cstb.fr>
Betreff: Re: [TRNSYS-users] Simulation Summary

 

Hello,

 

maybe you can use type 46a (Printegrator) for that ? 

 

Just set parameter 4 to 'STOP' (you have to change the unit to 'variable name') and you get a file with just 27 lines (there are some min/max statistics).

The total is on the last line.

 

Werner

 

 

On Tue, Feb 7, 2023 at 3:49 AM Böttner, Jan via TRNSYS-users <trnsys-users@lists.onebuilding.org> wrote:

Hi,

 

I am using a simulation summary with Energy Balance (Type 28a).

I am wondering, whether it can output a value without doing any operation on it.

The summary works fine for all values that need to be integrated, which are all [kJ/h].

What I need as an output is a count of how often my boiler was started. Therefore I just count the number of times in the code and give it out to an output file.

In the last line of my output file I have the cumulated count, e.g 132. To read out that value I have to open the file and copy it. As I am doing parametric runs and my timestep is 1 min, so 500.000+ lines per file, it takes a lot of time to open all the files and copy the last line of every file to an overview. I already automated it with Excel VBA but it’s still a little annoying.


So what I was wondering is, if I could just add that value to my simulation summary file, which is a lot smaller in size and which I have to open anyway and just copy the value for the boiler count.
As the polish notation is new and kind of cryptic to me, I more or less tried every connection that made sense to me, but I couldn’t figure it out. Same with the Integrator which I thought might work.

 

Best regards,

Jan

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

 

 

--