[TRNSYS-users] Getting the time value of the specific event

Mehmet Berk AZDURAL berk.azdural at innorma.com
Wed Jul 12 00:27:11 PDT 2023


Hi,
I want to get the time value during the simulation when the specific
condition occurs.
For example, I have a controller and when the control signal reaches zero,
I want to print the latest time value of the simulation.
I can get simulation time dependent values from the online plotter, but I
can't get the same values from the printer(Type65c) block.
I need them as text files formatted by the printer(Type65c). Because I will
use them in the MOBO optimization tool.

Here is the conditions I have used:

A = GT(CONTROL,20)
B = LT(CONTROL,44)
C = EQL(COLD_FLOW,0)
D = EQL(HOT_FLOW,TOTAL_FLOW)
X = AND(AND(AND(A,B),C),D)
STOP_COND = GTWARN(X,0,2) (*I stop simulation with error when the condition
triggers, it may be unnecessary*)
LITRAJ = TIME*TOTAL_FLOW (*This is my main goal*, *I can see the calculated
values from plotter, but not from printer*)

[image: image.png]
I hope the problem is clear. Thanks in advance.

Best regards,

Mehmet Berk AZDURAL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20230712/734f658d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 114047 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20230712/734f658d/attachment-0001.png>


More information about the TRNSYS-users mailing list