Control of Battery Storage Systems for the Simultaneous Provision of Multiple Services

Control of Battery Storage Systems for the Simultaneous Provision of Multiple Services


In this paper, we propose a control framework for a battery energy storage system to provide simultaneously multiple services to the electrical grid. The objective is to maximise the battery exploitation from these services in the presence of uncertainty (load, stochastic distributed generation, grid frequency). The framework is structured in two phases. In a period-ahead phase, we solve an optimization problem that allocates the battery power and energy budgets to the different services. In the subsequent real-time phase the control set-points for the deployment of such services are calculated separately and superimposed. The control framework is first formulated in a general way and then casted in the problem of providing dispatchability of a medium voltage feeder in conjunction to primary frequency control. The performance of the proposed framework are validated by simulations and real-scale experiments, performed with a grid-connected 560 kWh/720 kVA Li-ion battery energy storage system.


I Introduction

I-a Motivations

Battery energy storage systems (BESSs) are a promising technology due to their inherent distributed nature, their ability to inject bidirectional power flows, their high power ramping and ability to provide a set of different grid services. As of today, BESSs are being deployed to provide several different services, such as peak shaving [oudalov2007sizing], energy management of microgrids [belvedere2012microcontroller] and stochastic resources [sossan2016achieving, ke2015control] and frequency and voltage regulation [christakou2014primary, oudalov2007optimizing]. Such deployment is still slowed down by the high cost of these devices. While this cost is decreasing due to technological developments and economies of scale, a viable approach to optimize the exploitation of such devices is the development of control strategies able to provide simultaneously more than one of the services listed above. This allows for a better exploitation of the BESS from a technical and economical point of view. More specifically, the simultaneous provision of multiple services via BESSs is of interest with respect to two aspects. First, different applications have different energy and power requirements. Some are “energy intensive”, i.e. they need a large amount of energy but low instanteous power (e.g. peak shaving). Other are “power intensive”, i.e. require higher levels of power but not high amount of energy (e.g. primary frequency regulation) [hittinger2012properties]. Such different services could be coupled to match at best the energy and power ratings of the batteries. Second, batteries are normally sized to provide a single service continuously. However, the actual daily exploitation deployment of power and exploitation of energy capacity vary due to the uncertainty of the stochastic resources to which they are coupled (e.g. uncontrollable loads and PV generation in [sossan2016achieving]), or of the pricing signals that they track (e.g. energy and balancing power prices in [wu2015energy]). Therefore, the whole capacity of a battery is exploited quite rarely. Therefore, the deployment of such services rarely requires the exploitation of the whole BESS capacity. When a portion of the batteryBESS energy capacity remains unexploited by the deployment of its main service, it could be allocated to a secondary service, to be deployed in parallel. In other words, coupling multiple services together may allow to exploit at best the batteries coupled with stochastic resources.

I-B Literature Survey

The relevance of application sinergies for energy storage devices has been pointed out in general terms in [eyer2010energy]. Several works, in the existing technical literature, propose approaches to provide simultaneously multiple grid services and demonstrate their effectiveness by simulations [wasowicz2012evaluating, wu2015energy, kazemi2017long, kazemi2017operation, drury2011value, cheng2016co, megel2015scheduling, vrettos2013combined, shi2017using, xi2014stochastic, moreno2015milp, perez2016effect]. These references differ from each other for the kind of services they provide and how they account for BESS operational constraints. BESS services can be classified in 3 mainstream categories:

  1. energy arbitrage (EA), i.e. buying and selling electricity to generate a revenue;

  2. provision of ancillary services (AS). These are a set of services that batteries can provide to grid operators to enhance the system reliability (e.g. frequency response and regulation). The provision of these services is normally regulated by auction based systems and markets;

  3. achievement of control objectives for the local grid (i.e. local objectives (LO) ), like congestion management, voltage regulation at LV and MV level or self-consumption.

The applications described in [wasowicz2012evaluating, wu2015energy, kazemi2017long, kazemi2017operation, drury2011value, cheng2016co, megel2015scheduling, vrettos2013combined, shi2017using, xi2014stochastic, moreno2015milp, perez2016effect] are designed to provide combinations of the aforementioned services, as summarized in Table I.

