If you see this, something is wrong
First published on Monday, Jul 13, 2026 and last modified on Monday, Jul 13, 2026 by François Chaplais.
Catalonia Institute for Energy Research (IREC), Barcelona, Spain Email
Catalonia Institute for Energy Research (IREC), Barcelona, Spain Email
Catalonia Institute for Energy Research (IREC), Barcelona, Spain Email
Demand response, energy communities, sharing coefficients
Renewable energy communities can increase local photovoltaic (PV) use, but feeder-level surplus can still cause reverse power flow in low-voltage networks. Existing sharing coefficient methods are mainly used ex-post for surplus allocation and billing, so they do not directly guide demand toward hours and feeders where shared PV can reduce export. This paper proposes a sharing coefficient-based demand response framework that converts dynamic proportional allocation outcomes into household specific day-ahead price signals. The feeder-aware design first shares surplus within each feeder, while the feeder-agnostic design shares surplus through a single community pool. The energy community manager iteratively computes the allocation from submitted demand and PV forecasts, decomposes purchased energy into same-feeder, inter-feeder, and grid-import components, and coordinates household load reshaping through a convex optimization model. Using measured profiles from 15 households and AC power flow analysis, the framework reduces feeder reverse energy by 45.0% and 44.6% on selected high reverse energy days, and by 69.0% and 66.3% over the annual window, for the feeder-aware and feeder-agnostic cases, respectively. These results show that sharing coefficients can be used not only for ex-post billing, but also as operational price signals for demand response, with feeder-aware allocation providing an additional network benefit by accounting for household location in the low-voltage network.
The transition toward low-carbon power systems is accelerating the decentralization of electricity generation, mainly driven by the increasing deployment of distributed energy resources such as residential photovoltaic (PV) systems. As a result, end users are evolving from passive consumers to active prosumers, and distribution networks are becoming active platforms for integrating local renewable energy.
In this context, energy communities have emerged as a framework to involve citizens and local actors in the energy transition. They enable participants to jointly organize local energy activities and share the resulting economic benefits [1, 2]. In Europe, this concept has been supported by the Clean Energy for all Europeans package [3] and formalized through Directive (EU) 2018/2001 and Directive (EU) 2019/944 [4, 5]. In residential PV-based communities, surplus generation can be shared among members through collective self-consumption schemes, improving local renewable energy utilization and reducing electricity imports and costs [6, 7].
Energy sharing is typically implemented through sharing coefficients, which define how surplus generation is allocated among participants. These coefficients can be fixed, proportional, priority-based, or dynamic. While they provide a structured mechanism for allocation and settlement, they do not directly influence consumption behavior, and therefore have limited impact on aligning demand with periods of local renewable generation [8]. Demand response addresses this limitation by adjusting flexible loads in response to price signals [9, 10]. However, the effectiveness of such signals also depends on the distribution network, since the value of shared energy is influenced not only by its quantity but also by its location. Without considering network topology, economic benefits may not translate into grid benefits, motivating the design of price signals that account for both energy value and network impact [11, 12].
In recent years, many studies have investigated how prosumers can exchange energy inside local communities. Review papers have summarized different models for this purpose, including peer-to-peer trading, community self-consumption, local pricing, and prosumer decision-making [13, 14]. Energy collectives have also been proposed to coordinate community members while considering common objectives and fairness in the distribution of benefits [15]. Other studies have developed peer-to-peer market structures in which participants can trade energy directly according to their preferences [16], or through bilateral contracts between distributed resources and flexible consumers [17]. These works provide important foundations for local energy exchange. However, their main focus is on the organization, pricing, and settlement of local transactions. The use of local sharing outcomes as price signals for household demand response and distribution network operation is not the central scope of these studies.
Another line of work has focused on sharing coefficients as a mechanism for allocating shared energy in renewable energy communities and collective self-consumption schemes. In the Portuguese regulatory context, fixed and time-variable sharing coefficients have been evaluated for renewable energy communities. The results show that time-variable coefficients can improve the use of shared energy, while the benefits received by each participant depend on their demand level and on whether self-consumption is considered before the sharing process [18]. More recent studies have developed dynamic sharing coefficients to better capture the time-varying behavior of community members. These methods include consumption-proportional allocation, correlation-based allocation between consumption and surplus generation, trend-based allocation, and hybrid combinations of these coefficients [19]. Optimization-based approaches have also been proposed, where sharing coefficients are computed by a centralized optimization problem to minimize the total electricity bill of the community. Additional constraints can be included to improve the stability of the community and avoid unfair benefit allocation among members [20]. A grid-informed sharing coefficient strategy has also been proposed to account for the feeder location of community members. This strategy can be applied to different fixed and dynamic sharing coefficients, including equal, proportional, and priority-based designs. In this approach, same-feeder sharing is prioritized before allocating the remaining surplus at the community level, allowing the sharing process to reflect the spatial structure of the distribution network [1]. These studies improve the allocation of shared energy and can make participation in an energy community more economically attractive. However, their role is still mainly related to allocation and settlement.
Price-based demand response is a practical way to link energy sharing with flexible consumption. For example, in one energy-sharing model for PV prosumers, the internal price is defined based on the balance between local supply and demand, so each user can adjust their flexible load accordingly [21]. Later studies extend this idea by using home energy management systems to schedule appliances, storage, PV, and electric vehicles under dynamic peer-to-peer prices. These prices usually depend on the local supply–demand situation and the relation between buying and selling electricity from the grid [22]. Some works also move toward fully decentralized approaches, where users make their own decisions based on time-of-use prices, incentives, and peer-to-peer trading, while keeping their data private [23]. In renewable energy communities, centralized demand response has also been studied, where flexible demand is coordinated with local PV generation. This helps increase self-consumption and reduce overall electricity costs [24]. Although these studies show that price-based demand response can help shift consumption and better use local renewable energy, the price signals are usually based on overall supply–demand balance or market rules.
Network-aware local energy trading has also been studied to ensure that local exchanges do not create adverse impacts on the distribution grid. Existing approaches include sensitivity-based validation of peer-to-peer transactions under voltage and line constraints [25], integration of peer-to-peer trading with distribution locational marginal pricing [26], distributed network-constrained local energy markets [27], and regional sharing prices or network usage fees for multi-region energy sharing [28]. While these approaches account for grid limitations, they are mostly based on market-clearing or network-optimization frameworks.
Although local energy sharing, sharing coefficients, price-based demand response, and network-aware local markets have each been studied, they are still mostly treated separately. Sharing coefficients are commonly used as ex-post tools to allocate shared energy and settle benefits among members. Price-based demand response models can reshape household consumption, but their price signals are usually derived from aggregate demand–supply conditions, tariffs, incentives, or market rules, rather than from the shared energy actually allocated to each household. Network-aware market models include grid constraints, but mainly through market-clearing, locational pricing, or transaction-validation mechanisms. Therefore, to the best of our knowledge, existing studies have not used sharing coefficients that reflect both household-level shared-energy allocation and electrical location as household-specific price signals for demand response.
To address this gap, this paper extends our previous work in [1] by moving the grid-informed sharing mechanism from ex-post surplus allocation and settlement to the design of household-specific day-ahead price signals for demand response. The proposed framework compares feeder-aware and feeder-agnostic allocation strategies, where the former prioritizes sharing among members connected to the same feeder and the latter allocates surplus through a single community pool. This enables the impact of allocation design to be evaluated in terms of demand shifting, economic performance, and grid operation.
The main contributions of this paper are summarized as follows:
The remainder of this paper is organized as follows. Section II presents the proposed sharing coefficient-based demand response framework. Section III describes the case study, tariff parameters, and discusses the numerical results. Section IV concludes the paper.
This section presents the proposed day-ahead demand response framework. The method builds on the grid-informed sharing coefficient concept introduced in our previous work [1], where sharing coefficients were used after the realization of production and consumption to allocate surplus energy and compute billing quantities. In the present work, this allocation principle is moved to the operational stage. The coefficients are computed from day-ahead PV generation and demand forecasts and are then used to construct household-specific price signals for demand response.
Among the sharing mechanisms evaluated in [1], the dynamic proportional rule is selected because it allocates surplus according to the instantaneous unmet demand of the participants. It therefore adapts to the hourly mismatch between local production and consumption. The proposed framework applies this rule under two feeder-aware and feeder-agnostic allocation strategies. The feeder-aware strategy first allocates surplus within each feeder and then allocates any residual surplus at the community level. The feeder-agnostic strategy disregards feeder membership and allocates the community surplus in a single stage.
Indices \( i\) and \( j\) refer to energy community members, \( f\) to feeders, and \( t\) to hourly time periods. The allocation strategy is indexed by \( m\in\{\mathrm{FA},\mathrm{AG}\}\) , where \( \mathrm{FA}\) and \( \mathrm{AG}\) denote the feeder-aware and feeder-agnostic cases, respectively. Let \( \mathcal{N}\) be the set of community members and let \( \mathcal{T}=\{1,…,T\}\) be the day-ahead scheduling horizon. The set of feeders is denoted by \( \mathcal{F}\) . Each member \( i\in\mathcal{N}\) is connected to one feeder, denoted by \( \phi_i\in\mathcal{F}\) . For each feeder \( f\in\mathcal{F}\) , the subset of members connected to that feeder is defined as
(1)
All energy quantities are expressed per time interval. With hourly data, they are numerically equivalent to average power in kW over the hour. The forecasted PV generation of member \( i\) at time \( t\) is denoted by \( p_{i,t}\) . The baseline day-ahead demand forecast, before applying the proposed sharing coefficient-based demand response coordination, is denoted by \( \ell_{i,t}\) . The demand profile submitted to the energy community manager (ECM) during the coordination process is denoted by \( x_{i,t}\) . For a given submitted profile \( x_{i,t}\) , the self-consumed energy, the residual demand not covered by the member’s own PV generation, and the PV surplus remaining after self-consumption are defined respectively as
(2)
(3)
(4)
For any subset of members \( \mathcal{M}\subseteq\mathcal{N}\) , let \( i\) denote the member for which the coefficient is computed, and let \( j\) be the summation index over all members in \( \mathcal{M}\) . The dynamic proportional demand coefficient of member \( i\in\mathcal{M}\) is
(5)
Similarly, the dynamic proportional surplus coefficient of member \( i\in\mathcal{M}\) is
(6)
The coefficient in (5) is an allocation key and not an energy quantity. In each allocation stage, the coefficient is multiplied by the available surplus, and the resulting amount is limited by the participant’s residual demand. The coefficient in (6) is used to attribute the shared energy to surplus producers for settlement and price signal construction.
The feeder-agnostic strategy allocates the community surplus in a single stage, without reflecting the location of the members within feeders. For member \( i\) , the provisional allocation is
(7)
Since the provisional allocation may exceed the residual demand of a member when the available surplus is larger than the total residual demand, the actual feeder-agnostic allocation is capped by the member’s residual demand as
(8)
The total allocation in the feeder-agnostic pool is
(9)
The part of the feeder-agnostic allocation attributed to producer \( i\) is
(10)
Since the feeder-agnostic strategy allocates energy at the community level, the allocation received by a member is not explicitly separated into same-feeder and inter-feeder contributions. Therefore, the same-feeder part is estimated by comparing the shared energy attributed to surplus producers in feeder \( f\) with the shared energy received by consumers in the same feeder. The fraction of the allocation received in feeder \( f\) that can be treated as same-feeder sharing is
(11)
The feeder-agnostic allocation is then decomposed as
(12)
(13)
(14)
The feeder-aware allocation is carried out in two stages. The first stage uses the surplus available inside each feeder to supply the residual demand of members connected to that feeder. For member \( i\) , the provisional local allocation, before capping it by the residual demand of that member, is
(15)
The actual local allocation is then obtained as
(16)
The total local allocation in feeder \( f\) is
(17)
Since this stage only allocates surplus within the same feeder, \( a_{i,t}^{\mathrm{loc}}\) is treated as same-feeder sharing. The demand and surplus not settled locally are carried to the second stage. These residual quantities are
(18)
(19)
The second stage allocates the remaining surplus at the community level according to the residual demand. The residual demand coefficient of member \( i\) is
(20)
The provisional community-level allocation, before capping it by the residual demand of the member, is
(21)
The actual community-level allocation is then
(22)
The total allocation in the community-level stage is
(23)
The classification of the second-stage allocation follows from the residual structure created by the local stage. If the total surplus in a feeder is less than or equal to the total demand in that feeder, all local surplus is used in the first stage and only residual demand can remain. If the total surplus in a feeder is larger than the total demand in that feeder, all local demand is supplied in the first stage and only residual surplus can remain. Therefore, after the local stage, a feeder cannot contain both residual demand and residual surplus. Any allocation received in the community-level stage must consequently be supplied by surplus remaining in other feeders and is treated as inter-feeder sharing.
(24)
(25)
(26)
Here, \( A_{i,t}^{\mathrm{same,FA}}\) is the part treated as same-feeder sharing, \( A_{i,t}^{\mathrm{other,FA}}\) is the part treated as inter-feeder sharing, and \( G_{i,t}^{\mathrm{FA}}\) is the remaining grid import.
For either strategy \( m\in\{\mathrm{FA},\mathrm{AG}\}\) , the submitted demand is decomposed into self-consumption, same-feeder sharing, inter-feeder sharing, and grid import:
(27)
The proposed demand response signal is derived from the allocation decomposition in (24)–(26) or (12)–(14). The retail tariff is decomposed into an energy component \( c^{\mathrm{en}}\) , a network component \( c^{\mathrm{net}}\) , and other regulated charges \( c^{\mathrm{reg}}\) . Therefore, the price of importing energy from the grid is
(28)
Energy bought inside the community receives a discount on the network component. The discount is larger when the allocation is treated as same-feeder sharing than when it is treated as inter-feeder sharing. Let \( \rho^{\mathrm{same}}\) and \( \rho^{\mathrm{other}}\) be the fractions of the network component that remain in the same-feeder and inter-feeder prices, respectively, with \( 0\leq\rho^{\mathrm{same}}\leq\rho^{\mathrm{other}}\leq 1\) . These fractions are exogenous tariff-design parameters, determined by the applicable regulation or by the community contract rather than by the demand response optimization. The corresponding community purchase prices are
(29)
(30)
Under this convention, \( 1-\rho^{\mathrm{same}}\) and \( 1-\rho^{\mathrm{other}}\) represent the network charge discounts applied to same-feeder and inter-feeder sharing, respectively.
For strategy \( m\in\{\mathrm{FA},\mathrm{AG}\}\) , the purchase cost associated with member \( i\) at time \( t\) is
(31)
The total purchased energy after self-consumption is
(32)
For \( q_{i,t}^{m}>0\) , the household-specific price signal is defined as the effective unit cost of purchased energy implied by the allocation outcome:
(33)
If \( q_{i,t}^{m}=0\) , member \( i\) does not purchase energy in that hour and the ratio in (33) is not directly defined. This case does not affect the household objective as long as the scheduled demand remains below or equal to the PV generation, because the purchased energy term is then zero. To obtain a price signal for a possible upward shift above \( p_{i,t}\) , the ECM evaluates the same effective-price rule after increasing only the demand of member \( i\) in that hour to \( p_{i,t}+\delta^{\mathrm{p}}\) , while keeping all other submitted quantities unchanged. The perturbation \( \delta^{\mathrm{p}}\) is used only for this price evaluation and is set to \( 10^{-3}\) kWh in the numerical study, which is small relative to the hourly household demand values and does not affect the final allocation or billing calculation.
The household response model follows the general structure of an aggregate load shifting formulation previously used for price-based energy sharing, where an internal community price is derived from the supply-demand ratio of the sharing zone [21]. In contrast, the present work derives household and hour-specific prices from the allocation decomposition into same-feeder sharing, inter-feeder sharing, and grid import. The response is modeled at the household level by allowing the day-ahead demand profile to be reshaped within the observed daily operating range of that household.
For a given price vector \( \boldsymbol{\pi}_i^{m}=\{\pi_{i,t}^{m}\}_{t\in\mathcal{T}}\) , household \( i\) solves
(34.a)
(34.b)
(34.c)
(34.d)
(34.e)
The objective (34.a) contains two terms. The first charges the purchased energy \( z_{i,t}\) at the household-specific price \( \pi_{i,t}^{m}\) , where constraints (34.d)–(34.e) ensure that \( z_{i,t}\) equals the energy drawn from outside the household’s own PV generation. The second term penalizes deviations from the base day-ahead demand forecast, with parameter \( \mu_i>0\) controlling the household’s willingness to shift consumption.
The equality constraint (34.b) preserves the total daily consumption of the household. Constraint (34.c) represents the flexibility range of the aggregate demand. The lower and upper bounds are defined from the base day-ahead demand profile of the same household as
(35)
(36)
for all \( t\in\mathcal{T}\) . Therefore, the optimized profile can shift consumption across hours while remaining within the household’s base daily demand range.
For a fixed price vector, problem (34) is solved independently by each household. The resulting direct response is denoted by \( y_{i,t}^{m}\) . In the iterative coordination procedure, this response is used by the ECM to update the submitted demand profile.
The proposed price signal is endogenous because it is computed from the sharing allocation. However, the sharing allocation depends on the demand profiles submitted by the households. Therefore, a price signal computed only once from the base demand forecast may become inconsistent after households shift their demand in response to that price. Once the demand profiles change, the residual demand, surplus allocation, grid import, and consequently the price signal also change. For this reason, an iterative coordination procedure is used to obtain a stable day-ahead schedule in which the final prices and the final household demand profiles are mutually consistent. The procedure is carried out separately for the feeder-aware and feeder-agnostic strategies.
For a selected strategy \( m\in\{\mathrm{FA},\mathrm{AG}\}\) , the ECM initializes the submitted demand profile with the base forecast, \( x_{i,t}^{(0)}=\ell_{i,t}\) . At iteration \( k\) , the ECM applies the corresponding sharing allocation to the current submitted demand \( x_{i,t}^{(k)}\) and the PV forecast \( p_{i,t}\) . This gives the self-consumed energy, same-feeder allocation, inter-feeder allocation, and grid import for each household and time period. The ECM then converts this decomposition into household-specific prices \( \pi_{i,t}^{m,(k)}\) using (33).
After receiving the price vector, each household solves (34) using \( \boldsymbol{\pi}_i^{m,(k)}\) and returns its direct response \( y_{i,t}^{m,(k+1)}\) . To avoid abrupt changes between two successive allocations and oscillations in the iterative procedure, the ECM updates the submitted demand profile as
(37)
Equation (37) introduces a relaxation step in the fixed-point coordination between allocation-based prices and household responses. Instead of replacing the submitted profile directly by the household response, the ECM blends the new response with the previous submitted profile. The parameter \( \alpha\) is used only in the ECM update and does not modify the household feasible set in (34). The sharing allocation and the corresponding prices are then recomputed from \( x_{i,t}^{(k+1)}\) .
The iteration is monitored using normalized changes in both the price signal and the submitted demand profile:
(38)
(39)
The iteration stops when
(40)
or when the maximum number of iterations is reached. The final submitted profile \( x_{i,t}^{(k^\star)}\) is taken as the day-ahead demand schedule induced by strategy \( m\) . The resulting feeder-aware and feeder-agnostic schedules are then compared with the base forecast using the economic and network performance metrics reported in the results section. The complete procedure is summarized in Algorithm 1.
The objective of this case study is to evaluate the proposed sharing coefficient-based demand response framework under realistic residential conditions, comparing the feeder-aware and feeder-agnostic allocation strategies in terms of economic performance and grid operation metrics. The numerical study is based on the Irish energy-community dataset in [29], which provides measured hourly residential consumption and PV generation profiles for 2020. In this study, the measured profiles are used as the day-ahead demand and PV forecasts submitted to the energy community manager.
Fifteen households are considered over the common data window from January 1, 2020 at 01:00 to December 11, 2020 at 23:00. The selected households include members with and without local PV generation. They are mapped to three radial low voltage feeders, with five households connected to each feeder. The resulting test community is summarized in Table 1.
| Feeder | Members | Prosumers | Consumers | Load | PV | PV/load |
| (MWh) | (MWh) | (%) | ||||
| F1 | H1–H5 | 5 | 0 | 21.89 | 9.28 | 42.4 |
| F2 | H6–H10 | 2 | 3 | 28.95 | 3.71 | 12.8 |
| F3 | H11–H15 | 2 | 3 | 21.52 | 3.53 | 16.4 |
| Total | H1–H15 | 9 | 6 | 72.36 | 16.51 | 22.8 |
The mapping gives a spatially non-uniform distribution of PV generation across the three feeders. Feeder F1 has the highest PV to load ratio, while F2 and F3 have lower PV penetration.
The low voltage network is modeled in Pandapower [30] and evaluated using AC power flow. The network consists of a 20kV upstream grid and three radial 0.4kV feeders. Each feeder is connected to the upstream grid through a 20/0.4kV, 25kVA transformer and supplies five household buses. Loads are modeled with a 0.95 lagging power factor, and PV units are modeled at unity power factor.
The retail tariff follows the decomposition in (28)–(30). The numerical values are adopted from our previous sharing coefficient study [1] and are reported in Table 2.
| Parameter | Value | Unit |
| \( c^{\mathrm{en}}\) | 0.1137 | EUR/kWh |
| \( c^{\mathrm{net}}\) | 0.1092 | EUR/kWh |
| \( c^{\mathrm{reg}}\) | 0.0333 | EUR/kWh |
| \( c^{\mathrm{grid}}\) | 0.2562 | EUR/kWh |
| \( \rho^{\mathrm{same}}\) | 0.2 | – |
| \( \rho^{\mathrm{other}}\) | 0.8 | – |
| \( c^{\mathrm{same}}\) | 0.1688 | EUR/kWh |
| \( c^{\mathrm{other}}\) | 0.2344 | EUR/kWh |
The demand response parameters are kept fixed across all numerical comparisons. The discomfort coefficient is set to \( \mu_i=0.2\) EUR/kWh\( ^2\) for all households, and the ECM relaxation factor is set to \( \alpha=0.5\) . The convergence tolerance is set to \( \varepsilon=10^{-4}\) , and the maximum number of coordination iterations is set to \( K_{\max}=50\) . The tolerance is applied to the normalized price and demand residuals in (38)–(39). With the tariff values in Table 2, this corresponds to a maximum price update below \( 2.56\times10^{-5}\) EUR/kWh and a maximum demand update below \( 10^{-4}\) of the household demand scale. The choices of \( \mu_i\) , \( \alpha\) , and \( K_{\max}\) are justified through sensitivity analyses and convergence statistics in the operational and economic performance section.
Three cases are compared. The base day-ahead demand forecast without demand response is used as the baseline. The proposed coordination framework is then evaluated using the feeder-aware allocation strategy and the feeder-agnostic allocation strategy. The same input profiles, tariff parameters, demand response parameters, and network model are used in all cases.
The main network indicator used in this study is the reverse power flow in each low voltage feeder. This metric is directly related to the objective of the proposed demand response framework, which is to shift demand toward periods of local PV availability and reduce the surplus power exported from feeders. High feeder reverse power can increase upstream power exchange and limit the ability of low voltage feeders to host additional distributed PV generation. In the AC power-flow results, feeder reverse power is taken as the exported active power at the feeder head. The reported reverse energy is obtained by integrating this feeder export over the evaluation period.
In addition to reverse energy, the results report the peak total reverse power, the peak import from the upstream grid, the main-grid export energy, network energy losses, and the minimum bus voltage obtained from the AC power-flow simulations. These indicators are used to verify that reverse energy reduction does not introduce adverse effects on other operating quantities.
The economic impact is evaluated using the total community bill. The relative saving with respect to the base demand profile without demand response is
(41)
where \( B^{\mathrm{base}}\) is the baseline bill and \( B\) is the bill obtained under the evaluated demand response strategy.
The operational performance is first evaluated on days with pronounced feeder-level reverse power, since these are the conditions under which the proposed demand response framework is most relevant. Such days indicate large PV surplus relative to local demand and are therefore the most informative cases for assessing whether allocation-based price signals can shift demand toward periods of local generation and reduce feeder export. From the baseline case, the days in which all three feeders experience reverse energy are identified, and the five days with the largest total feeder reverse energy are selected. The selected days are reported in Table 3. In the table, the total value is the sum of the daily reverse energy over the three feeders.
| Date | Total | F1 | F2 | F3 |
| (kWh) | (kWh) | (kWh) | (kWh) | |
| 2020-09-07 | 49.39 | 40.85 | 3.01 | 5.53 |
| 2020-07-08 | 44.48 | 38.92 | 3.47 | 2.09 |
| 2020-08-04 | 43.52 | 35.99 | 4.61 | 2.92 |
| 2020-06-21 | 43.14 | 36.29 | 4.92 | 1.92 |
| 2020-05-14 | 40.51 | 19.12 | 15.25 | 6.14 |
Table 3 shows that reverse energy is not uniformly distributed across the feeders. In most selected days, F1 is the dominant exporting feeder, which is consistent with its higher PV to load ratio in Table 1.
The average results over the selected days are summarized in Tables 4 and 5. The feeder-aware strategy reduces the average reverse energy from 44.21 in the baseline to 24.32 kWh/day, corresponding to a 45% reduction. The feeder-agnostic strategy gives a comparable reduction, reaching 24.51 kWh/day. The difference in total reverse energy is modest over this set of days, but the feeder-aware strategy also gives slightly lower main-grid export and community bill.
| Case | Rev. energy | Rev. peak | Main export | Bill | Saving |
| (kWh/day) | (kW) | (kWh/day) | (EUR/day) | (%) | |
| Base | 44.21 | 7.99 | 35.34 | 31.57 | 0.00 |
| Feeder-aware | 24.32 | 4.72 | 9.45 | 24.95 | 21.18 |
| Feeder-agnostic | 24.51 | 4.74 | 10.01 | 25.23 | 20.19 |
| Case | Peak import | Loss | \( V_{\min}\) | Iteration |
| (kW) | (kWh/day) | (p.u.) | ||
| Base | 10.57 | 0.158 | 0.9955 | – |
| Feeder-aware | 8.04 | 0.090 | 0.9963 | 15.6 |
| Feeder-agnostic | 8.04 | 0.091 | 0.9964 | 15.4 |
As shown in Table 5, both demand response strategies reduce the peak import and network energy losses, while the minimum voltage remains close to the baseline value in all cases. The reduction in main-grid export is also substantial, decreasing from 35.34 kWh/day to 9.45 kWh/day with the feeder-aware strategy and to 10.01 kWh/day with the feeder-agnostic strategy. This indicates that the shifted demand absorbs a larger share of the available PV generation within the community. The coordination process converges in a similar number of iterations for both strategies, with average values of 15.6 and 15.4 iterations for the feeder-aware and feeder-agnostic cases, respectively.
To examine the mechanism behind the reverse power flow reduction, May 14, 2020 is analyzed in more detail. This day is selected as a representative high reverse energy case because the baseline reverse energy is not concentrated in a single feeder. As reported in Table 3, the baseline profile produces 19.12, 15.25, and 6.14 kWh of reverse energy in F1, F2, and F3, respectively.
Fig. 1 shows the community demand and PV generation profiles under the baseline profile and under the two demand response strategies. In the baseline case, a large part of the PV generation occurs during hours in which the community demand is relatively low, leading to surplus generation around midday. After applying the allocation-based price signals, both demand response strategies shift part of the demand toward the PV production period. The feeder-aware and feeder-agnostic demand profiles are close at the aggregate community level, which indicates that both strategies produce a similar overall load shifting response.
The corresponding feeder-level reverse energy profiles are shown in Fig. 2. The demand shift observed in Fig. 1 reduces reverse power in all three feeders during the PV production hours. The feeder-aware and feeder-agnostic strategies produce similar reductions in F1, whereas the advantage of feeder-aware allocation is more visible in F2 and F3. This indicates that the feeder-aware signal mainly affects the spatial distribution of the response, rather than only the aggregate community demand.
Tables 6 and 7 report the corresponding operational and economic indicators. Relative to the baseline profile, the feeder-aware strategy reduces the total feeder reverse energy from 40.51 to 11.80 kWh, while the feeder-agnostic strategy reduces it to 13.00 kWh. The feeder-aware strategy also gives the lowest peak total reverse power, main-grid export energy, network energy loss, and community bill. These results show that the main improvement comes from the allocation-based demand response mechanism, while the feeder-aware allocation provides an additional network oriented benefit.
| Case | Rev. energy | Rev. peak | Main export | Bill | Saving |
| (kWh) | (kW) | (kWh) | (EUR) | (%) | |
| Base | 40.51 | 6.82 | 36.43 | 28.98 | 0.00 |
| Feeder-aware | 11.80 | 2.27 | 7.68 | 21.46 | 25.95 |
| Feeder-agnostic | 13.00 | 2.56 | 8.14 | 21.90 | 24.42 |
| Case | Peak import | Loss | \( V_{\min}\) |
| (kW) | (kWh) | (p.u.) | |
| Base | 9.53 | 0.133 | 0.9969 |
| Feeder-aware | 6.65 | 0.065 | 0.9976 |
| Feeder-agnostic | 6.79 | 0.066 | 0.9976 |
The same parameter settings are then applied to the complete data window to verify whether the observed behavior persists beyond the selected high reverse energy days. The annual evaluation uses only complete 24-hour days within the common data window of the 15 households. Because the common window starts on January 1, 2020 at 01:00 and ends on December 11, 2020 at 23:00, January 1 is excluded. Therefore, the annual results are computed over 345 complete days, from January 2 to December 11, 2020. All 345 days are included in the annual indicators. When the stopping criterion is not reached before \( K_{\max}\) , the final submitted profile at \( K_{\max}\) is used.
The annual network and economic results are reported in Tables 8 and 9. The feeder-aware strategy reduces annual feeder reverse energy from 3618.4 to 1120.2 kWh, corresponding to a 69.0% reduction. The feeder-agnostic strategy also gives a substantial reduction, reaching 1218.2 kWh, or 66.3%. Thus, most of the reverse energy reduction is obtained by the allocation-based demand response mechanism itself, while the feeder-aware allocation provides an additional reduction by accounting for feeder location.
| Case | Rev. energy | Main export | Loss | Bill | Saving |
| (kWh) | (kWh) | (kWh) | (EUR) | (%) | |
| Base | 3618.4 | 2015.5 | 94.04 | 15898.59 | 0.00 |
| Feeder-aware | 1120.2 | 163.4 | 85.05 | 14846.75 | 6.62 |
| Feeder-agnostic | 1218.2 | 173.6 | 85.21 | 14884.73 | 6.38 |
The same trend is observed for main-grid export. The baseline profile exports 2015.5 kWh to the upstream grid over the annual window, whereas the feeder-aware and feeder-agnostic strategies reduce this value to 163.4 and 173.6 kWh, corresponding to reductions of 91.9% and 91.4%, respectively. Network energy losses are also reduced from 94.04 kWh to 85.05 kWh in the feeder-aware case and to 85.21 kWh in the feeder-agnostic case. The stopping criterion is reached for 330 of the 345 days in the feeder-aware case and for 343 days in the feeder-agnostic case.
Table 9 reports the annual reverse energy by feeder. In the baseline case, the reverse energy is dominated by F1, which is consistent with the high PV to load ratio of this feeder. Both demand response strategies reduce reverse energy in all feeders. The feeder-aware strategy leaves less reverse energy than the feeder-agnostic strategy in F1, F2, and F3, confirming that the benefit of feeder-aware allocation is consistent at the feeder level.
| Case | F1 | F2 | F3 | Total |
| (kWh) | (kWh) | (kWh) | (kWh) | |
| Base | 3015.1 | 392.9 | 210.4 | 3618.4 |
| Feeder-aware | 1111.4 | 6.3 | 2.4 | 1120.2 |
| Feeder-agnostic | 1201.9 | 11.0 | 5.3 | 1218.2 |
The annual bill is reduced from 15898.59 EUR in the baseline case to 14846.75 EUR with the feeder-aware strategy and 14884.73 EUR with the feeder-agnostic strategy. These annual savings are lower than those observed on the selected high reverse energy days because the complete data window also includes days with lower PV production, limited surplus generation, or weaker reverse power flow conditions. On such days, there is less opportunity for the allocation-based price signal to shift demand toward locally available PV. Nevertheless, the feeder-aware strategy gives the lowest annual bill together with the lowest annual reverse energy and main-grid export.
Finally, the selected demand response and coordination parameters are justified through sensitivity analysis. The discomfort coefficient \( \mu_i\) determines how strongly households penalize deviations from their baseline demand profiles, while the ECM update factor \( \alpha\) controls the relaxation of the iterative coordination process. These two parameters are therefore examined separately.
For \( \mu_i\) , the sensitivity analysis reports both the reverse energy and the normalized demand deviation. The latter measures the relative change between the optimized demand profiles and the baseline profiles and is used only as a comparative indicator of demand reshaping, not as an absolute comfort threshold.
Fig. 3 shows the resulting trade-off. Smaller values of \( \mu_i\) allow stronger demand reshaping and therefore lead to lower reverse energy. However, this improvement is obtained at the cost of larger deviations from the baseline demand profiles. For the feeder-aware strategy, reducing \( \mu_i\) from 0.2 to 0.1 decreases the average reverse energy, but increases the normalized demand deviation from 41.08% to 53.80%. The lowest value, \( \mu_i=0.05\) , gives the strongest reverse energy reduction, but it also produces the largest demand deviation. In the feeder-aware case, convergence is reached for only three of the five selected days.
Larger values of \( \mu_i\) lead to more conservative demand reshaping, but the reverse energy reduction becomes weaker. The value \( \mu_i=0.2\) EUR/kWh\( ^2\) is therefore selected as a representative intermediate setting. It provides substantial reverse energy mitigation while avoiding the more aggressive demand reshaping and convergence issues observed for smaller discomfort coefficients. The feeder-aware strategy gives slightly lower reverse energy than the feeder-agnostic strategy for all tested values of \( \mu_i\) , although the difference remains moderate.
For \( \alpha\) , the sensitivity analysis is performed with \( \mu_i=0.2\) EUR/kWh\( ^2\) . Unlike \( \mu_i\) , the update factor does not change the household optimization problem. It only determines how much of the direct household response is incorporated into the submitted demand profile at each ECM iteration. Fig. 4 shows that the average reverse energy is nearly unchanged across the tested values of \( \alpha\) , indicating that the final operating point is weakly affected by the update factor when the coordination process converges. The main effect of \( \alpha\) is on convergence speed and robustness. Smaller values, such as \( \alpha=0.1\) and \( \alpha=0.3\) , converge for all selected days but require more iterations. Larger values, such as \( \alpha=0.7\) and \( \alpha=1.0\) , lead to partial non-convergence before \( K_{\max}\) in some cases. Therefore, \( \alpha=0.5\) is selected because it reaches the stopping criterion for all selected cases with a moderate number of iterations.
The maximum number of coordination iterations is used as a computational stopping safeguard. It is set to \( K_{\max}=50\) , which is above the largest number of iterations required by any converged annual case. In the annual evaluation, the maximum convergence iteration is 41 for the feeder-aware strategy and 29 for the feeder-agnostic strategy. For the remaining non-converged cases, a follow-up check with \( K_{\max}=1000\) showed that the feeder-aware cases still did not satisfy the stopping criterion. Therefore, \( K_{\max}=50\) is sufficient for the converged cases and avoids unnecessary computation for cases that do not converge under the present fixed-point update. For days that do not meet the stopping criterion, the final submitted profile at \( K_{\max}\) is used in the annual performance calculation, and convergence counts are reported separately.
This paper proposed a sharing coefficient-based demand response framework for renewable energy communities. Unlike conventional applications in which sharing coefficients are used after operation for surplus allocation and billing, the proposed framework uses the allocation outcome in the day-ahead stage to form household-specific price signals. The method links the economic signal received by each household to the composition of its allocated energy, distinguishing same-feeder sharing, inter-feeder sharing, and grid import.
The framework was developed for both feeder-aware and feeder-agnostic dynamic proportional sharing. In the feeder-aware case, surplus is first allocated within each feeder and only the residual surplus is allocated at the community level. In the feeder-agnostic case, the allocation is performed directly at the community level. The resulting prices are used in a household demand response problem that preserves daily energy consumption while allowing demand to shift across hours. Since the price signal depends on the submitted demand profiles and the submitted profiles change in response to the price, an iterative coordination procedure between the energy community manager and the households was used to obtain a consistent day-ahead schedule.
The numerical results show that the proposed allocation-based price signals can substantially reduce reverse power flow in low voltage feeders. Over the selected days with high reverse flow, average feeder reverse energy decreased from 44.21 kWh/day in the case without demand response to 24.32 kWh/day with feeder-aware demand response coordination and 24.51 kWh/day with feeder-agnostic coordination. The same cases reduced the average community bill by 21.18% and 20.19%, respectively. On the representative day of May 14, 2020, the feeder-aware strategy reduced total feeder reverse energy from 40.51 to 11.80 kWh and achieved the lower peak reverse power, main-grid export, network loss, and community bill compared to the case without demand response and the feeder-agnostic demand response case.
The annual evaluation confirms that the observed behavior is not limited to the selected days that have high reverse power. Over 345 complete days, annual feeder reverse energy decreased from 3618.4 kWh to 1120.2 kWh with feeder-aware coordination and to 1218.2 kWh with feeder-agnostic coordination. Also, exported energy to the main grid was strongly reduced from 2015.5 kWh to 163.4 kWh and 173.6 kWh, respectively. Additionally, the annual bill savings were lower than those obtained on the days with higher reverse energy flow because many days have less PV surplus and therefore less opportunity for demand shifting. Nevertheless, the feeder-aware strategy consistently achieved the lowest annual reverse flow energy, main-grid export, network loss, and community bill.
Overall, the results indicate that sharing coefficients can serve not only as settlement instruments but also as operational signals for demand response. The main improvement is obtained by using sharing-based prices to shift demand toward periods of local PV availability, while feeder-aware allocation provides an additional, moderate grid-oriented benefit by accounting for the location of households in the low voltage network.
[1] A. Shooshtari, A. Pepiciello, and J. L. Dominguez-Garcia, “Grid-informed sharing coefficients in renewable energy communities,'' in Proc. IEEE Int. Conf. Environment and Electrical Engineering and IEEE Industrial and Commercial Power Systems Europe, 2025, doi: 10.1109/EEEIC/ICPSEurope64998.2025.11169004.
[2] A. Caramizaru and A. Uihlein, Energy Communities: An Overview of Energy and Social Innovation. Luxembourg: Publications Office of the European Union, 2020, doi: 10.2760/180576.
[3] European Commission, Directorate-General for Energy, Clean Energy for All Europeans. Luxembourg: Publications Office of the European Union, 2019, doi: 10.2833/9937.
[4] European Parliament and Council of the European Union, “Directive (EU) 2018/2001 of the European Parliament and of the Council of 11 December 2018 on the promotion of the use of energy from renewable sources,'' Official Journal of the European Union, vol. L 328, pp. 82–209, Dec. 2018.
[5] European Parliament and Council of the European Union, “Directive (EU) 2019/944 of the European Parliament and of the Council of 5 June 2019 on common rules for the internal market for electricity and amending Directive 2012/27/EU,'' Official Journal of the European Union, vol. L 158, pp. 125–199, Jun. 2019.
[6] S. Chaudhry, A. Surmann, M. Kühnbach, and F. Pierie, “Renewable energy communities as modes of collective prosumership: A multi-disciplinary assessment, Part II—Case study,'' Energies, vol. 15, no. 23, Art. no. 8936, Nov. 2022, doi: 10.3390/en15238936.
[7] A. J. Gil Mena, V. F. Nasimba Medina, A. Bouakkaz, and S. Haddad, ‘Ànalysis and optimisation of collective self-consumption in residential buildings in Spain,'' Energy Build., vol. 283, Art. no. 112812, Mar. 2023, doi: 10.1016/j.enbuild.2023.112812.
[8] Council of European Energy Regulators, “Regulatory and consumer considerations for decentralised energy opportunities,'' CEER, Brussels, Belgium, Rep. C25-[CRM-DS]-01-02, Mar. 2025.
[9] J. S. Vardakas, N. Zorba, and C. V. Verikoukis, ‘À survey on demand response programs in smart grids: Pricing methods and optimization algorithms,'' IEEE Commun. Surveys Tuts., vol. 17, no. 1, pp. 152–178, First Quarter 2015, doi: 10.1109/COMST.2014.2341586.
[10] A.-H. Mohsenian-Rad and A. Leon-Garcia, ‘Òptimal residential load control with price prediction in real-time electricity pricing environments,'' IEEE Trans. Smart Grid, vol. 1, no. 2, pp. 120–133, Sep. 2010, doi: 10.1109/TSG.2010.2055903.
[11] A. Gautier, J. Jacqmin, and J.-C. Poudou, “The energy community and the grid,'' Resource Energy Econ., vol. 82, Art. no. 101480, May 2025, doi: 10.1016/j.reseneeco.2025.101480.
[12] R. M. Johannsen, P. Sorknæs, K. Sperling, and P. A. Østergaard, ‘Ènergy communities' flexibility in different tax and tariff structures,'' Energy Convers. Manage., vol. 288, Art. no. 117112, Jul. 2023, doi: 10.1016/j.enconman.2023.117112.
[13] Y. Zhou, J. Wu, C. Long, and W. Ming, “Peer-to-peer energy sharing and trading of renewable energy in smart communities—Trading pricing models, decision-making and agent-based collaboration,'' Renew. Energy, vol. 207, pp. 177–193, May 2023, doi: 10.1016/j.renene.2023.02.125.
[14] A. Gorbatcheva, N. Watson, A. Schneiders, D. Shipworth, and M. J. Fell, “Defining characteristics of peer-to-peer energy trading, transactive energy, and community self-consumption: A review of literature and expert perspectives,'' Renew. Sustain. Energy Rev., vol. 202, Art. no. 114672, Sep. 2024, doi: 10.1016/j.rser.2024.114672.
[15] F. Moret and P. Pinson, ‘Ènergy collectives: A community and fairness based approach to future electricity markets,'' IEEE Trans. Power Syst., vol. 34, no. 5, pp. 3994–4004, Sep. 2019, doi: 10.1109/TPWRS.2018.2808961.
[16] E. Sorin, L. A. Bobo, and P. Pinson, “Consensus-based approach to peer-to-peer electricity markets with product differentiation,'' IEEE Trans. Power Syst., vol. 34, no. 2, pp. 994–1004, Mar. 2019, doi: 10.1109/TPWRS.2018.2872880.
[17] T. Morstyn, A. Teytelboym, and M. D. McCulloch, “Bilateral contract networks for peer-to-peer energy trading,'' IEEE Trans. Smart Grid, vol. 10, no. 2, pp. 2026–2035, Mar. 2019, doi: 10.1109/TSG.2017.2786668.
[18] H. Queiroz, R. A. Lopes, J. Martins, F. N. Silva, L. Fialho, and N. Bilo, ‘Àssessment of energy sharing coefficients under the new Portuguese renewable energy communities regulation,'' Heliyon, vol. 9, no. 10, Art. no. e20599, Oct. 2023, doi: 10.1016/j.heliyon.2023.e20599.
[19] F. Gianaroli, M. Ricci, P. Sdringola, M. A. Ancona, L. Branchini, and F. Melino, “Development of dynamic sharing keys: Algorithms supporting management of renewable energy community and collective self consumption,'' Energy Build., vol. 311, Art. no. 114158, May 2024, doi: 10.1016/j.enbuild.2024.114158.
[20] M. M. de Villena, S. Aittahar, S. Mathieu, I. Boukas, E. Vermeulen, and D. Ernst, “Financial optimization of renewable energy communities through optimal allocation of locally generated electricity,'' IEEE Access, vol. 10, pp. 77571–77586, 2022, doi: 10.1109/ACCESS.2022.3191804.
[21] N. Liu, X. Yu, C. Wang, C. Li, L. Ma, and J. Lei, ‘Ènergy-sharing model with price-based demand response for microgrids of peer-to-peer prosumers,'' IEEE Trans. Power Syst., vol. 32, no. 5, pp. 3569–3583, Sep. 2017, doi: 10.1109/TPWRS.2017.2649558.
[22] F. Alfaverh, M. Denai, and Y. Sun, ‘À dynamic peer-to-peer electricity market model for a community microgrid with price-based demand response,'' IEEE Trans. Smart Grid, vol. 14, no. 5, pp. 3976–3991, Sep. 2023, doi: 10.1109/TSG.2023.3246083.
[23] J. Hussain, Q. Huang, J. Li, F. Hussain, B. A. Mirjat, Z. Zhang, and S. A. Ahmed, ‘À fully decentralized demand response and prosumer peer-to-peer trading for secure and efficient energy management of community microgrid,'' Energy, vol. 312, Art. no. 133538, Dec. 2024, doi: 10.1016/j.energy.2024.133538.
[24] P. Ercoli, A. Mugnini, and A. Arteconi, “Demand response for renewable energy communities: Exploring coordination of prosumer-generated PV and flexible aggregated demand in the Italian framework,'' Energy Build., vol. 340, Art. no. 115814, Jul. 2025, doi: 10.1016/j.enbuild.2025.115814.
[25] J. Guerrero, A. C. Chapman, and G. Verbič, “Decentralized P2P energy trading under network constraints in a low voltage network,'' IEEE Trans. Smart Grid, vol. 10, no. 5, pp. 5163–5173, Sep. 2019, doi: 10.1109/TSG.2018.2878445.
[26] T. Morstyn, A. Teytelboym, C. Hepburn, and M. D. McCulloch, ‘Ìntegrating peer-to-peer energy trading with probabilistic distribution locational marginal pricing,'' IEEE Trans. Smart Grid, vol. 11, no. 4, pp. 3095–3106, Jul. 2020, doi: 10.1109/TSG.2019.2963238.
[27] C. Oliveira, M. Sim oes, L. Bitencourt, T. Soares, and M. A. Matos, “Distributed network-constrained P2P community-based market for distribution networks,'' Energies, vol. 16, no. 3, Art. no. 1520, Feb. 2023, doi: 10.3390/en16031520.
[28] L. Chen, N. Liu, and J. Wang, “Peer-to-peer energy sharing in distribution networks with multiple sharing regions,'' IEEE Trans. Ind. Informat., vol. 16, no. 11, pp. 6760–6771, Nov. 2020, doi: 10.1109/TII.2020.2974023.
[29] R. Trivedi, M. Bahloul, A. Saif, S. Patra, and S. Khadem, “Comprehensive dataset on electrical load profiles for energy community in Ireland,'' Sci. Data, vol. 11, Art. no. 621, Jun. 2024, doi: 10.1038/s41597-024-03454-2.
[30] L. Thurner et al., “pandapower—An open-source Python tool for convenient modeling, analysis, and optimization of electric power systems,'' IEEE Trans. Power Syst., vol. 33, no. 6, pp. 6510–6521, Nov. 2018, doi: 10.1109/TPWRS.2018.2829021.