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

David BRADLEY d.bradley at tess-inc.com
Wed Jul 12 07:21:38 PDT 2023


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 goal*, *I 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 at 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 at tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20230712/69ae89e7/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/69ae89e7/attachment-0001.png>


More information about the TRNSYS-users mailing list