Services provided References
EA + AS [wasowicz2012evaluating, wu2015energy, kazemi2017long, kazemi2017operation, drury2011value, cheng2016co]
LO + AS [megel2015scheduling, vrettos2013combined, shi2017using]
LO + EA + AS [xi2014stochastic, moreno2015milp, perez2016effect]
Table I: Recent literature on clustering of BESS applications in power systems

In such references, operation scheduling problems for energy storage systems considering multiple services are formulated. These aim at maximising the economic revenue generated for a standalone storage systems exploiting multiple revenue streams. This objective is sought in different pricing contexts and the common result is that by jointly providing multiple services, the BESS economic income is increased. Nonetheless, energy storage systems are often used in two further configurations [kazemi2017operation]: i) used by system operators to improve system reliability (e.g. [nick2014optimal, zhao2015review]) or ii) in conjunction with other resources such as distributed generation [akhavan2014optimal], flexible demand [brahman2015optimal] or electric vehicles [shafiee2012impacts].

Besides the objective of the proposed scheduling problems, the references listed in Table I focus on different aspects of the control framework needed to provide multiple services simultaneously. Several references propose specific methods for storage technologies other than BESSs: compressed air energy storage [drury2011value], fleets of thermostatically controlled loads [vrettos2013combined], or fleets of distributed BESSs [megel2015scheduling]. References [vrettos2013combined] and [shi2017using], besides the formulation of the scheduling problem, describe the real-time control to implement the proposed strategies. References [kazemi2017long, kazemi2017operation, shi2017using] propose a robust optimization approach to deal with uncertainties related to price signals and reserve deployment. Finally [kazemi2017long] analyses how providing multiple services simultaneously affects the BESS life time.

I-C Paper’s contributions

We consider the case of a BESS installed in a distribution feeder supplying uncontrollable loads and integrating a considerable amount of distributed generation. The scheduling problem of such BESS consists in allocating portions of its power and energy capacity to achieve different technical objectives, such as the dispatch of the active power demand of the feeder and the provision of primary frequency regulation power to the upper grid layer. Although the proposed framework can be adapted to maximise the revenue coming from providing difference ancillary services in a price-taking setting (as shown in Appendix A), it is formulated with the objective of maximising the capacity of providing ancillary services. The reason for this is that the price taking assumption is not scalable with the number of units participating in the markets. In other words, if many units were to participate in the ancillary services market, an open-loop price signal would not be representative of their aggregated reaction. Recent works in [mohsenian2016coordinated] and [mohsenian2016optimal] addresses the problem of decision making for battery systems in a price-setting context, but they solely focus on energy arbitrage, whereas we consider multiple simultaneous services.

Specifically, we focus on the problem of jointly dispatching the operation of an active distribution feeder and provide primary frequency regulation. We provide first a formulation of a general control framework for the provision of multiple simultaneous grid services via BESSs, i.e. a formulation that is agnostic to the services that are provided. This solution does not require coordination mechanisms with other resources or with the upper grid layer nor an extensive communication infrastructure and can be considered as a bottom-up approach to augment the ability of BESSs to provide useful services to the grid. The proposed control has two time layers: (i) a period-ahead and (ii) a real-time one. In the first, we solve an optimization problem that allocates a power and an energy budgets to each considered service. This is done to maximize the exploitation of the BESS energy capacity and ensure continuous operation by managing the BESS stored energy. In the real-time stage, the power setpoints needed for each service are computed independently and superimposed. Based on such general framework, we describe then a BESS control scheme for dispatching the operation of a distribution feeder, such as in [sossan2016achieving] and for primary frequency regulation. We show the performance of this control both in simulations and via experimental results obtained by implementing the proposed framework to control a grid-connected 560 kWh/720kVA BESS. The contributions of the paper, with respect to the existing literature are:

  • the formulation of a complete algorithmic toolchain to control a BESS in order to provide multiple services simultaneously. This framework differs from the existing literature in: i) the generic formulation of the scheduling problem, ii) the technical rather than revenue-driven control objective, iii) the consideration of the stochastic behaviour of the services deployment (due to the uncertainties in the forecast of the feeder prosumption as well as in the energy needed to perform PFR) and exploitation of robust optimization techniques to hedge against uncertainty and achieve reliable real-time operation (similarly to [kazemi2017operation]).

  • the formulation of a control strategy to manage a BESS connected within a MV feeder, together with a set of heterogeneous resources (loads and PV generations), in order to dispatch the operation of the same feeder and exploit the remaining capacity to provide PFR.

  • the experimental validation of the proposed control tool-chain, providing solid empirical evidences on the applicability, actionability, and performance of the proposed scheduling and control algorithms. In the best of the Authors’ knowledge, this is the first work providing such experimental validation for a BESS control scheme considering multiple simultaneous services.

