KMUTT Department of Mathematics
King Mongkut's University of Technoloty Thonburi
Bangkok, Thailand

21-29 December 2015

Stochastic and Dynamic Optimization.
Optimal Energy Allocation in Micro-Grids.

Michel DE LARA, CERMICS-École des Ponts ParisTech


pdf version of this document


Eligibility/Pre-requisites.


Learning outcomes. After the course the student should be able to


Course main content. The course mixes theoretical sessions, modeling exercises and computer sessions.

In introduction, we present examples of micro-grid and virtual power plant management -- where the question of electrical storage is put, due to the need to answer a varying demand and to incorporate intermittent and highly variable renewable energies. We show how such problems can be formulated as dynamic stochastic optimization problems [LCCL14].

In a deterministic optimization problem, the values of all parameters are supposed known. What happens when this is no longer the case? And when some values are revealed during the stages of decision? We present stochastic optimization, at the same time as a frame to formulate problems under uncertainty, and as methods to solve them according to the formulation. More precisely, we present stochastic programming in two stages (and the resolution on scenario tree or by scenarios) and stochastic control in discrete time (and the resolution by stochastic dynamic programming).

We devote time to the Stochastic Dual Dynamic Programming (SDDP) algorithm, widely used in the world of the energy, which mixes dynamic programming and cutting plane algorithm. The SDDP approach seems especially adapted to micro-grid management issues.

Modeling exercises and computer sessions tackle issues like optimal economic dispatch of energy production units, storage/delivery optimization problem to buffer an intermittent and variable source of energy, dam optimal management with stochastic water inflows, battery optimal management with renewable energy inputs.


Contact person.     Michel De Lara (Cermics-École des Ponts ParisTech)      professional webpage


Link course.     http://cermics.enpc.fr/~delara/ENSEIGNEMENT/KMUTT2015/      course webpage


Program

1 /     Monday 21 December 2015 (9h00-12h00)

Introductory talks

To introduce the course, we present examples of micro-grid and virtual power plant management that make use of dynamic stochastic optimization

2 /     Monday 21 December 2015 (13h00-16h00)

Lecture and exercises

We present, under the form of exercises, examples of optimization problems under uncertainty: ``the blood-testing problem'', ``the newsvendor problem'' (``stock management problems'').      slides

3 /     Tuesday 22 December 2015 (9h00-12h00)

Lecture and exercises

Recalls and exercises on probability calculus.

End of the newsvendor problem.

Computer session

Introduction to the scientific software Scicoslab. [CCN10]
     computer session

4 /     Tuesday 22 December 2015 (13h00-16h00)

Special KMUTT Talk

5 /     Wednesday 23 December 2015 (9h00-12h00)

Computer session

Introduction to the scientific software Scicoslab. [CCN10]
     computer session

Computer exercise on the newsvendor problem.
     computer session (only Section 1)

6 /     Wednesday 23 December 2015 (13h00-16h00)

Modelling exercise on static inventory problems

We begin by formulating a problem of optimal choice of a product quantity (energy, for instance) to satisfy a demand, with costs of purchase, of backorder and of holding. We show how to obtain a linear program, first in a determinist setting (demand known in advance), then in a probabilistic one with a finite number of scenarios of demand.

Modelling exercise on optimal energy allocation

We continue by an exercise of modelling. How can we mathematically formulate a problem of optimal allocation of power production units, at minimal cost, with guaranteed minimal production and guaranteed maximal pollution? We naturally obtain a linear program. We will see how the introduction of uncertainties (costs, renewable power production) modifies the problem formulation. It is the opportunity to touch the notions of risk and of non anticipativity.

Lecture

Two-stage stochastic programming on a scenario tree.

Non-anticipativity constraint along scenarios: tree representation.

[SDR09,KW12]

Computer session

Sizing of reserves for the balancing on an electric market. Two stage stochastic programming (linear optimization on a tree).
     computer session (From Question 1 to Question 4)

7 /     Monday 28 December 2015 (9h00-12h00)

Computer session

Sizing of reserves for the balancing on an electric market. Two stage stochastic programming (convex quadratic optimization on a tree).
     computer session (From Question 5 to Question 7)

8 /     Monday 28 December 2015 (13h00-16h00)

