SlideShare a Scribd company logo
1 of 42
Ilab METIS
Optimization of Energy Policies
Olivier Teytaud + Inria-Tao + Artelys
TAO project-team
INRIA Saclay Île-de-France
O. Teytaud, Research Fellow,
olivier.teytaud@inria.fr
http://www.lri.fr/~teytaud/
Outline

●

●

Ilab Metis, working on power systems
Principles of power system simulation
● Classical model
● Reserves constraint
● Recourse
● Network constraints
● This simple model does not solve hydro
● It gets more complicated in the future

Alternate tools:
● Real-time control ?
● Games ?
● Bilevel problems

●
Ilab METIS
www.lri.fr/~teytaud/metis.html
●

Metis = Tao + Artelys
TAO tao.lri.fr, Machine Learning & Optimization
● Joint INRIA / CNRS / Univ. Paris-Sud team
● 12 researchers, 17 PhDs, 3 post-docs, 3 engineers
● Artelys www.artelys.com SME
- France / US / Canada
- 50 persons
==> collaboration through common platform
●

●

Activities
● Optimization (uncertainties, sequential)
● Application to power systems
O. Teytaud, Research Fellow,
olivier.teytaud@inria.fr
http://www.lri.fr/~teytaud/
Academic Highlights
●

●

Bandit algorithms
Pascal / Nips 06 challenge on dynamic bandits
MCTS for Games
●

First ever win against professional
players in the game of Go

●
●

●

State of the art in MineSweeper
Urban Rivals AI (17 M players)

Planning
Temporal satisficing track, IPC 2011
(International Planning Competition)
Industrial application
●

●

Building power systems is expensive
power plants, HVDC links, networks...
Non trivial planning questions
●

●

●

Compromise: should we move solar power to the
south and build networks ?
Is a HVDC connection a good idea between X and
Y?

What we do:
●

●

Simulate the operational level of a given power
system (this involves optimization of operational
decisions)
Optimize the investments
Specialization on Power Systems
●

Planning/control
●

Pluriannual planning: evaluate marginal costs of hydroelectricity

●

Taking into account stochasticity and uncertainties
==> IOMCA (ANR)

●

High scale investment studies (e.g. Europe+North Africa)
●

Long term (2030 - 2050)

●

Huge (non-stochastic) uncertainties

●

Investments: interconnections, storage, smart grids, power plants...
==> POST (ADEME)

●

Moderate scale (Cities, Factories)
●

Master plan optimization

●

Stochastic uncertainties
==> Citines project (FP7)
Example: interconnection studies
(demand levelling, stabilized supply)
The POST project – supergrids
simulation and optimization
Mature technology:HVDC links
(high-voltage direct current)

European subregions:
- Case 1 : electric corridor France / Spain / Marocco
- Case 2 : south-west
(France/Spain/Italiy/Tunisia/Marocco)
- Case 3 : maghreb – Central West Europe
==> towards a European supergrid

Related
ideas in Asia
Investment decisions through simulations
●

Issues
–
–
–

●

Methods
–
–

●

Demand varying in time, limited previsibility
Transportation introduces constraints
Renewable ==> variability ++
Markovian assumptions ==> wrong
Simplified models ==> Model error >> optimization error

Our approach
●

Machine Learning on top of Mathematical Programming
Hybridization reinforcement learning /
mathematical programming
●

Math programming
–
–
–

●

Nearly exact solutions for a simplified problem
High-dimensional constrained action space
But small state space & not anytime

Reinforcement learning
–
–
–
–

Unstable
Small model bias
Small / simple action space
But high dimensional state space & anytime
●

Students + Engineers
●

●

J-J Christophe (engineer)

●

A. Couëtoux (ph.D. Student)

●

M-L Cauwet (ph.D. Student)

●

J. Decock (ph.D. student)

●

J. Liu (ph.D. Student)

●

●

S. Astete Morales (ph.D. student)

D. Lupien Saint-Pierre (post-doc)

Old crocs:
●

M. Schoenauer & M. Sebag (Research Directors)

●

●

Who ?

O. Teytaud (Research Fellow)

Artelys www.artelys.com (most with Ph.D.)
==> many engineers and experts of power systems

●

Admin. side: A.-C. Lamballe, R. Ronchaud, M. Gilliaud

●

Many contacts worldwide
Outline

●

●

Ilab Metis, working on power systems
Principles of power system simulation
● Classical model
● Reserves constraint
● Recourse
● Network constraints
● This simple model does not solve hydro
● Future is (even) more complicated

Alternate tools:
● Real-time control ?
● Games ?
● Bilevel problems

●
The problem in one slide
●

The assets:
●

●
●

●

●

I have plenty of (possibly faulty) power plants (each
of them located on a network)
I have plenty of (stochastic) electric loads
Total production = total consumption + loss
(otherwise many things broken!)
Many constraints on the network

Decisions:
●
●

●

