Action= Gap ~ ~ The Flow is the difference between the DESIRED VALUE and the Current Value. Note \ that this value may be negative which will mean that the flow reverses direction. | Gap= DESIRED VALUE - Current Value ~ ~ | Current Value= INTEG ( Action, 0) ~ ~ Current Value begins with a value of 50 and is dependent on the rate of \ flow. | DESIRED VALUE= 100 ~ ~ The initial Desired Value is 75. At time 5 this increases to 100 and at time 15 it \ is decreased to 50. This was done just as an example so the flow would be positive and then \ go negative.... | ******************************************************** .Control ********************************************************~ Simulation Control Paramaters | FINAL TIME = 13 ~ Month ~ The final time for the simulation. | INITIAL TIME = 1 ~ Month ~ The initial time for the simulation. | SAVEPER = TIME STEP ~ Month ~ The frequency with which output is stored. | TIME STEP = 0.125 ~ Month ~ The time step for the simulation. | \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *View 1 $0-0-0,0,Times New Roman|12||0-0-0|0-0-0|0-0-0|-1--1--1|-1--1--1|96,96,100 10,1,Current Value,233,68,40,20,3,3,0,0,0,0,0,0 12,2,48,64,68,10,8,0,3,0,0,-1,0,0,0 11,3,0,132,65,6,8,34,3,0,0,3,0,0,0 10,4,Action,132,46,22,11,32,3,0,0,0,0,0,0 10,5,DESIRED VALUE,305,196,34,20,8,3,0,0,0,0,0,0 12,6,3,181,108,16,16,0,0,0,0,-1,0,0,0 1,7,3,1,4,0,83,22,3,0,0,0-0-255,|0||-1--1--1,1|(165,65)| 1,8,3,2,68,0,79,22,3,0,0,255-0-0,|0||-1--1--1,1|(100,65)| 1,9,1,26,2,0,45,0,3,0,0,255-0-0,|0||-1--1--1,1|(226,148)| 1,10,5,26,1,0,0,0,3,0,0,0-0-0,|0||-1--1--1,1|(209,175)| 11,18,0,132,65,6,8,2,3,0,0,1,0,0,0 1,19,18,3,4,0,0,22,0,0,0,-1--1--1,,1|(132,65)| 1,20,18,3,100,0,0,22,0,0,0,-1--1--1,,1|(132,65)| 12,22,48,309,-10,10,8,0,3,0,0,-1,0,0,0 10,26,Gap,179,166,15,11,8,3,0,0,0,0,0,0 1,27,26,18,1,0,43,0,3,64,0,0-0-255,|0||-1--1--1,1|(119,94)| ///---\\\ :GRAPH Test :TITLE :SCALE :VAR Current Value :SCALE :VAR Gap :SCALE :VAR Action :SCALE :VAR DESIRED VALUE :L<%^E!@ 9:Current 15:0,0,0,0,0,0 19:100,0 27:2, 4:Time 5:Current Value 24:1 25:13 26:13