The paper is organised as follows. Section II proposes the general formulation of the control problem of providing multiple services simultaneously via a BESS. Section III casts the proposed framework in the specific context of the provision of power for dispatching the operation of an active distribution feeder and for primary frequency regulation (PFR). Section IV presents results, obtained both via simulations and experiments, that validates the proposed framework. Finally, Section V summarizes the original contributions and main outcomes of the paper and proposes directions for further research.

Ii Problem formulation

We consider the problem of scheduling the operation of a BESS with energy capacity and maximum power , for a time window . During each time window, the BESS provides services, each denoted by the subscript . Let and denote the power and energy budgets necessary to provide the service in the incoming time window .

Each service is characterized by an energy budget and a power budget . These are the shares of the BESS energy capacity and power necessary along the time window to deploy the service . and are computed before the time window of interest and are function of exogeneous input quantities denoted by (forecasts) and of a set of decision variables denoted by . We formulate an optimization problem to determine the decision vector (and hence the power and energy budgets and for ) such that the exploitation of the BESS energy capacity is maximised. The power and energy budgets and necessary for each service are functions of a set of tunable control parameters (composing the decision vector of the scheduling problem and hereafter denoted by ) as well as of variables modelling the uncertainty of the operating conditions related to each service (hereafter ). The dependency of and on is introduced to account for the fact that the deployment of the considered services need to be ensured in the occurrence of any scenario of their power demand (practical examples are provided in Section III). We formulate an optimization problem to determine the value of decision vector (and hence the power and energy budgets and for ) that maximizes the portion of BESS energy capacity made available for the provision of the services in . We discretize the window of duration in time intervals steps of duration , each denoted by the subscript , with . Formally, the power budget of the service at time step is denoted and is defined as the interval of the expected power values that the service could require at . These are between the minimum and maximummaximum negative and maximum positive expected power realizations for that service, namely in the interval . The power budget along a time period is defined as the sequence of such intervals:


Similarly, the application will require an energy budget


An example of energy and power budets is reported in Fig. 1.

Figure 1: Example of (a) power and (b) energy budgets for a service .

The set of widths of such energy budget trajectory is defined as:


Moreover, we define the operation of sum of budgets of different services (using energy budget as example) as1:


The problem of providing multiple concurrent services with a BESS, while ensuring feasible operation can now be formulated in generic terms. We seek to maximise the set of widths of the energy budget resulting from the sum of the energy budgets with , within a given time window , while respecting the BESS power and energy capabilities. The resulting decision problem is:


subject to:


It is worth noting that it is possible to have a different objective function while exploiting the same framework presented here. In Appendix A, two variations seeking respectively the maximisation of the economical revenue and simple feasibility of operation are shown.

Iii Concurrent dispatch of a MV distribution feeder and primary frequency control

The scheme proposed in Section II is now applied to control a BESS to dispatch of a MV distribution feeder and to provide PFR to the grid. We have observed that the battery capacity needed to dispatch a MV feeder as in [sossan2016achieving] depends on the uncertainty of the forecast of the connected stochastic resources (loads and stochastic distributed generation). Whereas in some cases the battery capacity is barely sufficient to achieve this goal, in others a considerable portion of the battery capacity remains unutilized when the uncertainty of the prosumption forecast is small.

The choice of PFR as a second stacked service is because i) large ramping duties of BESSs accomodate the increased demand for fast regulating power in power systems with a high penetration of production from renewables and ii) PFR is a “power intensive” application and is well-suited to be coupled with the dispatch service, which is instead “energy intensive”.

Iii-a Day-ahead problem formulation

