Impact of Demand-Response on the Efficiency and Prices in Real-Time - - PowerPoint PPT Presentation

impact of demand response on the efficiency and prices in
SMART_READER_LITE
LIVE PREVIEW

Impact of Demand-Response on the Efficiency and Prices in Real-Time - - PowerPoint PPT Presentation

Impact of Demand-Response on the Efficiency and Prices in Real-Time Electricity Markets Nicolas Gast (Inria) 1 Journ ee du GdT COS Paris November 2014 1 Joint work with Jean-Yves Le Boudec (EPFL), Alexandre Proutiere (KTH) and


slide-1
SLIDE 1

Impact of Demand-Response on the Efficiency and Prices in Real-Time Electricity Markets

Nicolas Gast (Inria)1

Journ´ ee du GdT COS – Paris

November 2014

1Joint work with Jean-Yves Le Boudec (EPFL), Alexandre Proutiere (KTH) and

Dan-Cristian Tomozei (EPFL)

Nicolas Gast – 1 / 35

slide-2
SLIDE 2

Quiz: what is the value of energy?

Average price is 20$/MWh. Average production is 0.

1 0$. 2 150k$ 3 −150k$. Nicolas Gast – 2 / 35

slide-3
SLIDE 3

Quiz: what is the value of energy?

Average price is 20$/MWh. Average production is 0.

1 0$.

YES: If you are a private consumer.

2 150k$ 3 −150k$. Nicolas Gast – 2 / 35

slide-4
SLIDE 4

Quiz: what is the value of energy?

Average price is 20$/MWh. Average production is 0.

1 0$.

YES: If you are a private consumer.

2 150k$

YES: If you buy on the real-time electricity market (Texas, mar 3 2012)

3 −150k$. Nicolas Gast – 2 / 35

slide-5
SLIDE 5

Quiz: what is the value of energy?

Average price is 20$/MWh. Average production is 0.

1 0$.

YES: If you are a private consumer.

2 150k$

YES: If you buy on the real-time electricity market (Texas, mar 3 2012)

3 −150k$.

NO (but YES for the red curve! Texas, march 3rd 2012)

Nicolas Gast – 2 / 35

slide-6
SLIDE 6

Can we understand real-time electricity prices?

Source: Cho-Meyn 2006.

Prices in

$/MWh

Time of the day Time of the day Is it price manipulation or an efficient market?

Nicolas Gast – 3 / 35

slide-7
SLIDE 7

Motivation and (quick) related work

Control by prices and distributed optimization PowerMatcher: multiagent control in the electricity infrastructure – Kok et al. (2005) Real-time dynamic multilevel optimization for demand-side load management – Ha et al. (2007) Theoretical and Practical Foundations of Large-Scale Agent-Based Micro-Storage in the Smart Grid – Vytelingum et al (2011) Dynamic Network Energy Management via Proximal Message Passing – Kraning et al (2013) Fluctuations of prices in real-time electrical markets Dynamic competitive equilibria in electricity markets – Wang et al (2012)

Nicolas Gast – 4 / 35

slide-8
SLIDE 8

Issue: The electric grid is a large, complex system

It is governed by a mix of economics (efficiency) and regulation (safety).

Nicolas Gast – 5 / 35

slide-9
SLIDE 9

Our contribution

We study a simple real-time market model that includes demand-response. Real-time prices can be used for control

◮ Socially optimal ◮ Provable and decentralized methods

However:

◮ There is a high price fluctuation ◮ Demand-response makes forecast more difficult ◮ Market structure provide no incentive to install large demand-response

capacity

Nicolas Gast – 6 / 35

slide-10
SLIDE 10

Outline

1

Real-Time Market Model and Market Efficiency

2

Numerical Computation and Distributed Optimization

3

Consequences of the (In)Efficiency of the Pricing Scheme

4

Summary and Conclusion

Nicolas Gast – 7 / 35

slide-11
SLIDE 11

Outline

1

Real-Time Market Model and Market Efficiency

2

Numerical Computation and Distributed Optimization

3

Consequences of the (In)Efficiency of the Pricing Scheme

4

Summary and Conclusion

Nicolas Gast – 8 / 35

slide-12
SLIDE 12

We consider the simplest model that takes the dynamical constraints into account (extension of Wang et al. 2012)

  • Demand

