EnergyInnovation / eps-us

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

Bug fix for BAU Max New Elec Output Buildable after RPS #269

Closed mkmahajan closed 1 year ago

mkmahajan commented 1 year ago

This may not even be relevant after our 3.5 electricity sector updates, but I'll log this bug here in case we still need to address it (and so that we've documented it for future reference).

The variable "BAU Max New Elec Output Buildable after RPS" needs a MAX function to ensure values don't fall below 0. The corresponding policy version of the variable does include a MAX function, so this can currently lead to discrepancies in the policy and BAU versions of variables even when no policies are enabled. Minshu noticed this effect in the in-progress Guangdong model. The bug is triggered because we reach the cap on the amount of onshore wind buildable given the current data (which I suggested we revisit because it's likely too low).

mkmahajan commented 1 year ago

Confirmed this bug is no longer relevant after our recent electricity sector changes