We want to operate a grid-connected BESS to dispatch the active power flow of a MV distribution system with heterogeneous resources, as in [sossan2016achieving], while providing also primary frequency regulation to the grid. Figure 2 shows the main features of this setup.



Figure 2: Schematic of the experimental setup. The notation of the power flows refers to the real-time control described in section III-B.

The operation is performed over a T=24 hour period and planned every day for the next calendar day. Following the formulation presented in Section II, we first define the power and energy budgets for the dispatch and PFR, namely , , and . Based on these budgets, we formulate an optimization problem as in (5)-(7).

Power and energy budgets

The dispatch service requires the battery to compensate for the mismatch between the aggregated prosumers power flow (denoted by ) and a pre-established dispatch plan , defined at 5-minutes resolution. The dispatch plan is the sum of two terms: the forecasted power profile of the feeder prosumption, and an offset power profile, , computed to keep the BESS stored energy within proper limits:


We obtain, with a forecasting tool from the literature [sossan2016achieving], the daily forecasted profile of the feeder prosumption as well as the deviations from the forecasted profile in the highest and lowest demand scenarios, denoted by and . The maximum and minimum positive and negative BESS power requirements for the dispatch service are therefore defined as the sum over of the offset power and of and , respectively. With respect to the general definitions of and given Section II, the terms and are input quantities (i.e. are in ) whereas the offset power is a decision variable, determined by the optimization problem defined hereafter (i.e. is in ). The power budget is therefore defined as:


The associated energy budget is:


with .

The primary frequency regulation service requires the battery to provide a power proportional to the deviation of the frequency from its nominal value [xu2014bess], with a proportionality coefficient hereafter denoted by :


The unit of measurement of is kW/Hz. and it defines the PFR regulating power. The coefficient (in kW/Hz) determinates the PFR regulating power. The instantaneous requested power cannot be forecasted since frequency deviations are difficult to predict. Therefore, the power budget required by this application will correspond to a constant profile, equal to the maximum power that frequency regulation may require. Since grid codes typically require complete activation of primary reserves for frequency deviations of more than 200 mHz [xu2014bess], the power budget can be defined as:


Where is the all-one vector of length . The energy budget necessary to ensure feasible operation for this service within a given time interval can be inferred statistically. In particular, we examined grid frequency data of the European grid from the last 2 years. Data have been collected by a PMU-based metering system installed on the EPFL campus [pignati2015real]. Since frequency regulation requires the injection of a power , the energy required by the grid during a given time window is:


for and where denotes the integral of frequency deviations over a period of time and it is to be interpreted as the energy content of the signal given by the frequency deviation from its nominal value. The upper and lower bounds for for can be inferred from a statistical analysis of historical frequency deviation time-series (reported in Appendix B). These are defined hereafter as and . With regard to the general definitions of and given in Section II, the terms , (as well as in (12)) are input quantities (i.e. are in ) whereas is a decision variable, determined by the optimization problem defined hereafter (i.e. is in ). The energy budget for frequency regulation is then defined as:


Decision problem formulation

relying on the definitions given in Section II, it is and and the objective function in (5), corresponds therefore to:


Since is the only control variable in the expression above, the objective to maximize in (5) reduces to maximizing , subject to (6)(7). The problem (5)-(7) is as:


subject to:


By expressing explicitly the dependency of the power and energy budgets on the parameters and control variables, the problem (16)-(18) becomes:


subject to:


with .

Determination of to include the BESS efficiency

The notion of battery round-trip efficiency is incorporated in the decision problem (19)-(23) with an empirical two-stage approach by enforcing conservative limits for the battery stored energy. This process is explained in the following. First, the problem (19)-(23) is solved implementing the nominal battery state-of-energy limits (i.e. and ). Second, the following finite impulse response model [sossan2016achieving, fortenbacher2017optimal]:


