 Research
 Open Access
 Published:
Scaling: managing a large number of distributed battery energy storage systems
Energy Informatics volume 1, Article number: 20 (2018)
Abstract
This paper analyzes the management of a large number of distributed battery energy storage systems (BESSs) by a energy utility in order to provide some market services. A heuristic algorithm based on two parts is proposed for this task. The first part, the aggregation, combines the abilities and behavior of the fleet of BESS into a virtual power plant (VPP) by a concise but flexible model. This VPP can be used by the utility as they are used to with traditional power plants. The second part, the disaggregation, distributes VPP control schedules back to the individual BESS by a greedy firstfit decreasing heuristic.
The management of a fleet of BESS can also be modeled as a mathematical linear optimization program. The proposed heuristic is compared to and evaluated against this global optimization regarding computational performance and quality of results. It is shown, that the heuristic provides a remarkable speedup when applied to larger number of units. With it, it is possible to handle a group of at least 100,000 individual BESS. Further, the quality of the results are shown. First, the solution of the heuristic is compared to the optimal one of the mathematical program. Second, the methods are both applied and compared in a realistic case study.
Background
In most deregulated electricity market environments, the active management of distributed energy resources, here referred to as active demand and supply (ADS) units, is commonly regarded as becoming increasingly important to manage. There are some types of ADS units, which can be managed in a similar way as traditional power plants (e.g. large cooling facilities). However, the management of relatively small and distributed ADS units is different: First, it is well known that the isolated management of such individual ADS units is seldom meaningful. This is because the economic potential of electric energy and grid services of such units does not justify their management effort. Second, the central control of many diverse ADS units in an aggregated way is also troublesome to ensure various local constraints and computational efficiency.
The presented work here is done within the scope of a project which addresses this problem, named Scaling ADS Management to large Swarms (ScaleADS). The goal of the project ScaleADS is to enable the management of more than 100,000; heterogeneous ADS units. Therefore, the project focuses on making existing techniques applicable here, that is, providing adequate scaling of scheduling methods. The idea is to construct a virtual power plant (VPP) representing the electrical and thermal flexibilities of the fleet of ADS units. Thus, only the necessary information shall be considered and aggregated. Such a VPP shall be used by energy utilities in a similar way as they are used to with traditional power plants. Then, the VPP can be optimized together with the pool of other power plants for providing various services and obligations. For an example, the utility may foresee that its balance group gets short in energy and to provide this energy by the ADS VPP instead of using other plants or balancing markets. Such a methodology requires apart from an aggregation part a complementary disaggregation of the flexibility requests of the VPP to the individual ADS units.
In other words, four phases are needed in this project. (1), a preprocessing constructing the VPP out of the ADS units by identifying the combined flexibility (aggregation). (2), the capabilities of the VPP are exploited by the energy utility for its specific needs. Then (3), a postprocessing is necessary to distribute a VPP schedule/requests back to the ADS units (disaggregation) and finally (4), the ADS units are to be controlled to follow their individual schedules.
This paper analyzes one part of this problem, the management of a large number of distributed battery energy storage systems (BESSs), as one type of ADS units, for the phases 1–3. The major contribution of this paper is to propose and analyze a methodology able to do that. The framework is based on a concise but flexible model for the behavior of the fleet of BESS units for the aggregation part, and a greedy firstfit decreasing heuristic for the disaggregation phase. This methodology is evaluated regarding its computational performance and quality of solution in a realistic setting. Further, it is compared to concepts typically applied in such contexts, which is solving a mathematical linear optimization program.
Related research The management of BESS can be considered to be similar to the field of hydro power scheduling, especially for pumped hydro without natural water inflows. There, the research has matured and many concepts are available, e.g. as reviewed in Wallace and Fleten (2003); Labadie (2004) and Yamin (2004). The concepts were also applied and mildly adapted specifically to the management of BESS, as in Mégel et al. (2013); Koller et al. (2013) and Galus et al. (2013). Compared to hydro power, BESS have a higher power to energy ratio. Therefore, the time scales are different, e.g. models for BESS consider time steps of minutes for time horizon of a few days whereas for hydro power plants it is hours for a few years. Mathematically, such differences are not relevant: by representing each BESS as one hydro reservoir with associated plant, the ideas from the scheduling of hydro power plants can be also applied to the management of BESS. Roughly, the computational complexity of such models are driven either by the number of time steps and/or the number of state variables (number of BESS / hydro reservoirs respectively). Different mathematical techniques are available which can mitigate these complications. Whereas number of time steps are similar, the number of state variables are not, with maximally a few dozens state variables in hydro scheduling problems compared to 100,000 in the BESS problem addressed in the context here. Therefore, these techniques are not well applicable.
There are also a few general methodologies for the modeling of ADS and their aggregation proposed. They are obviously based either on energy quantities (Geidl and Andersson 2007), power quantities (Heussen et al. 2010) or specifically for modeling demand side flexibility (Barth et al. 2018). These concepts would also allow storage abilities, but this is not their primary focus.
Further, many smart grid applications deal with some storage ability, see Fang et al. (2012); Oldewurtel et al. (2013); Haider et al. (2016) for an overview of the developments there. The research about the integration of distributed BESS systems in the low and medium voltage grids is as well academically advanced, with a good overview given in Fortenbacher (2017). Finally, in Nosratabadi et al. (2017), research about the concept of VPP for dealing with distributed ADS is reviewed.
Despite having a large amount of relevant research available, most of these works consider only a modest number of maximally a few thousands ADS and/or BESS units. There, mathematical programming can handle BESS individually without aggregation, or, as in Asamov and Powell (2015), some aggregation or decomposition is performed but the number of manageable systems is too low to be applicable here.
Another relevant line of research is the one of cosimulation processes. The problem of controlling heterogeneous ADS units or BESS can be modeled with the help of agents interacting in some environment (e.g. Steinbrink et al. (2018); Schütte and Sonnenschein (2012); Basso et al. (2015)). A major feature of such frameworks is the handling and coordination of communication among the agents. Such aspects are responsible for a considerable part of the computational effort needed there. Since agents’ communication is not important in the context here, such frameworks are not well applicable. This is, since the handling of a large amount of BESS requires an as efficient approach as possible and, therefore, a custommade framework is introduced here.
A fourth line of mentionable research is the one dealing with scaling issues. It seems that simple heuristics can deal well with the management of large number of devices, as long as the implementation of the algorithms are kept efficient. For example, in Petersen et al. (2014) and Barth and Wagner (2018), 100,000 respectively 10,000 deferrable electrical loads are scheduled for balancing and/or peak shaving. Both authors suggest using greedy algorithms. They provide good results in acceptable computation time. This is also in line with what is presented in the paper here, although a completely different setup with BESS is analyzed.
As an alternative to the concepts presented in this paper, it would be also possible to cluster the fleet of ADS units in some way. Then, the total number of units is reduced and concepts mentioned earlier are applicable. This clustering can be done by some common attribute (e.g. type of BESS), spatial proximity and others (see e.g. ?Sim4Blocks2018a ()).
The paper is organized as follows: the next section presents the basic optimization problem. Then, the proposed aggregation and disaggregation algorithms are described. Finally, after explaining the physical setup of the case study, the proposed concepts are evaluated regarding optimality and computational performance.
Global optimization problem
The problem considered in this paper consists of the management of a large number of independent BESS. The goal of this management can be manifold. Here in this paper for the purpose of evaluating the concepts, the optimal deployment of the BESS in a dayahead and intraday energy market is considered. Dayahead and intraday markets are modeled as one aggregated time series of quarterofanhour prices. This single time series is possibly updated each quarterofanhour. Reasons for that can be for instances changes in the intraday market offers, when new market information change the predictions of future dayahead prices or after a dayahead market clearing. This price time series is given by external providers and its construction and analysis is outside of the scope of this paper.
Given such a single time series of market prices π_{1},…,π_{T}, the problem reduces to deploy all the individual BESS most profitably within this market of nonoverlapping products; in other words, charging “when the price is low” and discharging “when the price is high”:
The objective of this deterministic optimization problem sums up all charging and discharging control decisions for the time horizon T and n_{bess} number of BESS units. The evolution of the state of charge (SoC) SoC^{b}(t) for each discretized time point t and BESS unit b is handled in (1a). To facilitate the notation, SoC variables are assumed to be energy quantities, that is in units of MWh, whereas charging and discharging power variables P_{char/dischar} denote power quantities in MW respectively. Note that the charging and discharging efficiencies \(\eta ^{b}_{char},\eta ^{b}_{dischar}\) remain constant for each BESS unit and are not depending on the SoC. Therefore, the model remains linear. The problem is bounded by the individual SoC and charging/discharging power limits in (1b) and (1d) respectively. The variable bounds (1c) define starting and end SoCs. The starting SoC is given as the current individual SoC of the BESS \(SoC^{b}_{start}\). In order to ensure high flexibility at the end of the time horizon and to make comparisons between the different algorithms easier, the ending SoC of each BESS is bounded to 50% of its energy capacity, that is to be charged half full.
Note that in problem (1), all BESS devices are independent of each other. This would allow to optimize each BESS individually. Then, problem (1) could be solved centrally as a series of small optimization problems in parallel. This can be computationally advantageous if memory is limited or distributed computational resources are available. As it will be shown later, memory is not an issue here. However, distributed computational resources are available since each BESS could solve its own management problem. For problem (1) this would be possible by sending each BESS the market price signal π_{1},…,π_{T}. This would require more intelligence at each BESS instead of having the computational effort mostly centrally, but this is manageable.
Anyways, as mentioned earlier and discussed later, the business case in this project is to have the fleet of BESS represented as a single VPP. This VPP should be usable as one equal power plant among other traditional ones owned by an energy utility. In such a context, the BESS are not independent anymore but have to be coordinated in some way.
The linear model (1) can be solved quite efficiently by standard linear programming solvers in polynomial time. However, given a large number of around 100,000 BESS, together with a meaningful time horizon of a day and a time step of a few minutes, there are easily dozens of millions variables and constraints. For such classes of problems, even pure data handling can become an issue if not done in a proper way.
When managing thousands of distributed small BESSs, it is clear that there are many aspects subject to uncertainty. This issue can be approached via extending the model (1) with the introduction of some stochasticity, e.g. by concepts from stochastic control. On the other hand, it seems to be questionable, if it is even required to solve the simple problem (1) to optimality or if such an approach is rather excessive and computationally inefficient. The next section discusses an alternative concept, which will approach the management of the fleet of BESS differently via simple heuristics.
Proposed heuristic algorithm
Instead of making an already difficult to solve optimization problem (1) even more complex, another approach is proposed here: The fleet of BESS is aggregated to a simple VPP model where it is clear that many aspects are simplified. In return, the optimized schedule of the VPP is disaggregated to the individual BESS in a similar tolerant way.
Despite that, a good controlling performance may still be achieved. This is, because the entire process has to be repeated anyways continuously based on updated market information. Therefore, similar ideas in what is known as model predictive control in the control community can be applied here.
Next, the aggregation with the proposed VPP model is explained, followed by the complementary iterative heuristic for the disaggregation. The whole framework with both aggregation and disaggregation is shown later in the section about the case study.
Aggregation: building the VPP model
Before doing an aggregation, it is important to examine the available information. In line with the setup and business case of the overall ScaleADS project, the following information are known or are measured by each individual BESS and are available centrally (see also (1)) for constructing the VPP:

