Network-Aware and Welfare-Maximizing Dynamic Pricing for Energy Sharing
Abstract
The proliferation of behind-the-meter (BTM) distributed energy resources (DER) within the electrical distribution network presents significant supply and demand flexibilities, but also introduces operational challenges such as voltage spikes and reverse power flows. In response, this paper proposes a network-aware dynamic pricing framework tailored for energy-sharing coalitions that aggregate small, but ubiquitous, BTM DER downstream of a distribution system operator’s (DSO) revenue meter that adopts a generic net energy metering (NEM) tariff. By formulating a Stackelberg game between the energy-sharing market leader and its prosumers, we show that the dynamic pricing policy induces the prosumers toward a network-safe operation and decentrally maximizes the energy-sharing social welfare. The dynamic pricing mechanism involves a combination of a locational ex-ante dynamic price and an ex-post allocation, both of which are functions of the energy sharing’s BTM DER. The ex-post allocation is proportionate to the price differential between the DSO NEM price and the energy-sharing locational price. Simulation results using real DER data and the IEEE 13-bus test systems illustrate the dynamic nature of network-aware pricing at each bus, and its impact on voltage.
I Introduction
While BTM DER are primarily adopted to provide prosumer services such as bill savings and backup power, they can also be leveraged, under proper consumer-centric mechanism design, to provide various grid services such as voltage control, system support during contingencies, and new capacity deferrals [1]. Harnessing the flexibility of BTM DER participation in grid services is usually challenged by the DSO’s lack of visibility and controllability on BTM DER alongside the absence of network-aware pricing mechanisms that can induce favorable prosumer behaviors.
The rising notion of energy sharing of a group of prosumers under the DSO’s tariff presents a compelling solution to optimize DER utilization, comply with dynamic grid constraints, and promote renewable energy integration. A major barrier facing the practical implementation of energy-sharing markets is the incorporation of network constraints into their pricing, and aligning the objectives of the self-interested energy-sharing prosumers with the global objective of maximizing the coalition’s welfare.
Despite the voluminous literature on energy-sharing systems’ DER control and energy pricing, network constraints are rarely considered due to the theoretical complexity they introduce. A short list of recent works on energy communities and energy sharing that neglected network constraints can be found here [2, 3, 4, 5]. Some works considered a coarse notion of network constraints by incorporating operating envelopes (OEs) at the point of common coupling between the energy-sharing system and the DSO [6, 7] that limit the export and imports between the two entities. Others considered OEs at the prosumer’s level [8, 9]. Few papers considered network-aware pricing mechanisms in distribution networks, such as [10, 11, 12] and the line of literature on distribution locational marginal prices (dLMP), e.g. [13, 14].
Our work differs from the existing literature in two important directions. Firstly, we consider network-aware pricing under a generic DSO NEM tariff constraint that charges the energy-sharing platform different prices based on its aggregate net consumption. Secondly, the dynamic network-aware pricing of a platform that is subject to the DSO’s fixed and exogenous NEM price gives rise to a market manager’s profit/deficit that needs to be re-allocated to the coalition members. We shed light on a unique re-allocation rule that makes the prosumers’ payment functions uniform, even if they are located on different buses and the network constraints are binding. Such a re-allocation rule is highly relevant when charging end-users, as it avoids ‘undue discrimination’, which is one of the key principles of rate design outlined by Bonbright [15].
In this paper, we present a network-aware and welfare-maximizing pricing policy for energy-sharing coalitions that aggregate DER downstream of a DSO’s revenue meter that charges the energy-sharing platform based on a generic NEM tariff. The pricing policy announces an ex-ante locational, threshold-based, and dynamic price to induce a collective prosumer response that decentrally maximizes the social welfare, while abiding by the network voltage constraints. An ex-post charge/reward is then used to ensure the market operator’s profit neutrality. We show that the market mechanism achieves an equilibrium to the Stackelberg game between the energy-sharing market operator and its prosumers. Although network constraints couple the decisions of the energy-sharing prosumers, which give rise to locational marginal prices (LMP), we show that by adopting a unique proportional re-allocation rule, the payment function becomes uniform for all prosumers, even if they are located at different buses in the energy-sharing network. Numerical simulations using the IEEE 13-bus test feeder and real BTM DER data shed more light on how the pricing policy influences prosumers’ response to ensure safe network operation.
This paper extends our work on Dynamic NEM (D-NEM) without OEs [3] and with OEs [9] by incorporating network constraints, which add substantial complexity, primarily due to coupling of the DER decisions across network buses.
For the column vector , , and represent its positive and negative elements. The notation represents the projection of into the closed and convex set as per the rule . The notation is also used for vectors, i.e., .
II Proposed Framework and Network Model
We consider the problem of designing a welfare-maximizing and network-aware pricing policy for an energy sharing system that bidirectionally transacts energy and money with the DSO under a general NEM tariff. Under NEM, the energy sharing platform imports from the DSO at an import rate if it is net-consuming, and collectively exports from the DSO at the export rate if it is net-producing. A budget-balanced market operator is responsible for announcing the market’s pricing policy. The market operator uses spatially varying pricing signals to adhere to its network’s operational constraints communicated by the DSO.111We posit that such DER aggregation schemes are informed by the DSO about their networks’ information, including OEs, line thermal limits, voltage limits, among others. We assume that the timescale of community members’ decision is equivalent to that of the NEM netting period [16], which allows us to adopt a single time step formulation.
A radial low voltage distribution network flow model is used to model the network power flow [17, 18]. Consider a radial distribution network described by , with as the set of energy sharing buses, excluding bus 0, and as the set of distribution lines between the buses, with as bus indices. The root bus represents the secondary of the transformer and is referred to as the slack bus (substation bus). The natural radial network orientation is considered, with each distribution line pointing away from bus .
For each bus , denote by the set of lines on the unique path from buses 0 to , and by the active and reactive power consumptions of bus , respectively. The magnitude of the complex voltage at bus is denoted by , and we denote the fixed and known voltage at the slack bus by . For each line , denote by and its resistance and reactance. For each line, , denote by and the real and reactive power from buses to , respectively. Let denote the squared magnitude of the complex branch current from to .
We adopt the distribution flow (DistFlow) model, introduced in [17], to model steady state power flow in a radial distribution network, as
(1a) | ||||
(1b) | ||||
(1c) |
where is the line losses, (1a)-(1b) are the active and reactive power balance equations, and (1c) is the voltage drop. We exploit a linear approximation of the DistFlow model above that ignores line losses, given that in practice for all . Therefore, the linearized Distflow (LinDistFlow) equations are given by re-writing (1a)-(1c) to
where represent the set node ’s descendants, including node , i.e., . This gives a solution for in terms of , as
where
(3) |
The LinDistFlow can be compactly written as,
(4) |
where , and and are the resistance and reactance matrices, respectively. We treat the reactive power as given constants rather than decision variables, which allows us to write (3) as
(5) |
where . The voltage magnitude vector above is constrained as
(6) |
where and . Given that the second term in (5) is fixed, we re-write (6) to
(7) |
where and . We will impose (7) on the operation of the energy-sharing market.
III Energy Sharing Mathematical Model
Let denote the set of energy-sharing system’s prosumers. Every prosumer is connected to one of the buses in the considered radial network through its revenue meter that measures the prosumer’s net consumption and BTM generation. Figure 1 shows an example 4-bus energy-sharing platform. We denote the set of prosumers connected to bus by , hence, . In this section, we model prosumers’ DER in III-A, and payment and surplus functions in III-B, followed by a formulation of the proposed bi-level program in III-C.

