Next Article in Journal
HKUST-1 as a Positive Electrode Material for Supercapattery
Next Article in Special Issue
Leveraging Artificial Intelligence to Bolster the Energy Sector in Smart Cities: A Literature Review
Previous Article in Journal
Multidisciplinary Design Automation of Electric Motors—Systematic Literature Review and Methodological Framework
Previous Article in Special Issue
The Risks and Challenges of Electric Vehicle Integration into Smart Cities
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Power Cloud Framework for Prosumer Aggregation to Unlock End-User Flexibility

1
Creta Energie Speciali Srl, 87036 Rende, Italy
2
Department of Mechanical, Energy and Management Engineering, University of Calabria, 87036 Rende, Italy
*
Author to whom correspondence should be addressed.
Energies 2023, 16(20), 7071; https://doi.org/10.3390/en16207071
Submission received: 2 August 2023 / Revised: 29 September 2023 / Accepted: 11 October 2023 / Published: 12 October 2023
(This article belongs to the Special Issue Application and Management of Smart Energy for Smart Cities)

Abstract

:
The behind-the-meter technologies integrating “all-in-one” photovoltaic plants, storage systems, and other technological solutions can transform consumers into active prosumages to both reduce their energy costs and provide flexibility to the grid. To exploit those flexibility services, it is necessary to manage the end-users in an aggregated form. End-user aggregation is currently becoming a suitable solution to manage energy flows to obtain environmental, economic, and social benefits. In this scope, the paper presents an algorithm to opportunely manage the energy flows inside this aggregation operating in a Power Cloud framework. The algorithm schedules the energy flows that the end-user storage systems must exchange inside the aggregation to maximize the use of renewable sources, provide grid flexibility services, and simultaneously provide balancing services. The algorithm is organized into three different steps: the day-ahead step, the real-time step, and the balancing one. Some simulation results are illustrated to demonstrate the effectiveness of the proposed algorithm.

1. Introduction

The widespread presence of both prosumers and prosumages (a prosumage is a prosumer integrating a storage system) allows the implementation of several solutions to reduce the cost of energy and to provide grid flexibility services in the energy transition scenario.
There are some studies in the literature that provide analysis concerning the participation of end-user aggregation in providing services to the transmission or distribution grids. In [1], the authors introduce the concept of a distributed resource aggregator, which is an active part of the distribution system that enables small resources to participate in the electricity market, providing ancillary services. In this framework, the aggregator covers the role of a system coordinator. In [2,3], the aggregation of electric vehicles (EVs) to provide ancillary services in the presence of V2G (vehicle-to-grid) charging stations is considered. In particular, in [2], real-time EV charging controllers allowing participation in the ancillary services markets have been implemented. One of the parameters utilized is the charging efficiency. In [3], the EV aggregations provide a secondary frequency response considering the EV user’s preferences.
The management of the aggregation to reduce congestion and provide flexibility using distributed energy resources is also an important issue. In [4], a heuristic dispatching approach is used. In [5], distributed resources are involved in providing voltage support and optimizing real-time operations in the distribution and transmission networks.
The aggregation can provide services to the grid both using storage systems and by opportunely managing the loads in real-time or scheduling them in advance. In [6,7,8], home appliances are considered flexible resources to provide services to the grid if they are required; algorithms to manage them in real-time for a 24-hour time horizon are also implemented. This operating mode can lead to modifying the users’ habits or, in any case, can require the user’s interaction, often leading to the impossibility of providing flexible services with the possibility of penalties for the aggregator, as in [9]. On the contrary, if energy storage systems (ESSs) are used, several features can be carried out without requiring users’ interaction [10,11].
In [12], a review of the different management models of storage systems is carried out. It is highlighted how, among the different dispatching domains, between financial and technical, the financial one is the most requested and used by users who require greater profits. On the contrary, the technical ones are most requested by network operators. In the model that will be discussed in this paper, a technical approach has been considered, but without neglecting the financial one, considering the earning possibilities for the users themselves that will interact with the grid operator. Different from other methods, this one considers both users and grid necessities.
In [13], an energy management system for the minimization of the daily cost of energy and the maximization of self-consumption for a community microgrid is discussed. It is shown how the participation of a community microgrid allows it to have significant economic benefits. Such benefits are also increased using a peer-to-peer (P2P) mechanism.
In [14], a two-stage approach is proposed to manage a community, allowing separate energy management operations and economic aspects; they show that in the French framework, the user’s bill savings belonging to the community are 10% more convenient compared to the users not belonging to the community.
In [15], an examination of the possible aggregation of users and how they can be managed is performed. Among the different models, the flexibility of aggregation has been introduced. Since market access is difficult for small consumers, the implementation of aggregations allows them to access the market and, at the same time, provide flexible services to the grid.
In [16], an energy management approach is presented. The main characteristic is that it is based both on a minimization cost algorithm and, at the same time, integrates a demand-side approach.
In [17], an energy management strategy that uses fuzzy logic to allocate electricity to hydrogen storage and electricity storage is proposed. It is applied to a near-zero-energy community. The proposed multi-objective optimization strategy allows for a percentage greater than 80% of renewable energy. In [18], an aggregation of users is considered, and an approach to managing the internal microgrids is presented. In particular, the internal aspects, from different points of view—market, environmental, and economic—are examined. In this energy management strategy, a dispatchable biomass plant is considered to increase flexibility.
To provide flexibility services, it is necessary to forecast the available flexibility. The purpose of [19] is to predict the flexibility of a local energy community (LEC), so the use of power consumption of controllable loads is useful to this aim. Such available flexibility was predicted using a particular artificial neural network (ANN).

1.1. Contribution of the Paper