Supplier Flexible loads Storage (e.g. battery) Each player has internal utility/constraints and exchange energy

Nicolas Gast – 9 / 35

slide-13
SLIDE 13

Two examples of internal utility functions and constraints

Generator: generates G(t) units of energy at time t.

◮ Cost of generation: cG(t). ◮ Ramping constraints: ζ− ≤ G(t + 1) − G(t) ≤ ζ+. Nicolas Gast – 10 / 35

slide-14
SLIDE 14

Two examples of internal utility functions and constraints

Generator: generates G(t) units of energy at time t.

◮ Cost of generation: cG(t). ◮ Ramping constraints: ζ− ≤ G(t + 1) − G(t) ≤ ζ+.

Flexible loads: population of N thermostatic appliances: Markov model = Consumption can be anticipated/delayed but

◮ Fatigue effect ◮ Mini-cycle

avoidance

◮ Internal cost: temperature deadband. ◮ Constraints: Markov evolution and temperature deadband, switch

  • n/off.

Nicolas Gast – 10 / 35

slide-15
SLIDE 15

We assume perfect competition between 2, 3 or 4 players

(supplier, demand, storage operator, flexible demand aggregator)

Player i maximizes: arg max

Ei∈internal constraints of i

E    ∞ Wi(t)

internal utility

− P(t)Ei(t)

  • (spot price)×(bought/sold energy)

dt   

Nicolas Gast – 11 / 35

slide-16
SLIDE 16

We assume perfect competition between 2, 3 or 4 players

(supplier, demand, storage operator, flexible demand aggregator)

Player i maximizes: arg max

Ei∈internal constraints of i

Players share a common probabilistic forecast model E    ∞ Wi(t)

internal utility

− Players cannot influence P(t). P(t)Ei(t)

  • (spot price)×(bought/sold energy)

dt   

Nicolas Gast – 11 / 35

slide-17
SLIDE 17

Definition: a competitive equilibrium is a price for which players selfishly agree on what should be bought and sold.

(Pe, E e

1 , . . . , E e j ) is a competitive equilibrium if:

For any player i, E e

i is a selfish best response to P:

arg max

Ei∈internal constraints of i

E    ∞ Wi(t)

internal utility

− P(t)Ei(t)

  • bought/sold energy

dt    The energy balance condition: for all t:

  • i∈players

E e

i (t) = 0.

Nicolas Gast – 12 / 35

slide-18
SLIDE 18

An (hypothetical) social planner’s problem wants to maximize the sum of the welfare.

(E e

1 , . . . , E e j ) is socially optimal if it maximizes E

       ∞

  • i∈ players

Wi(t)

  • social utility

dt        , subject to For any player i, E e

i satisfies the constraints of player i.

The energy balance condition: for all t:

  • i∈players

E e

i (t) = 0.

Nicolas Gast – 13 / 35

slide-19
SLIDE 19

The market is efficient (first welfare theorem)

Theorem

For any installed quantity of demand-response or storage, any competitive equilibrium is socially optimal. If players agree on what should be bought or sold, then it corresponds to a socially optimal allocation.

Nicolas Gast – 14 / 35

slide-20
SLIDE 20
  • Proof. The first welfare theorem is a Lagrangian

decomposition

For any price process P: max Ei satisfies constraints i ∀t :

i Ei(t) = 0

E  

i∈players

  • Wi(t)dt

 

social planner’s problem

  • i∈players

max Ei satisfies constraints i E

  • (Wi(t) + P(t)Ei(t))dt
  • selfish response to prices

If the selfish responses are such that

  • i

Ei(t) = 0, the inequality is an equality.

Nicolas Gast – 15 / 35

slide-21
SLIDE 21
  • Proof. The first welfare theorem is a Lagrangian

decomposition

For any price process P: max Ei satisfies constraints i ∀t :

i Ei(t) = 0

E  

i∈players

  • Wi(t)dt

 

social planner’s problem

=

  • i∈players

max Ei satisfies constraints i E

  • (Wi(t) + P(t)Ei(t))dt
  • selfish response to prices

If the selfish responses are such that

  • i

Ei(t) = 0, the inequality is an equality.

Nicolas Gast – 15 / 35

slide-22
SLIDE 22

What is the price equilibrium? Is it smooth?

Nicolas Gast – 16 / 35

slide-23
SLIDE 23

What is the price equilibrium? Is it smooth?