where is the total power injected or absorbed by the BESS at time and the BESS efficiency, is used to model the stored energy of a non ideal BESS for the set of simulation scenarios presented in Section IV-A. The energy stored at the end of each day in a BESS modeled as ideal () and non ideal (2) are compared and the largest difference over the all set of simulations is used to impose a conservative bound to the minimum stored energy constraint (21). For example, in the case proposed in Section IV-A, the largest difference is 4% of , therefore we adopt . It is worth noting that this approach allows to define the energy budgets independently for each service and sum them as in (15). In other words, it achieves a separation of concerns between services, which can be designed independently from each other and stacked together at the end of the process. Also, it is worth noting that the round-trip efficiency of modern Li-ion based BESS is generally above 90% [qian2011high, castillo2014grid, fortenbacher2014modeling]. An accurate investigation of the modelling errors, considering also less efficient storage technologies (like fuel cells), is postponed to future works.

Iii-B Real-time control

The proposed algorithm consists in solving a planning problem for the next calendar day of operation, determining the values of the coefficient and of the offset profile and in a real-time control problem. The latter is not the main contribution of the present work, however it is summarized hereafter and illustrated in Figure 3 for the sake of clarity.



Figure 3: Scheme of the BESS real-time control

The real-time control determines the battery active power setpoint with 1-second resolution. In the following, the index denotes the 1-second resolution time interval. is the algebraic sum of the setpoints and determined respectively for the dispatch and the PFR by two independent control loops:


The power setpoint is to compensate the tracking error , which is the difference between the objectve feeder power (from the dispatch plan, with 5 minutes resolution) and the mean deviation from this value within the 5 minutes interval. This deviation is the sum of two terms. The first is the mean of the feeder power measurements in the instants from the beginning of the current 5-minutes period and present, filtered out of the power requests due to the PFR, . The second is a short-term forecast of the load over the remaining five minutes interval:


The expression above is an energy objective over a 5 minutes horizon and the power setpoint to respect it is therefore defined as:


The power setpoint for the frequency regulation is calulated as:


In order to comply with the constraints imposed by the day-ahead policy, both setpoints are constrained within saturation tresholds, which are, notably, equal to for and for . The latter threshold is set such that the dispatch can require, istantaneously, all the power not reserved by the frequency regulation. It remains, nevertheless, that the dispatch power averaged over a 5 minutes period is expected to remain between or .

Figure 4: Simulation results of 31 consecutive days of operation. Blue line: BESS stored energy; Grey area: total daily energy budget ; Black dashed lines: bounds of the daily energy budget reserved to the dispatching service ; red dots: daily values of (referred to the right-hand y-axis).

Iv Results

The proposed planning and control strategy has been validated by simulations and experiments in a real-life grid.

The goal of this validation effort is double. The simulations demonstrate the effectiveness of the proposed control architecture in the determination of the coefficient and of the offset profile . The values found for such quantities allow to maximise the battery exploitation, while respecting the battery operational limits and therefore allowing for the continuous operation for a month. The experimental results validate the assumptions made in the control design and in the simulations and demonstrate the practical relevance and deployability of the proposed control architecture.

Both simulations and experiments are based on a setup with a 560 kWh/720 kVA Lithium-ion BESS installed at the EPFL campus in Lausanne, Switzerland, and connected to a 20 kV medium voltage feeder. The feeder interfaces 5 office buildings (300 kW global peak demand) and rooftop PV installations (90 kWp). Both historical data used in the simulations and real-time measurements of the power flows and grid frequency are obtained via a PMU-based metering system [pignati2015real].

Iv-a Simulations

Thirty-one consecutive days of operation are simulated. These 31 days are characterised by different initial SOE values3, ranging from 12% to 90%, and determined by the operation of the previous days (the first day of the simulation the initial SOE has been set to 35%).

Figure 4 reports the profile of the energy stored the battery along the 31 days and the daily energy budget for the dispatching service and the total daily energy budget (), calculated as a function the stochastic forecasting model of the demand and frequency (i.e. on the basis of ). Figure 4 shows as well the values assumed daily by . It can be observed that the total daily energy budgets (grey areas) hit the BESS operational limits (SOE=5% and SOE=100%) in all days except for day 10, 14, 16, 20 and 21. This denotes that the day-ahead planning problem is able to schedule efficiently the offset profile and the value to exploit the full battery energy capacity accounting for the stochastic behaviour of frequency and demand. On the other hand, in the five days mentioned above, the grey area exceeds the SOE limits. This is because the uncertainity related to the demand (reflected by the sequences and ) prevents the feasibility of problem (16)-(18). In such days, the solution of (16)-(18) provides an equal to zero, i.e. no frequency regulation is performed. In all cases, the activated constraint in the solution of (16)-(18) has been the one on the energy budget sum.

