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

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



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 goalI can see the calculated values from plotter, but not from printer)

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

Best regards,
  
Mehmet Berk AZDURAL