This paper, starting from the concept of Power Cloud [20] and its related advantages, proposes an algorithm to opportunely manage the energy flows inside an end-user aggregation from day-ahead to real-time. The Power Cloud concept is a solution to facilitate the integration of distributed renewable energy systems with new environmentally friendly and smart enabling technologies for final end-user active participation. Specifically, distributed flexibility resources, such as storage systems, are managed to maximize the use of RES and provide transmission system operator (TSO) and/or distribution system operator (DSO) ancillary services. At this scope, EVs may also be easily introduced into the algorithm as other flexibility resources, like those considered by the authors in [21].
The proposed algorithm is organized in three steps: the day-ahead step, the real-time step, and the balancing one. The first one determines the charge/discharge of storage systems present in the aggregation to maximize the renewable energy prosumers/prosumages self-consumption using forecasted hourly production and consumption. A reference power profile is determined to exchange with the grid. The second one determines in real-time how to modify that profile if flexibility services are required by the TSO/DSO, and in the last step, the third one, to compensate for errors in forecasting production and/or consumption. Differently from [22,23], where particular bidding and optimization strategies are proposed to work in real-time in the reserve market, the proposed algorithm operates in a deterministic way under the existing electricity market rules.
The implemented algorithm is divided into steps that can operate separately, and one of its advantages is that it does not strictly need field communication among and with end-users to operate. Indeed, if some communication problems occur, it keeps working, still guaranteeing acceptable results; only the balancing action needs measurements from the field. Another advantage is that the algorithm can be implemented on a management platform with relatively low computational efforts if the platform that enables the exchange of data, mainly the charge/discharge of the storage systems between the aggregator and end-users, is blockchain-based in order to assure transparency, immutability, and security [20].

1.2. Structure of the Paper

This paper is structured in four sections. After a summary of the principal issue to be faced, Section 2 describes some aspects concerning end-user aggregation. Section 3 and Section 4 describe, respectively, the day-ahead and real-time steps of the proposed algorithm, with a specific focus on the balancing one. In Section 5, a case study and the related simulation results are illustrated and discussed.

2. Technical and Economic Issues of Power Cloud Management Model

The end-user aggregations are new energy management models to produce, consume, and share energy in the Power Cloud framework as proposed in [20]. The end-users virtually operate within a geographical local perimeter to reduce the energy exchange outside the aggregation and maximize its economic, environmental, and social benefits.
To allow them to achieve those benefits, the implementation of the proposed algorithm must consider the electricity and energy market framework and its rules.
For most of the structure of the electricity markets in Europe, it is necessary to define in advance the energy schedule for both injected and absorbed power, the so-defined day-ahead schedule of the exchanged power. Specifically, in the presence of renewable energy sources, it is necessary to schedule their production.
At the same time, considering that the ESSs are the most important resources to provide grid flexibility services [20], it is necessary to define in advance the flexibility schedule that they can offer. It is equally important to have a day-ahead schedule of the power that the ESSs may exchange to maximize the use of the energy produced by renewable sources.
To this purpose, two issues must be faced: the first is the use of accurate consumption and production forecasting algorithms to evaluate a reliable power profile schedule and avoid power imbalances between the scheduled and real power profiles; the second is to have reliable measures from the field in terms of the power produced by all renewable energy sources, absorbed by the loads, exchanged with the grid and with the ESS, and the state of charge (SOC) of the ESSs.
For the first issue, there are several studies that correlate the positive effect of forecasting models with imbalance charges [21]. In this paper, the forecasting algorithm described in [24] is used to forecast PV power production. Moreover, the balancing step is introduced to compensate for possible forecasting errors that may occur and to avoid charges for not having fulfilled the undertaken commitments.
For the second issue, although the above-mentioned measures do not intervene in the day-ahead step, they become necessary in the balancing step. For this reason, the use of a smart meter with a small measurement time range (from minutes up to a few seconds) is assumed.

3. Power Cloud Day Ahead Energy Management Algorithm

The aim of the proposed algorithm is the optimal use of renewable energy source generation inside an end-user aggregation in a Power Cloud framework, with the possibility of providing grid flexibility services. The management algorithm consists of a three-step algorithm. The first step is the day-ahead step (DA), which receives as input the consumption and production forecasts, as well as the forecasts of the ESS SOC. It provides the scheduling of power and the availability of flexibility services, sharing both the surplus and deficit of energy among the end-users equipped with the ESSs. Starting from the DA results, the real-time algorithm (RTA) is processed. It considers the flexibility requests sent by the grid operator, and it operates for each hour using the results of the first step, changing the scheduled power profile. In this step, the flexibility services, determined by the availability of ESS, are offered, processed, and executed. In the end, based on the real measures of the exchanged power and of the storage system parameters, the third step, the balancing step, operates in real time to reduce any imbalance between the scheduled power profile and the real one.

3.1. Day-Ahead Step

