Hi,
I would like to control a vent using the FREEZE TIME option taking the relative time after the activation of a certain control and not the absolute time.
In my simulation after a temperature device reaches a certain limit I need to decrease the flow rate through a vent after a certain delay and following a prescribed ramp.
&DEVC XYZ=0.000,0.000,0.100 ,ID='
fire_control', QUANTITY='TEMPERATURE', SETPOINT=300, INITIAL_STATE=F/
&DEVC XYZ=0.000,0.000,0.100, QUANTITY='TIME', NO_UPDATE_CTRL_ID='fire_control', ID='FREEZE TIME'/
&SURF ID='test', COLOR='RED', VEL=5.0, RAMP_Q='ramp'/
&RAMP ID='
ramp ', T=0000, F=1.00000, DEVC_ID='FREEZE TIME'/
&RAMP ID='
ramp ', T=0100, F=1.00000/
&RAMP ID='
ramp ', T=0200, F=0.50000/
I see that using these lines the simulation takes the absolute time and not the relative time after the temperature reaches the setpoint.
Is there a certain way to output the time when the temperature reaches the setpoint and possibly subtract it from TIME?
Thanks in advance,
Matteo
Is there