Skip to content

Commit

Permalink
Merge pull request #295 from bknueven/negative_fixed_costs
Browse files Browse the repository at this point in the history
Allow for negative fixed minimum production costs
  • Loading branch information
bknueven authored Nov 2, 2022
2 parents d5633c8 + 2ada9c8 commit 9713dbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions egret/model_library/unit_commitment/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -1266,9 +1266,9 @@ def power_generation_piecewise_points_rule(m, g):
# has to have lower bound of 0, so the unit can cost 0 when off -- this is added
# back in to the objective if a unit is on

model.MinimumProductionCost = Param(model.SingleFuelGenerators, model.TimePeriods, within=NonNegativeReals, initialize=_minimum_production_cost, mutable=True)
model.MinimumProductionCost = Param(model.SingleFuelGenerators, model.TimePeriods, within=Reals, initialize=_minimum_production_cost, mutable=True)

model.MinimumFuelConsumption = Param(model.FuelSupplyGenerators, model.TimePeriods, within=NonNegativeReals, initialize=_minimum_fuel_consumption, mutable=True)
model.MinimumFuelConsumption = Param(model.FuelSupplyGenerators, model.TimePeriods, within=Reals, initialize=_minimum_fuel_consumption, mutable=True)

## END PRODUCTION COST CALCULATIONS

Expand Down

0 comments on commit 9713dbd

Please sign in to comment.