Quantitative results from the simulations are collected in Table II: is the daily initial SOE in percentage, the daily coefficient for PFR in kW/Hz, the mean value of the offset profile and the overall SOE variation during the day due to the simultaneous deployment of the two services. Table II shows the average, maximum and minimum values of such quantities over the 31 days simulation period. The average daily value of is of 216.6 kW/Hz. This corresponds to the provision of up to 43 kW for PFR (considering  = 200 mHz). In comparison to the work by the same Authors in [sossan2016achieving], where the control of the BESS aims exclusively at dispatching the operation of a MV feeder, we are able to provide power both for the dispatch and for PFR, while still ensuring the respect of the BESS operational constraints. This is done by taking advantage of the BESS capacity that remains unexploited by the dispatching operation, due to the daily variation of the uncertainty set of the prosumption defined by for . The black dashed lines in Figure 4 delimit the energy budget reserved to the dispatching service . The width of this budget in days characterized by low uncertainty in the feeder prosumption forecast (e.g. days 5 or 17) is rather narrow and the unexploited battery capacity is therefore allocated to provide PFR (a high value of is found). In days in which such uncertainty is high (e.g. days 18 to 20) almost all (or more than all) the battery capacity is needed to perform the dispatch, resulting in a very wide and in a very low value of .

[%] [kW/Hz] [kW] [%] [%]
Mean 50.8 216.6 0.5 37.4 64.9
Max 90.3 455.7 10.0 61.6 90.7
Min 12.5 0.0 -9.3 12.4 36.0
Table II: Simulation results
Figure 5: Experimental results, left: day 1, right: day 2. Upper plots - feeder power profiles. Thick grey line: dispatch plan, red line: feeder prosumption, dashed black line: feeder real power (excluded the PFR power injection), blue line: feeder real power (with the PFR). Middle plots - BESS power injection. Lower plots - BESS SOE evolution.

Iv-B Experimental validation

The described algorithm has been implemented in the controller of the 560 kWh/720 kVA Lithium-ion BESS. The results of 2 days of experiments are reported in this section.

Figure 5 shows the power and SOE profiles for two days of operation, an intra-week day and a weekend day (hereafter referred to as Day 1 and Day 2). Numerical results are summarized in Table III and Table IV. In Day 1, the day-ahead optimization procedure has determined a value of of 584 kW/Hz and an offset power of 0.84 kW on average. In Day 2, the has been found equal to 127 kW/Hz and the average offset power equal to -0.56 kW. These values of allow to exploit a portion of the battery capacity that would remain unexploited when providing power only to dispatch the operation of the MV feeder, as in[sossan2016achieving]. In this case, the maximum amplitude of the energy budget that needs to be reserved for the dispatch, calculated as in (10) on the basis of the upper and lower worst case scenarios of the feeder prosumption ( and , with ), is of about the 54% of the BESS nominal capacity for Day 1 and of about the 10% for Day 2. The remaining capacity is fully exploited by the PFR application, thanks to the computation of a proper value of , by means of (16)-(18).

Table IV collects the relevant metrics to evaluate the performance of the dispatch application when performed in conjunction with frequency regulation, i.e. the mean, RMS and maximum absolute values of the tracking error in these two days. The RMS value of the tracking error is about 0.5 kW over a feeder prosumption of about 130 kW on average.

[%] [kW/Hz] [kW] [%] [%]
Day 1 40 584 0.84 24 40
Day 2 47 127 -0.56 40 53
Table III: Experimental Results
Day 1 -0.03 0.52 4.45
Day 2 0.02 0.5 6.83
Table IV: Dispatch performance metrics (in kW)

