Next Article in Journal
Li4Ti5O12 Coated by Biomass-Derived Carbon Quantum Dots as Anode Material with Enhanced Electrochemical Performance for Lithium-Ion Batteries
Next Article in Special Issue
Distributed Network-Constrained P2P Community-Based Market for Distribution Networks
Previous Article in Journal
Modeling and Experimental Verification of the Required Power for Electrically Heated Clothing
Previous Article in Special Issue
Implementation of a Novel Tabu Search Optimization Algorithm to Extract Parasitic Parameters of Solar Panel
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Community Energy Markets with Battery Energy Storage Systems: A General Modeling with Applications

1
Electrical Energy Department, Federal University of Juiz de Fora (UFJF), Juiz de Fora 36036-330, Brazil
2
Center for Power and Energy Systems, Institute for Systems and Computer Engineering, Technology and Science, 4200-465 Porto, Portugal
*
Author to whom correspondence should be addressed.
Energies 2022, 15(20), 7714; https://doi.org/10.3390/en15207714
Submission received: 20 September 2022 / Revised: 13 October 2022 / Accepted: 15 October 2022 / Published: 19 October 2022

Abstract

:
Traditional models of power systems are undergoing a restructuring process, stimulated by the growing deployment of renewable energy sources, making them more decentralized and progressively increasing the focus on the consumer. New arrangements are being explored, allowing consumers to play a more active role in energy systems, highlighting the concept of consumer-centric markets. This work presents an optimization model that considers the insertion of the battery energy storage system (BESS) in the concept of community energy markets. This model aims to increase the community income and includes the degradation of BESS, also evaluating different arrangements of BESS in the community markets. In the investigated scenarios, discussions about the feasibility of inserting BESS through the analysis of social welfare (SW) and fairness indicators were carried out. With the results, it was possible to observe that there are structures that are more advantageous from the perspective of the communities and others from the perspective of the members of the communities, bringing some insights into the different impacts of a BESS in an energy community.

1. Introduction

1.1. Background and Motivation

The growing concern for sustainable development worldwide has led to the massive insertion of renewable energies in global electrical matrices [1]. Nonetheless, this process challenges the regular operation of power systems, not only regarding centralized generation (CG) but also distributed generation (DG). A convenient solution to mitigate these problems may be a battery energy storage system (BESS) [2,3]. Those BESSs may be used at utility scale, connected either in the transmission or distribution side. Another possibility is to allocate this on the consumer side through a small-scale BESS system [4]. It is expected that BESSs can benefit the electrical system by improving power quality, helping to reduce renewable energy curtailments [5,6]. In addition to providing several services, it offers various advantages in investments behind the meter, such as increasing the potential for using solar generation [4,7].
In the distribution sector, the increasing presence of so-called prosumers, i.e., consumers with the capacity to produce and eventually sell energy, draws attention [2]. As they are mainly characterized by solar photovoltaic (PV) systems on residential and commercial buildings, several issues arise due to their irregular consumption and uncoordinated injections of power into the grid [8,9]. Among the main ones are the overload of lines and transformers, reverse power flow, and protection systems issues [10]. In this way, BESSs also stand out because, when coupled to the internal electrical circuit of prosumers, they allow a portion of the produced energy to be stored instead of directly injected into the grid, thus avoiding its operating stress [2].
In this scenario, prosumers who own a BESS emerge, and those prosumers have been called prosumages in the recent literature [11]. When coupled directly to the grid, a BESS can provide or absorb energy amounts and perform other “grid services” to enable its proper operation [3]. Therefore, through price signals defined by regulation or local markets, BESS investors can actively manage their stored energy to maximize their revenues and make the grid operation more flexible [2,3,8,12]. It is worth noting that although BESS is still an incipient solution, its technological learning curve has been increasing due to the synergy with portable devices and electric mobility industries [2,8]. Therefore, its current high costs are expected to decline significantly in the coming years, and as a result, its penetration in the distribution sector will become more expressive [3].
In this expected scenario, where consumers are increasingly empowered and the grid operation becomes increasingly flexible, the structuring of a new energy market centered on the consumers seems attractive [13,14,15,16,17,18,19,20,21,22,23]. In general, this market view relies on peer-to-peer (P2P) and community-based structures [14]. The former is characterized by negotiations for the purchase and sale of energy that directly occur between peers without the need for third-party supervision [14]. In the latter, all peers, or community agents, communicate with a central node that supervises the negotiation process [14]. The presence of this supervisory node simplifies market regulation and its interface with the distribution system operator (DSO) [13]. For that reason, the community-based market has gained prominence in studies that expose the increase in flexibility, efficiency, and sustainability provided by consumer-centered markets to the power system [19,20,21,22,23,24,25].
From a practical point of view, the community-based market can be readily applied to groups of neighboring prosumers and prosumages, for example. Agents belonging to each group, say community, usually share common interests and play collaboratively to achieve a goal, such as maximizing community autonomy or peak-shaving services [13,15]. Since each agent has a particular energy requirement over a given period, the community’s internal and external transactions must be optimized to maximize SW in compliance with the community’s goal [13,14,15]. A general formulation for the community-based market optimization problem is presented in [13,15]. This formulation essentially consists of an objective function adaptable to different contingent situations and some linear constraints that hold the energy balance of the market. Additionally, it applies to different scales of the community-based market, regardless of the generation technology of their eventual prosumers and producers. Notwithstanding, this formulation was developed considering the community agent to be primarily a prosumer. Therefore, it does not address the technical requirements necessary for a prompt representation of an agent with a BESS, such as a prosumage or even a single BESS.

1.2. Literature Review

Recent studies point to the relevant role of the community market composed of agents with BESS will have in the future of energy systems and the need to design new business models that pave the way for its development [17,18]. Thus, it can be observed that the works published in recent years were developed based on different mathematical formulations of the community market with BESS, which are properly designed to meet certain market configurations and special operating rules.
Concerning shared storage, Ref. [22] models the problem of shared storage in smart grids through cooperative game theory but does not consider community markets. Two distinct configurations are analyzed: (i) a group of consumers having their own BESS cooperate and share their storage with each other and (ii) such consumers share a single BESS. They state that the sharing of stored energy in a cooperative manner is advantageous for both agents and society, yet their BESS technical modeling is oversimplified.
Similarly, Refs. [16,19,23,26,27] propose and analyze the community energy market in which agents can have BESS systems, but do not focus their analysis on the impact that BESS systems can have on that market. More precisely, Ref. [23] analyzes the impacts of a market structure, where the community is involved in P2P negotiations through a non-cooperative game, in a small community microgrid consisting of agents with photovoltaic and BESS systems. It concludes that P2P negotiations can bring financial and technical benefits to the community, yet the role of the BESS is minimal.
Focusing on reducing the operating costs of the community and its agents and with the battery in a secondary role in the analysis, Refs. [16,26] developed models to assess communities composed of agents with and without BESS. More specifically, the authors in [16] evaluate an operating model based on a double auction for a community energy market. The formulation developed in this work considered the basic technical constraints of BESS, and the resulting optimization problem was solved by an iterative algorithm. Through a two-stage mechanism, Ref. [26] investigates the sharing of energy in the energy community. In this work, agents trade in the day-ahead and real-time markets within the community and with the grid. The work in [19] analyzes the incorporation of the community market structure into existing local energy markets, in which some community members have BESS systems. It uses a decentralized method to solve the problem considering generation uncertainty, focusing its case on a current energy system of a city in the Netherlands. The authors of [27] developed a community energy model aimed at maximizing the social welfare (SW) of the community with and without BESSs.
An energy community model considering different goals for the agents was proposed in [28] and solved through distributed optimization approaches based on artificial intelligence. Analyzing different configurations, this work provides several insights and concludes how the insertion of prosumages positively influences an increase in self-sufficiency in the community. However, the analyses explore the contribution of storage systems in a more individual way.
Not only analyzing the energy market with agents that have a BESS but also focusing on the benefits of the BESS, Ref. [29] analyzes transactions in a community market with P2P trading considering two distinct layouts of BESS participation. The first consists of a community of prosumers with individual BESSs, while the second layout considers a central BESS shared by the community. Promising results were found, especially referring to the integration of commerce of P2P and BESSs in the community market. Similarly, with a greater focus on the storage system, Ref. [30] proposes a two-stage stochastic linear program to deal with P2P sharing. In this study, P2P and BESS energy exchange interactions in residential communities are presented. The union of P2P trade with BESSs contributes to the reduction of agents’ electricity bills and to better integration of distributed energy resources. Although BESSs are essential for their analysis and conclusions, these works do not consider the inclusion of battery degradation in their models, which can impair the realism of the results.
A general comparison of the aforementioned works focusing on the energy community markets with BESSs is presented in Table 1. One can observe that, although several analyses are carried out in the context of the community energy market considering prosumers with BESSs, these systems are not generally the main focus of the analysis. It is also possible to observe that some proposed models require a relatively high level of background theory that can make their application in real cases more difficult.

