Timed Nozzle Control #14267
-
Hi All, I am trying to control a nozzle in FDS so that it turns on at a given time, then a little while later turns off again. I am trying to use the control method shown in example "activate_sprinklers.fds". I have set up my code so that the nozzle should ramp up between 99.9s & 100.0s, and ramp down between 199.9s & 200.0s. If I view the output file, only the 200s control shows, no mention of the 100s activation. Has anyone seen this behavior before? Is there a fix, or a better way to control the sprinkler. My code is as follows: &HEAD CHID= 'SPRINKLER_002' / &DUMP NFRAMES= 300, &TIME T_BEGIN= 000.00 / &TIME RESTRICT_TIME_STEP=F / &MISC TMPA= 10.99, &MESH IJK= 12, 12, 10, XB= 0.00, 3.00, 0.00, 3.00, 0.00, 2.50 / &VENT XB= 0.00, 0.00, 0.00, 3.00, 0.00, 2.50, SURF_ID= 'OPEN', COLOR= 'BLUE' / &OBST XB= 0.00, 3.00, 0.00, 3.00, 0.00, 0.25, COLOR= 'GREEN', TRANSPARENCY= 1.0 / &SPEC ID='SPRINKLER WATER VAPOR',SPEC_ID='WATER VAPOR' / &DEVC XYZ=0.25, 0.25, 0.25, ID='TIMER', QUANTITY='TIME' / &CTRL ID='CTR1', FUNCTION_TYPE='CUSTOM', INPUT_ID='TIMER', RAMP_ID='RAMP1', LATCH=.FALSE. / &PART ID='DROPS', &PROP ID='SPR_PROP', &DEVC ID='SPR1', &BNDF QUANTITY='MPUA', PART_ID='DROPS' / |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Interestingly, if I remove "&TIME RESTRICT_TIME_STEP=F /" the control timings work, however, it takes much longer to simulate the last 100s (as you'd expect due to shorter time steps). |
Beta Was this translation helpful? Give feedback.
The .out file just reports the last state change time. Things like smoke detectors and sprinklers with a link would just have a single state change. The log.csv file should show all the state changes.
Are you running with the current release?
Since you know in advance the time you want the sprinkler flowing water, you could have a FLOW_RAMP for the PROP and for the sprinkler DEVC use TIME as the QUANTITY with a SETPOINT of 0 (can just change the -1 to 0 in your current RAMP).