Hi there, this code models a power generation optimization problem considering multiple plants with different capacities, costs, and startup costs. The goal is to minimize the total cost while meeting the demand for each hour. It includes constraints for power generation within the capacity limits, startup and shutdown conditions, and on/off states for each plant. It seems that the model is not correctly enforcing the constraints related to plant_on and startup_vars. Can anybody please help ? Thanks a lot
Hour 1 - Demand: 290 MW
Plant 1 - Power Generated: 290.0 MW (Startup: 0), On/Off: 0, Cost: 1 €
Plant 2 - Power Generated: 0 MW (Startup: 0), On/Off: 0, Cost: 2 €
Plant 3 - Power Generated: 0 MW (Startup: 0), On/Off: 0, Cost: 3 €
Hour 2 - Demand: 500 MW
Plant 1 - Power Generated: 300.0 MW (Startup: 0), On/Off: 0, Cost: 1 €
Plant 2 - Power Generated: 200.0 MW (Startup: 0), On/Off: 0, Cost: 2 €
Plant 3 - Power Generated: 0 MW (Startup: 0), On/Off: 0, Cost: 3 €
Solution: {(0, 0): 290.0, (0, 1): 300.0, (1, 0): 0, (1, 1): 200.0, (2, 0): 0, (2, 1): 0}
The model should be showing Startup 1 and on/off 1 for the second plant and the second hour