1.3. Main Contributions

Following the growing importance of inserting BESS systems in power systems combined with consumer-centric markets, this work proposes to fill one of the gaps identified through a general formulation of the community market to deal with the presence of BESSs considering different arrangements. This model, inspired by [13], is essential not only to facilitate the development of new studies but also to establish a common basis for the characterization of its agents with BESSs and comparison of the results obtained for the different operating rules. It is noteworthy that the resulting optimization model preserves the main characteristics verified in this general formulation, such as the adaptability of the objective function, the linearity of the constraints, and the scalability of the application. To illustrate its application and provide subsidies for relevant discussions, a comprehensive study is also developed to assess the energy, financial, and social impacts that the same storage capacity of a BESS can cause when inserted in different arrangements of a community-based market. In short, the main contributions of the proposed work are as follows:
  • Development of an optimization model that includes a prompt and appropriate representation of BESSs in a community-based market;
  • Analysis of the insertion of BESS at three different arrangements in the community market: (i) at the prosumer level (prosumage); (ii) as an individual agent in the community (intracommunity); (iii) as a separate community (intercommunity);
  • Assessment of the impacts that BESS can cause on the SW of a community-based market, considering different market organizations;
  • Analysis of the social effects that BESS can have on the community energy market, as well as on the satisfaction of its agents when inserted in different arrangements in the market.

1.4. Paper Structure

The rest of the paper is structured as follows. Section 2 briefly discusses the general energy dynamics of the community-based market and the effects caused by inserting the BESS in its context. In Section 3, the optimization model developed to represent the community market with a BESS is appropriately explained. In Section 4, the main information about the study carried out to illustrate the application of the developed model is presented. In Section 5, the results obtained in this study are presented and the impacts caused by the BESS in the different arrangements of the market are analyzed. Finally, Section 6 concludes this paper.

2. Overview of the Community-Based Market with Battery Energy Storage System

A community-based market can be formed considering a single or several communities. In turn, each of these communities can be composed of a different number of agents, which are not necessarily of the same type. For instance, they can be consumers, producers, prosumers, prosumages, or a single BESS. Additionally, this market can interface with other market structures, such as wholesale, balancing, and ancillary services [13], which are generically defined in this paper as external players.
The dynamics behind the energy transactions performed in the community-based market are described below. Then, the impacts brought by the admission of a BESS among its agents are discussed.

2.1. General Framework of the Community-Based Market

Following the formulation presented by [13], an agent can participate in the community-based market in two ways: as a consumer or as a producer. In the case of a prosumer, such a role is defined based on its net energy balance (p) in a given period. That is, for the sake of efficiency, the energy produced by its generation system tends to be primarily destined to meet the demand of its load [2]. Therefore, if this energy demand is greater than the energy produced ( p > 0 ), the prosumer will play in the market as a consumer, seeking to supply its remaining energy consumption [13]. In contrast, if this energy demand is lower than the energy produced ( p < 0 ), it will act as a producer, offering its excess energy in exchange for economic benefits [13].
In general, the energy needs of agents considered to be consumers and producers can be traded within a margin of tolerance ( p ̲ < p < p ¯ ) with any of the upper market levels [13]. Thus, an agent can meet its energy need in a given period by sharing energy (q) with other agents in its community, or import ( α ) and export ( β ) exchanges with other communities or even an external player [13].
These energy exchanges in the community-based market are coordinated by a non-profit virtual node called the community manager (CM). In addition to ensuring that the energy needs of all agents are met, the CM is also responsible for filling the community’s goal. Therefore, its decision-making process is guided by the technical constraints and energy prices practiced by prosumers, the charges incurred on internal ( c c o m ) and external ( c i m p , c e x p ) energy transactions for the community, and the strategic behavior defined by the community agents [13].
It is important to highlight that in this paper, market levels or market arrangements will be considered as battery insertion configurations in the community market. That is, three different levels will be considered: (i) prosumage; (ii) intracommunity battery; (iii) intercommunity battery.

2.2. BESS Operational Complexity

Similar to the lack or excess of energy of a prosumer, the capacity to acquire or supply energy from a BESS is also an energy asset that can be traded in the community-based market. Nonetheless, quantifying this energy asset is not an easy task.
When the state of charge, or simply SoC, ( ϕ ) of the battery that makes up BESS is at an intermediate level to its minimum and maximum limits ( ϕ ̲ < ϕ < ϕ ¯ ), BESS has enough acquisition capacity and stored energy to assume both the role of consumer or producer in the market. Given this flexibility, the BESS role in a given period is not directly defined by the agent (or its owner) but by the CM. During this process, the CM must consider the dynamics verified in the rest of the market, as well as the technical constraints of the BESS.
Regarding the technical constraints of BESS, it is worth highlighting that they have two origins: technological and contextual. The technological constraints are related to the performance of specific parameters of the BESS components. From an energy perspective, such parameters can be summarized to the main characteristics of its battery, such as SoC limits; charge ( η c h ) and discharge ( η d h ) efficiencies; and charge ( λ c h ), discharge ( λ d h ), and self-discharge ( λ s d ) rates [16,31,32,33,34]. It is important to note that these parameters determine the limits of the amount of energy (s) that the BESS can trade on the market in a given period. Additionally, when the battery SoC is at its minimum limit ( ϕ ϕ ̲ ), they force the BESS to play as a consumer in the market; otherwise, its self-discharge rate will cause the violation of such minimum limit—see (1f).
In turn, the contextual constraints are related to the BESS positioning in the market and agreements signed for its operation. To make this clearer, Figure 1 illustrates the possible positions occupied by BESS in a community-based market. Accordingly, these positions can be summarized as (a) a part of a prosumage; (b) an independent agent belonging to a community, i.e., an intracommunity agent; or (c) an independent agent who does not belong to any community but trades with all communities, i.e., an intercommunity agent.
Regarding prosumage, it is interesting to note that it constitutes one of the most intricate types of agents on the market. This is because it does not have only one, but two energy assets to be traded: (i) the net balance of its consumption and production; and (ii) the capacity to acquire or supply energy from BESS. Then, depending on its interests and the agreements made with its community, different constraints may be imposed on trading these assets. In a free scenario, both can be traded independently in the different market levels. However, the BESS would have its operation restricted to the agent’s needs in a conservative scenario, establishing only one asset to be traded on the market. In this case, such assets would be defined by the net balance between the load demand, the energy produced by the generation system, and the energy stored or supplied by the BESS.
For the intracommunity agent, only one asset is considered, which is the BESS’s capacity to acquire or supply energy. In this case, different conditions may arise related to the operating constraints. To better exemplify, suppose the community’s agents have invested in the BESS. In this case, its operation in the market may be understandably restricted to meeting the community’s energy needs. In addition, service preference can be given to those agents who have contributed most expressively to such investment. In contrast, if a third party has made this investment, the BESS would be more likely to operate freely in the different market levels.
It is worth mentioning that these considerations made for the intracommunity agent extend to the case of the intercommunity agent. If the BESS is a property of two or more communities, different constraints and preferences can be noticed.
This brief discussion shows that contextual constraints define the degree of freedom that the BESS has in the market and, eventually, define its operating preferences.

3. Modeling of the Community-Based Market with Battery Energy Storage System