The day-ahead step operations are illustrated in Figure 1. It consists of many functions that are carried out, one in sequence to the next, starting from the forecasting of production and consumption for the single users, aggregating them until the exchange of battery profiles and the availability to provide services to the grid are calculated. Such operations are represented by different equations that are reported below.
Let us consider an aggregation of n end-users: n p is the number of end-users equipped with a PV plant, n c is the number of consumers, and n s is the number of end-users equipped with an ESS.
Starting from n p hourly energy production forecasts ( E p , h f , u ) and n c hourly energy consumption forecasts   ( E c , h f , u ) , the aggregated hourly energy consumption and production forecasts, respectively, E c , h f a n d   E p , h f , are obtained.
E c , h f = u = 1 n c E c , h f , u
E p , h f = u = 1 n c E p , h f , u
The exchange energy profile with the grid for each end-user ( E e x , h f , u ) and for the aggregation ( E e x , h f ) can be obtained as the difference between production and consumption.
E e x , h f , u = E p , h f , u E c , h f , u
E e x , h f = E p , h f E c , h f
Using the rated capacity of each ESS and their SOC forecast for the last hour of the day before ( S o C 24 f , u ), the energy that can be stored in the ESS for each end-user ( E a v , c h f , u ) and for the aggregation ( E a v , c h f ) is determined.
E a v , c h f , u = C u · 1 S o C 24 f , u
where C u is the capacity for each ESS.
The hourly energy surplus ( E s u r , h f , u ) and deficit ( E d e f , h f , u ) for the day ahead are determined for each end-user.
E s u r , h f , u = E p , h f , u E c , h f , u                         i f     E p , h f , u E c , h f , u > 0
E d e f , h f , u = E c , h f , u E p , h f , u                         i f     E p , h f , u E c , h f , u < 0
At the same time, the daily energy surplus ( E s u r , d f , u ) for each end-user and for the aggregation is obtained ( E s u r , d f ) .
E s u r , d f , u = h ( E p , h f , u E c , h f , u )           i f     E p , h f , u E c , h f , u > 0
E s u r , d f = u = 1 n E s u r , d f , u
Similarly, the energy deficit for each end-user ( E d e f , d f , u ) and for the aggregation ( E d e f , d f ) can be determined.
E d e f , d f , u = h ( E c , h f , u E p , h f , u )           i f     E p , h f , u E c , h f , u < 0
E d e f , d f = u = 1 n E d e f , d f , u
Once such variables have been determined, at this point, it is necessary to calculate opportune distribution coefficients to maximize the amount of energy to be shared among the n end-users. These distribution coefficients ( F d u ) are determined starting from E a v , c h f , u , referred to each end-user equipped with an ESS. Defining E a v , c h f the overall available charging energy for the aggregation, F d u is determined as the ratio between E a v , c h f , u and E a v , c h f .
E a v , c h f = u = 1 n E a v , c h f , u
F d u = E a v , c h f , u E a v , c h f
An example of F d u calculation is reported in Figure 2. Five different end-users equipped with ESS are considered. The ESSs have different SOCs and capacities. The values of F d u are determined and reported.
Such distribution coefficients are used to determine the energy that each end-user u has to store during the following day ( E c r g , d f , u ); it will be function both of E s u r , d f and of E a v , c h f , u . It is defined as:
E c r g , d f , u = min F d u · E s u r , d f ,   E a v , c h f , u             u a g g r e g a t i o n
Once E c r g , d f , u has been calculated, the power profiles that each end-user has to exchange with the ESS are available. The energy profile for the ESS ( E b a t , c h , h f , u ) is obtained considering the distribution coefficient F d u in (11) and the aggregation hourly energy surplus ( E s u r , h f ) if it exists.
E s u r , h f = u ( E p , h f , u E c , h f , u )
w h e r e ,     i f   E s u r , h f ,   E c r g , d , r e s f , u , > 0
E b a t , c h , h f , u = min E s u r , h f · F d u ,   E c r g , d , r e s f , u
where E c r g , d , r e s f , u is calculated iteratively as follows:
E c r g , d , r e s f , u = E c r g , d f , u   f o r   h = 1
E c r g , d , r e s f , u = E c r g , d , r e s f , u E b a t , c h , h f , u     f o r   h > 1
If the hourly aggregate energy production profile is lower than the aggregate consumption energy profile, an energy deficit occurs ( E d e f , h f > 0 ). Thus, the energy that the ESS must supply is calculated ( E b a t , d s , h f , u ) as in (15). Only the load of the end-users equipped with the ESS can be supplied by that ESS. The E b a t , d s , h f , u is determined as the minimum between E d e f , h f , u and the residual energy in the ESS that is useful to supply the load ( E d i s , r e s , h f , u ). Naturally, it can be defined only if the S O C h f , u of the ESS is greater than the minimum admissible value of SOC ( S O C m i n ).
E b a t , d s , h f , u = m i n ( E d e f , h f , u ,   E d i s , r e s , h f , u )
where ,       i f     E c , h f , u E p , h f , u > 0
E d e f , h f , u = E c , h f , u E p , h f , u
a n d   E d e f , h f = u = 1 n E d e f , h f , u
E d i s , r e s , h f , u = ( S O C h f , u S O C m i n ) · C u
S O C h + 1 f , u = S O C h f , u + ( E b a t , c h , h f , u E b a t , d s , h f , u ) / C u
The baseline grid power exchange profile ( E g r i d , h f , u ), with an hourly time step, can be defined for each end-user and for the entire aggregation.
E g r i d , h f , u = E c , h f , u E p , h f , u + E b a t , c h , h f , u E b a t , d s , h f , u
At this point, the flexibility and availability of the single end-user must be estimated. At this scope, a fundamental assumption is that only the reduction of the baseline can be carried out, so the hours where E d e f , h f is greater than zero are considered. The number of hours when E d e f , h f > 0 is calculated ( n d e f ). It is used to determine the hourly energy amount that end-users make available to modify their power profile. Indeed, the available capacity ( E a v , v a r f , u ) to vary the power profile is determined as the difference between S O C 24 f , u , and the SOC under which it is not possible to modify the profile ( S O C m i n , v a r ).
The flexibility availability of the single end-user profile E a v , v a r , h f , u is so determined by comparing the load profile of the single end-user and the ratio between E a v , v a r f , u and n d e f .
The aggregation availability E a v , v a r , h f can be determined as the sum of the availability of the single end-user profiles.
E a v , v a r f , u = S O C 24 f , u S O C m i n , v a r · C u
E a v , v a r , h f , u = min E c , h f , u , E a v , v a r f , u n d e f
E a v , v a r , h f = u = 1 n E a v , v a r , h f , u
After this step, DA can be considered concluded, so both E g r i d , h f , u and E a v , v a r , h f , u are evaluated and can be communicated to the grid operator, representing the interface with the aggregator.

3.2. The Real-Time Algorithm (RTA) Step

