Linking sliders not using VENAPPS

Use this forum to post Vensim related questions.
Post Reply
jv104
Junior Member
Posts: 9
Joined: Thu Mar 25, 2010 10:53 am

Linking sliders not using VENAPPS

Post by jv104 »

Hi,

Is it possible to link sliders for constants in a model without using VENAPPS?

I have 3 variables that are linked to one another:

1. Capacity of a service
2. Initial population using service 1
3. Initial population using service 2

These variables can be set using sliders. The initial population values should not exceed the "capacity of service" as they use they utilise the same capacity, but I can't make the value of the initial populations to depend upon the capacity of the service, so it is possible for the initial values to exceed the capacity which causes the model to work incorrectly.

Are there any ways to address this without using VENAPPS? E.g. showing a warning, or changing the bounds possible for the initial populations to be dependent on the capacity.

Thanks

Joe
Administrator
Super Administrator
Posts: 4838
Joined: Wed Mar 05, 2003 3:10 am

Re: Linking sliders not using VENAPPS

Post by Administrator »

This will only work if you have the two populations, but why not have a slider for population 1, and then calculate population 2,

population 2 = capacity - population 1
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
tomfid
Administrator
Posts: 3995
Joined: Wed May 24, 2006 4:54 am

Re: Linking sliders not using VENAPPS

Post by tomfid »

Another possibility would be:

share 1 = ... (slider)
total population = ... (slider)
population 1 = share 1*total population

etc.
Post Reply