maximum BESS energy storage size SoC^{b,max},

maximum charging and discharging power \(P_{char/dischar}^{b,max}\),

charging and discharging efficiencies \(\eta _{char/dischar}^{b}\), and,

current SoC: \(SoC^{b}(t=1)=SoC^{b}_{start}\).
Whereas the first three information are constant parameters of the BESS, the last information, the current SoC \(SoC^{b}_{start}\), is updated from time to time. Note that in the model here no further aspects of BESS are considered, e.g. battery degradation due to cycling etc..
The proposed model of the VPP of the fleet of BESS is a modified “super”BESS with the following parameters:

VPP BESS energy storage size and current SoC:
$$ SoC^{vpp,max} = \sum\limits_{b=1}^{n_{bess}} SoC^{b,max},\; SoC^{vpp}_{start} = \sum\limits_{b=1}^{n_{bess}} SoC^{b}_{start} $$(2)The energy content for the VPP is simply the sum of the individual ones for each BESS.

maximum charging / discharging power:
$$ P^{vpp,max}_{char/dischar} = \sum\limits_{b=1}^{n_{bess}} P^{b,max}_{char/dischar},\; P^{vpp,now}_{char/dischar} = \sum\limits_{b=1}^{n_{bess}} P^{b,now}_{char/dischar} $$(3)A valid upper bound for the maximum available charging and discharging power for the VPP is the sum for the ones from the BESS. Additionally, for the next time step, with high probability the current available maximum charging and discharging power \(P^{vpp,now}_{char/dischar}\) can be deduced, where \(P^{b,now}_{char/dischar}\) denotes current maximal available charging or discharing power per individual BESS. This entity can be limited by the available SoC to charge or discharge, e.g. when the BESS is too depleted to deliver full discharging power:
$$\begin{array}{*{20}l} P^{b,now}_{char} &= \min \left(P^{b,max}_{char},\frac{SoC^{b,max}  SoC^{b}_{start}}{\eta_{char}^{b} \cdot \Delta t} \right) \\ P^{b,now}_{dischar} &= \min \left(P^{b,max}_{dischar}, \eta_{dischar}^{b}\frac{SoC^{b}_{start}}{\Delta t} \right) \end{array} $$(4)The minimum of two given values are denoted by min(..,..) and Δt is the duration of the time step, in the here considered setup it is 15 min. Note here, that the charging and discharging power as in (1) is assumed to be constant for each individual BESS and also for the VPP for the duration of the time step.

