A question about Allocate available function
Posted: Mon Nov 25, 2019 3:23 am
Hi,
I am preparing to build a model of the electricityt market, which has a question about merit order of capacity.
It is a typlical problem of building a supply curve and dispatching.
For example, I have 3 suppliers: 10(a), 20(b), 5(c)
The supplier has different costs: 1, 2, 3
Demand: 29
Price: 2.8
The solution: due to the price is large the cost, the prower is generated. So, a provides 10, b provides 19.
From Vensim help, I found the Allocate function to solve it.
But, I analyze a long-term market dynamics. So, the demand will be changed by other factor like demand growth rate. At the same time, the supply also will be changed, because of the decommissioned old capacity and new capital investment for capacity.
Because I rarely used subscripts before, I want to show the change in growth directly in the formula.
But, it said the error: ONLY NUMBERS SEPARATED BY COMMAS ARE VALID IN THIS CONTEXT
![Image]()
So, I was wondering how to solve it?
Thank you very mcuh!
I am preparing to build a model of the electricityt market, which has a question about merit order of capacity.
It is a typlical problem of building a supply curve and dispatching.
For example, I have 3 suppliers: 10(a), 20(b), 5(c)
The supplier has different costs: 1, 2, 3
Demand: 29
Price: 2.8
The solution: due to the price is large the cost, the prower is generated. So, a provides 10, b provides 19.
From Vensim help, I found the Allocate function to solve it.
But, I analyze a long-term market dynamics. So, the demand will be changed by other factor like demand growth rate. At the same time, the supply also will be changed, because of the decommissioned old capacity and new capital investment for capacity.
Because I rarely used subscripts before, I want to show the change in growth directly in the formula.
But, it said the error: ONLY NUMBERS SEPARATED BY COMMAS ARE VALID IN THIS CONTEXT
So, I was wondering how to solve it?
Thank you very mcuh!