pencleanenergy / MATCH-model

MATCH model for planning time-coincident clean energy portfolios
GNU Affero General Public License v3.0
27 stars 10 forks source link

fix hybrid dispatch bug #61

Closed grgmiller closed 2 years ago

grgmiller commented 2 years ago

Commit 2022.07.14 (Version 0.22.2)

Updates the hybrid generator dispatch constraint such that the net dispatch must be less than or equal to the nameplate capacity (DispatchGen + DischargeStorage - ChargeStorage <= capacity).

Previously, the constraint was DispatchGen + DischargeStorage <= capacity, so if a generator ever had a variable capacity factor > 1, it would curtail the generation.