Strategic decisions (investments)
Intermediate decisions: Hydro-power = bounded
resource
Tactical decisions: which power plant to switch
on/off
Let us start with short term
●

Thermal power plant producing p MW during
1h:
productionCost
=Cxp

(fuel cost)

+ startUpCost (if it was off and p>0)
+ C2 x p2 -

(a quadratic term for fun)
Several time steps, several thermal
power plants
pi MW during 1h with power plant #i:
productionCost
= C x pi
+ startUpCosti
+ C2 x pi2 ==> ok, looks simple: we just optimize the sum of
costs.
Ilab Metis, working on power systems

●

●

Principles of power system simulation
● Classical model
● Reserves constraint (for adaptivity
against uncertain load, faulty power
plants, renewable intermittencies) ==>
rules of thumb such as “short term PP>x
MW” etc
● Recourse
● Network constraints
This simple model does not solve hydro
● It gets more complicated in the future
●

Alternate tools:

●

●
●
●

Real-time control ?
Games ?
Bilevel problems
Ilab Metis, working on power systems

●

●

Principles of power system simulation
● Classical model
● Reserves constraint
● Recourse (==> when big change, reoptimize with new data ==> fast UC)
● Network constraints
This simple model does not solve hydro
● It gets more complicated in the future
●

Alternate tools:

●

●
●
●

Real-time control ?
Games ?
Bilevel problems
Ilab Metis, working on power systems

●

●

Principles of power system simulation
● Classical model
● Reserves constraint
● Recourse
● Network constraints (“N-k” style: should
be ok if k connections destroyed)
This simple model does not solve hydro
● It gets more complicated in the future
●

Alternate tools:

●

●
●
●

Real-time control ?
Games ?
Bilevel problems
Outline

●

●

Ilab Metis, working on power systems
Principles of power system simulation
● Classical model
● Reserves constraint
● Recourse
● Network constraints
● This simple model does not solve hydro
● Future is (even) more complicated

Alternate tools:
● Real-time control ?
● Games ?
● Bilevel problems

●
Let us see why it is more
complicated than that
●

This optimization problem is termed “Unit
Commitment” (UC).

●

There is a problem with hydro-power.

●

Inflows are very stochastic

●

Water comes for free (nearly), but it is limited.
==> more subtle optimization here

At least this uncertainty must be tackled
How to handle hydro ?
●

●

For the moment, we have seen deterministic
optimization problems.
Solution 1:
●

●

●

●

Just optimize, assuming that inflows = average
inflow value given observed information.
This is so-called “Model predictive control” (many
variants, e.g. using a quantile of the inflow random
process).
Not satisfactory if high stochasticity

Solution 2: optimize a policy, not
decisions.
Bellman's solution
●
●

Let's work on time steps [1,....,365x6] (6 years)
Define V(x,t) = expected cost between time t
and T=365*6 if
●

water stock 1 = x1,

●

water stock 2 = x2,

●

…

●

Water stock d = xd

●

V(x,T) = easy to compute

●

Given V(x,t),

V(x,t-1) computed by UC
V(x,t) computed Bellman-style
●

V(x,t+1) is known

●

V(x,t) = optimal expected cost to go
= minimum of:
instantaneous cost Ct(a)
+ future cost