III-A DER Modeling
Prosumers’ DER consists of BTM renewable distributed generation (DG) and flexible loads (decision variables). The random renewable DG output of every prosumer is denoted by . The vector of prosumers’ DG output is denoted by , and the aggregate DG output in the energy-sharing platform is defined by .
The flexible loads’ energy consumption vector is denoted by , where is the load (device) bundle. The devices are subject to their flexibility limits, as
(8) |
where and are the device bundle’s lower and upper consumption limits of prosumer , respectively.
The net consumption of each prosumer is the difference between its gross consumption and BTM generation, hence .222The proposed pricing policy can be generalized to incorporate OEs with only little mathematical complication. We show this in the appendix. The aggregate energy-sharing net consumption is therefore .
III-B Payment, Surplus, and Profit Neutrality
The energy sharing operator designs a pricing policy for its members, which specifies the payment function for each prosumer under , denoted by . Energy-sharing prosumers are assumed to be rational and self-interested. Therefore, they schedule their DER based on surplus maximization. Prosumer surplus is given by
(9) |
where for every , the utility function of the consumption bundle is assumed to be non-decreasing, additive, strictly concave, and continuously differentiable with a marginal utility function . Denote the inverse marginal utility vector by with .
III-B1 Energy Sharing Payment
The operator transacts with the DSO under the NEM X tariff, introduced in [19], which charges the energy sharing coalition based on whether it is net-importing () or net-exporting () as
(10) |
where are the buy (retail) and sell (export) rates, respectively. We assume , in accordance with NEM practice [16], which also eliminates risk-free price arbitrage. The operator of the energy sharing regime is profit-neutral; a term we define next.
Definition 1 (Profit neutrality).
The operator is profit-neutral if its pricing achieves the following
The challenging question we ask is how can the operator design a payment , for every , to achieve network-awareness, profit neutrality and equilibrium to the energy-sharing market, which we define next.
III-C Energy Sharing Stackelberg Game
We formulate this game as a bi-level mathematical program with the upper-level optimization being the operator’s pricing problem, and the lower-level optimizations representing prosumers’ optimal decisions.
Denote the consumption policy of the th prosumer, given the pricing policy , by . Formally,
with as the vector of prosumers’ policies. The operator strives to design a network-aware and welfare-maximizing pricing policy (given ), where and the welfare is defined as the sum of total prosumers’ surplus, as
The bi-level program can be compactly formulated as
(11a) | ||||
subject to | (11b) | |||
(11c) | ||||
(11d) | ||||
(11e) | ||||
(11f) | ||||
(11g) |
where
In the following, we will assume that problem (11) is feasible, i.e., a solution meeting all the constraints exists.
The program in (11) defines the Stackelberg strategy. Specifically, () is a Stackelberg equilibrium since (a) for all and , for all ; (b) for all .
IV Network-Aware Pricing and Equilibrium
At the beginning of each pricing period, the operator communicates the price to each prosumer. Given the price, prosumers simultaneously move to solve their own surplus maximization problem. At the end of the netting period, and given the resulting , the DSO charges the energy sharing operator based on the NEM X tariff in (10). We propose the network-aware pricing policy and delineate its structure in IV-A, followed by solving the optimal response of prosumers in IV-B. We discuss the operator’s profit/deficit redistribution in IV-C and IV-E. In IV-D, we establish the market equilibrium result.
IV-A Network-Aware Dynamic Pricing
The operator uses the renewable DG vector to dynamically set the price taking into account network constraints. That is, the dynamic price is used to satisfy network constraints in a decentralized way by internalizing them into prosumers’ private decisions.
Network-aware pricing policy 1.
For every bus , the operator charges the prosumers based on a two-part pricing
(12) |
where the ex-ante bus price abides by a two-threshold policy with thresholds
(13) | ||||
as
(14) |
and the price , where , is given by
(15) |
where and are the dual variables of the upper and lower voltage limits in (11d), respectively, and the price is the solution of
(16) |
The locational ex-ante price for every is used to induce a collective prosumer response at each bus so that the network constraints are satisfied and the energy sharing social welfare is maximized. The energy-sharing price has a similar structure to the celebrated LMP in wholesale markets [20] in the sense that it takes into account demand, generation, location, and network physical limits. Also, like congestionless LMP, the energy-sharing price is uniform across all buses if the network constraints are nonbinding, as described in (15).
Similar to D-NEM without network constraints [3], the price obeys a two-threshold policy and it is a monotonically decreasing function of the system’s renewables . As shown in (15), the thresholds partition , and the price at each bus is the D-NEM price adjusted by the shadow prices of violating voltage limits. When the platform is energy-balanced, and the price is the sum of the dual variables for energy balance and voltage limits.
The thresholds and locational prices can be computed while preserving prosumers’ privacy. The operator do not need the functional form of prosumers’ utilities or marginal utilities but rather asks the prosumers to submit a value for every device at a given price.
IV-B Optimal Prosumer Decisions
After the network-aware price is announced, consumers simultaneously move to solve their own surplus maximization problem by determining their optimal decision policy . Therefore, from the surplus definition in (9), each prosumer solves
(17) |
where was omitted because it is announced after consumption decisions are exercised.
Lemma 1 (Prosumer optimal consumption).
Under every bus , given the pricing policy , the prosumer’s optimal consumption is
(18) |
By definition, the aggregate net consumption is
(19) |
where , and if , if , and if .
Proof.
We drop the prosumer subscript for brevity. The objective in (17) is strictly concave and differentiable. The Lagrangian function of the surplus maximization problem, for a prosumer under bus , is
where and are the Lagrangian multipliers of the upper and lower consumption limits. From the KKT conditions we have
therefore, for each device , we have
where .
IV-C Ex-Post Allocation
Unlike the ex-ante price, the ex-post allocation is distributed after the prosumers schedule their DER. The operator may choose to accrue the ex-post charge amount of each prosumer to be distributed after multiple netting periods rather than at every netting period. The ex-post fee is essentially levied to achieve profit neutrality. After the price is announced and the transaction with the DSO is settled, the profit/deficit that the operator accumulates is, using Def.1,
One can see that the larger the differential between the energy sharing price and NEM price (), the larger the profit/deficit. Note that if the network constraints are non-binding, i.e., , then , and the pricing policy becomes one-part; see D-NEM in [3].
There might not be unique way to re-allocate the operator’s profit/deficit . A profit-sharing coalitional game can be established to fairly re-allocate the operator’s profit/deficit. In IV-E, we propose a proportional allocation rule that makes the payment function uniform for all prosumers.
IV-D Stackelberg Equilibrium
Under the solution , with as in (IV-C) ,the operator is profit-neutral.
We show next that the network-aware pricing achieves a Nash equilibrium to the leader-follower game in III-C.
Theorem 1.
The solution () is a Stackelberg equilibrium that also achieves social optimality, i.e.,
subject to | |||
Proof.
See the appendix. ∎
IV-E Energy Sharing Payment Uniformity
We propose here a unique way to allocate the operator’s profit/deficit . For every bus , the allocation to every prosumer is given by
(20) |
which has three favourable features. First, it redistributes the profit/deficit proportionally to the prosumers based on how far their energy-sharing price from the DSO’s NEM price, which reflects how much they paid (got paid) for voltage correction. Second, it makes prosumer payment functions uniform. Indeed, plugging (20) into (12) cancels out the locational dynamic price , and yields a simple, uniform payment function that charges customers based on the NEM price, i.e., for every bus ,
Third, unlike the computationally expensive coalitional-game-based profit allocation schemes such as the Shapley value, the allocation rule in (20) is straightforward and directly correlates the allocation to the energy-sharing price and the prosumer’s net consumption. The decentralization argument may not hold under the allocation in (20), as it compensates prosumers explicitly based on their own net consumption, which may influence their consumption decisions resulting in deviations from the welfare-maximizing decisions. It might be, however, too difficult for prosumers to anticipate if the operator performs the re-allocation at every multiple netting periods rather than at every single netting period.
V Numerical Study