We note that, in both these two days, the energy demand for the two applications has been of opposite sign. For istance, in Day 1 the daily energy requested for the dispatch operation is of about 89 kWh, whereas the average power requested for the frequency regulation is of  kWh. The simultaneous deployment of these two services in this case generates a SOE drift that is lower than the one the dispatch alone would generate. It is worth noting that, when simultaneously providing multiple services, the saturation (or depletion) of the battery energy capacity would occur only if the power requests of all services corresponded to the upper (or lower) bounds of their budgets. If the uncertain processes related to the services are uncorrelated, as in the case of the dispatch and frequency regulation, the occurrence of this condition is reduced. Providing multiple services simultaneously, in this regard, may ensure more reliable operation, in the sense that failure due to complete depletion or saturation of the battery capacity would be less likely to occur. The downside of this is of course that an eventual failure would be more deleterious since multiple services would stop at once. This could be addressed by implementing strategies to prioritize the services in contingency situations, e.g. by selecting, before hitting the operational limits, which service is to drop and which to maintain.

V Conclusion

We have proposed an algorithm to schedule and control the operation of a battery energy storage system to provide multiple services simultaneously. Its objective is maximising the battery capacity exploitation in the presence of variable and stochastic energy and power requirements.

The proposed control consists in two phases. First, in the operation-scheduling phase the portion of battery power and energy capability to be allocated for each service is determined. This is accomplished by an optimization that takes into account the uncertainty in the forecasted power and energy requirements of each service. Second, in the real-time phase the different services are deployed by injecting in the grid a real power corresponding to the sum of the power setpoints of the individual services.

The algorithm is first formulated in generic terms and then casted to the case of providing BESS power to simultaneously dispatch the active power flow of a distribution network and provide primary frequency regulation to the grid. For these two services the power and energy budgets are modelled in the planning problem by predictions delivered by forecasting tools. The solution of the operation-scheduling optimization problem provide, on a daily basis, the droop coefficient that allows for the maximum frequency regulating capacitythe maximum value of the PFR regulating power that can be deployed while respecting the battery operational constraints. It provides moreover the offset profile, i.e. the power needed, on a daily basis to restore the stored energy to a level that ensures continuous operation.

The proposed control scheme is validated by simulations and experimentally. Simulations are obtained by applying the proposed scheme to a set of load and frequency data measured on-site and corresponding to one month of operation. Simulation results show that the proposed scheme does ensure continuous operation and does determine the maximum possible frequency regulating power that can be provided in conjunction to the dispatch application. Experiments are performed on a real-life grid by using a grid-connected 560 kWh/720 kVA lithium titanate BESS, connected to a medium voltage grid interfacing a set of office buildings and PV generating units. Results from 2 days of operations are shown and demonstrate the deployability of the proposed control scheme. In these two days of operation, a regulating power up to 117 and 25 kW respectively can be provided on top of the dispatch operation. The latter is performed with a RMS tracking error of about 0.5 kW.

Future works concern the development of contingency strategies to prioritize the services if the battery reaches its operational limits and an evaluation of the proposed control scheme applied to time horizons of different duration (e.g. intra-day, hourly operation).

Appendix A Economic optimization and feasibility problems

The objective of the cost function (5) is maximising the battery energy capacity exploited during a period of operation T. The same framework can be exploited to optimise the BESS operation considering different objectives. For instance, one could seek the value of that maximises the economical benefit of providing multiple concurrent services via an optimization function such as:


subject to (6), (7) and:


where is the revenue that the application can generate in period T, and is a function of the energy and power budgets reserved for that service. Similarly, if the objective is simply to find a value for that ensures feasible operation, one could write:


subject to (6) (7).

Appendix B Computation of BESS energy needs for PFR

The terms and are computed on the basis of a statistical analysis of past data from the last two years of frequency deviations and assuming that the BESS under control does not influence the future frequency deviation. First, the daily profiles composed by have been calculated from hystorical data, by integrating the frequency deviations measured in a set of 24 h periods. The mean and variance of such values have then been computed for all . It can be observed that the set of values is close to normally distributed for any instant . A Chi-square goodness-of-fit test on the dataset does in fact not reject the null hypothesis at the 5% significance level. In Fig. 6, it is shown that the normal probability plot of the values assumed for (i.e. at the end of the 24 hours). We then define and for all as a function of the mean value and the standard deviation as

Figure 6: Normal probability plot of .

to have a 95% confidence level that the realization of will lie between and . Similarly, we can define and for any other confidence level.


