FIND MARKET PRICE and SUPPLY AT PRICE return erroneous results

Use this forum to post Vensim related questions.
Post Reply
RobbieOrvis
Member
Posts: 48
Joined: Wed Dec 13, 2017 5:16 pm
Vensim version: DSS

FIND MARKET PRICE and SUPPLY AT PRICE return erroneous results

Post by RobbieOrvis »

Hello,

I have been testing using FIND MARKET PRICE and SUPPLY AT PRICE to estimate electricity dispatch, assuming normal distributions for different power plant dispatch costs.

I was doing some validation of the results and found that the results from Vensim are erroneous. You can validate this against what should be computed using normal mathematical operations, for instance in Excel.

In my example, I assume 6 power plants: coal, NGCC, NGCT, nuclear, solar and wind.

Dispatch costs are 25, 35, 55, 10, 0, and 0. I used a normalized StDev of 0.25, so multiply that by each of the average costs to find the standard deviation.

Total capacity for each are 200, 300, 200, 500, 100 and 100, and all are assumed to be fully available in every hour.

Using the the FIND MARKET PRICE function, i get a market price of $9.1872 in the first period when demand is set to 400.

This yields supply of 7.96552 for coal in this period using SUPPLY AT PRICE

In Excel, I computed the expected total output at that price using the same parameters using the NORM.DIST function. At that price, it only results in coal dispatch of 1.14. Across all resources, the total dispatch in Excel is 387.9759 when it should be 400. This is a rather large error on the order of 3%, which of course compounds over many hours and resource types.

Am I doing something wrong here or is the function(s) not working correctly? I am on Vensim 9.2.4 but can easily verify this on a later version. I've uploaded my Excel workbook and an example model.
Attachments
Elec Dispatch Test.xlsx
(38.11 KiB) Downloaded 28 times
DEMAND AT PRICE (1).mdl
(12.69 KiB) Downloaded 20 times
RobbieOrvis
Member
Posts: 48
Joined: Wed Dec 13, 2017 5:16 pm
Vensim version: DSS

Re: FIND MARKET PRICE and SUPPLY AT PRICE return erroneous results

Post by RobbieOrvis »

Please ignore - I set the wrong ptype, which was the issue.
LAUJJL
Senior Member
Posts: 1477
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

Re: FIND MARKET PRICE and SUPPLY AT PRICE return erroneous results

Post by LAUJJL »

Hi

The functions concerning prices, supply and demand are a little too mathematical for my taste. Attached as a PDF is Frank Kern's book about selling on the net, and I wonder if his ideas can be translated with the functions offered by Vensim.

Best regards.

JJ
Attachments
Convert_2_New copy.pdf
(1.24 MiB) Downloaded 37 times
LAUJJL
Senior Member
Posts: 1477
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

Re: FIND MARKET PRICE and SUPPLY AT PRICE return erroneous results

Post by LAUJJL »

Hi

The PDF book to download probably does not correspond to the scientific sensitivity of the members of this forum; And that's perfectly understandable. One may not agree with some of his statements, which often resemble those of a Guru specializing in the sale of thin air. But the general idea that this book exposes is worth considering: in a message sent to someone, that someone is more important than the content of the message itself.

My opiniion is that this statement is at the opposite extreme of the doxa of the system dynamics profession focused on models and forgetting the people who may have to use them.

Best regards

JJ
Post Reply