Our network-aware market mechanism was validated on the IEEE 13-bus feeder converted to a single-phase equivalent [21], see Figure 2. Bus 1 is the substation and represents the network slack bus. Buses 2 to 13 instead host 23 prosumers. For every , the following utility function was chosen
(21) |
where the parameters were learned and calibrated using historical retail prices333The retail prices were taken from Data.AustinTexas.gov historical residential rates in Austin, TX. and consumptions444For the historical consumption data, we used pre-2018 PecanStreet data for households in Austin, TX. and by assuming an elasticity of 0.21 taken from [22] (see appendix D in [16]). The minimum demand was set to for every , whereas the maximum demands and DER generations were obtained using data from the PecanStreet dataset. We set p.u. and p.u.
In our simulations, we considered four scenarios, described in the following, that differ in the DER generation levels. For each scenario, we used the exact AC power flow solver to obtain bus voltages, whereas we solved the optimization problems relying on the power flow equation linearization (4). The results are shown in Figure 3.
Scenario 1: the DER generation here is zero for each prosumer. Hence, and . The energy-sharing system is importing energy. In this case, the energy sharing optimization problem solutions are such that , i.e., some voltages are on the lower bound . The resulting prices are in general higher than .
Scenario 2: the DER generation is non-zero but still not enough to cover the demand, i.e., . Hence, the energy-sharing system is importing energy. However, the optimum demands are such that all the voltages are within the desired bounds and the energy prices are equal .
Scenario 3: the DER generation was further increased in this scenario and . That is, the energy-sharing platform did not exchange active power with the external network. The energy sharing platform optimization problem provides an energy price within and ; voltage limits are satisfied at the optimal consumption.
Scenario 4: here, we increased the generation until . The platform exports power to the grid. The energy sharing optimization problem solution is such that the voltages in some locations are exactly and the Lagrange multipliers vector is different from zero. The energy prices are smaller than and close to zero, i.e., consumption is incentivized to take full advantage of generation.
Some observations are in order. In general, we observe that increasing the DER generation results in the decrease of energy prices. The energy prices can in principle be greater than , see Scenario 1. This is to ensure that the voltage constraints are satisfied by decreasing the power demand. Finally, we note a slight difference between the true and the expected (i.e., the ones computed by the energy-sharing platform optimization problem) voltage magnitudes. Indeed, we see that the voltages in Scenario 4 are all strictly lower than even though we obtained , see the middle panel of Figure 3. This can be explained by the fact that (11) was solved relying on the linearized equations (4) rather than on the true power flow equations. Note, however, that using the true equation would result in a nonconvex energy sharing optimization problem possibly displaying multiple local minima.
VI Conclusion
In this work, we propose a network-aware and welfare-maximizing market mechanism for energy-sharing coalitions that aggregate small but ubiquitous BTM DER downstream of a DSO’s revenue meter, charging the energy-sharing systems using a generic NEM tariff. The proposed pricing policy has ex-ante and ex-post pricing components. The ex-ante locational and threshold-based price decreases as the energy-sharing generation-to-demand ratio increases. The price is used to induce a collective prosumer reaction that decentrally maximizes social welfare while being network-cognizant. On the other hand, the ex-post charge/reward is used to enforce the market operator’s profit-neutrality condition. We show that the market mechanism achieves an equilibrium to the Stackelberg game between the operator and its prosumers. We also show that a unique proportional rule to re-allocate the operator’s profit/deficit can make the payment function of all energy-sharing prosumers uniform, even when the network constraints are binding. Our simulation results leverage real DER data on an IEEE 13-bus test feeder system to show how the dynamic pricing drives the energy sharing’s flexible consumption to abide by the network voltage limits.
VII Acknowledgment
The work of Ahmed S. Alahmed and Lang Tong was supported in part by the National Science Foundation under Award 2218110 and the Power Systems Engineering Research Center (PSERC) under Research Project M-46. The work was authored in part by the National Renewable Energy Laboratory, operated by Alliance for Sustainable Energy, LLC, for the U.S. Department of Energy (DOE) under Contract No. DE-AC36-08GO28308. Funding is provided by the U.S. DOE Office of Energy Efficiency and Renewable Energy Building Technologies Office, United States. The views expressed in the article do not necessarily represent the views of the DOE or the U.S. Government. The U.S. Government retains and the publisher, by accepting the article for publication, acknowledges that the U.S. Government retains a nonexclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this work, or allow others to do so, for U.S. Government purposes.
References
- [1] P. De Martini, L. Gallagher, E. Takayesu, R. Hanley, and P. Henneaux, “Unlocking consumer der potential: Consumer-centric approaches for grid services,” IEEE Power and Energy Magazine, vol. 20, no. 4, pp. 76–84, 2022.
- [2] L. Han, T. Morstyn, and M. McCulloch, “Incentivizing prosumer coalitions with energy management using cooperative game theory,” IEEE Trans. Power Systems, vol. 34, no. 1, 2019.
- [3] A. S. Alahmed and L. Tong, “Dynamic net metering for energy communities,” IEEE Transactions on Energy Markets, Policy and Regulation, pp. 1–12, 2024.
- [4] Y. Yang, G. Hu, and C. J. Spanos, “Optimal sharing and fair cost allocation of community energy storage,” IEEE Trans. Smart Grid, vol. 12, no. 5, Sep. 2021.
- [5] Y. Chen, S. Mei, F. Zhou, S. H. Low, W. Wei, and F. Liu, “An Energy Sharing Game with Generalized Demand Bidding: Model and Properties,” IEEE Transactions on Smart Grid, vol. 11, no. 3, pp. 2055–2066, 2020.
- [6] N. Vespermann, T. Hamacher, and J. Kazempour, “Access economy for storage in energy communities,” IEEE Transactions on Power Systems, vol. 36, no. 3, pp. 2234–2250, 2021.
- [7] A. Fleischhacker, C. Corinaldesi, G. Lettner, H. Auer, and A. Botterud, “Stabilizing energy communities through energy pricing or PV expansion,” IEEE Transactions on Smart Grid, vol. 13, no. 1, pp. 728–737, 2022.
- [8] M. I. Azim, G. Lankeshwara, W. Tushar, R. Sharma, M. R. Alam, T. K. Saha, M. Khorasany, and R. Razzaghi, “Dynamic operating envelope-enabled P2P trading to maximize financial returns of prosumers,” IEEE Transactions on Smart Grid, vol. 15, no. 2, pp. 1978–1990, 2024.
- [9] A. S. Alahmed, G. Cavraro, A. Bernstein, and L. Tong, “Operating-envelopes-aware decentralized welfare maximization for energy communities,” in 2023 59th Annual Allerton Conference on Communication, Control, and Computing (Allerton), 2023, pp. 1–8.
- [10] Y. Chen, C. Zhao, S. H. Low, and A. Wierman, “An energy sharing mechanism considering network constraints and market power limitation,” IEEE Transactions on Smart Grid, vol. 14, no. 2, pp. 1027–1041, 2023.
- [11] C. P. Mediwaththe and L. Blackhall, “Network-Aware Demand-Side Management Framework with A Community Energy Storage System Considering Voltage Constraints,” IEEE Transactions on Power Systems, vol. 36, no. 2, pp. 1229–1238, 2021.
- [12] N. Li, “A market mechanism for electric distribution networks,” Proceedings of the IEEE Conference on Decision and Control, vol. 54rd IEEE, no. IEEE CDC, pp. 2276–2282, 2015.
- [13] L. Bai, J. Wang, C. Wang, C. Chen, and F. Li, “Distribution locational marginal pricing (DLMP) for congestion management and voltage support,” IEEE Transactions on Power Systems, vol. 33, no. 4, pp. 4061–4073, 2018.
- [14] A. Papavasiliou, “Analysis of distribution locational marginal prices,” IEEE Transactions on Smart Grid, vol. 9, no. 5, pp. 4872–4882, 2018.
- [15] J. Bonbright, A. Danielsen, D. Kamerschen, and J. Legler, Principles of Public Utility Rates. Public Utilities Reports, 1988.
- [16] A. S. Alahmed and L. Tong, “Integrating distributed energy resources: Optimal prosumer decisions and impacts of net metering tariffs,” SIGENERGY Energy Inform. Rev., vol. 2, no. 2, Aug. 2022.
- [17] M. Baran and F. Wu, “Optimal sizing of capacitors placed on a radial distribution system,” IEEE Transactions on Power Delivery, vol. 4, no. 1, pp. 735–743, 1989.
- [18] ——, “Network reconfiguration in distribution systems for loss reduction and load balancing,” IEEE Transactions on Power Delivery, vol. 4, no. 2, pp. 1401–1407, 1989.
- [19] A. S. Alahmed and L. Tong, “On net energy metering X: Optimal prosumer decisions, social welfare, and cross-subsidies,” IEEE Trans. Smart Grid, vol. 14, no. 02, 2023.
- [20] F. Schweppe, M. Caramanis, R. Tabors, and R. Bohn, Spot Pricing of Electricity. Springer US, 1988.
- [21] G. Cavraro and V. Kekatos, “Inverter probing for power distribution network topology processing,” IEEE Transactions on Control of Network Systems, vol. 6, no. 3, pp. 980–992, 2019.
- [22] A. Asadinejad, A. Rahimpour, K. Tomsovic, H. Qi, and C. fei Chen, “Evaluation of residential customer elasticity for incentive based demand response programs,” Electric Power Systems Research, 2018.
[Incorporating Operating Envelopes] Here, we present the pricing policy under OEs at the prosumer’s revenue meter, as shown in Fig.1.
OEs limit the net consumption of every prosumer , as
(22) |
where and are the export and import envelopes at the prosumers’ meters, respectively. From the analysis in [9], the network-aware pricing policy generalizes as in the following policy.
Network-aware pricing policy 2.
For every bus , the pricing policy charges the prosumers based on a two-part pricing
where the ex-ante bus price abides by a two-threshold policy with thresholds
as
(23) |
and the price , where , is given by
(24) |
where and are the dual variables of the upper and lower voltage limits in (11d), respectively, and the price is the solution of
[Mathematical Proofs]
-A Lemma 2 and Proof of Lemma 2
Proof of Lemma 2
The convex non-differentiable program in (25) is a generalization to the standalone consumer decision problem under the DSO’s NEM X regime in [19] with (a) the additional dimension of users located at buses and (b) network constraints. Therefore, (25) can be divided into three convex and differentiable programs based on the energy-sharing net consumption , namely (), as
subject to | |||
subject to | |||
subject to | |||
It has been shown in [19] that the optimal consumption policy is a two-thresholds policy on the aggregate renewables . The three problems above are generalizations of [19] that incorporate multiple prosumers and buses dimension and network constraints dimension, which therefore yields, for every bus , the following optimal consumption vector
where the thresholds () are as in (13) and the vector , where , is given by
(26) |
By generalizing the special case in [19] through incorporating the additional dimension of users located at buses and the network constraints, one can see that the price is as in (16). Lastly, for every , the dual variable is computed from the KKT conditions
(27a) | ||||
(27b) |
and is similarly computed from
(28a) | ||||
(28b) |
-B Proof of Theorem 1
Recall the bi-level program of operator and prosumers decisions
(29a) | ||||
subject to | (29b) | |||
(29c) | ||||
(29d) | ||||
(29e) | ||||
(29f) | ||||
(29g) |
We solve a relaxed version of (29) that does not require profit-neutrality, hence (29b) is removed, and for every , we want to find the price in . So, (29) is reformulated to
subject to | ||||
where means that and are perpendicular. From Lemma 1, the lower level’s KKT conditions can be replaced as the following
subject to | ||||
Note that if is found, we have equilibrium. The program above is similar to the central program (25) in Lemma 2, but with the prices as decision variables rather than the consumptions . Therefore, the threshold structure in Lemma 2 holds with the prices used to compute being the optimal prices. Therefore, we have, for every bus ,
One can easily see from Lemma 1, that by plugging the equilibrium price , the prosumers’ optimal consumption decisions match the consumption decisions under centralized operation in Lemma 2.
Now, we note that for every bus , the pricing policy does not achieve profit neutrality. Therefore, for every bus , the pricing policy is augmented by the ex-post allocation to become with . One can then apply Def.1 to show that achieves profit neutrality.