The real-time step operation is illustrated in Figure 3.
The results of the DA are used to operate the real-time step (RT). Starting from E a v , v a r , h f , the grid operator can send a flexibility request to the aggregation. Such a request, considering the end-users’ flexibility and availability and the end-user distribution coefficients ( F d , v a r u ), is distributed among the n end-users. The new ESS and grid exchange power profiles ( E b a t , h , v a r f , u ,   E g r i d , h , v a r f , u ) are so calculated for each end-user as follows:
F d , v a r u = E a v , v a r f , u E a v , v a r f
E b a t , h , v a r f , u = E b a t , c h , h f , u E b a t , d s , h f , u E a v , v a r , h f , u
At the end of the process, there is a check to avoid overcharging (SOC > 100%) and overdischarging (less than SOC = 5%) of each ESS.

3.3. Balancing Step (BS)

The previous steps were performed using only the production and consumption forecasts as input. Therefore, it is possible that forecast errors occur, causing corresponding power imbalances and, consequently, significant imbalances in costs. For this issue, the balancing step becomes useful (Figure 4).
The BS considers, first of all, the configuration data (n, n p , n c , n s ) for the aggregation, the measured and forecasted grid power ( P g r i d m , P g r i d , h , v a r f ), the ESS energy ( E b a t , h f , u ), the ESS capacity of the aggregation ( C a g g ). The SOC for the entire aggregation ( S O C a g g ) is determined as the weighted average of the end-users ESSs SOC, considering the capacity as an element to provide such weight. The applied criterion is to store the energy starting from the ESS that has a measured SOC less than the forecasted one and vice versa when a deficit of energy occurs, as described in [25]. First, it can be observed that for the end-users belonging to the aggregation, it is possible to significantly reduce imbalances, thanks also to self-dispatching.
In the balancing step, three main scenarios ‘S’ are analyzed:
-
S1, where the power exchange with the grid is equal to the scheduled one (output of the DA step);
-
S2, where the real grid exchange power profile is less than the scheduled one;
-
S3, where the real grid exchange power profile is greater than the scheduled one.
In the case of S1, no operation is required; the schedule is operated.
In cases S2 and S3, it is necessary to operate to reduce as much as possible the error between the scheduled grid exchange power profile and the real one.
In the case of S2, two different events can occur: in the first event, the actual S O C a g g is greater than the forecasted value; in the second one, it is lower. In this second event, no correction is necessary because a possible operation of the ESS could invalidate the following time steps.
In the first event, instead, the variation in the power that the ESSs have to supply is determined ( P b a t t a g g ).
P b a t t a g g = P b a t , h , v a r f + min P g r i d , h , v a r f P g r i d m , ( S O C a g g S O C h , v a r f ) · C a g g 100  
where P g r i d , h , v a r f and P b a t , h , v a r f are determined, respectively, from E g r i d , h f , u and E b a t , h , v a r f , u considering the constant power during the hour; S O C h , v a r f is the forecasted weighted average SOC for the ESSs of the aggregation.
Similarly, the BS can operate in S3. In this case, the SOC of the aggregation, S O C a g g , is evaluated: if it is equal to 100%, no operation is necessary; if it is less than 100%, the variation in the power that the ESSs have to supply is determined ( P b a t t a g g ) as follows:
P b a t t a g g = P b a t , h , v a r f min P g r i d m P g r i d , h , v a r f , ( 100 S O C a g g ) · C a g g 100  
At the end of the BS, the variation in the power that the ESSs have to supply P b a t t a g g is distributed among the end-users of the aggregation. The power P b a t t a g g can be distributed according to different criteria. The criteria used in the paper is to sort the end-user and distribute according to the difference between the real and the forecasted SOC in a proportional way, prioritizing the ESS that is less charged.

4. Case Study Description and Results

To test the proposed algorithm, a case study has been considered. It consists of 20 residential end-users located in the south of Italy, where 15 of them (from User A to User O) are provided with a PV plant, and 10 (from User A to User J) are also equipped with an ESS. The configuration of each end-user in terms of load, generation, and storage capacity is summarized in Table 1. The end-users are really monitored using a smart meter installed for each end-user.
The forecasted and instantaneous power data have been used for testing the algorithm, considering the month of March 2018.

4.1. DA Test Results

To carry out the test, the S O C m i n , l o a d has been set to 50%, and the   S O C m i n , v a r has been set to 15%.
First, to show how the algorithm operates, a single day is considered. The load and production aggregated power profiles are reported in Table 2. The energy surplus E s u r , d f is equal to 223.5 kWh, while the deficit E d e f , d f is equal to 231.7 kWh.
The parameter S O C 24 f , u is equal to 50% for each ESS of the aggregation. For the considered day, E a v , c h f is equal to 43.5 kWh, determined using Equation (8). In this case, E a v , c h f limits the power that can be stored because E a v , c h f < E s u r , d f .
The distribution coefficients F d u are determined (Table 3) and used to obtain E a v , c h f , u . Therefore, the energy profiles that the ESSs can exchange to be charged and to supply the load are scheduled.
The forecast ESS energy profiles for every end-user are obtained (Figure 5). It is possible to observe that generally, the ESSs are charged in the first part of the day when a surplus exists, and they are discharged in the evening.
Once the day-ahead scheduling has been carried out, the availability of flexibility for the next day can be planned.
First E a v , v a r f , u is determined to obtain the hourly energy profile for each user E a v , v a r , h f , u . Then, the availability to provide flexible services to the grid for the aggregation E a v , v a r , h f is determined using Equation (23). Such variables are reported in Table 4 and Table 5. Starting from such results, it is possible to proceed with the RTA step. It is assumed that there are grid operator flexibility requests for the aggregation (see Table 6). These requests must be distributed among the end-users according to E a v , v a r f , u . Then, using Equation (29), E b a t , h , v a r f , u is obtained (see Table 7).
In Figure 6, for end-user A, the comparison between the ESS power profile scheduled (output of the DA step) and the ESS power profile evaluated in the RTA step is shown. The difference is limited, and the two profiles are comparable.
In the end, the forecasts of the ESSs SOC are determined; their variation depends only on possible forecasting errors.

4.2. BS Results

