dpinney / omf

The Open Modeling Framework for smart grid cost-benefit analysis.
https://omf.coop
GNU General Public License v2.0
112 stars 60 forks source link

Solar Rates -- funny results #325

Closed drdanley closed 9 years ago

drdanley commented 9 years ago

In the public model "drd solar rates test 4feb15 RERAN", the cost of purchased power goes from $80.8M to $40.0M with 25% residential solar, as shown in the Statement of Operations (see below). This seems highly unlikely, so I am guessing there is a bug in the calculations somewhere. I duplicated and reran the model to make sure it was the latest, and it is still there.

image

mannanj commented 9 years ago

Not sure if this is an error because the spec seems correct & the solar cost depends on the solar % indirectly from the Annual Solar Gen.

See the formula below:

Solar Cost = Solar Total kWH Purchased * ( Whole Sale Cost) Total KWH Purchased = Total kWh Sales / ( 1 - Effective Loss Rate) where total kWh Sales depends on the BAU Total kWh Sales - Annual Solar GeN

Annual Solar Gen is effected directly by solar %. This doesn't seem to be in error.