As discussed above, the insertion of a BESS in the context of a community-based market considerably increases the complexity of its energy dynamics. To obtain a model that allows to appropriately represent the new issues brought by the BESS, the general formulation presented in [13] for a community-based market composed of prosumers was expanded to accommodate the presence of BESS in different arrangements of the market and its technical constraints [33,34]. An overview of the proposed analysis methodology is presented in Figure 2, while the respective optimization model is described in the next subsections.

3.1. Proposed Model

Aiming to allow for correct and flexible inclusion of a BESS in the general formulation of the community-based market, the following assumptions were made:
  • The community agent can be primarily modeled as a prosumage (Figure 1a), as it is the type of agent that has the greatest variety of energy assets to be traded;
  • The community agent can assume only one role (consumer/producer) within its community, but this is not necessarily the same assumed in the scope of the external market. For example, a prosumage can play in a given period as a consumer at the community level and as a producer for the external player;
  • In the case of agents without a BESS, such as consumers, producers, and prosumers, their respective roles are predefined by themselves. In contrast, the role of agents with BESS, such as the prosumages and the intra and intercommunity BESS agents, are respectively defined by the CM, as discussed in the previous section.
The complete formulation of the community-based market model including BESS is presented in (1), considering n the number of agents that make up the community Θ (indexed as j = 1 , , n ) and Γ = ( p j , s j , q j , α j , β j ) the set of decision variables.
(1a) max Γ j = 1 n f j ( p j , s j , q j , α j , β j ) + g ( q i m p , q e x p ) (1b) s . t . p j + s j + q j α j + β j = 0 , j Θ (1c) j = 1 n q j = 0 (1d) j = 1 n α j = q i m p (1e) j = 1 n β j = q e x p (1f) ϕ j = ϕ t τ , j · 1 λ s d , j + s j b j , j Υ (1g) s j · η c h , j ϕ j ¯ ϕ j · b j , j Υ (1h) s j · η d h , j ϕ j ϕ j ̲ · b j , j Υ (1i) s j λ c h , j · b j · τ , j Υ (1j) s j λ d h , j · b j · τ , j Υ (1k) p j ̲ p j p j ¯ , j Ψ (1l) α j , β j 0 , j Θ (1m) p j , s j , q j f r e e j Θ
The objective function represented by (1a) has two components. The former is given by a function f and aggregates all costs related to the energy transactions of each community agent. Therefore, it includes SW, as well as the costs due to sharing energy within the community and the import and export exchanges. The latter is given by a function g, representing the community’s goals and its interaction with the exterior market. This function is commonly defined by the global variables q i m p and q e x p . As given by the constraints (1d) and (1e), the variables q i m p and q e x p represent the energy import and export exchanges between the community and the exterior market, respectively.
Regarding other constraints, (1b) shapes the particular energy balance of each agent in the community, and (1c) shapes the energy balance of the community. As (1b) fundamentally describes a prosumage, this one differs from the respective equation initially presented in [13] by including the free variable s j , which represents BESS energy transaction. Moreover, it is pertinent to note that representing the agent’s energy transaction with the community in (1b) by the free variable q j guarantees that it will assume only a single role in the community.
Note that the free variable s j follows the same representation logic exposed in the previous section for the free variable p j . That is, s j > 0 means that the BESS is acquiring energy (charging the battery), and s j < 0 means that the BESS is supplying energy (discharging the battery). In contrast, to satisfy the energy balance, the free variable q j follows the inverse representation logic; therefore, q j > 0 means that the agent is providing energy for sharing with other agents in the community and q j < 0 that the agent is consuming the energy shared by other agents of its community.
In turn, constraints (1f)–(1j) ensure that the technical constraints of each BESS present in the community ( Υ Θ ) are respected. In this way, constraint (1f) defines the SoC of the battery that makes up the BESS in a given period, considering its previous level ( ϕ t τ , j ), the self-discharge rate, and the ratio between its energy transaction and nominal capacity ( b j ). Inequalities (1g) and (1h) represent the limits imposed by the charge and discharge efficiencies of the battery to the BESS energy transaction. In this same line, (1i) and (1j) represent the limits imposed by the charge and discharge rates of the battery within a time interval ( τ ). It is important to note that the signs in (1g) and (1i) have been adjusted to make them active only when the BESS charges. Similarly, the signs (1h) and (1j) have been adjusted to make them active only when the BESS supplies energy.
Finally, constraint (1k) defines the margin of tolerance for the trade of the energy asset, referring to the net balance between the energy consumption and production of each agent who owns such an asset ( Ψ Θ ). As this balance is previously known, an agent has p j ¯ > p j ̲ > 0, if it plays as a consumer, and p j ̲ < p j ¯ < 0, if it plays as a producer.
Despite assuming that prosumages fundamentally characterize community agents, it is essential to emphasize that the model presented in (1) can be easily adapted to represent any other type of agent, regardless of whether it has a BESS or not. Some of these adaptations are pertinently discussed below.

3.2. Adjustments for the Intra/Intercommunity BESS

The adjustment required to represent an intracommunity BESS (Figure 1b) as a community agent in the context of the proposed model is set p j ¯ = p j ̲ = 0 since there is no energy consumption or production in addition to its battery.
Nonetheless, some additional adjustments may be necessary for specific studies. For instance, assuming that the intracommunity BESS must play in the market exclusively oriented to its battery, (1a) must be rewritten as in (2a). In the latter, import and export exchanges are especially represented by the free variable δ j and no longer by two non-negative variables, α j and β j . The use of this variable, together with the additional constraints (2b)–(2d), ensures that the intracommunity BESS will not consume or supply energy beyond the amount limited by its battery and, therefore, will not arbitrarily play in the market. It is important to note that (2b) defines δ j < 0 as an import exchange and δ j > 0 as an export exchange.
(2a) s j + q j + δ j = 0 (2b) δ j = α j + β j (2c) 0 α j δ j (2d) 0 β j δ j (2e) δ j f r e e
These adjustments discussed for the intracommunity BESS can be straightly extended to represent the intercommunity BESS (Figure 1c) in the context of the proposed model. In this case, however, such an agent must be stated as a single member of a separate community.

3.3. Adjustments for Agents without BESS

The adjustments required to represent consumers, producers, and prosumers in the context of the proposed model are set to  s j = 0 and, consequently, inhibit the application of the restrictions related to the BESS, (1f)–(1j), on this agent. It is crucial to note that the model originally presented by [13] is fully recovered when making these adjustments.
Furthermore, with just a few additional adjustments, it is also possible to represent an external player in the context of the proposed model. An external player capable of meeting any remaining energy needs of a community market, for example, can be understood as an additional community of this same market. This community comprises two agents that cannot share energy, i.e., q j = 0 . One of these agents is modeled as a great consumer, with p j ̲ = 0 and p j ¯ , and is prohibited from trading export exchanges, i.e., β j = 0 . The other agent is modeled as a great producer, with p j ¯ = 0 and p j ̲ , and is prohibited from trading import exchanges, i.e., α j = 0 . Thus, with their attention entirely focused on the other communities, these two agents can meet any energy needs of the market.

3.4. Battery Degradation