At the end of the RTA, the BS starts. Firstly, it compares the hourly production and consumption forecasts with the measures (real power values) every 10 min. Starting from the results of DA, the S O C h , v a r f , a g g and the S O C a g g must be determined.
If an error between the forecasted and measured power occurs, it is necessary to verify if such error can be covered by the ESSs.
When an excess of power exists, the BS operates with the aim of storing the excess energy as far as possible, as expressed in Equation (27), while when a deficit occurs, Equation (26) is used.
Once the contribution to the balancing step has been determined, it will be possible to calculate the power that the ESSs have to exchange after such a correction. Thanks to the balancing step, it is possible to significantly reduce the imbalances. Based on the accuracy of the forecasts and the type of day, it is possible to cover more than 60% of the imbalances that would have occurred if the algorithm had not been used.

4.3. Long-Term Performance Analysis

After the results for a single day have been presented to understand the operation of the algorithm, an overall analysis of the results for the considered month is carried out.
The results are discussed, considering three cases:
-
Case A, which is the base case described before;
-
Case B, where S O C m i n , l o a d is decreased to 40%;
-
Case C, where the capacity of the ESSs is increased (50% more than the base case).

4.3.1. Case A

For the considered period, the energy surplus obtained for the entire aggregation is equal to 3629 kWh, while the energy deficit is equal to 6328 kWh.
In the first step of the algorithm, in the day ahead, the energy surplus adsorbed by the ESSs is equal to 1373 kWh, while the energy supplied by the ESSs is equal to 1110 kWh.
The energy stored in the ESSs is about equal to 30% of the aggregation energy surplus; this is due to the limit of the overall ESS capacity and to the possibility of scheduling the ESS in this step until a deep of discharge (DoD) of 50% to supply the load.
On the other hand, the overall availability provided to carry out flexibility services to the grid is equal to 600 kWh, while the grid operator flexibility services actually requested and supplied (unless forecast errors) are equal to 227 kWh, which is 38% of the communicated availability for flexibility services (Figure 7).
In summary, the energy used to carry out services to the grid is about 16.5% of the stored energy surplus; the remaining part, about 83.5%, is scheduled to supply the loads.
Such values obviously depend both on the overall capacity of the ESSs and on the limits imposed on the possibility of being able to discharge the storage system under the defined DoD.

4.3.2. Case B

If S O C m i n , l o a d is decreased (setting it equal to 40%), it can be observed that the energy surplus absorbed in this case by the ESSs is equal to 1512 kWh, while that supplied to the loads is equal to 1318 kWh. The energy stored is approximately equal to 42% of the energy surplus from the aggregation. On the other hand, an overall availability to carry out grid operator flexibility services equal to 433 kWh is provided, while the services requested and provided (unless forecast errors) are equal to 165 kWh, equal to 38% of the availability, which is similar to the previous case (Figure 8). In this case, only 10% of the stored energy surplus is used to provide flexibility.
It is possible to observe that after changing S O C m i n , l o a d , the energy stored and discharged from the ESSs (supplying the load and providing flexibility services) is greater, compared to the previous case.

4.3.3. Case C

The overall capacity of the ESSs is increased to 50% while maintaining the S O C m i n , l o a d equal to 50%. The energy surplus absorbed in this case by the ESSs is equal to 1926 kWh, while the supplied energy is equal to 1547 kWh. The energy stored in the ESSs is equal to 53% of the surplus of the aggregation (Figure 9).
The overall availability to provide grid operator flexibility services is equal to 861 kWh, while the services requested and provided (except for forecast errors) are equal to 325 kWh, or approximately 38% of the available resources.

4.3.4. Summary

To obtain a complete picture, the results obtained in the three different cases are summarized below (Table 8).
Starting from the base case, it is possible to observe how the possibility to supply the loads until a SOC of 40% (CASE B) allows both to supply and store more energy with the ESSs; naturally, it also increases the ESSs capacity, but not proportionally. On the contrary, reducing the minimum SOC to supply the loads to 40% does not allow for more flexibility services, while increasing the ESS capacity makes it possible to increase the amount of energy for flexibility services.
To find a better solution to maximize both energy used to supply the loads and to provide services to the grid, it becomes necessary to combine the correct parameters used, depending on the PV production and the loads.

5. Conclusions

In this paper, an algorithm to opportunely manage the energy flows inside an aggregation operating following the Power Cloud concept has been presented. In this framework, different kinds of users (prosumers, consumers, and prosumages) connected via a public distribution network are aggregated. The main objective was to verify the possibilities of exploiting the flexibility of behind-the-meter technologies integrating “all-in-one” photovoltaic plants, storage systems, and other technological solutions in order to maximize benefits to end-users.
The algorithm schedules the energy that the end-user ESSs must exchange inside the aggregation to maximize the use of renewable sources, provide grid flexibility services, and simultaneously provide balancing services. The algorithm is organized into three different steps: the day-ahead step, the real-time step, and the balancing one.
The first step determines the charge/discharge of storage systems present in the aggregation to maximize renewable energy self-consumption using forecasted hourly production and consumption. A reference power profile is determined to exchange with the grid.
The second one determines in real-time how to modify that profile if flexibility services are required by the TSO or DSO, and the third one compensates for errors in forecasting production and/or consumption.
A test has been implemented to illustrate a real aggregation of 20 end-users, demonstrating the effectiveness of the proposed algorithm in reducing by about 60% the power imbalances that can occur if forecast errors and/or grid flexibility requests exist.
One of the principal characteristics of the proposed algorithm to be highlighted is that it can manage the charge/discharge phases of the ESSs present on the user side in a blind manner for the final user. So, an adequate level of aggregate self-consumption and the ancillary services required by the power system operator are met without any change in user habits. The energy storage systems are used to increase self-consumption and provide real-time grid operator flexibility services.
The main drawback of the proposed algorithm is related to considering some variables (especially power) as deterministic ones while some kind of uncertainty exists, especially in the day-ahead step.
In the future work of the authors, (i) the above-mentioned uncertainty will be considered in order to avoid errors deriving from deterministic assumptions; (ii) a possible improvement in the benefit of the proposed algorithm will be investigated considering the use of an opportune ICT platform, respecting the concept of Power Cloud, able to exchange data among aggregators and end-users in order to increase the end-users advantage from self-consumption and flexibility services delivered to the system without changing their power consumption behavior and habits.