Lecture

Recalls and exercises on continuous optimization [Ber96].     slides

9 /     Tuesday 29 December 2015 (9h00-12h00)

Lecture

Two-stage stochastic programming on a comb.

Non-anticipativity constraint along scenarios.

Scenario decomposition by Lagrangian relaxation. Progressive Hedging [RW91].

Computer session

Sizing of reserves for the balancing on an electric market. Two stage stochastic programming (linear and convex quadratic optimization on a comb).
     computer session (From Question 8 to Question 12)

10 /     Tuesday 29 December 2015 (13h00-16h00)

Computer session

Sizing of reserves for the balancing on an electric market. Two stage stochastic programming (linear and convex quadratic optimization on a comb).
     computer session (From Question 8 to Question 12)

Lecture

Dynamical models of storage (battery models, dam models). Inventory problems.

The secretary problem.

Bibliography

Bel57
R. E. Bellman.
Dynamic Programming.
Princeton University Press, Princeton, N.J., 1957.

Ber96
D. P. Bertsekas.
Constrained Optimization and Lagrange Multiplier Methods.
Athena Scientific, Belmont, Massachusets, 1996.

Ber00
D. P. Bertsekas.
Dynamic Programming and Optimal Control.
Athena Scientific, Belmont, Massachusets, second edition, 2000.
Volumes 1 and 2.

Ber05
D.P. Bertsekas.
Dynamic programming and suboptimal control: A survey from ADP to MPC.
European J. of Control, 11(4-5), 2005.

Bre93
L. Breiman.
Probability.
Classics in applied mathematics. SIAM, Philadelphia, second edition, 1993.

CCCD15
P. Carpentier, J.-P. Chancelier, G. Cohen, and M. De Lara.
Stochastic Multi-Stage Optimization. At the Crossroads between Discrete Time Stochastic Control and Stochastic Programming.
Springer-Verlag, Berlin, 2015.

CCN10
Stephen Campbell, Jean-Philippe Chancelier, and Ramine Nikoukhah.
Modeling and Simulation in Scilab/Scicos with ScicosLab 4.4.
Springer-Verlag, New York, 2 edition, 2010.

DD08
Michel De Lara and Luc Doyen.
Sustainable Management of Natural Resources. Mathematical Models and Methods.
Springer-Verlag, Berlin, 2008.

Fel68
W. Feller.
An Introduction to Probability Theory and its Applications, volume 1.
Wiley, New York, third edition, 1968.

KW12
Alan J. King and Stein W. Wallace.
Modeling with Stochastic Programming.
Springer Series in Operations Research and Financial Engineering. Springer New York, 2012.

LCCL14
M. De Lara, P. Carpentier, J.-P. Chancelier, and V. Leclère.
Optimization methods for the smart grid.
Report commissioned by the Conseil Français de l'Énergie, École des Ponts ParisTech, October 2014.

Pit93
J. Pitman.
Probability.
Springer-Verlag, New-York, 1993.

PM15a
Warren Powell and Stephan Meisel.
Tutorial on stochastic optimization in energy i: Modeling and policies.
IEEE Transactions on Power Systems, 2015.
Publication status: In press.

PM15b
Warren Powell and Stephan Meisel.
Tutorial on stochastic optimization in energy ii: An energy storage illustration.
IEEE Transactions on Power Systems, 2015.
Publication status: In press.

Pow14
Warren B. Powell.
Clearing the Jungle of Stochastic Optimization, chapter 5, pages 109-137.
Informs, 2014.

Put94
M. L. Puterman.
Markov Decision Processes.
Wiley, New York, 1994.

RW91
R.T. Rockafellar and R. J-B. Wets.
Scenarios and policy aggregation in optimization under uncertainty.
Mathematics of operations research, 16(1):119-147, 1991.

SDR09
A. Shapiro, D. Dentcheva, and A. Ruszczynski.
Lectures on stochastic programming: modeling and theory.
The society for industrial and applied mathematics and the mathematical programming society, Philadelphia, USA, 2009.

Whi82
P. Whittle.
Optimization over Time: Dynamic Programming and Stochastic Control, volume 1 and 2.
John Wiley & Sons, New York, 1982.