To present results closer to reality, battery degradation was included in the optimization model. The BESS’s storage capacity decreases due to factors such as aging and the number of charging and discharging cycles. Degradation can be included in the model by adjusting the nominal capacity of the BESS. Therefore, the restrictions (1f)–(1j) are updated daily.
To perform the degradation calculation and update its nominal capacity [35], as presented in (7), some processes are executed.
BESS degradation occurs as a result of calendar and cyclic aging ( ξ c a l , ξ c y c ). These losses need to be accounted for within a chosen period; in this way, the present work considers a daily horizon to be in accordance with the day-ahead market dynamics.
According to (3), ξ c a l can be estimated [35], where T s h e l f represents the BESS life reported by the manufacturer in its datasheet and the BESS’s end-of-life (EOL) is commonly defined when its capacity reaches 80% of its original capacity [8,36,37].
ξ c a l = 1 0 . 8 1 T s h e l f
Through (4), ξ c y c can be estimated [35], where L ( D o D = 100 % ) represents the total number of charge/discharge cycles that BESS can perform when considering a DoD of 100%. It is important to note that this information can commonly be found in the datasheet provided by the manufacturer.
ξ c y c = 1 0 . 8 1 L ( D o D = 100 % )
The Rainflow algorithm was used to identify the various charge/discharge cycles with different levels of DoD performed by BESS throughout the day, as better detailed by [2,38]. As the cycles correspond to different levels of DoD, it is necessary to obtain an equivalence, that is, to place them all in the same base. Thus, considering that the loss of the life cycle is a constant [39,40], through (5), the calculation of the number of equivalent cycles is performed. This equation represents the equivalence between the results obtained through the Rainflow algorithm and the number of cycles that would be achieved if considering a DoD of 100%.
n c e q = L ( D o D = 100 % ) · n c D o D L ( D o D )
where L ( D o D ) is a non-linear function that relates the total number of cycles and DoD, its coefficients can normally be obtained from the BESS datasheet [2,39]. As shown by [39], one can address the L ( D o D ) as shown by (6).
L ( D o D ) = a 1 + a 2 · e a 3 · D o D + a 4 · e a 5 · D o D
It is important to note that sometimes only a few points on the curve are presented. In these cases, where there are few reported points, without major impacts, the coefficients a 4 and a 5 can be considered null [2].
Thus, through these procedures, it was possible to estimate the battery degradation, as presented in (7) in a very convenient and practical way for the performed analyses.
b j , d = b j , d 1 · 1 ξ c a l + n c e q · ξ c y c
where b j , d 1 is the nominal capacity of the battery the day before.

4. Study Description

To illustrate a potential application of the proposed model, a comprehensive study was pertinently designed to assess the impacts that the same storage capacity resource in the BESS can cause when inserted into different arrangements in a community-based market. The details of this study are presented below.

4.1. Base Case—A Community Market without BESS

As a basis for the study, a community market composed of nine prosumers equipped with different sizes of PV systems was considered. The prosumers’ energy consumption and production data were originally collected from households in Australia between July 2012 and June 2013 [41]. To make up a more diversified market, these nine prosumers were distributed in three communities according to their generation capacity. As shown in Table 2, three prosumers with lower generation capacity were gathered in Community 1, and the other three with greater capacity were gathered in Community 3. The three remaining prosumers, who have a more dispersed generation capacity, were gathered in Community 2.
To model the cost function of the energy assets of these prosumers ( c j N e t ), the quadratic cost formulation proposed by [13] was initially considered. In general terms, the coefficients of this formulation are determined based on the prices practiced by a reference market and on the defined margin of tolerance for trading the energy asset of the prosumer in a given period [13]. By using this information, this quadratic function can produce tangible prices for the market reality and simulation of scale gains. That is, the cost of an energy unit produced by a prosumer with greater generation capacity is cheaper than the cost of an energy unit produced by one with less capacity.
Therefore, assuming that the community market is cleared over 24 h (as in [13]), the quadratic cost functions of the energy assets of prosumers were obtained based on the day-ahead market prices available on the Australian Energy Market Operator (AEMO) website for the same period in which the prosumers’ data were collected. Additionally, a margin of tolerance equal to ± 20 % of the respective p j value obtained from the prosumers’ data was adopted to provide further malleability to the problem. Notwithstanding, it was observed that the cost curves generated by this formulation for the prosumers had slight curvatures. Reinforcing this statement, a comparison between the quadratic and linear curves is shown in Figure 3. Therefore, these curves were conveniently linearized. Due to this consideration, the proposed model for representing the community market in question assumed a completely linear nature without causing losses to the analysis. A more detailed discussion on the topic is presented in [42].
Thus, the cost function of each prosumer was defined as (8). For the context of the present study, a cost of c c o m = 1 m.u./MWh was defined.
f j = c j N e t · p j + c c o m · q j
For the sake of convenience, the costs incurred on import and export exchanges of prosumers were globally considered in the model adopted for the community’s goals. Therefore, assuming that all communities have the common objective of prioritizing their autonomy, this model is given by (9), where c s p r = 10 m.u./MWh represents a spread between the import ( c i m p ) and export ( c e x p ) costs penalties for energy import.
g = c e x p · q e x p c i m p + c s p r · q i m p
In addition to these three communities, the existence of an external player capable of absorbing any production surplus or supplying any lack of energy in this community market was considered. Given the small size of the community market in question, it was assumed that communities trade energy as a price-taker with the external player. In this way, the prices practiced by this external player were assumed to be equivalent to the prices recorded by AEMO.
It is important to highlight that the pricing adopted for internal exchanges ( c c o m ) and the penalties for importing and exporting energy can influence agents as if the costs of internal exchanges are advantageous, agents will have more incentives to prioritize negotiations within the community. The same happens with external exchanges, if agents were heavily penalized they will prioritize their autonomy. Thus, it is possible to observe the dependence of the results on the adopted pricing schemes. However, an analysis of energy exchanges in the system is also important to verify the coherence of pricing.

4.2. Study Cases—Insertion of BESS in Different Arrangements of the Market

To analyze the impacts that a specific storage capacity can have on the community market described above, the three positioning possibilities of the BESS presented in Figure 1 are considered. To establish the same basis of comparison, the data presented in Table 3 were considered as parameters for the characterization of the BESS in all cases.
Therefore, in Case 1, it was considered that all nine prosumers acquired a particular BESS, thus becoming prosumages (Figure 1a). The storage capacity of each BESS was determined according to the average consumption of the agent. Thus, the results presented in Table 4 were obtained. Concerning the operation of these BESSs, no contextual constraints (see Section 2) have been established. So, each prosumage was considered free to share or trade its BESS energy asset in the market, in addition to the energy asset resulting from the net balance between its consumption and production.
In Case 2, it was considered that all communities agents own the battery that belongs to that community, i.e., each community would acquire an intracommunity BESS (Figure 1b) instead of each prosumer acquiring a particular BESS. As seen in Table 4, the storage capacity of each intracommunity BESS was defined by the sum of the capacities determined in Case 1 for each of the agents of their respective communities. Regarding their operation, it was defined that each intracommunity BESS would equally meet all the respective agents of its community, and the cost incurred on their energy sharing would be the same applied to any other community agent. Furthermore, it was established that each intracommunity BESS could interact with the external market, similar to any other agent. Nonetheless, it was defined that they could not consume or supply energy beyond the amount limited by their respective batteries, i.e., they could not arbitrarily play in the market.
In Case 3, it can be considered that the three communities that make up the market jointly acquired an intercommunity BESS or that the battery belongs to an external aggregator (Figure 1c). As shown in Table 4, the intercommunity BESS storage capacity was defined by the sum of the storage capacities determined in Case 1 for all agents. Regarding its operation, it was established that the cost incurred on its energy transactions with the other communities would be the same as that applied to import and export exchanges between the other communities.
In these three cases, the cost of BESS energy transactions ( c j B a t t e r y ) in each study case was obtained following the same procedures used to determine the cost function of the prosumer energy asset in the Base Case. That is, a quadratic cost function was initially obtained based on the prices recorded by the AEMO and on its respective storage capacity; then, this quadratic cost function was linearized. In that way, the cost function of each prosumage in Case 1 was defined as given in (10). In Case 2, the product referring to the energy asset p j in (10) was disregarded in the cost function of each intracommunity BESS. Finally, in Case 3, both the products referring to energy assets p j and shared energy q j were disregarded in the cost function of the intercommunity BESS.
f j = c j N e t · p j + c j B a t t e r y · s j + c c o m · q j

4.3. Simulation Details

As mentioned above, a day-ahead market framework was considered for applying the proposed model (Section 3) to represent the community markets designed in each aforementioned case. In this way, the simulations were solved for a total period of 365 days, with each interval of 24 h (full day) approached as a single linear optimization problem.
Nonetheless, some additional considerations were made to make the results more reliable. The first one was to consider that at the end of a simulated day, the sum of energy transactions referring to p j of a prosumer or prosumage would be equal to the daily net balance between consumption and production collected of this agent. Therefore, there is no loss of validity.
The other was to define the initial and final values of SoC of the respective batteries that make up the BESS present on the market as obligatorily equal to 50%. Thus, battery depletion over a simulated day was avoided.

4.4. Key Performance Indicators—Fairness and Economic Approaches