Author Contributions

Conceptualization, P.V.; methodology, P.V., N.S. and A.P.; software, D.M. and P.V.; validation, A.P. and G.B.; formal analysis, A.P. and N.S.; investigation, P.V. and D.M.; resources, N.S.; data curation, G.B.; writing—original draft preparation, P.V.; writing—review and editing, A.P., G.B. and N.S.; visualization, P.V. and D.M.; supervision, A.P.; project administration, N.S.; funding acquisition, D.M. and A.P. All authors have read and agreed to the published version of the manuscript.

Funding

This work was financed by the Italian Ministry of Economic Development (MISE) and the Ministry of Education, University and Research (MIUR) through the National Operational Program for Business and Competitiveness 2014–2020, PON F/050159/01-03/X32, and by the European Union’s Horizon 2020 research and innovation program under grant agreement n° 864283.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

EVElectric vehicle E d e f , d f , u Aggregated daily energy deficit
ECEnergy Community E d e f , d f Aggregated daily energy deficit
ESSEnergy storage System E s u r , h f Aggregated hourly energy surplus
P2PPeer-to-peer E b a t , c h , h f , u Charging Energy profile for the ESS
LECLocal energy community E c r g , d f , u Energy that each user has to store daily
ANNArtificial neural network F d u Surplus distribution factor
SOCState of charge E c r g , d , r e s f , u Daily residual energy that each user has to store
DAADay-ahead algorithm E b a t , d s , h f , u Hourly energy that the user equipped with ESS has to supply
RTAReal-time algorithm E d i s , r e s , h f , u Hourly residual energy in the ESS is useful to supply the load
TSOTransmission system operator S O C m i n , l o a d SOC under that the ESS discharge cannot be scheduled
n p Number of producers E g r i d , h f , u Hourly profile to be exchanged with the grid (baseline)
n c Number of consumers E a v , v a r f , u Daily available capacity to vary the profile
n s Number of end-users equipped with ESS S O C m i n , v a r SOC, under which it is not possible to modify the profile
E p , h f , u Hourly production forecasts for each user E a v , v a r , h f , u Hourly flexibility availability of the single end-user
E c , h f , u Hourly load forecasts for each user n d e f Number of hours where a deficit exists
E c , h f Aggregated hourly consumption forecast E a v , v a r , h f End-users aggregation availability
E p , h f Aggregated hourly production forecast F d , v a r u User availability and the distribution factor
E e x , h f , u Exchange power profile with the grid for each user E b a t , h , v a r f , u New ESS power profiles
E e x , h f Aggregated exchange power profile with the grid E g r i d , h , v a r f , u New grid power profiles
S o C 24 f , u SOC forecast for the last hour of the day before C a g g Aggregated ESS capacity
E a v , c h f , u Energy that can be stored in the ESSs for each user S O C a g g SOC for the entire aggregation
E a v , c h f Aggregated energy that can be stored in the ESSs P g r i d m Measured grid power
C u Capacity for each ESS P g r i d , h , v a r f Forecasted grid power
E s u r , h f , u Hourly energy surplus for each user P b a t t a g g Aggregated power variation that ESSs have to supply
E d e f , h f , u Hourly energy deficit for each user P b a t , h , v a r f Forecasted ESS power
E s u r , d f , u Daily energy surplus for each user S O C h , v a r f , a g g Forecasted weighted average SOC for aggregation ESSs
E s u r , d f Aggregated daily energy surplusV2GVehicle to Grid

