Pyrosim custom control fds additional records

Posted 8 months ago by Shisha Gamrah

Post a topic
Answered
S
Shisha Gamrah

When I type the below code in pyrosim additional records I recieve this error, only enter records of type devc and ramp. you may additional specify devc records if quantity is time. So this is based on a ctrl that subtracts the pressure of two gas phase devices then stores it in a devc.


&RAMP ID='2nd gap_RAMP', T=310.375, F=-1.0/
&RAMP ID='2nd gap_RAMP', T=310.625, F=1.0/
&RAMP ID='2nd gap_RAMP', T=310.875, F=1.0/
&RAMP ID='2nd gap_RAMP', T=311.125, F=-1.0/
&RAMP ID='2nd gap_RAMP', T=331.875, F=-1.0/
&RAMP ID='2nd gap_RAMP', T=332.125, F=1.0/
&CTRL ID='2nd gap', FUNCTION_TYPE='CUSTOM', RAMP_ID='2nd gap_RAMP', LATCH=.FALSE., INPUT_ID='TIME'/
&DEVC ID='TIME', QUANTITY='TIME', XYZ=0.0,0.0,0.0/

&CTRL ID='FD1', FUNCTION_TYPE='SUBTRACT', INPUT_ID='p_up 0.1','p_down 0.1'/
&DEVC ID='F1', QUANTITY='CONTROL VALUE', CTRL_ID='FD1', XYZ=0.0000000E000,0.0000000E000,0.0000000E000, UNITS='Pa'/
&CTRL ID='cycling timer', FUNCTION_TYPE='CUSTOM', INPUT_ID='F1', RAMP_ID='myramp' /

&RAMP ID='myramp',T=29.9,F=-1/
&RAMP ID='myramp',T=30.1,F=1/
&RAMP ID='myramp ',T=39.9,F=1/
&RAMP ID='myramp ',T=40.1,F=-1/

&CTRL ID='SOD', FUNCTION_TYPE='ALL', INPUT_ID='2nd gap','cycling timer' /

0 Votes

Bryan Klein

Bryan Klein posted 7 months ago Admin Best Answer

We have a development project internally to add some additional features to our controls UI; that would allow for the inputs you are showing to be handled well by PyroSim.

Primarily this would include adding  QUANTITY='CONTROL VALUE'  and UNITS parameters for devices.


In the meantime, this specific use case might require some use of the Additional Records and Advanced Fields of the PyroSim UI.

0 Votes


1 Comments

Bryan Klein

Bryan Klein posted 7 months ago Admin Answer

We have a development project internally to add some additional features to our controls UI; that would allow for the inputs you are showing to be handled well by PyroSim.

Primarily this would include adding  QUANTITY='CONTROL VALUE'  and UNITS parameters for devices.


In the meantime, this specific use case might require some use of the Additional Records and Advanced Fields of the PyroSim UI.

0 Votes

Login or Sign up to post a comment