Emil Namor received the M.Sc. in electrical engineering from the University of Padova, Italy, and the M.Sc. in engineering from the Ecole Centrale de Lille in 2014. Since 2015, he is enrolled as a Ph.D. student at the Distributed Electrical Systems Laboratory at EPFL, Switzerland. His main research interest are modeling and control of battery storage systems.

Fabrizio Sossan is an Italian citizen and was born in Genova in 1985. He got his M.Sc. in Computer Engineering from the University of Genova in 2010, and, in 2014, the Ph.D. in Electrical Engineering from DTU, Denmark. Since 2015, he is a postdoctoral fellow at the Distributed Electrical Systems Laboratory at EPFL, Switzerland. In 2017, he has been a visiting scholar at NREL, Colorado, US. His main research interest are modeling and optimization applied to power system.

Rachid Cherkaoui (M’05–SM’07) received the M.Sc. and Ph.D. degrees in electrical engineering from the École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland, in 1983 and 1992, respectively. He is currently a Senior Scientist with EPFL, leading the Power Systems Group. He has authored or co-authored over 100 scientific publications. His current research interests include electricity market deregulation, distributed generation and storage, and power system vulnerability mitigation. Dr. Cherkaoui was a member of CIGRE TF and WG. He is a member of technical program committees of various conferences. He was the IEEE Swiss Chapter Officer from 2005 to 2011.

Mario Paolone (M07-SM10) received the M.Sc. (with Hons.) and Ph.D. degrees in electrical engineering from the University of Bologna, Bologna, Italy, in 1998 and 2002, respectively. In 2005, he was appointed as an Assistant Professor in power systems with the University of Bologna, where he was with the Power Systems Laboratory until 2011. In 2010, he received the Associate Professor eligibility from the Polytechnic of Milan, Italy. Since 2011, he joined the Swiss Federal Institute of Technology, Lausanne, Switzerland, where he is currently Full Professor, Chair of the Distributed Electrical Systems Laboratory, and Head of the Swiss Competence Center for Energy Research Future Swiss Electrical infrastructure. He has authored or co-authored over 230 scientific papers published in reviewed journals and international conferences. His current research interests include power systems with particular reference to real-time monitoring and operation, power system protections, power systems dynamics, and power system transients. Dr. Paolone was the Co-Chairperson of the Technical Program Committees of the 9th edition of the International Conference of Power Systems Transients (2009) and the 2016 Power Systems Computation Conference. He is the Chair of the Technical Program Committee of the 2018 Power Systems Computation Conference. In 2013, he was a recipient of the IEEE EMC Society Technical Achievement Award. He has co-authored several papers that received the following awards: the Best IEEE Trans. on Electromagnetic Compatibility Paper Award in 2017, the Best Paper Award at the 13th International Conference on Probabilistic Methods Applied to Power Systems, Durham, U.K., in 2014, the Basil Papadias Best Paper Award at the 2013 IEEE PowerTech, Grenoble, France, and the Best Paper Award at the International Universities Power Engineering Conference in 2008. He is the Editor-in-Chief of the journal Sustainable Energy, Grids and Networks (Elsevier) and an Associate Editor of the IEEE Trans. on Industrial Informatics.


  1. Eq. (4) can be interpreted as the computation of the overall energy budget within required by all services .
  2. the value of has been determined experimentally for the 560 kWh/720 kVA BESS used in this work.
  3. The SOE is here defined as the amount of stored energy normalized over the BESS nominal energy capacity .
Comments 0
Request Comment
You are adding the first comment!
How to quickly get a good reply:
  • Give credit where it’s due by listing out the positive aspects of a paper before getting into which changes should be made.
  • Be specific in your critique, and provide supporting evidence with appropriate references to substantiate general statements.
  • Your comment should inspire ideas to flow and help the author improves the paper.

The better we are at sharing our knowledge with each other, the faster we move forward.
The feedback must be of minimum 40 characters and the title a minimum of 5 characters
Add comment
Loading ...
This is a comment super asjknd jkasnjk adsnkj
The feedback must be of minumum 40 characters
The feedback must be of minumum 40 characters

You are asking your first question!
How to quickly get a good answer:
  • Keep your question short and to the point
  • Check for grammar or spelling errors.
  • Phrase it like a question
Test description