Hydrothermal Scheduling Problem with Conic Programming
Description: Hydrothermal Scheduling Problem using Second-Order Cones
Tags: amplpy, conic, second-order cone, quadratic cone, nonlinear programming, scheduling, engineering, power generation, geothermal energy, hydropower
Notebook author: Gleb Belov <gleb@ampl.com>
References: Wood, A J, and Wollenberg, B F, Example Problem 7b. In Power Generation, Operation and Control. John Wiley and Sons, 1984, p. 202.
Hydrothermal scheduling problem involves allocating the total power demand
and losses among the hydro and thermal generators in a least-cost way. The
scheduling period is typically a few days long. The hydraulic flow
constraints and the limits on generator outputs have to be observed in the
scheduling problem.
AMPL model
Overwriting hydrothermal.mod
Load data directly from Python data structures using amplpy
Retrieve solution as a pandas dataframe
|
1 |
2 |
3 |
4 |
5 |
6 |
thermal.val |
839.196498 |
955.803132 |
801.935007 |
1079.933203 |
734.194 |
864.004863 |
|
1 |
2 |
3 |
4 |
5 |
6 |
hydro.val |
371.866263 |
570.207825 |
305.533028 |
767.148093 |
219.666261 |
452.365932 |
Solve with Mosek as a Conic Program
MOSEK 10.0.43: MOSEK 10.0.43: optimal; objective 4366944.122
0 simplex iterations
17 barrier iterations
Solve with Mosek as a Quadratic Program (QCP)
MOSEK 10.0.43: cvt:socp=0
MOSEK 10.0.43: optimal; objective 4366944.115
0 simplex iterations
17 barrier iterations