Optimal battery charge/discharge strategies for consumers and - - PowerPoint PPT Presentation
Optimal battery charge/discharge strategies for consumers and - - PowerPoint PPT Presentation
Optimal battery charge/discharge strategies for consumers and suppliers Ben Mestel 4 April 2014 Major challenges To understand the interplay between the electricity market (price) and electricity generation, and what role storage might
Major challenges
- To understand the interplay between the electricity
market (price) and electricity generation, and what role storage might have in management of the power system.
- To understand the dynamics of smart grids consisting of
a network of prosumers interacting in the physical, cyber and social layers
- Prosumer = Producer/Consumer
Fundamental questions
- How can a market be effectively regulated,
controlled/stabilised and incentivised?
- What is the effect of price on a power system?
βCan price be used to regulate a complicated network containing a mix of generators, storers, prosumers? βIs price something we can impose on the system as an exogenous control variable or is it necessarily endogenous, a product of system dynamics?
Model (microeconomic) problem
- Given a prosumer with a storage battery (perhaps in an
electric/hybrid vehicle) and an exogenous price π(π’) what is the optimal charging/discharging to minimise cost? How should the price be chosen to induce a given behaviour in the prosumer?
- In this talk we consider the charging problem and
discuss the classical calculus of variations approach and its limitations
Battery types
Schematic of lithium-air battery charge and discharge cycles
- Lead-acid
- Li Ion e.g.
LiCoO2
- NaS
- NiCd
- ZnBr
- LiO2
- LiS
Battery models
- Batteries are complicated beasts !
- Modelling approaches include
βElectrochemical and thermal modelling of the electrolyte, electrodes and their interaction βDynamical modelling β macro modelling of battery behaviour, often involving equivalent circuit diagrams
- Modelling of batteries is a well established and growing
field.
- Little analytical work possible, simulation (often through
Matlab and Maple) is main approach
Charging regimes
- Constant current
- Constant voltage
- High current decreased exponentially
- Constant current/constant voltage
- Constant current/constant voltage/constant current
- Pulsed charging
- Quick charging
- Each regime has characteristic charging time and effect
- n battery temperature and lifetime
- Each battery has its own attributes and manufacturer-
recommended charging regimes
Battery models
- State variable: π = state of
charge
- π = 0 battery fully discharged
- π = 1 battery fully charged
- (Ignore battery temperature π)
- Applied current and voltage
π½ π’ , π(π’) β π½ π’ > 0 - charging β π½ π’ < 0 - discharging β π½(π’), π(π’) are not independent
- Time interval [π’π‘, π’π]
Single storage supplier fixed market
- Supplier price taker
- Prices: exogenous variables, set by power system
- perator
- Two prices in, say, Β£ per KWh (i.e. money/energy):
β ππ(π’) offer price i.e. price the storage supplier sells electricity β ππ(π’) bid price i.e. price the storage supplier buys electricity βIn general ππ π’ β₯ ππ(π’)
- Forward pricing on T = π’π‘, π’π
- Here we consider ππ(π’) = ππ(π’), which we write π(π’)
Charging optimisation
- π(π’) state of charge, 0 β€ π π’ β€ 1, π π’ = π ππ΅π π π’
- π· =
π π’ π π’ ππ’, π π’ = π»(π π’ , π π’ )
π’π π’π‘
- For a simple-battery
β π π’ = π½ π’ π π’ β π π’ = π
ππ· + ππ π½ π’
β π½ π’ = π ππ΅π π π’ β π» = π»(π π’ ) = (π
ππ· + πππ ππ΅π π π’ )π ππ΅π π π’
β π» convex for ππ > 0
Classical Calculus of Variations Approach
- Theorem. Let π(π’, π, π) be a twice continuously
differentiable function with respect to (π’, π, π) which is convex with respect to π, π . Then the functional π π’, π(π’), π π’ ππ’, π π’π‘ = ππ‘, π π’π = ππ
π’π π’π‘
has a minimum path S π’ that satisfies the Euler-Lagrange equation
π ππ’ ππ π’, π π’ , π π’
= ππ(π’, π π’ , π π’ ) with boundary conditions π π’π‘ = ππ‘, π π’π = ππ
- Note: The Euler-Lagrange equation may be written as
π (π’) = ππ(π’, π π’ , π π’ ) , π π’ = ππ π’, π π’ , π π’
Q1: optimal charging
- For a given price π π’ , what is the optimal π π’ (within a
given class of approved charging regimes)? Is the charging regime unique, and, if not, can we characterize the degree of degeneracy?
- Euler-Lagrange equation
π ππ’ π π’ π»π β π π’ π»π = 0, π π’π‘ = ππ‘, π π’π = ππ Note: π»π = ππ»/ππ etc
- For simple battery
π π’ = ππ‘ + πΏ
ππ‘ π(π‘) π’ π’π‘
β
πππ· 2 π ππ΅π ππ t β ts , S te = Se
Q2: Optimal price
- For a given π π’ what is the price π(π’) for which S(t) is
- ptimal? And is π(π’) unique and, if not, can we
characterize the degree of degeneracy?
- π(π’) = π π’π‘
π»π
ts
π»π
π’ exp [
π»π(π‘) π»π
π‘ ππ‘]
π’ π’π‘
- For simple battery
π π’ = π(π’π‘)
πππ·+2 π ππ΅π ππ π π’π‘ πππ·+2 π ππ΅π ππ π π’
Q3: Specifying power π(π’)
- For a given power π(π’), what is π(π’) (and is it unique and
in a given class of approved charging functions)?
- π»(π, π ) = π(π’) is an implicit differential equation for π(π’),
which can be solved with one boundary condition π π’π‘ = ππ‘. Itβs then possible in principle to determine the price function inducing this charging function providing π(π’) is compatible with π π’π = ππ.
- Simple battery:
- π π’ = ππ‘ +
1 2 π ππ΅πππ
π
ππ· 2 + 4 πππ π‘
1 2 β π
ππ· ππ‘ π’ π’π‘
Q3 contβd
- For a given power π(π’), what is the price π(t) that
induces π π’ ?
- Apply the previous theory.
- For a simple battery:
π(π’) = π π’π‘
π
ππ· 2 +4 ππ π π’π‘
π
ππ· 2 +4 ππ π π’ 1 2
π· = π π’π‘
π
ππ· 2 +4 ππ π π’π‘
π
ππ· 2 +4 ππ π π‘ 1 2 π π‘ ππ‘
π’π π’π‘
Example
π π π π π
Advantages of the modern theory
- Relaxation in the smoothness requirements for π π’, π, π
and π π’ to account for non-smoothness in price, battery models
- Natural incorporation of constraints and penalties
- But possibly including unphysical solutions,
mathematically oversophisticated, and computations may require classical methods
Modern theory of CoV (after Rockafellar)
- Functional J =
π
π’π π’π‘
π’, π π’ , π π’ dt + β π π’π‘ , π π’π where π and β may take value β to incorporate constraints
- Technical assumptions:
- β is lower semi continuous (lsc), proper
- π is lsc, proper, a normal integrand and
- π π’, π, π β₯ π π’, π, π a mild growth condition
- π(π’, π, π) is convex in S, π
- The path π(π’) is absolutely continuous, π π’ exists a.e.
and π β β1
Modern theory
- Theorem. Suppose π(π’) is a path with πΎ π < β and
suppose π π’ is a path satisfying the generalised Euler- Lagrange condition π π’ , π π’ β ππ,ππ(π’, π π’ , π (π’)) for a.a. π’ and also the generalised transversality condition π π’π‘ , βπ§π π’π β πβ π π’π‘ , π π’π then π¦(π’) is optimal.
- Note ππ,ππ(π’, π π’ , π (π’)) and πβ π π’π‘ , π π’π
are subgradients
Extensions
- Develop theory for charging/discharging
- Include e.g. ramp-up penalty say -
πππ ππ’ 2
ππ’
π’2 π’1
- Include more complicated pricing structures e.g. price for
providing power ππ
- Consider ensembles of prosumers/battery models
- Design of pricing policy to control system and to
incentivize development of storage
- Incomplete information, stochastic pricing