<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<div class="gmail_quote" style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small">
<span dir="ltr" class="gmail_attr ContentPasted0">Hello,</span></div>
<div class="gmail_quote" style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small">
<span dir="ltr" class="gmail_attr ContentPasted0"><br>
</span></div>
<div class="gmail_quote" style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small">
<span dir="ltr" class="gmail_attr ContentPasted0">maybe you can use type 46a (Printegrator) for that ? </span></div>
<div class="gmail_quote" style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small">
<span dir="ltr" class="gmail_attr ContentPasted0"><br>
</span></div>
<div class="gmail_quote" style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small">
<span dir="ltr" class="gmail_attr ContentPasted0">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).</span></div>
<div class="gmail_quote" style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small">
<span dir="ltr" class="gmail_attr ContentPasted0">The total is on the last line.</span></div>
<div class="gmail_quote" style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small">
<span dir="ltr" class="gmail_attr ContentPasted0"><br>
</span></div>
<div class="gmail_quote" style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small">
<span dir="ltr" class="gmail_attr ContentPasted0">Werner</span></div>
<div class="gmail_quote" style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small">
<span dir="ltr" class="gmail_attr ContentPasted0"><br>
</span></div>
<div class="gmail_quote" style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small">
<span dir="ltr" class="gmail_attr ContentPasted0"><br>
</span></div>
<div class="gmail_quote" style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small">
<span dir="ltr" class="gmail_attr ContentPasted0">On Tue, Feb 7, 2023 at 3:49 AM Böttner, Jan via TRNSYS-users <trnsys-users@lists.onebuilding.org> wrote:</span></div>
<div class="gmail_quote" style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div class="msg-28467361523668843 ContentPasted0">
<div lang="DE">
<div class="m_-28467361523668843WordSection1">
<p class="MsoNormal ContentPasted0" style="margin:0px">Hi,<u class="ContentPasted0"></u><u class="ContentPasted0"></u></p>
<p class="MsoNormal ContentPasted0" style="margin:0px"><u class="ContentPasted0"></u> <u class="ContentPasted0"></u></p>
<p class="MsoNormal" style="margin:0px"><span lang="EN-US" class="ContentPasted0">I am using a simulation summary with Energy Balance (Type 28a).<u class="ContentPasted0"></u><u class="ContentPasted0"></u></span></p>
<p class="MsoNormal" style="margin:0px"><span lang="EN-US" class="ContentPasted0">I am wondering, whether it can output a value without doing any operation on it.<u class="ContentPasted0"></u><u class="ContentPasted0"></u></span></p>
<p class="MsoNormal" style="margin:0px"><span lang="EN-US" class="ContentPasted0">The summary works fine for all values that need to be integrated, which are all [kJ/h].<u class="ContentPasted0"></u><u class="ContentPasted0"></u></span></p>
<p class="MsoNormal" style="margin:0px"><span lang="EN-US" class="ContentPasted0">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.<u class="ContentPasted0"></u><u class="ContentPasted0"></u></span></p>
<p class="MsoNormal" style="margin:0px"><span lang="EN-US" class="ContentPasted0">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.<u class="ContentPasted0"></u><u class="ContentPasted0"></u></span></p>
<p class="MsoNormal" style="margin:0px"><span lang="EN-US" class="ContentPasted0"><br class="ContentPasted0">
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.<br class="ContentPasted0">
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.<u class="ContentPasted0"></u><u class="ContentPasted0"></u></span></p>
<p class="MsoNormal" style="margin:0px"><span lang="EN-US" class="ContentPasted0"><u class="ContentPasted0"></u> <u class="ContentPasted0"></u></span></p>
<p class="MsoNormal" style="margin:0px"><span lang="EN-US" class="ContentPasted0">Best regards,<u class="ContentPasted0"></u><u class="ContentPasted0"></u></span></p>
<p class="MsoNormal" style="margin:0px"><span lang="EN-US" class="ContentPasted0">Jan<u class="ContentPasted0"></u><u class="ContentPasted0"></u></span></p>
</div>
</div>
______________________________<wbr class="ContentPasted0">_________________<br class="ContentPasted0">
TRNSYS-users mailing list<br class="ContentPasted0">
<a target="_blank" style="color:rgb(17, 85, 204)" class="ContentPasted0">TRNSYS-users@lists.onebuilding<wbr>.org</a><br class="ContentPasted0">
<a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org" rel="noreferrer" target="_blank" style="color:rgb(17, 85, 204)" class="ContentPasted0">http://lists.onebuilding.org/l<wbr>istinfo.cgi/trnsys-users-onebu<wbr>ilding.org</a></div>
</blockquote>
</div>
<br style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small" class="ContentPasted0">
<div style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small">
<br class="ContentPasted0">
</div>
<span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:small;background-color:rgb(255, 255, 255);display:inline !important" class="ContentPasted0">--</span><br>
</div>
</body>
</html>