weighted charging and discharging efficiencies:
$$ \eta_{char/dischar}^{vpp}=\frac{1}{P^{vpp,max}_{char/dischar}} \sum\limits_{b=1}^{n_{bess}} P^{b,max}_{char/dischar} \cdot \eta^{b}_{char/dischar} $$(5)The efficiencies are weighted by the associated maximum charging or discharging power as a proxy for the amount an individual BESS contributes to the power delivery of the VPP.

limited charging and discharging power of the VPP:
$$ p^{vpp}_{char/dischar}(t) \le P^{vpp,max}_{char/dischar} \cdot f_{char/dischar}(SoC^{vpp}(t)) $$(6)Since the SoCs of all individual BESS are not homogeneous, some batteries may be full and some depleted, resulting in a reduced charging and discharging power of the VPP: the lower the overall SoC of the VPP, the higher the probability that some batteries may be empty and vice versa. This relationship is modeled here as some function f_{char/dischar} of the SoC of the VPP SoC^{vpp}.
In problem (1), it was assumed that all BESS can be perfectly controlled. Therefore the future evolution of their SoCs can be tracked. This is not possible with the model here. Basically, two important information are lost due to the aggregation: First, about the distribution of charging/discharging power with the energy content of the BESS (heterogeneity of the fleet) and second, about the distribution of the SoC of the individual BESS. Both elements affect the capabilities of the VPP. To illustrate this, see the example of an extreme VPP in Table 1.
In order to address this lost information, Eq. 6 tries to model it in a simple way via the function f_{char/dischar}. This function is not only a parameter of the fleet of BESS, but depends on various aspects:

heterogeneity of the parameters of the BESS (as already discussed and illustrated in Table 1),

control (requested schedule) of the VPP, and,

disaggregation algorithm.
Some examples of this influences and possible functions are shown in Figs. 1 and 3 respectively. One can state, that the more homogeneous the individual BESS are, the more randomly the schedule of the VPP to follow is, and, the “smarter” the disaggregation is performed, the less influence a higher or lower VPP SoC has on the maximum charging or discharging power. As it will be shown in the next section, the performance of the proposed aggregation scheme depends significantly on the choice of this function.
These “super”BESS parameters constructs the VPP BESS model, which can be included directly as a plant to be optimized within a power plant pool optimization of an energy utility. To illustrate its usage and to evaluate its performance, the same setup as in Eq. 1 is followed: the optimization problem of scheduling the VPP most profitable in respect to a single market price process π=π_{1},…,π_{T}:
As noted before, for the function f_{char/dischar}, different models can be meaningful. Later on tested are linear, concave and nonconcave piecewise linear functions. Therefore, in contrast to the optimization problem (1), the model (7) may become a mixedinteger linear program. However note, that the problem is much smaller with having only one set of variables for the single VPP instead of for each BESS b∈{1,…,n_{bess}}.
Disaggregation: firstfit decreasing heuristic
The outcome of an optimization problem like (7) is a policy for charging and discharging of the VPP over some time horizon. From the point of the VPP, this policy defines the production schedule of it, with charging associated to VPP consumption and discharging to production. In order to realize this schedule, a disaggregation of it to send control signals to the individual BESSs is required.
This disaggregation task is a variant of the standard bin packing problem. In the context here, the problem is to choose for the next time step a number of BESS so that the VPP schedule is fulfilled. This task is performed each time step, e.g. each quarter of an hour, with updated SoC for all BESS.
There are a few simplifications to the bin packing problem meaningful: First, because of the high number of BESSs and their relative individual unimportance, the schedule of the VPP does not have to be fulfilled exactly. In the proposed heuristic, this leads to overfulfilling the schedule in the worst case by selecting one BESS too much, e.g. for a homogeneous fleet of 100,000 BESS the maximum error would be 0.01‰. Second, the amount of BESS to choose does not have to be minimized, but rather they should be chosen “in a good way”, so that high capabilities of the VPP remain.
Proposed for the disaggregation is the greedy Algorithm 1, which is based on a firstfit decreasing heuristic: If charging is requested, the list of all BESS are sorted with increasing SoC, and iteratively from this list BESS are selected until the request is fulfilled. If discharging is requested, the same procedure is done but for decreasing SoCs. Such a type of heuristic is natural to be applied and is therefore also proposed by many other authors, e.g. as in Petersen et al. (2014) and Barth and Wagner (2018).
The computational effort in such a disaggregation is, therefore, quite modest with needing to sort once a list and to iterate over a part of it. Despite the modest effort, such a firstfit decreasing heuristic may perform quite well for a bin packing problem with providing a possibly nonoptimal but fast answer. This is also the case here as shown in the next section. Note, that the effort of sorting the list is typically acceptable, since then the BESS are driven towards a homogeneous SoC of around 50%, which allows better exploiting the abilities of the VPP.
Case study
The case study to test and evaluate the proposed algorithms is based on a realistic business case. This is explained next in this section. Further, the cosimulation framework, which mimics the management of the BESS, is introduced and described.
Underlying business case
In the near future, it is not realistic that market environments and regulations may (economically) allow a management of distributed ADS units individually. In order for energy utilities to exploit electrical flexibility of their customers, one option is to manage the ADS units as a single entity, a VPP. In line with the strategy of the industry partner in this project, the business case motivating this paper is as follows: Supporting utilities in the management of distributed BESSs.
The BESSs are installed in the low and medium voltage electricity grid out of various reasons (e.g. peak shaving etc.). All BESSs can be controlled centrally, but individual BESS may have local constraints. The BESSs can be controlled by forcing them to charge or discharge. As it is typically the case with controllable BESS, the local storage management system prevents invalid operation of individual BESS. Therefore, while it is not guaranteed that all BESS follow their control signals, the centralized control is not responsible for safe operation of individual BESS. The BESSs shall be used in the available energy markets, that is primarily dayahead and intraday energy power markets. Further, the methodology should allow a management of at least 100,000 entities of BESS, in order to be futureproof and to allow for further complications of it.
Note that although BESS would allow usage for grid stabilization services (e.g. frequency containment reserves etc.), this is not regarded here. Additionally, BESS in households are not considered although the concepts would be applicable for them as well and its evaluation is left for future work.
The VPP shall be used in a pool optimization of the energy utility together with other traditional power plants. There are multiple possible usages there, e.g. fulfilling load obligations with least costs, managing foreseeable balance group deviations, operations in the intraday market etc.. Note that for such purposes the quantity of energy or power to distribute among the plant is given. Therefore, the single BESS cannot be operated individually but must be coordinated.
The main aim of the case study in this paper is the analysis of possible aggregation schemes for the fleet of BESSs and disaggregation of the VPP requests back to the BESSs. Communication to and from the BESSs is realized via a central database. The realization of the control signals within the BESSs, management of the VPP and interfaces to the power markets are not discussed further in this paper.
Cosimulation framework to allow the evaluation of different strategies
In order to test the performance of the aggregation and disaggregation concepts, a simulation of the overall system is required. For this, a cosimulation framework is proposed, consisting of the following interacting simulators:

of each individual BESS and its operation, and

of the operation of the VPP, that is how an energy utility would use the VPP in the power markets.
Such a cosimulation framework allows to mimic a realistic usage of the fleet of BESSs by a utility with one of the proposed concepts. This custommade framework with its middleware for the simulators and interfaces to external data providers accounts for most of the coding work, whereas the actual aggregation and disaggregation algorithms do not contribute much.
The main computational burden is supposed to be happen centrally, that is the processing of the information coming from the BESS and the calculation of their control signals. Overall computation time should not exceed more than a couple of minutes, in order to be able to deal with typical market lead times of 15 min and to allow for future complications of the models.
All simulations are performed with a basic time step of 5 min. The course of it is illustrated in Algorithm 2 if based on the global optimization (1) and Algorithm 3 for the proposed heuristic. All calculations are performed on a standard notebook and for solving linear or mixedinteger problems the solver CPLEX 12.8 was used.
Evaluation
There are two fundamental analysis needed to evaluate the different concepts. (1), using the optimization and/or heuristic once for scheduling the fleet of BESS for a given deterministic time horizon. (2), managing the BESS by executing the algorithms repetitively in a simulation with receding horizon and applying each time only the first control decisions.
For the first analysis, the computational complexity of the algorithms are investigated. Then, it is analyzed, how well the heuristic approximate the global optimization problem (1). In order to do so, different models for the function f_{char/dischar} are introduced for the heuristic.
For the second analysis, the algorithms are tested if they perform well if applied for managing the BESS in a one week simulation.
Computational complexity: scaling of the algorithms
One motivation of using heuristics in this paper is their computational efficiency. At first, it may seem to be quite ambitious to try to beat the performance of solving a linear problem with a custom made heuristic and implementation. However, when dealing with a large number of variables even simple calculations can become troublesome and a heuristic meaningful when it is implementable in a computationally efficient way.
In Fig. 2, the computational effort is compared with the global optimization approach for increasing number of BESS. A speedup of more than 10 can be achieved with the heuristic. Within a time frame of 15 min this would allow a consideration of 100,000 BESS while still having some slack time allowing further complications of the model. Note here that all computations were performed on a standard laptop and parallelization was not used so far for the heuristic.
Approximating the global optimization problem (1)
As described earlier and shown in Fig. 1, one property of the fleet of BESSs is the relationship of VPP SoC versus its charging and discharging abilities. This property is important for approximating the global optimization problem (1). In the proposed heuristic, it is described as some function f_{char/dischar} in (6). The idea here is to consider this function as some kind of tuning parameter which has to be adapted based on the experience when applying the algorithms to a specific case. Shown here are a few promising candidates for this function in Fig. 3.
Each candidate is based on a different model, either based on modifying variable bounds or based on a linear, concave piecewise linear or nonconcave piecewise linear model. The concrete parameters for each of the candidate were chosen to meet the behavior of the case study.
Only the model of the fifth candidate complicates the VPP model by introducing mixedinteger variables. The problem remains small and the mixedinteger variables are within a special ordered set. Nevertheless, it turns out that is not easy to close the optimization gap fast but a few minutes are required. One reason could be that the problem is not much constrained so that it is not clear to the solver “where” to look for good solutions. But note that this may change if the problem is incorporated in a bigger optimization problem.
The global optimization problem (1) can be solved to optimality which is the baseline for the evaluation here. The setup is as follows:

simulation for one day of 24 h;

given market price signal, with perfect foresight of 24 h;

370 different BESS, which are typical for the considered business case, are considered;

only one single optimization is performed, that is, calculated control schedules are tried to be applied for the full 24h.
Table 2 shows a comparison of the achieved profits for the heuristics with different f_{char/dischar} models with the one from the optimal solution of the global optimization problem. Additionally, Fig. 4 illustrates the evolution of the VPP SoC and the violations when individual BESS can not follow the control. One can state that the more complicated the model is, the better the optimization problem is approximated. The nonconcave piecewise linear model leads to a quite impressive approximation with having a difference from the optimal value of only 6%. But also the concave piecewise linear model, which avoids complicating the optimization problem, is less than 10% from the optimal value. Further note, that although the heuristic 2 shows a poor performance, it could be still a good model. This is, since only the first control actions are to be implemented and therefore, avoiding overestimation of charging and discharging abilities could be valuable.
Performance for managing a fleet of BESS
The analysis so far did not answer the question if the different candidates are well applicable in managing the fleet of BESS. For this, the procedures for the cosimulation in Algorithms 2 and 3 are performed with the setup as before with following modifications:

simulation for one week, \(\mathcal {T}=7\) days;

receding optimization time horizon of 24 h.
Such a simulation in style of a model predictive control algorithm leads to solving repetitively optimization problems, in this case 672 loops in the cosimulation algorithm procedures. There is a perfect foresight of 24 h modeled, therefore, the deterministic global optimization problem in (1) still can be used as a baseline for all the other algorithms. However note in practice with some involved stochasticity, such a deterministic optimization may overfit.
Table 3 shows the result of this simulation. The results are mixed. On the one hand, one can argue that there is a certain tradeoff between optimality and robustness, either high revenue or low violations in the control. Depending on the setup, the violations have to be met with some sort of expensive balancing power making a more robust algorithm more valuable. On the other hand, the heuristic without any f_{char/dischar} modeled performed quite well. This may hint towards that too much effort in modeling an already substantially simplified VPP is not worth the effort. Bottomline, one can state that some of the heuristics achieve remarkable results within 90% of optimality.
Conclusions
In this paper, a methodology was proposed in order to allow the managing of a large number of BESS by an energy utility. First, an aggregation of capabilities of the BESS into a VPP is performed. The behavior of the fleet of BESS is modeled by a function relating SoC of the VPP with its charging and discharging ability. It was shown, that this function has to be adapted to the specific set of BESS (heterogeneity), the control of the VPP and how this control is distributed among the individual BESS. This disaggregation was proposed to be done by a firstfit decreasing heuristic.
The different concepts were analyzed and evaluated by a cosimulation framework. This allows to test them by interacting simulators of each individual BESS and of how an energy utility could schedule a VPP within energy markets. As a benchmark for most comparisons, the problem was also modeled as a large linear mathematical program. The evaluation analyzed first the computational complexity of the methods. It was shown, that the proposed concepts provide a speedup of at least 10 compared to solving the linear program. This allows to manage more than 100,000 individual BESS within a time frame of 15 min. Then, it was shown how well the heuristics approximate the optimization problem. Depending on the considered model a difference to the optimal value of around 5–15% was achieved. Finally, a simulation for time horizon of one week illustrated the usage of the concepts. The heuristics achieved a performance within around 90% of optimality. So it is confirmed, that the methodology to model the problem in a simplified way and solve this problem via heuristics provides an effective and pragmatic way in managing distributed BESS. Further, its computational efficiency and scaling properties makes it an interesting candidate for managing a very large number of BESS where linear programs are not applicable.
Abbreviations
 ADS:

Active demand and supply
 BESS:

Battery energy storage system
 ScaleADS:

Scaling ADS management to large swarms
 SoC:

State of charge
 VPP:

Virtual power plant
References
Asamov, T, Powell WB (2015) Regularized Decomposition of HighDimensional Multistage Stochastic Programs with Markov Uncertainty. ArXiv eprints. https://doi.org/1505.02227.
Barth, L, Ludwig N, Mengelkamp E, Staudt P (2018) A comprehensive modelling framework for demand side flexibility in smart grids. Comput Sci  Res Dev 33(1):13–23. https://doi.org/10.1007/s004500170343x.
Barth, L, Wagner D (2018) Exploiting flexibility in smart grids at scale. Comput Sci  Res Dev 33(1):185–191. https://doi.org/10.1007/s0045001703574.
Basso, G, Ferrez P, Gabioud D, Roduit P (2015) An extensible simulator for dynamic control of residential area: Case study on heating control In: 18th Euromicro Conference on Digital Systems Design (DSD 2015), 486–493.. Funchal, Portugal.
Factsheet Project Sim4Blocks. www.sim4blocks.eu/wpcontent/uploads/2018/01/sim4blocks_infographicFactsheet7.21.pdf. Accessed Aug 2018.
Fang, X, Misra S, Xue G, Yang D (2012) Smart grid: The new and improved power grid: A survey. IEEE Commun Surv Tutorials 14(4):944–980. https://doi.org/10.1109/SURV.2011.101911.00087.
Fortenbacher, P (2017) On the integration of distributed battery storage in low voltage grids. PhD thesis, ETH Zurich (2017). Dissertation. No. 24039. https://doi.org/10.3929/ethza010863263.
Galus, MD, Vayá MG, Krause T, Andersson G (2013) The role of electric vehicles in smart grids. Wiley Interdiscip Rev Energy Environ 2(4):384–400. https://doi.org/10.1002/wene.56.
Geidl, M, Andersson G (2007) Optimal power flow of multiple energy carriers. IEEE Trans Power Syst 22(1):145–155. https://doi.org/10.1109/TPWRS.2006.888988.
Haider, HT, See OH, Elmenreich W (2016) A review of residential demand response of smart grid. Renew Sust Energ Rev 59:166–178. https://doi.org/10.1016/j.rser.2016.01.016.
Heussen, K, Koch S, Ulbig A, Andersson G (2010) Energy storage in power system operation: The power nodes modeling framework In: 2010 IEEE PES Innovative Smart Grid Technologies Conference Europe (ISGT Europe), 1–8. https://doi.org/10.1109/ISGTEUROPE.2010.5638865.
Koller, M, Borsche T, Ulbig A, Andersson G (2013) Defining a degradation cost function for optimal control of a battery energy storage system In: 2013 IEEE Grenoble Conference, 1–6.
Labadie, JW (2004) Optimal operation of multireservoir systems: Stateoftheart review. J Water Resour Plan Manag 130(2):93–111.
Mégel, O, Mathieu JL, Andersson G (2013) Maximizing the potential of energy storage to provide fast frequency control In: IEEE PES ISGT Europe 2013, 1–5. https://doi.org/10.1109/ISGTEurope.2013.6695380.
Nosratabadi, SM, Hooshmand RA, Gholipour E (2017) A comprehensive review on microgrid and virtual power plant concepts employed for distributed energy resources scheduling in power systems. Renew Sust Energ Rev 67:341–363. https://doi.org/10.1016/j.rser.2016.09.025.
Oldewurtel, F, Borsche T, Bucher M, Fortenbacher P, Vaya MG, Haring T, Mathieu JL, Mégel O, Vrettos E, Andersson G (2013) A framework for and assessment of demand response and energy storage in power systems In: 2013 IREP Symposium Bulk Power System Dynamics and Control  IX Optimization, Security and Control of the Emerging Power Grid, 1–24. https://doi.org/10.1109/IREP.2013.6629419.
Petersen, MK, Hansen LH, Bendtsen J, Edlund K, Stoustrup J (2014) Heuristic optimization for the discrete virtual power plant dispatch problem. IEEE Trans Smart Grid 5(6):2910–2918. https://doi.org/10.1109/TSG.2014.2336261.
Schütte, S, Sonnenschein M (2012) Mosaik  Scalable Smart Grid Scenario Specification In: Winter Simulation Conference 2012, Berlin.
Steinbrink, C, van der Meer AA, Cvetkovic M, Babazadeh D, Rohjans S, Palensky P, Lehnhoff S (2018) Smart grid cosimulation with mosaik and hla: a comparison study. Comput Sci  Res Dev 33(1):135–143. https://doi.org/10.1007/s004500170379y.
Wallace, SW, Fleten SE (2003) Stochastic programming models in energy. In: Ruszczynski A Shapiro A (eds)Stochastic Programming. Handbooks in Operations Research and Management Science, vol. 10, 637–677.. Elsevier Sciences.
Yamin, HY (2004) Review on methods of generation scheduling in electric power systems. Electr Power Syst Res 69(2–3):227–248.
Funding
Publication costs for this article were sponsored by the Smart Energy Showcases  Digital Agenda for the Energy Transition (SINTEG) programme. The research presented in this paper is funded and supported by Innosuisse  Swiss Innovation Agency and Misurio AG.
Availability of data and materials
The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.
About this Supplement
This article has been published as part of Energy Informatics Volume 1 Supplement 1, 2018: Proceedings of the 7th DACH+ Conference on Energy Informatics. The full contents of the supplement are available online at https://energyinformatics.springeropen.com/articles/supplements/volume1supplement1.
Author information
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Additional information
Author’s contributions
HA developed and analyzed the proposed methodology presented here based on first ideas from LE. LE and KW supported the work by given their practical insights and by constructive challenging the concepts. RS supported the project academically and contributed in writing the manuscript. All authors read and approved the final manuscript.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Abgottspon, H., Schumann, R., Epiney, L. et al. Scaling: managing a large number of distributed battery energy storage systems. Energy Inform 1, 20 (2018) doi:10.1186/s4216201800235
Published
DOI
Keywords
 Scaling
 Algorithms
 Suboptimal control
 Distributed battery energy storage systems
 Scheduling