Production has ramping constraints, Demand does not.

Nicolas Gast – 16 / 35

slide-24
SLIDE 24

Fact 1. Without storage or DR, prices are never equal to the marginal production cost (Wang et al. 2012)

No storage

Nicolas Gast – 17 / 35

slide-25
SLIDE 25

Fact 1. Without storage or DR, prices are never equal to the marginal production cost (Wang et al. 2012)

No storage

Nicolas Gast – 17 / 35

slide-26
SLIDE 26

Fact 2. Perfect storage leads to a price concentration

Small storage Large storage

Nicolas Gast – 18 / 35

slide-27
SLIDE 27

Fact 3. Because of (in)efficiency, the price oscillates, even for large storage

5 10

Perfect storage: price becomes equal to the marginal production cost Realistic storage: two modes in √η and 1/√η

Nicolas Gast – 19 / 35

slide-28
SLIDE 28

Outline

1

Real-Time Market Model and Market Efficiency

2

Numerical Computation and Distributed Optimization

3

Consequences of the (In)Efficiency of the Pricing Scheme

4

Summary and Conclusion

Nicolas Gast – 20 / 35

slide-29
SLIDE 29

Reminder: If there exists a price such that selfish decisions leads to energy balance, then these decisions are optimal.

  • Price P(t)

Demand Supplier Flexible loads Storage (e.g. battery)

Theorem

For any installed quantity of demand-response or storage: There exists such a price. We can compute it (convergence guarantee).

Nicolas Gast – 21 / 35

slide-30
SLIDE 30

We design a decentralized optimization algorithm based on an iterative scheme

Price P(t) Generator Demand . . . Fridges

  • 1. forecast price P(1), . . . , P(T), ¯

E

  • 2. forecasts consumption E
  • 3. Update price

Iterative algorithm based on ADMM

Theorem

The algorithm converges.

Nicolas Gast – 22 / 35

slide-31
SLIDE 31

We use ADMM iterations.

Augmented Lagrangian:

Lρ(E, P) :=

  • i∈players

Wi(Ei) +

  • t

P(t)

  • i

Ei(t)

  • − ρ

2

  • t,i
  • Ei(t) − ¯

Ei(t) 2

ADMM (alternating direction method of multipliers): E k+1 ∈ arg max

E

Lρ(E, ¯ E k, Pk) for each player (distributed) ¯ E k+1 ∈ arg max

¯ E s.t.

i ¯

Ei=0

Lρ(E k+1, ¯ E, , Pk) projection (easy) Pk+1 := Pk − ρ(

  • i

E k+1

i

) price update

Nicolas Gast – 23 / 35

slide-32
SLIDE 32

ADMM converges because the problem is convex

1 Utility functions and constraints are convex ◮ e.g., Ramping constraints, batteries capacities, flexible appliances Nicolas Gast – 24 / 35

slide-33
SLIDE 33

ADMM converges because the problem is convex

1 Utility functions and constraints are convex 2 We represent forecast errors by multiple trajectories

t_1 8h t_2 16h 24h −10 −5 5 10 time (in hours) forecast error (in GW) Z1=Z3 =Z5=Z7 Z2=Z4 =Z6=Z8 Z4=Z8 Z2=Z6 Z1=Z5 Z3=Z7 Z6 Z1 Z2 Z3 Z7

◮ Extension of Pinson et al (2009). ◮ Using covariance of data from the UK Nicolas Gast – 24 / 35

slide-34
SLIDE 34

ADMM converges because the problem is convex

1 Utility functions and constraints are convex 2 We represent forecast errors by multiple trajectories 3 We approximate the behavior of the flexible appliances by a

mean-field approximation Original system Mean-field approximation (limit as number of appliances is large)

Nicolas Gast – 24 / 35

slide-35
SLIDE 35

The algorithm is distributed: each flexible appliance computes its best-response to price

= Object = Markov chain

2 4 6 8 10 Price Price

⇓ best response

5 10 15 20 2 4 6 8 10 12 14 undesirable states undesirable states time (in hour) State X(t) Sample trajectories of 5 fridges Average x−state (mean field approx.)

Nicolas Gast – 25 / 35

slide-36
SLIDE 36

Outline

1

Real-Time Market Model and Market Efficiency

2

Numerical Computation and Distributed Optimization

3

Consequences of the (In)Efficiency of the Pricing Scheme

4

Summary and Conclusion

Nicolas Gast – 26 / 35

slide-37
SLIDE 37

Reminder: we know how to compute a price such that selfish decision leads to a social optimum.

  • Price P(t)

Demand Supplier Flexible loads Storage (e.g. battery) We can evaluate the effect of more flexible load / more storage. Is the price smooth? Impact on social welfare.

Nicolas Gast – 27 / 35

slide-38
SLIDE 38

In a perfect world, the benefit of demand-response is similar to perfect storage

Social Welfare Installed flexible power (in GW2) No charge/discharge inefficiencies for demand-response (we can only anticipate or delay consumption).

2The forecast errors correspond to a total wind capacity of 26GW. Nicolas Gast – 28 / 35

slide-39
SLIDE 39

Problem of demand-response: synchronization might lead to forecast errors

No Demand-response

Total consumption

Actual consumption is close to forecast

Nicolas Gast – 29 / 35

slide-40
SLIDE 40

Problem of demand-response: synchronization might lead to forecast errors

No Demand-response

Total consumption

Actual consumption is close to forecast With Demand-response

Total consumption

Problem if we cannot

  • bserve the initial state

Nicolas Gast – 29 / 35

slide-41
SLIDE 41

Problem of demand-response. Non-observablity is detrimental if the penetration is large

We assume that: The demand-response operator knows the state of its fridges The day-ahead forecast does not. Social Welfare Installed flexible power (in GW3)

3The forecast errors correspond to a total wind capacity of 26GW. Nicolas Gast – 30 / 35

slide-42
SLIDE 42

Problem of the market structure. Incentive to install less demand-response than the social optimal.

Welfare for storage

  • wner / demand-

response operator Installed flexible power (in GW4)

4The forecast errors correspond to a total wind capacity of 26GW. Nicolas Gast – 31 / 35

slide-43
SLIDE 43

Outline

1

Real-Time Market Model and Market Efficiency

2

Numerical Computation and Distributed Optimization

3

Consequences of the (In)Efficiency of the Pricing Scheme

4

Summary and Conclusion

Nicolas Gast – 32 / 35

slide-44
SLIDE 44

Summary

  • 1. Real-time market model (generation dynamics, flexible loads, storage)
  • Price P(t)

Demand Supplier Flexible loads Storage (e.g. battery)

  • 2. A price such that selfish decisions are feasible leads to a social
  • ptimum.
  • 3. We know how to compute the price.

Trajectorial forecast, mean field and ADMM

  • 4. Benefit of demand-response: flexibility, efficiency

Drawbacks: non-observability, under-investment

Nicolas Gast – 33 / 35

slide-45
SLIDE 45

Perspectives

Distributed optimization in smart-grid

◮ In distribution networks. ◮ Methodology: ⋆ Distributed Lagrangian (ADMM) is powerful ⋆ Use of trajectorial forecast makes it computable

Optimization in Systems with many small agents. Virtual prices and/or virtual markets:

◮ Bike-sharing systems (to solve the optimization problem but not to

define prices for users).

Nicolas Gast – 34 / 35

slide-46
SLIDE 46

Nicolas Gast — http://mescal.imag.fr/membres/nicolas.gast/

Model and Forecast Dynamic competitive equilibria in electricity markets, G. Wang, M. Negrete-Pincetic, A. Kowli, E. Shafieepoorfard, S. Meyn and U. Shanbhag, Control and Optimization Methods for Electric Smart Grids, 35–62 2012, From probabilistic forecasts to statistical scenarios of short-term wind power

  • production. P. Pinson, H. Madsen, H. A. Nielsen, G. Papaefthymiou, and B.
  • Klockl. Wind energy, 12(1):51-62, 2009

Storage and Demand-response Impact of storage on the efficiency and prices in real-time electricity markets. N Gast, JY Le Boudec, A Prouti˜ A¨re, DC Tomozei, e-Energy 2013 Impact of Demand-Response on the Efficiency and Prices in Real-Time Electricity

  • Markets. N Gast, JY Le Boudec, DC Tomozei. e-Energy 2014

ADMM Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers S. Boyd, N. Parikh, E. Chu, B. Peleato, and J. Eckstein. Foundations and Trends in Machine Learning, 3(1):1-122, 2011. Supported by the EU project — http://www.quanticol.eu

Nicolas Gast – 35 / 35