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

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



Mehmet,

  We are moving this email list over to a forum that makes past answers a bit more easily searched. I posted your question there and responded to it. You can visit the forum at: https://trnsys.org/community/

kind regards,

 David


On 7/12/2023 2:27 AM, Mehmet Berk AZDURAL via TRNSYS-users wrote:
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

_______________________________________________
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