V(x',t+1)

where x'=future state when
choosing action a
It is stochastic! ==> expected value.
So far so good
●

●

●

But V(x,t) is not correctly defined.
It also depends on random processes (load,
inflows...) ==> V(random process,x,t)
It also depends on PP status (on / off) ==> we
need additional variables in x, not only the
stock levels.
More complete picture
●
●

Let's work on time steps {1,....,365x6} (6 years)
Define V(a, x,t) = expected cost between time t and
T=365*6 if
●

x = all state variables

●

random processes = a

●

V(a,x,T) = easy to compute

●

Given V(a,x,t),

V(a,x,t-1) computed by UC:

V(a,x,t-1) = min cost(x,decision) + V(a,x',t)
with x' = nextState(a,x,t,decision)
So, Bellman-style:
●

●

●

●

We have plenty of UC problems (one for each
V(a,x,t) to be computed).
Usually people rewrite the optimization
problems as linear problems or quadratic
problems, because otherwise solving is too
slow.
The real problem is usually simplified a lot so
that it can be solved.
The problem becomes more and more
complicated.
Standard tool.
This version is probably run by electricity
producers in your country.
We will now see phenomena which are poorly
handled by this algorithm.
Outline
●

●

Ilab Metis, working on power systems
Principles of power system simulation
● Classical model
● Reserves constraint
● Recourse
● Network constraints
● This simple model does not solve hydro
● Future is (even) more complicated

Alternate tools:
● Real-time control ?
● Games ?
● Bilevel problems

●
New decision variables
●

Day-ahead adaptivity: some big companies
(loads) accept “adaptivity” contracts:
●

●

●

At 5pm, the producer says “tomorrow, I multiply
prices by 10” (he can do so 22 days per year)
The other days, prices are reduced

With renewable energy, uncertainty increases;
the principle above can be generalized:
●
●

Small time scales, smaller consumers
Other loads: heat networks, fridges, electric
vehicles
Summary: models
●

●

●

●

Simple UC problem = optimizing
deterministically.
Advanced version = (spinning) reserves (this is
also simplified).
Hydro-power (& other stocks!): in Bellman's
solution we must solve plenty of UC problems
and take into accounts stocks; this involves
computing V(a,x,t) backwards (traditionally
Bellman, but you might use your favorite game
algorithm).
Investment problem on top of all this.
Still too simple
●

●

●

Ok, we solve plenty of UC for computing the
hydro power or other stocks.
Theoretically, solves the problem of uncertainty
in inflows
(but very expensive)
Many other uncertainties are not negligible:
●

●

●

PP directly connected to distribution networks:
voltage issues introduce many constraints.
Wind power uncertainty: day-ahead planning often
wrong ==> real-time
Long term: how to get the probability that PV units
become cheaper than XXX in 2050 ?
Outline
●

●

Ilab Metis, working on power systems
Principles of power system simulation
● Classical model
● Reserves constraint
● Recourse
● Network constraints
● This simple model does not solve hydro
● Future is (even) more complicated

Alternate tools:
● Real-time control ?
● Games ?
● Bilevel problems

●
Real-time control, #1

Some power plants have a real-time control:
Not enough power ==> implies more power output
● Too much power ==> implies less power output
==> “P” (proportional) control
●

This is necessary.
Power plants to not accept frequency change.
So we must regulate frequencies in real-time.
Real-time control #2
Some PPs have a real-time control #1:
Not enough power ==> implies more power output
● Too much power ==> implies less power output
==> “P” (proportional) control
●

Additional control for market constraints:
If flow “Spain → France” too high,
then increase power output in Spain (PI control).
Real-time control
Some PPs have a real-time control #1:

Not enough power ==> implies more power output
● Too much power ==> implies less power output
==> “P” (proportional) control
●

Additional control for market constraints:
If flow “Spain → France” too high,
then increase power output in Spain (PI control).

Not very satisfactory.
When day-ahead market based on wrong wind forecasts,
the resources management is very bad:
- by law, grid owners (sometimes) must buy wind power
- day ahead market orders already decided
- the grid owner must find people for buying excess
electricity (or destruction!) ==> negative prices
Outline
●

●

Ilab Metis, working on power systems
Principles of power system simulation
● Classical model
● Reserves constraint
● Recourse
● Network constraints
● This simple model does not solve hydro
● Future is (even) more complicated

Alternate tools:
● Real-time control ?
● Games ?
● Bilevel problems

●
Games ?

●

Looks like a game

●

Uncertainties = weather, load, wind...

●

Actions = switching on/off, which power output

●

Many players; for us, one-player game ==>
maximum social welfare policy
(politicians and
economist will have to find rules for the
political/economical/ecological solution to be
implemented...)

●

Winning = low cost + low pollution
●

●

●

●

Games ?
Consequence
Of
Uncertainties = weather, load, wind...
deregulation
Looks like a game

Actions = switching on/off, which power output
Many players; for us, one-player game ==>
maximum social welfare policy
(politicians and
economist will have to find rules for the
political/economical/ecological solution to be
implemented...)

●

Winning = low cost + low pollution
So the game model for us
Just one player
Who controls all the Pps, all the networks.
He optimizes the social welfare.
At each time step:
- observes the state
(inflows history, stock levels, PP status...)
- makes decisions (switch on/off, produce power)
- gets reward (economy / ecology)
Outline
●

●

Ilab Metis, working on power systems
Principles of power system simulation
● Classical model
● Reserves constraint
● Recourse
● Network constraints
● This simple model does not solve hydro
● Future is (even) more complicated

Alternate tools:
● Real-time control ?
● Games ?
● Bilevel problems

●
Bilevel problems
Simple version:
I have K possible systems:
● Today's European grid
● The same + a big new HVDC connection
● The same + X MW of wind power
● ...
Which one is best ?
I spend T hours, each simulation of one of them
needs (e.g.) one hour, how do I choose which
system to simulate.
LOOKS LIKE A NICE BANDIT PROBLEM
Non-stationary
bilevel problems
I have K possible systems:
● Today's European grid
● The same + a big new HVDC connection
● The same + X MW of wind power
● ...
In fact, I have to optimize the management of
each system. If I optimize during simulations,
options become better ==> non-stationary
bandit problem.

More Related Content

Viewers also liked

Simulation-based optimization: Upper Confidence Tree and Direct Policy Search
Simulation-based optimization: Upper Confidence Tree and Direct Policy SearchSimulation-based optimization: Upper Confidence Tree and Direct Policy Search
Simulation-based optimization: Upper Confidence Tree and Direct Policy SearchOlivier Teytaud
 
Fuzzy control - superfast survey
Fuzzy control - superfast surveyFuzzy control - superfast survey
Fuzzy control - superfast surveyOlivier Teytaud
 
Examples of operational research
Examples of operational researchExamples of operational research
Examples of operational researchOlivier Teytaud
 
Keywords and examples of machine learning
Keywords and examples of machine learningKeywords and examples of machine learning
Keywords and examples of machine learningOlivier Teytaud
 
Bias and Variance in Continuous EDA: massively parallel continuous optimization
Bias and Variance in Continuous EDA: massively parallel continuous optimizationBias and Variance in Continuous EDA: massively parallel continuous optimization
Bias and Variance in Continuous EDA: massively parallel continuous optimizationOlivier Teytaud
 
Disappointing results & open problems in Monte-Carlo Tree Search
Disappointing results & open problems in Monte-Carlo Tree SearchDisappointing results & open problems in Monte-Carlo Tree Search
Disappointing results & open problems in Monte-Carlo Tree SearchOlivier Teytaud
 
Bias correction, and other uncertainty management techniques
Bias correction, and other uncertainty management techniquesBias correction, and other uncertainty management techniques
Bias correction, and other uncertainty management techniquesOlivier Teytaud
 
Artificial intelligence for power systems
Artificial intelligence for power systemsArtificial intelligence for power systems
Artificial intelligence for power systemsOlivier Teytaud
 

Viewers also liked (10)

Direct policy search
Direct policy searchDirect policy search
Direct policy search
 
Debugging
DebuggingDebugging
Debugging
 
Simulation-based optimization: Upper Confidence Tree and Direct Policy Search
Simulation-based optimization: Upper Confidence Tree and Direct Policy SearchSimulation-based optimization: Upper Confidence Tree and Direct Policy Search
Simulation-based optimization: Upper Confidence Tree and Direct Policy Search
 
Fuzzy control - superfast survey
Fuzzy control - superfast surveyFuzzy control - superfast survey
Fuzzy control - superfast survey
 
Examples of operational research
Examples of operational researchExamples of operational research
Examples of operational research
 
Keywords and examples of machine learning
Keywords and examples of machine learningKeywords and examples of machine learning
Keywords and examples of machine learning
 
Bias and Variance in Continuous EDA: massively parallel continuous optimization
Bias and Variance in Continuous EDA: massively parallel continuous optimizationBias and Variance in Continuous EDA: massively parallel continuous optimization
Bias and Variance in Continuous EDA: massively parallel continuous optimization
 
Disappointing results & open problems in Monte-Carlo Tree Search
Disappointing results & open problems in Monte-Carlo Tree SearchDisappointing results & open problems in Monte-Carlo Tree Search
Disappointing results & open problems in Monte-Carlo Tree Search
 
Bias correction, and other uncertainty management techniques
Bias correction, and other uncertainty management techniquesBias correction, and other uncertainty management techniques
Bias correction, and other uncertainty management techniques
 
Artificial intelligence for power systems
Artificial intelligence for power systemsArtificial intelligence for power systems
Artificial intelligence for power systems
 

Similar to Power systemsilablri

Dynamic Optimization without Markov Assumptions: application to power systems
Dynamic Optimization without Markov Assumptions: application to power systemsDynamic Optimization without Markov Assumptions: application to power systems
Dynamic Optimization without Markov Assumptions: application to power systemsOlivier Teytaud
 
Ilab Metis: we optimize power systems and we are not afraid of direct policy ...
Ilab Metis: we optimize power systems and we are not afraid of direct policy ...Ilab Metis: we optimize power systems and we are not afraid of direct policy ...
Ilab Metis: we optimize power systems and we are not afraid of direct policy ...Olivier Teytaud
 
Optimization of power systems - old and new tools
Optimization of power systems - old and new toolsOptimization of power systems - old and new tools
Optimization of power systems - old and new toolsOlivier Teytaud
 
Tools for Discrete Time Control; Application to Power Systems
Tools for Discrete Time Control; Application to Power SystemsTools for Discrete Time Control; Application to Power Systems
Tools for Discrete Time Control; Application to Power SystemsOlivier Teytaud
 
Multi-Period Integer Portfolio Optimization Using a Quantum Annealer (Present...
Multi-Period Integer Portfolio Optimization Using a Quantum Annealer (Present...Multi-Period Integer Portfolio Optimization Using a Quantum Annealer (Present...
Multi-Period Integer Portfolio Optimization Using a Quantum Annealer (Present...maikelcorleoni
 
Non-convex Optimization in Networks
Non-convex Optimization in NetworksNon-convex Optimization in Networks
Non-convex Optimization in NetworksPratik Poddar
 
Framework for Inter-Model Analysis of Cyber-Physical Systems
Framework for Inter-Model Analysis of Cyber-Physical SystemsFramework for Inter-Model Analysis of Cyber-Physical Systems
Framework for Inter-Model Analysis of Cyber-Physical SystemsIvan Ruchkin
 
Towards quantum machine learning calogero zarbo - meet up
Towards quantum machine learning  calogero zarbo - meet upTowards quantum machine learning  calogero zarbo - meet up
Towards quantum machine learning calogero zarbo - meet upDeep Learning Italia
 
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...EUDAT
 
Chapter One.pdf
Chapter One.pdfChapter One.pdf
Chapter One.pdfabay golla
 
Matt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense SlidesMatt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense Slidesmpurkeypile
 
CS3114_09212011.ppt
CS3114_09212011.pptCS3114_09212011.ppt
CS3114_09212011.pptArumugam90
 
Quantization and Training of Neural Networks for Efficient Integer-Arithmetic...
Quantization and Training of Neural Networks for Efficient Integer-Arithmetic...Quantization and Training of Neural Networks for Efficient Integer-Arithmetic...
Quantization and Training of Neural Networks for Efficient Integer-Arithmetic...Ryo Takahashi
 
L3-.pptx
L3-.pptxL3-.pptx
L3-.pptxasdq4
 
진동데이터 활용 충돌체 탐지 AI 경진대회 1등
진동데이터 활용 충돌체 탐지 AI 경진대회 1등진동데이터 활용 충돌체 탐지 AI 경진대회 1등
진동데이터 활용 충돌체 탐지 AI 경진대회 1등DACON AI 데이콘
 
Power System Dynamics & Stability Overview & Electromagnetic Transients
Power System Dynamics & Stability Overview  &  Electromagnetic TransientsPower System Dynamics & Stability Overview  &  Electromagnetic Transients
Power System Dynamics & Stability Overview & Electromagnetic TransientsPower System Operation
 
power system operation and control unit commitment .pdf
power system operation and control unit commitment .pdfpower system operation and control unit commitment .pdf
power system operation and control unit commitment .pdfArnabChakraborty499766
 

Similar to Power systemsilablri (20)

Dynamic Optimization without Markov Assumptions: application to power systems
Dynamic Optimization without Markov Assumptions: application to power systemsDynamic Optimization without Markov Assumptions: application to power systems
Dynamic Optimization without Markov Assumptions: application to power systems
 
Ilab Metis: we optimize power systems and we are not afraid of direct policy ...
Ilab Metis: we optimize power systems and we are not afraid of direct policy ...Ilab Metis: we optimize power systems and we are not afraid of direct policy ...
Ilab Metis: we optimize power systems and we are not afraid of direct policy ...
 
Optimization of power systems - old and new tools
Optimization of power systems - old and new toolsOptimization of power systems - old and new tools
Optimization of power systems - old and new tools
 
Tools for Discrete Time Control; Application to Power Systems
Tools for Discrete Time Control; Application to Power SystemsTools for Discrete Time Control; Application to Power Systems
Tools for Discrete Time Control; Application to Power Systems
 
Multi-Period Integer Portfolio Optimization Using a Quantum Annealer (Present...
Multi-Period Integer Portfolio Optimization Using a Quantum Annealer (Present...Multi-Period Integer Portfolio Optimization Using a Quantum Annealer (Present...
Multi-Period Integer Portfolio Optimization Using a Quantum Annealer (Present...
 
Parallel Algorithms
Parallel AlgorithmsParallel Algorithms
Parallel Algorithms
 
Energy saving policies final
Energy saving policies finalEnergy saving policies final
Energy saving policies final
 
Non-convex Optimization in Networks
Non-convex Optimization in NetworksNon-convex Optimization in Networks
Non-convex Optimization in Networks
 
Framework for Inter-Model Analysis of Cyber-Physical Systems
Framework for Inter-Model Analysis of Cyber-Physical SystemsFramework for Inter-Model Analysis of Cyber-Physical Systems
Framework for Inter-Model Analysis of Cyber-Physical Systems
 
Towards quantum machine learning calogero zarbo - meet up
Towards quantum machine learning  calogero zarbo - meet upTowards quantum machine learning  calogero zarbo - meet up
Towards quantum machine learning calogero zarbo - meet up
 
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
 
Chpt7
Chpt7Chpt7
Chpt7
 
Chapter One.pdf
Chapter One.pdfChapter One.pdf
Chapter One.pdf
 
Matt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense SlidesMatt Purkeypile's Doctoral Dissertation Defense Slides
Matt Purkeypile's Doctoral Dissertation Defense Slides
 
CS3114_09212011.ppt
CS3114_09212011.pptCS3114_09212011.ppt
CS3114_09212011.ppt
 
Quantization and Training of Neural Networks for Efficient Integer-Arithmetic...
Quantization and Training of Neural Networks for Efficient Integer-Arithmetic...Quantization and Training of Neural Networks for Efficient Integer-Arithmetic...
Quantization and Training of Neural Networks for Efficient Integer-Arithmetic...
 
L3-.pptx
L3-.pptxL3-.pptx
L3-.pptx
 
진동데이터 활용 충돌체 탐지 AI 경진대회 1등
진동데이터 활용 충돌체 탐지 AI 경진대회 1등진동데이터 활용 충돌체 탐지 AI 경진대회 1등
진동데이터 활용 충돌체 탐지 AI 경진대회 1등
 
Power System Dynamics & Stability Overview & Electromagnetic Transients
Power System Dynamics & Stability Overview  &  Electromagnetic TransientsPower System Dynamics & Stability Overview  &  Electromagnetic Transients
Power System Dynamics & Stability Overview & Electromagnetic Transients
 
power system operation and control unit commitment .pdf
power system operation and control unit commitment .pdfpower system operation and control unit commitment .pdf
power system operation and control unit commitment .pdf
 

Recently uploaded

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 

Power systemsilablri

  • 1. Ilab METIS Optimization of Energy Policies Olivier Teytaud + Inria-Tao + Artelys TAO project-team INRIA Saclay Île-de-France O. Teytaud, Research Fellow, olivier.teytaud@inria.fr http://www.lri.fr/~teytaud/
  • 2. Outline ● ● Ilab Metis, working on power systems Principles of power system simulation ● Classical model ● Reserves constraint ● Recourse ● Network constraints ● This simple model does not solve hydro ● It gets more complicated in the future Alternate tools: ● Real-time control ? ● Games ? ● Bilevel problems ●
  • 3. Ilab METIS www.lri.fr/~teytaud/metis.html ● Metis = Tao + Artelys TAO tao.lri.fr, Machine Learning & Optimization ● Joint INRIA / CNRS / Univ. Paris-Sud team ● 12 researchers, 17 PhDs, 3 post-docs, 3 engineers ● Artelys www.artelys.com SME - France / US / Canada - 50 persons ==> collaboration through common platform ● ● Activities ● Optimization (uncertainties, sequential) ● Application to power systems O. Teytaud, Research Fellow, olivier.teytaud@inria.fr http://www.lri.fr/~teytaud/
  • 4. Academic Highlights ● ● Bandit algorithms Pascal / Nips 06 challenge on dynamic bandits MCTS for Games ● First ever win against professional players in the game of Go ● ● ● State of the art in MineSweeper Urban Rivals AI (17 M players) Planning Temporal satisficing track, IPC 2011 (International Planning Competition)
  • 5. Industrial application ● ● Building power systems is expensive power plants, HVDC links, networks... Non trivial planning questions ● ● ● Compromise: should we move solar power to the south and build networks ? Is a HVDC connection a good idea between X and Y? What we do: ● ● Simulate the operational level of a given power system (this involves optimization of operational decisions) Optimize the investments
  • 6. Specialization on Power Systems ● Planning/control ● Pluriannual planning: evaluate marginal costs of hydroelectricity ● Taking into account stochasticity and uncertainties ==> IOMCA (ANR) ● High scale investment studies (e.g. Europe+North Africa) ● Long term (2030 - 2050) ● Huge (non-stochastic) uncertainties ● Investments: interconnections, storage, smart grids, power plants... ==> POST (ADEME) ● Moderate scale (Cities, Factories) ● Master plan optimization ● Stochastic uncertainties ==> Citines project (FP7)
  • 7. Example: interconnection studies (demand levelling, stabilized supply)
  • 8. The POST project – supergrids simulation and optimization Mature technology:HVDC links (high-voltage direct current) European subregions: - Case 1 : electric corridor France / Spain / Marocco - Case 2 : south-west (France/Spain/Italiy/Tunisia/Marocco) - Case 3 : maghreb – Central West Europe ==> towards a European supergrid Related ideas in Asia
  • 9. Investment decisions through simulations ● Issues – – – ● Methods – – ● Demand varying in time, limited previsibility Transportation introduces constraints Renewable ==> variability ++ Markovian assumptions ==> wrong Simplified models ==> Model error >> optimization error Our approach ● Machine Learning on top of Mathematical Programming
  • 10. Hybridization reinforcement learning / mathematical programming ● Math programming – – – ● Nearly exact solutions for a simplified problem High-dimensional constrained action space But small state space & not anytime Reinforcement learning – – – – Unstable Small model bias Small / simple action space But high dimensional state space & anytime
  • 11. ● Students + Engineers ● ● J-J Christophe (engineer) ● A. Couëtoux (ph.D. Student) ● M-L Cauwet (ph.D. Student) ● J. Decock (ph.D. student) ● J. Liu (ph.D. Student) ● ● S. Astete Morales (ph.D. student) D. Lupien Saint-Pierre (post-doc) Old crocs: ● M. Schoenauer & M. Sebag (Research Directors) ● ● Who ? O. Teytaud (Research Fellow) Artelys www.artelys.com (most with Ph.D.) ==> many engineers and experts of power systems ● Admin. side: A.-C. Lamballe, R. Ronchaud, M. Gilliaud ● Many contacts worldwide
  • 12. Outline ● ● Ilab Metis, working on power systems Principles of power system simulation ● Classical model ● Reserves constraint ● Recourse ● Network constraints ● This simple model does not solve hydro ● Future is (even) more complicated Alternate tools: ● Real-time control ? ● Games ? ● Bilevel problems ●
  • 13. The problem in one slide ● The assets: ● ● ● ● ● I have plenty of (possibly faulty) power plants (each of them located on a network) I have plenty of (stochastic) electric loads Total production = total consumption + loss (otherwise many things broken!) Many constraints on the network Decisions: ● ● ● Strategic decisions (investments) Intermediate decisions: Hydro-power = bounded resource Tactical decisions: which power plant to switch on/off
  • 14. Let us start with short term ● Thermal power plant producing p MW during 1h: productionCost =Cxp (fuel cost) + startUpCost (if it was off and p>0) + C2 x p2 - (a quadratic term for fun)
  • 15. Several time steps, several thermal power plants pi MW during 1h with power plant #i: productionCost = C x pi + startUpCosti + C2 x pi2 ==> ok, looks simple: we just optimize the sum of costs.
  • 16. Ilab Metis, working on power systems ● ● Principles of power system simulation ● Classical model ● Reserves constraint (for adaptivity against uncertain load, faulty power plants, renewable intermittencies) ==> rules of thumb such as “short term PP>x MW” etc ● Recourse ● Network constraints This simple model does not solve hydro ● It gets more complicated in the future ● Alternate tools: ● ● ● ● Real-time control ? Games ? Bilevel problems
  • 17. Ilab Metis, working on power systems ● ● Principles of power system simulation ● Classical model ● Reserves constraint ● Recourse (==> when big change, reoptimize with new data ==> fast UC) ● Network constraints This simple model does not solve hydro ● It gets more complicated in the future ● Alternate tools: ● ● ● ● Real-time control ? Games ? Bilevel problems
  • 18. Ilab Metis, working on power systems ● ● Principles of power system simulation ● Classical model ● Reserves constraint ● Recourse ● Network constraints (“N-k” style: should be ok if k connections destroyed) This simple model does not solve hydro ● It gets more complicated in the future ● Alternate tools: ● ● ● ● Real-time control ? Games ? Bilevel problems
  • 19. Outline ● ● Ilab Metis, working on power systems Principles of power system simulation ● Classical model ● Reserves constraint ● Recourse ● Network constraints ● This simple model does not solve hydro ● Future is (even) more complicated Alternate tools: ● Real-time control ? ● Games ? ● Bilevel problems ●
  • 20. Let us see why it is more complicated than that ● This optimization problem is termed “Unit Commitment” (UC). ● There is a problem with hydro-power. ● Inflows are very stochastic ● Water comes for free (nearly), but it is limited. ==> more subtle optimization here At least this uncertainty must be tackled
  • 21. How to handle hydro ? ● ● For the moment, we have seen deterministic optimization problems. Solution 1: ● ● ● ● Just optimize, assuming that inflows = average inflow value given observed information. This is so-called “Model predictive control” (many variants, e.g. using a quantile of the inflow random process). Not satisfactory if high stochasticity Solution 2: optimize a policy, not decisions.
  • 22. Bellman's solution ● ● Let's work on time steps [1,....,365x6] (6 years) Define V(x,t) = expected cost between time t and T=365*6 if ● water stock 1 = x1, ● water stock 2 = x2, ● … ● Water stock d = xd ● V(x,T) = easy to compute ● Given V(x,t), V(x,t-1) computed by UC
  • 23. V(x,t) computed Bellman-style ● V(x,t+1) is known ● V(x,t) = optimal expected cost to go = minimum of: instantaneous cost Ct(a) + future cost V(x',t+1) where x'=future state when choosing action a It is stochastic! ==> expected value.
  • 24. So far so good ● ● ● But V(x,t) is not correctly defined. It also depends on random processes (load, inflows...) ==> V(random process,x,t) It also depends on PP status (on / off) ==> we need additional variables in x, not only the stock levels.
  • 25. More complete picture ● ● Let's work on time steps {1,....,365x6} (6 years) Define V(a, x,t) = expected cost between time t and T=365*6 if ● x = all state variables ● random processes = a ● V(a,x,T) = easy to compute ● Given V(a,x,t), V(a,x,t-1) computed by UC: V(a,x,t-1) = min cost(x,decision) + V(a,x',t) with x' = nextState(a,x,t,decision)
  • 26. So, Bellman-style: ● ● ● ● We have plenty of UC problems (one for each V(a,x,t) to be computed). Usually people rewrite the optimization problems as linear problems or quadratic problems, because otherwise solving is too slow. The real problem is usually simplified a lot so that it can be solved. The problem becomes more and more complicated.
  • 27. Standard tool. This version is probably run by electricity producers in your country. We will now see phenomena which are poorly handled by this algorithm.
  • 28. Outline ● ● Ilab Metis, working on power systems Principles of power system simulation ● Classical model ● Reserves constraint ● Recourse ● Network constraints ● This simple model does not solve hydro ● Future is (even) more complicated Alternate tools: ● Real-time control ? ● Games ? ● Bilevel problems ●
  • 29. New decision variables ● Day-ahead adaptivity: some big companies (loads) accept “adaptivity” contracts: ● ● ● At 5pm, the producer says “tomorrow, I multiply prices by 10” (he can do so 22 days per year) The other days, prices are reduced With renewable energy, uncertainty increases; the principle above can be generalized: ● ● Small time scales, smaller consumers Other loads: heat networks, fridges, electric vehicles
  • 30. Summary: models ● ● ● ● Simple UC problem = optimizing deterministically. Advanced version = (spinning) reserves (this is also simplified). Hydro-power (& other stocks!): in Bellman's solution we must solve plenty of UC problems and take into accounts stocks; this involves computing V(a,x,t) backwards (traditionally Bellman, but you might use your favorite game algorithm). Investment problem on top of all this.
  • 31. Still too simple ● ● ● Ok, we solve plenty of UC for computing the hydro power or other stocks. Theoretically, solves the problem of uncertainty in inflows (but very expensive) Many other uncertainties are not negligible: ● ● ● PP directly connected to distribution networks: voltage issues introduce many constraints. Wind power uncertainty: day-ahead planning often wrong ==> real-time Long term: how to get the probability that PV units become cheaper than XXX in 2050 ?
  • 32. Outline ● ● Ilab Metis, working on power systems Principles of power system simulation ● Classical model ● Reserves constraint ● Recourse ● Network constraints ● This simple model does not solve hydro ● Future is (even) more complicated Alternate tools: ● Real-time control ? ● Games ? ● Bilevel problems ●
  • 33. Real-time control, #1 Some power plants have a real-time control: Not enough power ==> implies more power output ● Too much power ==> implies less power output ==> “P” (proportional) control ● This is necessary. Power plants to not accept frequency change. So we must regulate frequencies in real-time.
  • 34. Real-time control #2 Some PPs have a real-time control #1: Not enough power ==> implies more power output ● Too much power ==> implies less power output ==> “P” (proportional) control ● Additional control for market constraints: If flow “Spain → France” too high, then increase power output in Spain (PI control).
  • 35. Real-time control Some PPs have a real-time control #1: Not enough power ==> implies more power output ● Too much power ==> implies less power output ==> “P” (proportional) control ● Additional control for market constraints: If flow “Spain → France” too high, then increase power output in Spain (PI control). Not very satisfactory. When day-ahead market based on wrong wind forecasts, the resources management is very bad: - by law, grid owners (sometimes) must buy wind power - day ahead market orders already decided - the grid owner must find people for buying excess electricity (or destruction!) ==> negative prices
  • 36. Outline ● ● Ilab Metis, working on power systems Principles of power system simulation ● Classical model ● Reserves constraint ● Recourse ● Network constraints ● This simple model does not solve hydro ● Future is (even) more complicated Alternate tools: ● Real-time control ? ● Games ? ● Bilevel problems ●
  • 37. Games ? ● Looks like a game ● Uncertainties = weather, load, wind... ● Actions = switching on/off, which power output ● Many players; for us, one-player game ==> maximum social welfare policy (politicians and economist will have to find rules for the political/economical/ecological solution to be implemented...) ● Winning = low cost + low pollution
  • 38. ● ● ● ● Games ? Consequence Of Uncertainties = weather, load, wind... deregulation Looks like a game Actions = switching on/off, which power output Many players; for us, one-player game ==> maximum social welfare policy (politicians and economist will have to find rules for the political/economical/ecological solution to be implemented...) ● Winning = low cost + low pollution
  • 39. So the game model for us Just one player Who controls all the Pps, all the networks. He optimizes the social welfare. At each time step: - observes the state (inflows history, stock levels, PP status...) - makes decisions (switch on/off, produce power) - gets reward (economy / ecology)
  • 40. Outline ● ● Ilab Metis, working on power systems Principles of power system simulation ● Classical model ● Reserves constraint ● Recourse ● Network constraints ● This simple model does not solve hydro ● Future is (even) more complicated Alternate tools: ● Real-time control ? ● Games ? ● Bilevel problems ●
  • 41. Bilevel problems Simple version: I have K possible systems: ● Today's European grid ● The same + a big new HVDC connection ● The same + X MW of wind power ● ... Which one is best ? I spend T hours, each simulation of one of them needs (e.g.) one hour, how do I choose which system to simulate. LOOKS LIKE A NICE BANDIT PROBLEM
  • 42. Non-stationary bilevel problems I have K possible systems: ● Today's European grid ● The same + a big new HVDC connection ● The same + X MW of wind power ● ... In fact, I have to optimize the management of each system. If I optimize during simulations, options become better ==> non-stationary bandit problem.