EnergyInnovation / eps-us

Energy Policy Simulator - United States
GNU General Public License v3.0
22 stars 7 forks source link

Update variable Fraction of Surviving Peaking Capacity by Type to use ZIDZ #37

Closed robbieorvis closed 4 years ago

robbieorvis commented 4 years ago

The variable Fraction of Surviving Peaking Capacity by Type estimates the share of surviving peaking capacity by type. In some regions, there may be no explicit peaking capacity remaining, although there is sufficient capacity with high enough peak time capacity factors to meet peak demand. In these cases, the model produces a floating point error because it is dividing by zero. Here the formula for this variable should be updated to:

ZIDZ(SUM(Surviving Electricity Generation Capacity[Electricity Source,Power Plant Quality!])

jrissman commented 4 years ago

Finished in commit 87640ca.