Distribution - simpler solution needed
Posted: Thu Dec 11, 2008 2:11 pm
Hi,
this question is not Vensim specific but because I use Vensim there might be a build in function (which I could not find) that helps me out ...
I have a calculated variable (let's say "amount-of-food") that should be distrubuted to some other variables (let's say "food-for-animal-kind-a", "food-for-animal-kind-b", food-for-animal-kind-c", ...)
Currently all I do is to something like this:
food-for-animal-kind-a = 0.3 * amount-of-food
food-for-animal-kind-b = 0.5 * amount-of-food
...
and so on.
The sum of the multiplication factor (0.3 + 0.5 +...) must be <= 1.0
When I want to run some experiments, I have to edit all these multiplication factors. This is a bit cumbersome.
Any idea how to do this in a better way? (I dream about a slider that allows me to change the distribution in a simple way and guarantees that the sum is always eqaul to 1).
Thanks for any help,
jmu
this question is not Vensim specific but because I use Vensim there might be a build in function (which I could not find) that helps me out ...
I have a calculated variable (let's say "amount-of-food") that should be distrubuted to some other variables (let's say "food-for-animal-kind-a", "food-for-animal-kind-b", food-for-animal-kind-c", ...)
Currently all I do is to something like this:
food-for-animal-kind-a = 0.3 * amount-of-food
food-for-animal-kind-b = 0.5 * amount-of-food
...
and so on.
The sum of the multiplication factor (0.3 + 0.5 +...) must be <= 1.0
When I want to run some experiments, I have to edit all these multiplication factors. This is a bit cumbersome.
Any idea how to do this in a better way? (I dream about a slider that allows me to change the distribution in a simple way and guarantees that the sum is always eqaul to 1).
Thanks for any help,
jmu