Many-to-Many Allocation by Priority

Use this forum to post Vensim related questions.
Post Reply
cortneyg
Junior Member
Posts: 3
Joined: Mon Aug 30, 2021 6:23 pm
Vensim version: DSS

Many-to-Many Allocation by Priority

Post by cortneyg »

Hello,
I am in the process of building a model for allocating scarce water supplies, from multiple sources ( i.e. Groundwater, Surface Water, Imports) to multiple users, or water demanders (i.e. Agriculture, Residential, Industrial). Ideally this would be based on a priority system defined by User/demander. Meaning, I would like to set priorities by the user subscripts (Residential = highest priority, Agri. = middle, Industrial= lowest priority).

I have looked into the Allocation functions, and I have read the Vensim Reference Guide on Many-to-Many Allocation (https://www.vensim.com/documentation/24340.html), but I'm still not sure if what I am trying to accomplish is possible with those tools. Much of the examples are in the context of Price and market clearing and I'm failing at translating this to resource scarcity.

The Allocation by priority examples are pretty straight forward for resource scarcity, in a one (supply) to many (demands) scenario.
SO my question is, is there a way to utilize Allocation by Priority in a many-to-many scenario (possibly using subscripts?). Or would it just be simpler to create multiple allocate by priority function (one for each supply)?

Thank you for your time.
tomfid
Administrator
Posts: 3808
Joined: Wed May 24, 2006 4:54 am

Re: Many-to-Many Allocation by Priority

Post by tomfid »

There's a many-to-many example in the help system that installs with Vensim, linked to the DEMAND AT PRICE function topic. https://www.vensim.com/documentation/fn ... price.html

If you think of the supply and demand curves in economic terms, the clearing priority can be interpreted as a price.
Post Reply