References

  1. Lesniak, A.; Chudy, D.; Dzikowski, R. Modelling of Distributed Resource Aggregation for the Provision of Ancillary Services. Energies 2020, 13, 4598. [Google Scholar] [CrossRef]
  2. Wenzel, G.; Negrete-Pincetic, M.; Olivares, D.E.; MacDonald, J.; Callaway, D.S. Real-time charging strategies for an electric vehicle aggregator to provide ancillary services. IEEE Trans. Smart Grid 2017, 9, 5141–5151. [Google Scholar] [CrossRef]
  3. Clairand, J.M. Participation of electric vehicle aggregators in ancillary services considering users’ preferences. Sustainability 2020, 12, 8. [Google Scholar] [CrossRef]
  4. Edmunds, C.; Elders, I.; Galloway, S.; Stephen, B.; Postnikov, A.; Varga, L.; Hu, Y.; Kipouros, T. Congestion management with aggregated delivery of flexibility using distributed energy resources. In Proceedings of the 2020 6th IEEE International Energy Conference (ENERGYCon), Tunis, Tunisia, 28 September–1 October 2020; pp. 616–620. [Google Scholar]
  5. Karagiannopoulos, S.; Mylonas, C.; Aristidou, P.; Hug, G. Active distribution grids providing voltage support: The swiss case. IEEE Trans. Smart Grid 2020, 12, 268–278. [Google Scholar] [CrossRef]
  6. Lezama, F.; Soares, J.; Canizes, B.; Vale, Z. Flexibility management model of home appliances to support DSO requests in smart grids. Sustain. Cities Soc. 2020, 55, 102048. [Google Scholar] [CrossRef]
  7. Lipari, G.; Del Rosario, G.; Corchero, C.; Ponci, F.; Monti, A. A real-time commercial aggregator for distributed energy resources flexibility management. Sustain. Energy Grids Netw. 2018, 15, 63–75. [Google Scholar] [CrossRef]
  8. Henríquez, R.; Wenzel, G.; Olivares, D.E.; Negrete-Pincetic, M. Participation of demand response aggregators in electricity markets: Optimal portfolio management. IEEE Trans. Smart Grid 2017, 9, 4861–4871. [Google Scholar] [CrossRef]
  9. Roos, A.; Ottesen, S.Ø.; Bolkesjø, T.F. Modeling consumer flexibility of an aggregator participating in the wholesale power market and the regulation capacity market. Energy Procedia 2014, 58, 79–86. [Google Scholar] [CrossRef]
  10. Kumar, G.V.; Palanisamy, K. A Review of Energy Storage Participation for Ancillary Services in a Microgrid Environment. Inventions 2020, 5, 63. [Google Scholar] [CrossRef]
  11. Agbonaye, O.; Keatley, P.; Huang, Y.; Bani-Mustafa, M.; Ademulegun, O.O.; Hewitt, N. Value of demand flexibility for providing ancillary services: A case for social housing in the Irish DS3 market. Util. Policy 2020, 67, 101130. [Google Scholar] [CrossRef]
  12. Yang, Y.; Bremner, S.; Menictas, C.; Kay, M. Modelling and optimal energy management for battery energy storage systems in renewable energy systems: A review. Renew. Sustain. Energy Rev. 2022, 167, 112671. [Google Scholar] [CrossRef]
  13. Elkazaz, M.H.; Sumner, M.; Pholboon, S.; Thomas, D. A Peer to Peer Energy Management System for Community Microgrids in The Presence of Renewable Energy and Storage Systems. In Proceedings of the 10th International Conference on Power Electronics, Machines and Drives (PEMD 2020), Online, 15–17 December 2020. [Google Scholar]
  14. Mustika, A.D.; Rigo-Mariani, R.; Debusschere, V.; Pachurka, A. A two-stage management strategy for the optimal operation and billing in an energy community with collective self-consumption. Appl. Energy 2022, 310, 118484. [Google Scholar] [CrossRef]
  15. Reis, I.F.; Gonçalves, I.; Lopes, M.A.; Antunes, C.H. Business models for energy communities: A review of key issues and trends. Renew. Sustain. Energy Rev. 2021, 144, 111013. [Google Scholar] [CrossRef]
  16. Karimi, H.; Jadid, S. Multi-layer energy management of smart integrated-energy microgrid systems considering generation and demand-side flexibility. Appl. Energy 2023, 339, 120984. [Google Scholar] [CrossRef]
  17. Fan, G.; Liu, Z.; Liu, X.; Shi, Y.; Wu, D.; Guo, J.; Zhang, S.; Xinyan, Y.; Zhang, Y. Energy management strategies and multi-objective optimization of a near-zero energy community energy supply system combined with hybrid energy storage. Sustain. Cities Soc. 2022, 83, 103970. [Google Scholar] [CrossRef]
  18. Tomin, N.; Shakirov, V.; Kozlov, A.; Sidorov, D.; Kurbatsky, V.; Rehtanz, C.; Lora, E.E. Design and optimal energy management of community microgrids with flexible renewable energy sources. Renew. Energy 2022, 183, 903–921. [Google Scholar] [CrossRef]
  19. Firoozi, H.; Khajeh, H.; Laaksonen, H. Flexibility Forecast at Local Energy Community Level. In Proceedings of the 2021 IEEE PES Innovative Smart Grid Technologies Europe (ISGT Europe), Espoo, Finland, 18–21 October 2021; pp. 1–5. [Google Scholar]
  20. Mendicino, S.; Menniti, D.; Palumbo, F.; Pinnarelli, A.; Sorrentino, N.; Viggiano, L.; Vizza, P. An IT platform for the management of a Power Cloud community leveraging IoT, data ingestion, data analytics and blockchain notarization. In Proceedings of the 2021 IEEE PES Innovative Smart Grid Technologies Europe (ISGT Europe), Espoo, Finland, 18–21 October 2021; pp. 1–6. [Google Scholar]
  21. Menniti, D.; Pinnarelli, A.; Sorrentino, N.; Vizza, P.; Brusco, G.; Barone, G.; Marano, G. Techno economic analysis of electric vehicle grid integration aimed to provide network flexibility services in Italian regulatory framework. Energies 2022, 15, 2355. [Google Scholar] [CrossRef]
  22. Iria, J.; Scott, P.; Attarha, A.; Gordon, D.; Franklin, E. MV-LV network-secure bidding optimisation of an aggregator of prosumers in real-time energy and reserve markets. Energy 2022, 242, 122962. [Google Scholar] [CrossRef]
  23. Sun, G.; Shen, S.; Chen, S.; Zhou, Y.; Wei, Z. Bidding strategy for a prosumer aggregator with stochastic renewable energy production in energy and reserve markets. Renew. Energy 2022, 191, 278–290. [Google Scholar] [CrossRef]
  24. Burgio, A.; Brusco, G.; Menniti, D.; Pinnarelli, A.; Sorrentino, N.; Vizza, P. Economic evaluation in using storage to reduce imbalance costs of renewable sources power plants. In Proceedings of the 2017 14th International Conference on the European Energy Market (EEM), Dresden, Germany, 6–9 June 2017; pp. 1–6. [Google Scholar]
  25. Menniti, D.; Pinnarelli, A.; Sorrentino, N.; Vizza, P.; Brusco, G.; Barone, G. How to Provide Dispatching Services in a Smart Community Microgrid to Reduce Imbalance Charges. In Proceedings of the 2018 15th International Conference on the European Energy Market (EEM), Lodz, Poland, 27–29 June 2018; pp. 1–5. [Google Scholar]
