Overview and Motivations Domestic micro-storage devices are - - PowerPoint PPT Presentation

overview and motivations
SMART_READER_LITE
LIVE PREVIEW

Overview and Motivations Domestic micro-storage devices are - - PowerPoint PPT Presentation

2 nd June 2015 Mean-field game formulations for distributed storage management in dynamic electricity markets David Angeli joint research with: Antonio De Paola and Prof. Goran Strbac Overview and Motivations Domestic micro-storage devices


slide-1
SLIDE 1

2nd June 2015

Mean-field game formulations for distributed storage management in dynamic electricity markets

David Angeli joint research with: Antonio De Paola and Prof. Goran Strbac

slide-2
SLIDE 2

Overview and Motivations

  • Domestic micro-storage devices are considered: they charge/discharge energy

from the network during a 24h interval, trying to maximize profit

  • ADVANTAGES:

1) Profit for the users 2) Benefits for the system (i.e. reduction in demand peaks)

  • MAIN PROBLEM: management of the devices

i.e. : if they all charge when price is low → shifting of peak demand

  • PROPOSED APPROACH:
  • model the problem as a differential game with infinite players (Mean Field Game)
  • solve the resulting coupled PDEs and find a fixed point
slide-3
SLIDE 3
  • 1. Modelling
slide-4
SLIDE 4

Modelling: storage device

The single storage element is modelled as: ) ( ) ( t u t E  

MAX

E E  

MAX MIN

u u u  

: E

: u

Charge of the device Rate of charge

  • The quantity of energy that can be stored in

each device is limited:

  • Maximum rate of charge (uMAX) and discharge

(uMIN) are set:

We assume that the number of devices is extremely high and can be approximated as infinite The charge status of the population is described by the distribution function:

) , ( E t m

The optimal control will be calculated in its feedback form

) , (

*

E t u

To model efficiency, quadratic losses are introduced:

) ( ) ( ) (

2 t

u t u t y   

slide-5
SLIDE 5

Modelling: demand and price

 

    

MAX

E ST

dE E t u E t u E t m t D t D t D t D

2

) , ( ) , ( ) , ( ) ( ) ( ) ( ) ( 

  • We consider an original profile for (inelastic) demand D0(t), known without

uncertainties.

  • Power exchange between the devices and the network is modelled as a

variation of demand:

  • The price of electricity is assumed to be a monotonic increasing function
  • f demand:

)) ( ( t D p

: D

:

ST

D

Original demand profile Variation introduced by storage

slide-6
SLIDE 6

Mean field game approach

  • In a certain time interval TEND, each device exchanges energy with the network, aiming at

maximizing its profit:

)) ( ( ) ( )) ( ( )) ( , (

END T

T E dt t y t D p u E J

END

   

MEAN FIELD GAME Coupled Partial Derivative Equations:

1. Transport equation: describes the evolution in time of the distribution m(t,E) of the charge level 2. HJB equation: returns the optimal cost-to-go function V(t,E) and the optimal control u*(t,E)

  • f the devices for all time instants and charge levels

 

                       

u E t V u u dE E t u E t u E t m t D p E t V

E E

  • u

t

MAX

) , ( ) ( ) , ( ) , ( ) , ( ) ( inf ) , (

2 2 * *

 

  • OBJ. FUNCTION:

(to minimize)

) ( ) , (

0 E

m E m 

) ( ) , ( E E T V

END

 

Additional term to impose desired final charge

 

) , ( ) , ( ) , (

*

E t u E t m E t m

E t

  

slide-7
SLIDE 7
  • 2. Existence of solution
slide-8
SLIDE 8

Fixed point

The two PDEs are interdependent:

  • 1. The transport equation has to be integrated forward and depends on

the optimal control u*(t,E) returned by the HJB

  • 2. The HJB equation is integrated backward and depends on the prices
  • f energy, that are affected by the energy distribution m(t,E)

OBJECTIVE: find a couple (mF(t,E),u*F(t,E)) which represents a fixed point solution for the PDEs

) , ( E t mF ) , (

*

E t uF

Transport Equation HJB Equation

slide-9
SLIDE 9

Existence of solution

We are interested in conditions of existence and uniqueness for the fixed point. Two different approaches:

  • 1. Constraints on the state E are temporarily removed:
  • The problem is considerably simplified as a differential game.
  • Under mild assumptions, it is proved that a fixed point exists and is unique.
  • 2. The original MFG problem is considered:
  • Different approaches have been adopted:
  • Application of existing theorems for MFG.
  • Prove the differentiability of the cost-to-go function V in the HJB equation.
  • Apply Pontriagyn Minimum Principle with state constraints.
  • For the time being no conclusive results have been achieved
slide-10
SLIDE 10
  • 3. Numerical simulations
slide-11
SLIDE 11

Iterative algorithm

1) The HJB equation is integrated starting from V(T,E)=Ψ(E) and assuming a known distribution At each time step i: 1.1) Initial estimate is calculated assuming price 1.2) The price is updated: 1.3) Steps 1.1 and 1.2 are repeated until convergence 2) Once the values of V and u* have been calculated, a new estimate for m is obtained integrating the transport equation 3) Steps 1 and 2 are repeated until convergence of V and m

) ( ) , (

0 E

m E t m  ] , [ T t   ) , ( E t u )) ( ( ) (

0 t

D p t pIN 

          

dE E t u E t u E t m t D p t p

MAX

E FIN

] ) , ( ) , ( )[ , ( ) ( ) (

2

slide-12
SLIDE 12

Parameters

  • Typical UK demand profile - Total storage capacity:
  • Each device can fully charge/discharge in 10 hours:

GWh EMAX 25  GW h E u

MAX MAX

5 . 2 10   h t 1 . :  1000 :

MAX

E E 

4

10 :

 h TEND 24 :

2

2 ) (         

MAX

E E c E

DEMAND PROFILE PRICE FUNCTION

slide-13
SLIDE 13

Simulation results (1)

Optimal control u*(t,E)

Optimal cost-to-go function V(0,E)

NOTE: the optimal control and the cost function are calculated in the MFG framework and they refer to the whole population. The values for the single devices are obtained dividing by the total number of players.

slide-14
SLIDE 14

Simulation results (2)

TOTAL STORED ENERGY: DEMAND PROFILES:

Total energy stored in the devices at each iteration of the forward/backward integration: a fixed point is reached

The storage devices are able to considerably reduce the amplitude of peaks and valleys in the original power demand profile

slide-15
SLIDE 15
  • 4. Cyclical constraints
slide-16
SLIDE 16

Periodic constraints (1)

We ideally want:

) ( ) , (

0 E

m E m  ) , ( ) , ( E m E T m

END

Same charge distribution at the beginning and at the end of the considered time interval

SO FAR: we have operated on the final cost-to-go

) (E 

All devices will have the same final energy level EDES

NEW APPROACH:

A cyclical cost function is introduced:

) ( ) , ( E E E T m

DES END

  

 

2

) (

DES

E E c E   

2

)) ( ( ) ( E E c E   

slide-17
SLIDE 17

Periodic constraints (2)

We introduce a new state variable I(t) in the HJB eq.

s d s u t I

t

 ) ( ) (

The single device is now described by:

: ) (t E

Current energy level (to take constraints into account)

: ) (t I

Total variation of energy (we want I(TEND) to be small) The HJB equation now becomes:

 

u I E t V u I E t V u u t p I E t V

I E u t

) , , ( ) , , ( ] )[ ( inf ) , , (

2 *

        

2

) , ( I c I E   

By adding the state I(t), we can explicitly penalize differences between initial and final state

slide-18
SLIDE 18

Simulations (1)

slide-19
SLIDE 19

Simulations (2)

Energy level of the storage devices for different initial energies (last iteration)

Values of the optimal cost-to-go function V(0,E,0). Lower values are achieved for devices with low E(0), which are able to charge more energy in the initial phase, when prices are lower

slide-20
SLIDE 20

Simulations (3)

Total stored energy at different iterations of the HJB and transport equation

The new demand profiles are very similar to the ones obtained with the previous approach

slide-21
SLIDE 21
  • 5. Devices with

different parameters

slide-22
SLIDE 22

Different populations of devices (1)

SO FAR: all devices have the same parameters

NEW APPROACH: consider finite number N of

populations, each with different parameters

 

 

i i i I i i i E i i i ST

  • u

i i i t

u I E t V u I E t V u u t D t D p I E t V

i i i

) , , ( ) , , ( ] [ ) ( ) ( inf ) , , (

2

         

HJB equation for the i-th population:

Total demand variation introduced by storage

NOTE: the only interdependence between the HJBs of different

populations is given by the price of energy p(D0(t)+DST(t))

slide-23
SLIDE 23

Different populations of devices (2)

The fixed point at each t will be given by:

           

 

N N I

E N N N N N N I E i i

I E t u I E t m I E t u I E t m t D p t p

, * , 1 * 1 1 1 *

) , , ( ) , , ( ) , , ( ) , , ( ) ( ) (

1 1

Price if optimal control u* is applied:

Contribution to demand of the N-th population

Optimal control ui*(t,E)

 

) , , ( , ), , , ( ), (

* 1 1 * 1 * N N N

I E t u I E t u t p 

 

i i i i I i i i i E i i u i i i

u I E t V u I E t V u u t p I E t u

i i i

) , , ( ) , , ( ) )( ( min arg ) , , (

2 * *

      

At each time t the values of p* and (u1*,…,uN*) are calculated iteratively until convergence is achieved The computational complexity is linear with respect to the number N

  • f considered populations
slide-24
SLIDE 24

Simulations (1)

Energy levels of the storage devices with different initial energies for the two populations

GWh EMAX 15 :

1

GW u u

MIN MAX

5 . 1

1 1

  

4 1

10 9 .

   2  N

Parameters:

GWh EMAX 10 :

2

GW u u

MIN MAX

2

2 2

  

4 2

10 1 . 1

  

Number of populations

slide-25
SLIDE 25

Simulations (2)

Values of the optimal cost-to-go functions Vi(0,Ei,0) for the two populations of devices Demand profiles for different iterations

  • f the HJB and transport equations
slide-26
SLIDE 26
  • 8. Arbitrage in multi-

area systems

slide-27
SLIDE 27

Introduction

SO FAR: topology of the network and transmission constraints

are not taken into account

NOW: consider a system divided in several areas connected

by transmission lines of limited capacity

  • Obtain the MFG equations for the populations of devices (one for each area),

taking into account the new constraint

  • Evaluate whether the convergence of the iterations to the optimal solution still

holds for this new case

slide-28
SLIDE 28

Three-area system

) ( , ,

A A A A

G C D m

AB AB x

F ,

AB

F

) ( , ,

C C C C

G C D m ) ( , ,

B B B B

G C D m

BC BC x

F ,

BC

F

AC AC x

F ,

AC

F : m : F : x

Distribution of devices Max capacity Line reactances In simulations:

GW FAB 6  GW FBC 5 . 3  GW FAC 5 . 4  . . 2 . u p xAB  . . 1 . u p xBC  . . 2 . u p xAC 

: G

Generated power

: F

Power flow

: D Demand profile : ) (G C

Generation cost

slide-29
SLIDE 29

Economic dispatch

  • Given demand and generation in each area, it is possible to calculate the

resulting power flows Fij:

  • voltage angles θij are introduced and are considered small
  • transmission line resistances are ignored (X >>R)

WE ASSUME:

) ( ) ( ) ( G C G C G C

C B A

 

C B A

D D D  

  • The generation cost Ci(Gi) in the i-th area is chosen to be quadratic
  • The economic dispatch is calculated by minimizing the total cost of supplying

demand, solving a quadratic programming problem:

 ,

min

I

) (

i i i G

C

. .t s

i i i

I D G    Y I 

ij j i ij ij

F y F    ) (   :

i

I

Net inflow in area i

: Y

Admittance matrix

The price pi at which devices in area i exchange energy is given by the Lagrange multiplier associated with the constraint:

i i

Y I  

slide-30
SLIDE 30

MFG in three-area system

  • The charge/discharge of storage devices is modelled as a variation of demand in

the same area

i i i i i i i i i

dE E u E u E m D )] ( ) ( [ ) (

2

* *

  

i

D

  • The HJB equations are very similar to the previous cases. For area A:

 

A A E A A A A u A A t

u E t V u u t p E t V

A A

) , ( ) )( ( min ) , (

2 *

      

  • The fixed point (p*(t),u*(t)) at each time step of the HJB is calculated with the

following iterations (until convergence): 1) given initial prices (pA*, pB*,pC*), optimal controls (uA*,uB*, uC*) are calculated 2) the demand variation introduced by storage and the new flows are calculated 3) A new economic dispatch is performed and the prices updated

slide-31
SLIDE 31

Simulations (1)

Generation profiles Total stored energy

slide-32
SLIDE 32

Simulations (2)

Power flows Nodal prices

slide-33
SLIDE 33

Conclusions

  • Modelling of dynamic electricity markets with large number of players
  • Numerical integration schemes for finding Nash equilibria
  • Extensions to allow for non-homogeneous players, and multi-area networks
  • Open issues: existence of solutions and convergence of numeric schemes
  • On-going work: characterization of Nash equilibria for unidirectional energy

exchange between appliances and grid

THANK YOU