To carry out an adequate assessment of the results obtained in the performed simulations, some figures of merit commonly employed in energy market studies were rated. From an economic perspective, one of the main parameters used to compare the performance of different community-based markets is the SW [13,14]. The maximization of the SW of the market is aimed at being beneficial to the participating agents. Therefore, the SW of each designed case study was calculated as presented by (11), where Δ = 1 , , 8760 represents all simulated periods.
SW = t Δ j Ψ c j , t N e t · p j , t + j Υ c j , t B a t t e r y · s j , t
From a social perspective, two complementary fairness indicators were used: quality of service (QoS) and quality of experience (QoE) [13,15]. As given by (12), QoS is directly influenced by the volumes of energy shared within the community [13,15,44]. Thus, low levels of QoS indicate that the community agents produce different impacts on their strategic behavior, which is not interesting from the point of view of the collective.
QoS = j = 1 n q j 2 n × j = 1 n q j 2
In turn, QoE was calculated as presented by (13), where σ ( ζ j ) is the standard deviation of the auxiliary variable ζ j [13,15,45]. As given by (14), the latter is determined by dividing the sum of costs or revenues obtained through trades carried out both with the community and the exterior market by the net energy consumed or produced by an agent [13,15]. Therefore, the closer QoE is to 1 (maximum value), the smaller the community agents’ price variation, and the greater the agents’ satisfaction in being part of a community.
QoE = 1 σ ζ j c s p r
ζ j = c e x p · β j c i m p + c s p r · α j c c o m · q j p j

5. Simulations

Note that the input data for this study are available in Mendeley Data. Input data on the generation and consumption of various prosumers for a period of 24 h and 365 days are included. As well as the specific data used in this study, we used data referring to battery storage systems (https://data.mendeley.com/datasets/7jhvbsxfdc/1, accessed on 1 September 2022).

5.1. Computational Performance

The simulations were performed in MATLAB [46] software on an Intel(R) Core(TM) i5-4210U @ 1.70 GHz CPU with 8 GB of RAM. To solve the optimization problem, a MATLAB’s mixed-integer linear programming solver, INTLINPROG [47], was used.
The use of this solver was necessary because MATLAB’s continuous linear solver [48] does not deal with absolute numbers. The methodology presented in [49] aligned with INTLINPROG is then used to carry out the optimizations. It is worth mentioning again that the formulated optimization model is continuous linear and the use of binary variables was necessary due to a limitation of the available solvers to carry out the optimizations.
We emphasize that the computational time was approximately 5 min in the annual simulation for all cases, with the exception of Case 2, which took approximately 10 min.

5.2. Results

The main results found in the simulations performed for each case study described in the previous section are reported in Table 5. Regarding the results presented for the fairness indicators, it is pertinent to clarify that their mean values were calculated considering just the three communities that effectively exist in each case study. Furthermore, to provide greater sensitivity to the discrepancy between these values and those calculated for each community, the respective standard deviations are also presented.
Analyzing the results reported for Case 1, it is noted that the total amount of energy shared within the communities increased by approximately 44% in relation to the respective amount verified in the Base Case. Nevertheless, the fact that the mean QoS calculated in Case 1 is close to the mean QoS calculated for the Base Case reveals that the increase in this energy sharing occurred in a balanced way, without changing the impact of each agent on the strategic behavior of their respective community. However, it is observed that the total amounts referring to the communities’ import and export exchanges were reduced by approximately 14% in relation to the amounts verified in the Base Case. Through this result, it is possible to infer that the prices experienced in this market configuration led agents characterized by prosumages to self-liquidate their two energy assets and, therefore, to become less dependent on the community. This finding is corroborated by the mean QoE, which is almost half the value calculated for the Base Case. Furthermore, this greater autonomy of the agents is reflected in the SW, which suffered a small but significant reduction in relation to the SW verified in the Base Case.
In turn, the results reported in Table 5 for Case 2 demonstrate that the total amount of energy shared within the communities has increased approximately 30 times compared to the respective amount verified in the Base Case. On the other hand, it is observed that the total amounts referring to the communities’ import and export trade increased in a much less expressive way in relation to the amounts verified in the Base Case. It is pertinent to note that as the intracommunity BESS does not consume or produce any energy, this agent works only as an internal energy node. Therefore, this situation reveals that the prices experienced in this market configuration led agents characterized as intracommunity BESS to concentrate largely on the energy negotiations in internal communities. As the communities now have an additional and very active agent, the balancing of communities suffers a small negative impact, which translates into a reduction of approximately 6% of the mean QoS in relation to the value calculated for the Base Case. However, it appears that the presence of an intracommunity BESS makes other community agents less subject to external market price variations, which increases their satisfaction in participating in this market structure. This statement is confirmed by the increase of almost 19% in the mean QoE in relation to the value calculated in the Base Case. Additionally, it is essential to note that the standard deviation verified for the QoE reduces to approximately half the value verified in the Base Case. This situation suggests that the intracommunity BESS acts as a homogenizing agent of the community. This favorable situation is reflected in the increase of almost 10% of the SW in relation to the value verified in the Base Case.
Finally, the results reported in Table 5 for Case 3 demonstrate that the intercommunity BESS presence does not significantly affect the total amount of shared energy within the communities and their respective balances. For this reason, the results calculated for the QoS are close to those verified in the Base Case. Nonetheless, it is observed that the total amounts referring to the communities’ import and export exchanges are approximately 32% higher than the amounts verified in the Base Case, while the results calculated for the QoE are very similar. This situation confirms that the intercommunity BESS does not impact the energy dynamics of the communities, which see it only as a “second external player”. Moreover, as the intercommunity BESS does not produce or consume any energy by itself, this situation reveals that the prices experienced in this market configuration led it to play as a midpoint between the communities and the external player. This interesting situation is reflected in the 12.33% increase in SW in relation to the value verified in the Base Case.

5.3. Energy Balance

To analyze in a more concrete way the changes that took place in the studied energy market and to validate the proposed model, the energy balance for day 6, hour 14 is presented in Table 6. It is noteworthy that the results presented in this subsection refer to Case 1, as it is the scenario with the greatest insertion of BESSs. Through Figure 4 it is possible to observe the SoC of the BESSs throughout the same day.
The results presented from the energy balance can be interpreted as follows:
  • Community 1: (i) Prosumage 1 exports 0.4872 kWh of its solar generation and 0.3619 kWh from its BESS to its community; (ii) Prosumage 2 imports the amount from Prosumage 1 and 0.4755 kWh from its own BESS, in addition to 0.6534 kWh from other communities; (iii) Prosumage 3 imports 0.9442 kWh from its BESS and 0.7298 kWh from other communities;
  • Community 2: (i) Prosumage 1 exports 0.4872 kWh of its solar generation to other communities/external players and 0.4045 kWh from its BESS to Prosumage 2; (ii) Prosumage 2 imports 0.7902 kWh from its own community to supply the domestic load and charge its BESS; (iii) Prosumage 3 exports 1.9350 kWh from its solar generation to other communities/external player and 0.3857 kWh from its BESS to Prosumage 2;
  • Community 3: (i) Prosumage 1 exports 0.0296 kWh of its solar generation and 0.0148 kWh of its BESS to other communities/external players; (ii) Prosumage 2 exports 1.9350 kWh of its solar generation to other communities/external player; (iii) Prosumage 3 exports 1.4388 kWh of its solar generation to other communities/external player;
  • External player imports 4.4572 kWh from Communities 2 and 3.
From the presented results, it is possible to observe that Community 2 is able to supply its own needs in the considered time, and export the remainder of the energy, where the BESS plays a fundamental role in the community’s self-sufficiency. Community 3, which is made up of the largest prosumages, exports all of its production surplus, without the need for internal sharing. On the other hand, Community 1, formed by smaller prosumages, in addition to internal exchanges, needs to import energy to meet the needs of all its agents. In this context, it is possible to verify that an optimized alignment of the configurations and objectives of the communities’ members can positively assist the market and the system.

5.4. Discussions

Actions taken to modernize energy systems have increasingly moved towards consumer empowerment and flexibility in grid operation. In this context, community-based markets composed of agents with BESSs are increasingly emerging as a palpable and relevant energy market configuration to consolidate the future of the electricity sector. Aware of this, this work presented a broad discussion on the possibilities of insertion and operational issues brought by the BESS to the energy dynamics of a community market. Based on this discussion, a general formulation was developed to represent this market.
Considering the different parts that make up the energy market and the goal of seeking the best balance between them, this study was able to present a broader panorama of the insertion of BESS in the structure of the community market. As the objective is to maximize the social welfare of communities, it is possible to analyze that, despite the increase in market costs, there is also an increase in end-user satisfaction. It is possible to conclude that some of the benefits that BESS brings to communities outweigh the increase in market costs, as they lead to greater overall satisfaction.
Finally, given the growing notoriety that BESSs have been gaining in the energy system and their various benefits, it is interesting to discuss the need for an increasingly stronger inclusion of this technology in system planning analyses. Regulations around the world should consider issues such as those discussed in the article to reorganize guidelines and encourage a guided use of storage systems in local energy markets.

6. Conclusions

A linear optimization model was developed aiming at maximizing the revenues from transactions carried out in a community-based energy market, considering different provisions for the insertion of BESS. The model stands out for its adaptability to different contingency situations, the linearity of its constraints, and the scalability of its application. Furthermore, to the best of our knowledge, this is the first general formulation proposed in the literature for community-based markets with BESS.
To illustrate the application of this general formulation and provide subsidies for relevant discussions, a comprehensive study was performed to assess the impacts that the specific storage capacity resource in BESS can cause when inserted in different arrangements in a community-based market. The results obtained showed that the BESS, when inserted as part of a prosumage, allows this agent to become more autonomous, reducing its dependence and satisfaction in participating in a community and causing a reduction in the SW of the market. On the other hand, when the BESS is inserted as an independent agent belonging to a community, it attenuates the price variation perceived by other agents, improving their satisfaction with the community and increasing the SW of the market. In turn, the BESS, when inserted as an independent agent who does not belong to any community but trades with all communities, plays as a midpoint of the system, not influencing agents’ experience concerning the market, but promoting a significant increase in the SW of the market.
Given the technological incipience and the great need for studies related to community-based energy markets with BESSs, the contributions brought by this paper can serve as a basis for the development of several new works. Business models that mitigate the negative impacts or economically exploit the improvements pointed out here by inserting BESS in different arrangements of the market can be assessed based on the proposed general formulation. In addition, the problems related to battery degradation that make up BESS can be addressed in other ways, for example, by incorporating them into the BESS usage pricing model; thus evaluating the impact of a more detailed model on the solution and the increase of computational time.
Other possibilities for future research can be found in the insertion of siting and sizing models of batteries for communities. Additionally, in the insertion of asset management issues, the objective is to analyze a faihrer battery insertion for all the agents involved. In addition, another important point is to investigate ways to implement the proposed optimization model in energy management systems.

Author Contributions

Conceptualization, W.G., L.D., B.D. and T.S.; Data curation, W.G., L.D. and B.D.; Formal analysis, W.G., L.D., B.D. and T.S.; Investigation, W.G. and L.D.; Methodology, W.G. and L.D.; Supervision, B.D., T.S. and L.W.d.O.; Validation, W.G., L.D. and B.D.; Writing—original draft, W.G., L.D., B.D. and T.S.; Writing—review & editing, W.G., B.D., T.S. and L.W.d.O. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported in part by Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (CAPES) under Grant 001, Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq) under the grants 404068/2020-0, Fundação de Amparo à Pesquisa do Estado de Minas Gerais (FAPEMIG) under the grant APQ-03609-17, and Instituto Nacional de Energia Elétrica (INERGE). It is also supported by Norte Portugal Regional Operational Programme (NORTE 2020), under the PORTUGAL 2020 Partnership Agreement, through the European Regional Development Fund (ERDF), within the DECARBONIZE project under agreement NORTE-01-0145-FEDER-000065 and by the Scientific Employment Stimulus Programme from the Fundação para a Ciência e a Tecnologia (FCT) under the agreement 2021.01353.CEECIND. The icons used in Figure 1 were designed by Freepik, berkahicon, Ilham Fitrotul Hayat from Flaticon (https://www.flaticon.com/, accessed on 1 September 2022).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All the data required to reproduce the results of this study are available on the paper and at https://data.mendeley.com/datasets/7jhvbsxfdc/1, accessed on 1 September 2022).

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

The following abbreviations are used in this manuscript:
Parameters   
η c , η d Battery charging and discharging efficiency
c c o m Cost of transactions inside the communities
c e x p Cost of export transactions
c i m p Cost of import transactions
c s p r Variation between import and export costs
c j N e t Energy price related to asset p j
c j B a t t e r y Energy price related to asset s j
λ c , λ d Battery charge and discharge rate
λ s d Self-discharge rate
τ Time horizon
Θ Set of communities
Γ Set of decision variables
Υ Set of agents that have or are BESS
Ψ Set of agents that are prosumers
nNumber of agents that make up the community
ξ c a l Temporal degradation of BESS
T s h e l f BESS lifetime reported in its datasheet
Variables   
b j Battery nominal capacity
p j Net energy balance
s j Energy used to charge or discharge the battery
q j Energy consumed from/or provided for internal sharing
α j Energy imported by the agent
β j        Energy exported by the agent
q i m p Energy imported by the community from another or from an external agent
q e x p Energy exported by the community from another or from an external agent
ϕ j Battery state of charge
δ j Auxiliary variable—represents intra/intercommunity battery export and import
exchanges
n c e q Equivalent number of BESS’s charge/discharge cycles
n c D o D Number of BESS’s charge/discharge cycles
ξ c y c Daily degradation rate due to cyclic aging
Subscript   
jAgent belonging to the communities
c h Charging
d h Discharging
s d Self-discharge
tSimulation period
dDay
i m p Importation
e x p Exportation
c o m Community
s p r Spread
D o D Depth of discharge
Superscript   
N e t Net energy balance costs (m.u.)
B a t t e r y Battery’s energy costs (m.u.)

References

  1. Renewables 2020. Global Status Report; REN21 Secretariat: Paris, France, 2020; Available online: https://www.ren21.net/gsr-2020/ (accessed on 28 August 2020).
  2. Deotti, L.; Guedes, W.; Dias, B.; Soares, T. Technical and economic analysis of battery storage for residential solar photovoltaic systems in the Brazilian regulatory context. Energies 2020, 13, 6517. [Google Scholar] [CrossRef]
  3. Gardiner, D.; Schmidt, O.; Heptonstall, P.; Gross, R.; Staffell, I. Quantifying the impact of policy on the investment case for residential electricity storage in the UK. J. Energy Storage 2020, 27, 101140. [Google Scholar] [CrossRef]
  4. Ralon, P.; Taylor, M.; Ilas, A.; Diaz-Bone, H.; Kairies, K. Electricity Storage and Renewables: Costs and Markets to 2030; International Renewable Energy Agency: Abu Dhabi, United Arab Emirates, 2017; Volume 164. [Google Scholar]
  5. Zafeiropoulou, M.; Mentis, I.; Sijakovic, N.; Terzic, A.; Fotis, G.; Maris, T.I.; Vita, V.; Zoulias, E.; Ristic, V.; Ekonomou, L. Forecasting transmission and distribution system flexibility needs for severe weather condition resilience and outage management. Appl. Sci. 2022, 12, 7334. [Google Scholar] [CrossRef]
  6. Adewumi, O.B.; Fotis, G.; Vita, V.; Nankoo, D.; Ekonomou, L. The impact of distributed energy storage on distribution and transmission networks’ power quality. Appl. Sci. 2022, 12, 6466. [Google Scholar] [CrossRef]
  7. Say, K.; Schill, W.P.; John, M. Degrees of displacement: The impact of household PV battery prosumage on utility generation and storage. Appl. Energy 2020, 276, 115466. [Google Scholar] [CrossRef]
  8. Schopfer, S.; Tiefenbeck, V.; Staake, T. Economic assessment of photovoltaic battery systems based on household load profiles. Appl. Energy 2018, 223, 229–248. [Google Scholar] [CrossRef]
  9. Masson, G.; Kaizuka, I. Trends 2019 in Photovoltaic Applications; Photovoltaic Power Systems Programme: Rheine, Germany, 2019. [Google Scholar]
  10. Nousdilis, A.I.; Christoforidis, G.C.; Papagiannis, G.K. Active power management in low voltage networks with high photovoltaics penetration based on prosumers’ self-consumption. Appl. Energy 2018, 229, 614–624. [Google Scholar] [CrossRef]
  11. Von Hirschhausen, C. Prosumage and the future regulation of utilities: An introduction. Econ. Energy Environ. Policy 2017, 6, 1–6. [Google Scholar] [CrossRef]
  12. Khorasany, M.; Najafi-Ghalelou, A.; Razzaghi, R. A framework for joint scheduling and power trading of prosumers in transactive markets. IEEE Trans. Sustain. Energy 2020, 12, 955–965. [Google Scholar] [CrossRef]
  13. Moret, F.; Pinson, P. Energy collectives: A community and fairness based approach to future electricity markets. IEEE Trans. Power Syst. 2018, 34, 3994–4004. [Google Scholar] [CrossRef]
  14. Sousa, T.; Soares, T.; Pinson, P.; Moret, F.; Baroche, T.; Sorin, E. Peer-to-peer and community-based markets: A comprehensive review. Renew. Sustain. Energy Rev. 2019, 104, 367–378. [Google Scholar] [CrossRef] [Green Version]
  15. Oliveira, C.; Botelho, D.F.; Soares, T.; Faria, A.S.; Dias, B.H.; Matos, M.A.; de Oliveira, L.W. Consumer-centric electricity markets: A comprehensive review on user preferences and key performance indicators. Electr. Power Syst. Res. 2022, 210, 108088. [Google Scholar] [CrossRef]
  16. He, L.; Zhang, J. A community sharing market with PV and energy storage: An adaptive bidding-based double-side auction mechanism. IEEE Trans. Smart Grid 2020, 12, 2450–2461. [Google Scholar] [CrossRef]
  17. Kalkbrenner, B.J. Residential vs. community battery storage systems–consumer preferences in Germany. Energy Policy 2019, 129, 1355–1363. [Google Scholar] [CrossRef]
  18. Parra, D.; Swierczynski, M.; Stroe, D.I.; Norman, S.A.; Abdon, A.; Worlitschek, J.; O’Doherty, T.; Rodrigues, L.; Gillott, M.; Zhang, X.; et al. An interdisciplinary review of energy storage for communities: Challenges and perspectives. Renew. Sustain. Energy Rev. 2017, 79, 730–749. [Google Scholar] [CrossRef]
  19. Crespo-Vazquez, J.L.; AlSkaif, T.; González-Rueda, Á.M.; Gibescu, M. A community-based energy market design using decentralized decision-making under uncertainty. IEEE Trans. Smart Grid 2020, 12, 1782–1793. [Google Scholar] [CrossRef]
  20. Ma, L.; Wang, L.; Liu, Z. Multi-level trading community formation and hybrid trading network construction in local energy market. Appl. Energy 2021, 285, 116399. [Google Scholar] [CrossRef]
  21. Grzanić, M.; Morales, J.M.; Pineda, S.; Capuder, T. Electricity cost-sharing in energy communities under dynamic pricing and uncertainty. IEEE Access 2021, 9, 30225–30241. [Google Scholar] [CrossRef]
  22. Chakraborty, P.; Baeyens, E.; Poolla, K.; Khargonekar, P.P.; Varaiya, P. Sharing storage in a smart grid: A coalitional game approach. IEEE Trans. Smart Grid 2018, 10, 4379–4390. [Google Scholar] [CrossRef] [Green Version]
  23. Paudel, A.; Chaudhari, K.; Long, C.; Gooi, H.B. Peer-to-peer energy trading in a prosumer-based community microgrid: A game-theoretic model. IEEE Trans. Ind. Electron. 2018, 66, 6087–6097. [Google Scholar] [CrossRef]
  24. Rocha, R.; Collado, J.V.; Soares, T.; Retorta, F. Local energy markets for energy communities with grid constraints. In Proceedings of the 2020 17th International Conference on the European Energy Market (EEM), Stockholm, Sweden, 16–18 September 2020; pp. 1–6. [Google Scholar]
  25. Barbosa, P.H.P.; Dias, B.H.; Soares, T. Analysis of consumer-centric market models in the Brazilian context. In Proceedings of the 2020 IEEE PES Transmission & Distribution Conference and Exhibition—Latin America (T&D LA), Chicago, IL, USA, 12–15 October 2020; pp. 1–6. [Google Scholar]
  26. Khorasany, M.; Razzaghi, R.; Gazafroudi, A.S. Two-stage mechanism design for energy trading of strategic agents in energy communities. Appl. Energy 2021, 295, 117036. [Google Scholar] [CrossRef]
  27. Cornélusse, B.; Savelli, I.; Paoletti, S.; Giannitrapani, A.; Vicino, A. A community microgrid architecture with an internal local market. Appl. Energy 2019, 242, 547–560. [Google Scholar] [CrossRef] [Green Version]
  28. Reis, I.F.; Gonçalves, I.; Lopes, M.A.; Antunes, C.H. Assessing the influence of different goals in energy communities’ self-sufficiency—An optimized multiagent approach. Energies 2021, 14, 989. [Google Scholar] [CrossRef]
  29. Lüth, A.; Zepter, J.M.; del Granado, P.C.; Egging, R. Local electricity market designs for peer-to-peer trading: The role of battery flexibility. Appl. Energy 2018, 229, 1233–1243. [Google Scholar] [CrossRef] [Green Version]
  30. Zepter, J.M.; Lüth, A.; Del Granado, P.C.; Egging, R. Prosumer integration in wholesale electricity markets: Synergies of peer-to-peer trade and residential storage. Energy Build. 2019, 184, 163–176. [Google Scholar] [CrossRef]
  31. Martins, R.; Musilek, P.; Hesse, H.C. Optimization of photovoltaic power self-consumption using linear programming. In Proceedings of the 2016 IEEE 16th International Conference on Environment and Electrical Engineering (EEEIC), Florence, Italy, 7–10 June 2016; pp. 1–5. [Google Scholar]
  32. Dulout, J.; Luna, A.; Anvari-Moghaddam, A.; Alonso, C.; Guerrero, J.; Jammes, B. Optimal scheduling of a battery-based energy storage system for a microgrid with high penetration of renewable sources. In Proceedings of the ELECTRIMACS 2017, Toulouse, France, 4–6 July 2017; p. 6. [Google Scholar]
  33. Long, C.; Wu, J.; Zhou, Y.; Jenkins, N. Peer-to-peer energy sharing through a two-stage aggregated battery control in a community Microgrid. Appl. Energy 2018, 226, 261–276. [Google Scholar] [CrossRef]
  34. Schram, W.L.; AlSkaif, T.; Lampropoulos, I.; Henein, S.; van Sark, W.G. On the trade-off between environmental and economic objectives in community energy storage operational optimization. IEEE Trans. Sustain. Energy 2020, 11, 2653–2661. [Google Scholar] [CrossRef]
  35. Schmidt, O.; Melchior, S.; Hawkes, A.; Staffell, I. Projecting the future levelized cost of electricity storage technologies. Joule 2019, 3, 81–100. [Google Scholar] [CrossRef] [Green Version]
  36. Hesse, H.C.; Schimpe, M.; Kucevic, D.; Jossen, A. Lithium-ion battery storage for the grid—A review of stationary battery storage system design tailored for applications in modern power grids. Energies 2017, 10, 2107. [Google Scholar] [CrossRef] [Green Version]
  37. DiOrio, N.; Dobos, A.; Janzou, S.; Nelson, A.; Lundstrom, B. Technoeconomic Modeling of Battery Energy Storage in SAM; Technical report; National Renewable Energy Laboratory (NREL): Golden, CO, USA, 2015. [Google Scholar]
  38. Marsh, G.; Wignall, C.; Thies, P.R.; Barltrop, N.; Incecik, A.; Venugopal, V.; Johanning, L. Review and application of Rainflow residue processing techniques for accurate fatigue damage estimation. Int. J. Fatigue 2016, 82, 757–765. [Google Scholar] [CrossRef]
  39. Xiao, J.; Zhang, Z.; Bai, L.; Liang, H. Determination of the optimal installation site and capacity of battery energy storage system in distribution network integrated with distributed generation. IET Gener. Transm. Distrib. 2016, 10, 601–607. [Google Scholar] [CrossRef]
  40. He, G.; Chen, Q.; Kang, C.; Pinson, P.; Xia, Q. Optimal bidding strategy of battery storage in power markets considering performance-based regulation and battery cycle life. IEEE Trans. Smart Grid 2015, 7, 2359–2367. [Google Scholar] [CrossRef] [Green Version]
  41. Ratnam, E.L.; Weller, S.R.; Kellett, C.M.; Murray, A.T. Residential load and rooftop PV generation: An Australian distribution network dataset. Int. J. Sustain. Energy 2017, 36, 787–806. [Google Scholar] [CrossRef]
  42. Ziras, C.; Sousa, T.; Pinson, P. What do prosumer marginal utility functions look like? Derivation and analysis. IEEE TRansactions Power Syst. 2021, 36, 4322–4330. [Google Scholar] [CrossRef]
  43. Power Plus Energy. LiFe Premium 2RU19 Specification. Available online: https://www.powerplus-energy.com.au/wp-content/uploads/2019/03/LiFe-Premium-2RU19-Specifications-REV03.pdf (accessed on 10 February 2021).
  44. Jain, R.K.; Chiu, D.M.W.; Hawe, W.R. A Quantitative Measure of Fairness and Discrimination; Eastern Research Laboratory, Digital Equipment Corporation: Hudson, MA, USA, 1984. [Google Scholar]
  45. Hoßfeld, T.; Skorin-Kapov, L.; Heegaard, P.E.; Varela, M. Definition of QoE fairness in shared systems. IEEE Commun. Lett. 2016, 21, 184–187. [Google Scholar] [CrossRef]
  46. MathWorks. Matlab. Available online: https://www.mathworks.com/products/matlab.html (accessed on 10 October 2021).
  47. MathWorks. Intlinprog. Available online: https://www.mathworks.com/help/optim/ug/intlinprog.html (accessed on 10 October 2021).
  48. MathWorks. Linprog. Available online: https://www.mathworks.com/help/optim/ug/linprog.html (accessed on 10 October 2021).
  49. Absolute Values. Available online: http://lpsolve.sourceforge.net/5.1/absolute.htm (accessed on 15 October 2021).
Figure 1. Community-based market design with BESS at different arrangements: (a) agents with individual BESSs—prosumages, (b) individual BESSs per community—intracommunity agents, and (c) the BESS as a separate community—intercommunity agent.
Figure 1. Community-based market design with BESS at different arrangements: (a) agents with individual BESSs—prosumages, (b) individual BESSs per community—intracommunity agents, and (c) the BESS as a separate community—intercommunity agent.
Energies 15 07714 g001
Figure 2. Flowchart of the proposed analysis.
Figure 2. Flowchart of the proposed analysis.
Energies 15 07714 g002
Figure 3. Quadratic cost vs. linear cost.
Figure 3. Quadratic cost vs. linear cost.
Energies 15 07714 g003
Figure 4. State of charge for Case 1 during day 6.
Figure 4. State of charge for Case 1 during day 6.
Energies 15 07714 g004
Table 1. Comparison of energy market studies with storage systems.
Table 1. Comparison of energy market studies with storage systems.
ReferenceYearMethodEnergy MarketMarket StructureBattery
Degradation
Battery Insertion Arrangement
Hour-AheadDay-AheadIntra-DayReal-TimeProsumageIntracommunity *Intercommunity **
[23]2018Noncooperative game theoryCommunity-based P2P Market XNoX
[16]2020Noncooperative game/Bilateral Nash gameCommunity-based MarketX XNoX
[26]2021Two-stage mechanismCommunity-based Market X XYesX
[19]2020Stochastic programming/ADMMCommunity-based Market X XNoX
[27]2019Non-linear bilevelCommunity-based Market X NoX
[28]2021Distributed artificial intelligence and optimizationCommunity-based Market X NoX
[29]2018Linear optimizationCommunity-based P2P Market X NoXX
[30]2019Two-stage stochastic linear programCommunity-based P2P Market XX NoX
Proposed Model2021Linear optimizationCommunity-based Market X YesXXX
* Intracommunity: The BESS as an independent agent belonging to a community; ** Intercommunity: The BESS as an independent agent who does not belong to any community buttrades with all communities.
Table 2. Nominal generation capacity of the prosumers.
Table 2. Nominal generation capacity of the prosumers.
AgentCommunity 1Community 2Community 3
Prosumer 12 kWp2 kWp6.2 kWp
Prosumer 22.7 kWp4.2 kWp8 kWp
Prosumer 33 kWp8 kWp9.9 kWp
Table 3. Main technical parameters of the BESS.
Table 3. Main technical parameters of the BESS.
ParameterValueReference
ϕ ̲ / ϕ ¯ 0.2/0.8[33]
λ c / λ d 0.5/0.9375[43]
λ s d 8.6086 × 10 6 [43]
η c / η d 0.96/0.96[43]
a 2 / a 3 38,200/−0.02686[39,43] *
* Calculated based on [39] with data from [43].
Table 4. Nominal storage capacity adopted for agents.
Table 4. Nominal storage capacity adopted for agents.
CaseAgentCommunity
123Extra
1Prosumage 11.65 kWh1.65 kWh3.3 kWh-
1Prosumage 21.65 kWh1.65 kWh3.3 kWh-
1Prosumage 33.3 kWh3.3 kWh3.3 kWh-
2Intracommunity6.6 kWh6.6 kWh9.9 kWh-
3Intercommunity---23.1 kWh
Table 5. Main results found in the performed simulations.
Table 5. Main results found in the performed simulations.
Case AnalyzedSWShared Energy Inside
the Communities ( q j )
Energy Exchanges in the
Market ( q imp , q exp )
QoSQoE
ProvidedConsumedImportedExportedMeanSt. Dev.MeanSt. Dev.
Base Case2649.60 m.u.1456.10 kWh−1456.10 kWh43,754 kWh43,754 kWh0.73440.08500.75290.4014
Case 12359.10 m.u.2096.20 kWh−2096.20 kWh37,809 kWh37,809 kWh0.73610.09520.39550.3656
Case 22885 m.u.44,459 kWh−44,459 kWh45284 kWh45,284 kWh0.68750.06950.89550.1978
Case 32976.30 m.u.1451.70 kWh−1451.70 kWh57,506 kWh57,506 kWh0.73920.08580.75260.4006
Table 6. Energy balance—Case 1.
Table 6. Energy balance—Case 1.
Market Agentspq α β s
Community 1
Prosumage 1−0.48720.849100−0.3619
Prosumage 21.9780−0.84910.65340−0.4755
Prosumage 31.674000.72980−0.9442
Community 2
Prosumage 1−0.48720.404500.4872−0.4045
Prosumage 20.6852−0.7902000.1050
Prosumage 3−1.93500.385701.9350−0.3857
Community 3
Prosumage 1−0.0296000.0444−0.0148
Prosumage 2−1.9350001.93500
Prosumage 3−1.4388001.43880
External Player4.457204.457200
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Guedes, W.; Deotti, L.; Dias, B.; Soares, T.; de Oliveira, L.W. Community Energy Markets with Battery Energy Storage Systems: A General Modeling with Applications. Energies 2022, 15, 7714. https://doi.org/10.3390/en15207714

AMA Style

Guedes W, Deotti L, Dias B, Soares T, de Oliveira LW. Community Energy Markets with Battery Energy Storage Systems: A General Modeling with Applications. Energies. 2022; 15(20):7714. https://doi.org/10.3390/en15207714

Chicago/Turabian Style

Guedes, Wanessa, Lucas Deotti, Bruno Dias, Tiago Soares, and Leonardo Willer de Oliveira. 2022. "Community Energy Markets with Battery Energy Storage Systems: A General Modeling with Applications" Energies 15, no. 20: 7714. https://doi.org/10.3390/en15207714

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