Figure 1. Day-ahead step flow chart.
Figure 1. Day-ahead step flow chart.
Energies 16 07071 g001
Figure 2. An example of distribution coefficients ( F d u ) calculations.
Figure 2. An example of distribution coefficients ( F d u ) calculations.
Energies 16 07071 g002
Figure 3. Real-time step flow chart.
Figure 3. Real-time step flow chart.
Energies 16 07071 g003
Figure 4. Balancing step flow chart.
Figure 4. Balancing step flow chart.
Energies 16 07071 g004
Figure 5. Day-ahead ESS forecasted profiles.
Figure 5. Day-ahead ESS forecasted profiles.
Energies 16 07071 g005
Figure 6. End-user A—comparison between the day-ahead ESS power profile (orange) and the real-time ESS power profile (blue) with a grid operator flexibility request.
Figure 6. End-user A—comparison between the day-ahead ESS power profile (orange) and the real-time ESS power profile (blue) with a grid operator flexibility request.
Energies 16 07071 g006
Figure 7. Use of stored energy in supplying loads and providing services—Case A.
Figure 7. Use of stored energy in supplying loads and providing services—Case A.
Energies 16 07071 g007
Figure 8. Use of stored energy in supplying loads and providing services—Case B.
Figure 8. Use of stored energy in supplying loads and providing services—Case B.
Energies 16 07071 g008
Figure 9. Use of stored energy in supplying loads and providing services—Case C.
Figure 9. Use of stored energy in supplying loads and providing services—Case C.
Energies 16 07071 g009
Table 1. End-user configuration data.
Table 1. End-user configuration data.
End-UsersLoad Contracted
Power [kW]
Generation Contracted
Power [kW]
Storage Capacity
[kWh]
User A335
User B323
User C436
User D643
User E336
User F324
User G333
User H636
User I10612
User J658
User K33-
User L32-
User M1510-
User N32-
User O63-
User P3--
User Q3--
User R6--
User S3--
User T15--
Table 2. Aggregated load and production profile.
Table 2. Aggregated load and production profile.
Time [h]123456789101112131415161718192021222324
E c f [kWh]7.689.377.325.575.397.9410.4013.6712.2814.6515.4516.1313.4311.5212.3210.0014.3416.7619.7622.1327.7017.6117.7612.17
E p f [kWh]0.000.000.000.000.000.000.369.0823.8534.4741.3744.0645.6641.6735.7424.3710.611.880.000.000.000.000.000.00
Table 3. The distribution coefficients and the ESS energy to store.
Table 3. The distribution coefficients and the ESS energy to store.
UserABCDEFGHIJ
F d u [%]9.212.610.36.912.68.06.910.312.610.3
E a v . c h f . u [kWh]45.54.535.53.534.55.54.5
Table 4. Overall flexibility and availability.
Table 4. Overall flexibility and availability.
UserABCDEFGHIJ
E a v . v a r f . u [kWh]2.83.703.151.943.772.142.11.203.623.05
Table 5. Hourly aggregated flexibility and availability.
Table 5. Hourly aggregated flexibility and availability.
Hour123456789101112131415161718192021222324
E a v , v a r , h f [kWh]1.861.651.631.721.611.591.611.82000000001.651.651.731.901.721.731.741.89
Table 6. Grid operator flexibility requests.
Table 6. Grid operator flexibility requests.
Hour123456789101112131415161718192021222324
Flex Request [kWh]1.85001.72001.6100000000001.640001.721.731.88
Table 7. Real-time forecasted battery profile.
Table 7. Real-time forecasted battery profile.
123456789101112131415161718192021222324
A−0.1800−0.1800−0.1801.061.821.1100000−1.06−2.04−1.0700−0.18−0.18−0.18
B−0.2400−0.2400−0.2201.462.511.5300000−1.06−2.08−2.28−0.290−0.24−0.24−0.24
C−0.2000−0.2000−0.2001.202.051.2500000−1.06−2.07−1.5700−0.20−0.20−0.20
D−0.0900−0.1000−0.1300.801.370.8300000−1.06−2.00−0.0700−0.13−0.13−0.13
E−0.2400−0.2400−0.1701.462.511.5300000−1.06−2.11−2.28−0.290−0.24−0.24−0.24
F−0.1500−0.1000−0.1100.931.590.9700000−1.06−2.02−0.5700−0.15−0.15−0.15
G−0.1300−0.1300−0.1300.801.370.8300000−1.06−2.00−0.0700−0.13−0.13−0.13
H−0.2000−0.1800−0.0401.202.051.2500000−1.06−1.90−1.5700−0.02−0.03−0.18
I−0.2400−0.1900−0.2401.462.511.5300000−1.06−2.11−2.28−0.290−0.24−0.24−0.24
J−0.2000−0.1600−0.2001.202.051.2500000−1.06−2.01−1.5700−0.20−0.20−0.20
Table 8. Long-term analysis performance.
Table 8. Long-term analysis performance.
Case A
Base Case
Case B
S O C m i n , l o a d = 40%
Case C
ESSs Capacity Increased
ESSs Stored Energy1373 kWh1512 kW1926 kWh
ESSs Supplied energy1110 kWh1318 kWh1547 kWh
Flexibility Services Availability600 kWh433 kWh861 kWh
Provided Flexibility Services227 kWh165 kWh325 kWh
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Brusco, G.; Menniti, D.; Pinnarelli, A.; Sorrentino, N.; Vizza, P. Power Cloud Framework for Prosumer Aggregation to Unlock End-User Flexibility. Energies 2023, 16, 7071. https://doi.org/10.3390/en16207071

AMA Style

Brusco G, Menniti D, Pinnarelli A, Sorrentino N, Vizza P. Power Cloud Framework for Prosumer Aggregation to Unlock End-User Flexibility. Energies. 2023; 16(20):7071. https://doi.org/10.3390/en16207071

Chicago/Turabian Style

Brusco, Giovanni, Daniele Menniti, Anna Pinnarelli, Nicola Sorrentino, and Pasquale Vizza. 2023. "Power Cloud Framework for Prosumer Aggregation to Unlock End-User Flexibility" Energies 16, no. 20: 7071. https://doi.org/10.3390/en16207071

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop