Slider Bars: Setting Initial Values of Box Variables |
In addition to controlling the Infection Fraction, it would be nice to be able to vary the initial value of Susceptible People. Since Vensim PLE likes to associate sliders with constant auxiliary variables, you have to 'trick' it a little bit. Create an auxiliary variable to store the inital value for the box variable, set the box variable's intial value equal to that auxiliary, and create a slider to control the auxiliary variable. Procedure:
Although slightly indirect, this implementation of sliders offers great interactive control over the inital values of box variables. |
|
Vensim PLE is a product of Ventana Systems, Inc.