This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Wholesale Market Participation of DERA:
Competitive DER Aggregation

Cong Chen  Ahmed S. Alahmed  Timothy D. Mount  Lang Tong Part of the work was presented at the 56th Hawaii International Conference on System Sciences (HICSS) [1].Cong Chen, Ahmed S. Alahmed and Lang Tong ({cc2662,asa278,lt35}@cornell.edu) are with the School of Electrical and Computer Engineering, Cornell University, USA. Timothy Douglas Mount ([email protected]) is with the Dyson School of Applied Economics and Management, Cornell University, USA. This work was supported in part by the National Science Foundation under Award 2218110, and in part by Power Systems and Engineering Research Center (PSERC) Research Project M-46.
Abstract

We consider the aggregation of distributed energy resources (DERs) by a profit-seeking DER aggregator (DERA), participating directly in the wholesale electricity market and constrained by the distribution network access. We propose a competitive DER aggregation that maximizes the DERA’s profit subject to that each customer of the DERA gains no less surplus and pays no higher energy cost than that under the regulated retail tariff. The DERA participates in the wholesale electricity market as virtual storage with optimized generation offers and consumption bids derived from the DERA’s competitive aggregation. Also derived are DERA’s bid curves for the distribution network access and DERA’s profitability when competing with the regulated retail tariff. We show that, with the same distribution network access, the proposed DERA’s wholesale market participation achieves the same welfare-maximizing outcome as when its customers participate directly in the wholesale market. We empirically evaluate how many DERAs can survive in the long-run equilibrium. Numerical studies also compare the proposed DERA with existing benchmarks on surpluses of DERA’s customers and DERA profits as functions of the DER adoption level and the distribution network access.

Keywords

distributed energy resources and aggregation, behind-the-meter distributed generation, demand-side management, net energy metering, competitive wholesale market.

I Introduction

We address open problems in the direct participation of distributed energy resource aggregators (DERAs) in the wholesale electricity market operated by regional transmission organizations and independent system operators (RTOs/ISOs), under the general framework in FERC order 2222 [2]. We focus on the aggregation strategy of a profit-seeking DERA, whose industrial, commercial, and residential customers have competing service providers, such as their incumbent regulated utilities. The central theme of this work is to develop profitable and competitive aggregation strategies to attract and retain customers. By competitive aggregation, we mean that the benefits of the DERA customers must be no less than those offered by service provider benchmarks. An example of such a benchmark is the incumbent utility or a community choice aggregator (CCA) adopting net energy metering (NEM) policies, offering strong incentives to prosumers with behind-the-meter (BTM) DERs [3, 4, 5]. A major barrier to DERA’s entrance to direct wholesale market participation is having an aggregation strategy and a participation model to make DER aggregation a profitable venture[6].

Currently, there are no existing techniques and analyses supporting profitable competitive aggregation. The technical challenge is twofold. First, the DERA plays a dual role in the aggregation process: an energy supplier to its customers on the retail side and a producer/demand on the wholesale side. Its aggregation strategy must consider retail competition and overall revenue adequacy in wholesale market participation. To this end, a DERA needs to derive profit-maximizing bids and offers from its competitive DER aggregation strategy.

Second, competitive aggregation requires the DERA to offer more attractive pricing than the regulated utility. Note that DERA’s customers are interested in not only the cost-benefit tradeoff but also the pricing rule stability. Examples of unstable pricing are two-part pricing from Griddy [7] and Amber [8] defined by the wholesale spot price and a connection charge. Although Griddy’s aggregation is competitive to regulated utility tariffs, its customers face a 100-fold price increase during the extreme winter event of Uri in 2021.

I-A Related work

There is growing literature on DER aggregation and wholesale market participation models that broadly fall into two categories. One is through a retail market design operated by a distribution system operator (DSO) [9, 10], an aggregation/sharing platform [11, 12], or an energy coalition such as CCA [13, 14, 15]. For the most part, these works do not consider a profit-maximizing DERA’s active participation in the wholesale market. In particular, in [9, 10, 11], the DSO or an aggregation platform participates in the wholesale markets with the aggregated net demand (or possibly net production), treating the wholesale market as a balancing resource.

Our approach belongs to the second category of DER aggregations, where profit-seeking DERAs aggregate both generation and flexible demand resources, participating directly in the wholesale market with bid/offer curves. To ensure secure distribution network operation, DERA obeys the allocated distribution network access limit (or operating envelope [16]), rather than considering the computationally expensive network power flow constraints. Within the framework of FERC order 2222, this type of DER aggregation has the potential to improve the overall system efficiency and reliability.

Although the notion of competitive DER aggregation has not been formally defined, two prior works have developed competitive aggregation solutions in [13, 17]. In [13], Chakraborty et al. consider DER aggregation by a CCA, where the authors provide an allocation rule that offers its customers competitive services with respect to the regulated utility.

Most relevant to our work is the DERA’s wholesale market participation method developed by Gao, Alsheheri, and Birge [17] where the authors consider a profit-seeking DERA aggregating BTM distributed generations (DGs) and offering its aggregated generation resources to the wholesale market. In particular, the Gao-Alshehri-Birge (GAB) approach achieves a social surplus equal to that achievable by customers’ direct participation in the competitive wholesale market. In other words, GAB approaches the most economically efficient participation model. A significant difference between [17] and this paper is that we formulate a general competitive aggregation problem that includes the regulated utility. In achieving DERA’s profit maximization, our DER aggregation and market participation models are different from [17].

The approach proposed in [17] follows the earlier work of Alshehri, Ndrio, Bose, and Başar [18] where a Stackelberg game-theoretic model is used. Both approaches assume that the DERA elicits prosumer participation with an optimized (one-part or two-part) price, and the prosumer responds with its quantity to be aggregated by the DERA. The real-time wholesale market price is reflected by the variable price in [7, 8, 17]. Such a variable price conveys low but volatile wholesale prices directly to customers. To protect customers from price spikes in the real-time wholesale price, some methods like price caps [19] have been proposed. As for the wholesale market participation model of DERA, quantity bid is adopted in [17], price-quantity bid in [18, 16], and virtual power plant in [20], with which we have the same assumption that the DERA centrally schedules customers’ consumption.

I-B Summary of results, contributions, and limitations

In our previous work [1], we develop the first profit-maximizing competitive DER aggregation for a DERA to participate in the wholesale market. In this paper, we further explore the price stability, profitability, market efficiency, and long-run equilibrium for the competitive DER aggregation, especially under the distribution network access limits.

First, we propose a DER aggregation approach based on a constrained optimization that maximizes DERA surplus while providing higher surpluses than that offered by a competing aggregation model. In particular, we are interested in aggregation schemes that are competitive with the regulated utility rates such as NEM X,111NEM X, proposed in [21] is an inclusive parametric model that captures key features of the existing and proposed NEM tariff models. with which a customer can make cost-benefit comparisons in her decision to become a customer of the DERA. We show that such a competitive DER aggregation, despite that the aggregation involving real-time wholesale locational marginal price (LMP), has an energy cost no greater than NEM X. This implies the proposed DER aggregation mechanism ensures price stability regardless of the volatility of the wholesale market LMP, a property missing in Griddy’s pricing model [7]. Meanwhile, we establish the profitability of DERA when competing with NEM X.

Second, we propose a virtual storage model for DERA’s wholesale market participation compatible with the practical continuous storage facility participation considered by ISOs [22, 23] under FERC order 841. The DERA bidding curve is derived from the closed-form solution of the proposed DERA model. While the aggregation optimization explicitly involves wholesale market LMP, the virtual storage bidding curves do not require forecasting of LMP. We show that the proposed DERA wholesale market participation results in market efficiency equal to what is achievable when DERA’s customers participate directly in the wholesale market.

Finally, we derive the benefit function of DERA over distribution network injection and withdrawal access limits. DERAs compete in the distribution network access auction proposed by [24] to acquire network access and we empirically evaluate the number of surviving DERAs in the long-run competitive equilibrium. Additionally, we present a set of numerical results, comparing the surplus distribution of the proposed competitive aggregation solution with those of various alternatives, including the regulated utility. Among significant insights gained are the higher social surplus, customer surplus, and DERA surplus achievable in the proposed competitive DERA model, when compared to other alternatives.

A few words are in order on the scope and limitations of this paper. First, the losses in distribution systems are not considered. Second, the contingency cases where DSO rejects cleared bids and offers from DERA for reliability concerns [2] are neglected. Under the access limit allocation framework proposed in [24], reliability concerns of DER aggregation are already satisfied under normal operating conditions. Lastly, although the proposed competitive aggregation offers higher benefits to DERA customers, it does so with a discriminative payment function, which might raise some equity concerns.

TABLE I: Major symbols
𝒅+N{\bm{d}}\in\mathbb{R}_{+}^{N}: consumption bundle of NN customers.
𝒅¯,𝒅¯+N\overline{{\bm{d}}},\underline{{\bm{d}}}\in\mathbb{R}_{+}^{N}: consumption bundle’s upper and lower limits.
𝑪¯,𝑪¯+N\overline{{\bm{C}}},\underline{{\bm{C}}}\in\mathbb{R}_{+}^{N}: distribution network injection and withdrawal access limits.
g,Gg,G: BTM single and aggregated DG.
𝒦{\cal K}: competitiveness constant for benchmark prosumer surplus.
NN: total number of prosumers.
ω\omega: payment function of the aggregated customer.
π+,π,π0\pi^{+},\pi^{-},\pi^{0}: import rate, export rate, and fixed charges of NEM X.
πLMP\pi_{\mbox{\tiny LMP}}: wholesale locational marginal price (LMP).
QQ: aggregated net injection quantity of DERA.
SDERAS_{\mbox{\tiny DERA}}: total surpluses of DERA and its aggregated prosumers.
SNEMS_{\mbox{\tiny NEM}}: prosumers surplus under tariff NEM X.
𝒮()\mathscr{S}(\cdot): aggregated supply function.
UU: prosumer utility function for energy consumption.
VV: prosumer marginal utility function.

I-C Paper organization and notations

In Sec. II, we summarize the DER aggregation model and its main interactions. The problem of competitive DER aggregation is formulated in Sec. III where we derive the optimal aggregation solution. Sec. IV and Sec. V consider DERA’s wholesale market participation and its bidding strategies in the distribution network access auction, respectively. Numerical simulations are presented in Sec. VI. Sketch proofs are relegated in the appendix.

A list of major designated symbols is shown in Table I. The notations used here are standard. We use boldface letters for column vectors as in 𝒙=(x1,,xn){\bm{x}}=(x_{1},\cdots,x_{n}). In particular, 𝟏\bm{1} is a column vector of all ones. The indicator function is denoted by 𝟙{xnyn}\mathbbm{1}\{x_{n}\leq y_{n}\}, which equals to 1 if xnynx_{n}\leq y_{n}, and 0 otherwise. +\mathbb{R}_{+} represents the set of all nonnegative real numbers. [x][x] represents the set of integers from 1 to xx, i.e., [x]:={1,,x}[x]:=\{1,...,x\}.

II DER Aggregation Model

A DERA aggregates resources from its customers and coordinates with the DSO for power delivery to the wholesale market operated by ISO/RTO. Following the DERA interaction model proposed in [24], we focus on the DERA-DSO-ISO/RTO interfaces (a)–(c), as shown in Fig. 1. Since a DERA uses DSO’s physical infrastructure for power delivery between its customers and the wholesale market, it is essential to delineate the financial and physical interactions at these interfaces. Sec.II-A–Sec.II-C below describe the three interfaces (a)–(c).

Refer to caption
Figure 1: DERA model’s physical and financial interactions. The red arrows show the bidirectional power flow, the green for the financial transactions, and the blue for control signals.

II-A DERA and its customers at interface (a)

We assume the DERA aggregates resources in a retail market from residential, commercial, and industrial customers who have the option of being served by a regulated utility. Under a single-bill payment model, each customer settles its payment for consumption and compensation for production with the DERA. The DERA deploys an energy management system (EMS) with direct controls of the customer’s BTM generation and flexible demand resources, such as rooftop PV, HVAC, water heaters, and EV chargers.222The direct control in [20] is implemented through cloud-based platforms. The DERA optimizes the customer’s BTM resources under competitive aggregation optimization and provides the customer with a cost-benefit comparison with the NEM benchmark offered by the incumbent public utility. See Sec. III for details.

II-B DERA and RTO/ISO at interface (b)

In this paper, we focus on DERA’s participation in the energy market based on a virtual storage model compatible with the continuous storage facility participation model [22]. See Sec. IV for the construction of bid/offer curves. To this end, the DERA submits offer/bid curves or self-scheduled quantity bids. The DERA may participate in both the day-ahead and real-time markets, although here we focus only on the real-time energy or energy-reserve market participation. The DERA may also deploy its own DG and storage capabilities to mitigate aggregation uncertainties. The strategy of incorporating DERA’s own resources in the overall DER aggregation will be discussed in future research.

II-C DERA and DSO at interface (c)

We consider the DERA-DSO coordination model developed in [24] where the DERA acquires access limits at buses in the distribution network operated by a DSO. DERA’s willingness to pay for network access is explained in Sec.V. In particular, after the access limit auction or a direct bilateral contract with DSO, the DERA must aggregate DER from its customers in such a way that abides by the injection and withdrawal constraints set by the allocated access limits, i.e., (1d), in the real-time operation. That way, DERA’s aggregation has no effect on the operational reliability of the DSO under nominal operating conditions,333The contingency conditions can be considered by out-of-market coordination, or by extending the network access allocation in [24]. avoiding DSO intervention on ISO dispatch of DERA’s aggregation.

III Competitive DER Aggregation

This section formulates the optimal competitive aggregation and analyzes the properties of the optimal solution when competing with the incumbent utility’s NEM X. Our DER aggregation is built on the deregulated retail market. For example, in Texas and New York,444Here are hyperlinks for energy providers options in Texas and New York. customers can choose their electricity suppliers based on electricity rate and services. We consider heterogeneous prosumers owning all energy consumptions and DG devices. After joining a DERA, prosumers grant device access to DERA for measurements and control.

III-A Closed-form solution for competitive DER aggregation

We consider a DERA aggregating over NN point of aggregations (PoAs) in the distribution network. We define PoAs555A diagram illustrating PoA is in Fig. 2 of [24]. as the main buses with higher voltages in the distribution network, which can be recognized with main substation information [25]. For simplicity, we illustrate the single time interval aggregation model of one prosumer at each PoA,666The model (1) can also be applied to the representative customer at each PoA. Such a representative customer exists when utility functions of all customers at each PoA have the Gorman form [26, P119]. and all PoAs face one zonal LMP. This model can be extended to two general cases: (i) the aggregation with multiple time intervals, whose empirical analysis is shown in Sec. VI-E, and (ii) the aggregation with multiple prosumers at one PoA and the device-level control, shown in Appendix VIII-G.

The DERA solves in real-time for the consumption bundle of all customers 𝒅:=(dn)n[N]{\bm{d}}:=(d_{n})_{n\in[N]} and their payment functions 𝝎:=(ωn)n[N]\hbox{\boldmath$\omega$\unboldmath}:=(\omega_{n})_{n\in[N]} from the following optimization.

max𝝎,𝒅\displaystyle\underset{\hbox{\boldmath$\omega$\unboldmath},{\bm{d}}}{\rm max} n=1N(ωnπLMP(dngn))\displaystyle\sum_{n=1}^{N}(\omega_{n}-\pi_{\mbox{\tiny LMP}}(d_{n}-g_{n})) (1a)
subject to n[N],\displaystyle\forall n\in[N],
𝒦nUn(dn)ωn,\displaystyle{\cal K}_{n}\leq U_{n}(d_{n})-\omega_{n}, (1b)
d¯ndnd¯n,\displaystyle\underline{d}_{n}\leq d_{n}\leq\bar{d}_{n}, (1c)
C¯ngndnC¯n,\displaystyle-\underline{C}_{n}\leq g_{n}-d_{n}\leq\overline{C}_{n}, (1d)

where the objective represents the DERA profit given real-time BTM DG 𝒈:=(gn)n[N]{\bm{g}}:=(g_{n})_{n\in[N]} and LMP πLMP\pi_{\mbox{\tiny LMP}}\in\mathbb{R}.

To attain customers in the energy aggregation, we design the 𝒦{\cal K}-competitive constraint (1b) to ensure that the surplus of prosumer nn under DERA is higher than the benchmark prosumer surplus 𝒦n{\cal K}_{n}, whose detailed setting is explained in Sec. III-B. This is the criteria for a rational customer, seeking surplus maximization, to join a DERA. Otherwise, a rational prosumer has the incentive to leave DERA and switch to the benchmark service provider for a higher customer surplus. The prosumer utility for consuming energy dnd_{n} is represented by the function UnU_{n}, which is assumed to be concave, nonnegative, nondecreasing, continuously differentiable, and Un(0)=0U_{n}(0)=0. We assume the consumer utility function UnU_{n} is given. In practice, utility functions can be computed with parametric[21] or nonparametric[27] methods.

The rest of the constraints in (1) impose operation limits. d¯n\underline{d}_{n} and d¯n\bar{d}_{n} are prosumer consumption limits. The DERA has corresponding injection and withdrawal access limits at the PoAs of distribution networks, represented respectively by exogenous parameters C¯n,C¯n+\overline{C}_{n},\underline{C}_{n}\in\mathbb{R}_{+} with details in Sec. V.

Theorem 1 (Optimal DERA scheduling and payment).

Given the wholesale LMP πLMP\pi_{\mbox{\tiny LMP}}, the optimal consumption bundle dnd^{*}_{n} of the customer at PoA nn, and its payment ωn\omega_{n}^{*} are given by

dn\displaystyle d^{*}_{n} =min{gn+C¯n,max{d^n(πLMP),gnC¯n}},\displaystyle=\min\{g_{n}+\underline{C}_{n},\max\{\hat{d}_{n}(\pi_{\mbox{\tiny LMP}}),g_{n}-\overline{C}_{n}\}\}, (2a)
ωn\displaystyle\omega^{*}_{n} =Un(dn)𝒦n,\displaystyle=U_{n}(d^{*}_{n})-{\cal K}_{n}, (2b)

where d^n(πLMP):=min{d¯n,max{(Vn)1(πLMP),d¯n}}\hat{d}_{n}(\pi_{\mbox{\tiny LMP}}):=\min\{{\overline{d}}_{n},\max\{(V_{n})^{-1}(\pi_{\mbox{\tiny LMP}}),{\underline{d}}_{n}\}\} is the inverse demand curve for customer nn given price π\pi, and the marginal utility function is Vn(x):=ddxUn(x)V_{n}(x):=\frac{d}{dx}U_{n}(x).

The sketch of proof is provided in Appendix VIII-D, following the convexity and Karush-Kuhn-Tucker (KKT) conditions of (1). This optimal solution has two noteworthy characteristics. First, the optimal consumption in (2a) is only a function of the wholesale LMP πLMP\pi_{\mbox{\tiny LMP}} when DERA purchases enough injection and withdrawal access at the PoA (C¯n,C¯n>>1)(\underline{C}_{n},\overline{C}_{n}>>1). Note also the difference between the optimal consumption schedule in (2a) and those in [18] where the optimally scheduled consumption always depends on the anticipated LMP and forecast of BTM DG. Second, (1) finds a Pareto efficient allocation that maximizes the surplus of the DERA, subject to the constraint that the aggregated customer has the given level of surplus 𝒦n{\cal K}_{n}. Similar optimization and the Pareto efficient allocation are also analyzed in [28, P602] for first-degree price discrimination. The payment function ωn\omega_{n} can be realized by a two-part tariff, which is explored by GAB, although it unidirectionally aggregates BTM DG [17]. Overall, such a closed-form solution allows DERA to apply simple dispatch and pricing policies over massive aggregated households.

III-B Properties of DERA competitive with NEM X

We analyze the profitability of DERA and the energy consumption cost of aggregated prosumers for the optimal DERA aggregation competitive with a regulated NEM tariff parameterized by the retail (consumption) rate π+\pi^{+}, the sell (production) rate π\pi^{-}, and the connection charge π0\pi^{0}. Assume 0πLMPππ+0\leq\pi_{\mbox{\tiny LMP}}\leq\pi^{-}\leq\pi^{+} without loss of generality. Denote the nn-th prosumer surplus under NEM X to be SnNEM(gn,C¯n,C¯n)S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n}), whose computation depends on the DG generation and network access limits (formulation provided in Appendix VIII-A). We can set the benchmark prosumer surplus 𝒦n=ζSnNEM(gn,C¯n,C¯n){\cal K}_{n}=\zeta S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n}), ζ1\zeta\geq 1 to obtain competitive aggregation over the DSO’s NEM-based aggregation with the same distribution network access.777Customers owning DERs switch from NEM X to DERA for higher consumer surplus, granting DERs control to DERA upon joining.

The 𝒦{\cal K}-competitive constraint in (1b) has significant implications on pricing stability, despite that the aggregation is based on real-time LMP. Price stability means the price and payment faced by customers cannot go randomly high, for which a counterexample is the real-time LMP. Because the NEM tariff has price stability, achieving a finite customer payment regardless of the wholesale LMP fluctuation, an aggregation mechanism competitive with the NEM tariff must also be stable. The proposition below formalizes this intuition.

Proposition 1 (Average cost of consumption).

Assume SnNEM(gn,C¯n,C¯n)0,n[N]S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n})\geq 0,\forall n\in[N], then the average total cost of consumption for all DERA’s customers is always upper bounded by π+\pi^{+}, i.e., n[N]\forall n\in[N], ωn/dnπ+\omega_{n}^{*}/d_{n}^{*}\leq\pi^{+}.

The sketch of proof is provided in Appendix VIII-B. Such price stability comes directly from the 𝒦{\cal K}-competitive constraint, which enforces a lower bound for customer surplus and thus naturally limits the maximum customer payment. Note that the two-part pricing of Griddy [7] is not a stable pricing mechanism because the retail rate is tied directly to the real-time LMP.

In the 𝒦{\cal K}-competitive constraint (1b), ζ\zeta controls the surplus distribution among DERA and its aggregated prosumers. A larger ζ\zeta rebates more benefits to prosumers and incentivizes prosumers to join DERA, although it increases the deficit risk of DERA. DERA has to set ζ\zeta properly to avoid deficits while attracting prosumers. In the proposition below, we guarantee DERA’s profitability when ζ\zeta is bounded above and all prosumers’ surpluses are nonnegative under NEM X.

Proposition 2 (Profitability of DERA).

For n[N]\forall n\in[N], assume SnNEM(gn,C¯n,C¯n)0S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n})\geq 0 and π=πLMP\pi^{-}=\pi_{\mbox{\tiny LMP}}. Denote ζ¯n:=(Un(dn)πLMP(dngn))/SnNEM\overline{\zeta}_{n}:=\big{(}U_{n}(d_{n}^{*})-\pi_{\mbox{\tiny LMP}}(d^{*}_{n}-g_{n})\big{)}/S_{n}^{\mbox{\tiny NEM}}, if SnNEM>0S_{n}^{\mbox{\tiny NEM}}>0; and ζ¯n:=1\overline{\zeta}_{n}:=1, if SnNEM=0S_{n}^{\mbox{\tiny NEM}}=0. Then, ζ¯n1\overline{\zeta}_{n}\geq 1, and the profit of DERA is nonnegative when 1ζminn[N]ζ¯n1\leq\zeta\leq\underset{n\in[N]}{min}~{}\overline{\zeta}_{n}.

The sketch of proof is provided in Appendix VIII-C. So, if NEM X is not crediting BTM DG of prosumer at a higher production rate π\pi^{-} than wholesale LMP, our aggregation method is profitable when competing with NEM X to attain customers. In practice, πLMP=π\pi_{\mbox{\tiny LMP}}=\pi^{-} happens since many states including California are setting the export rate π\pi^{-} at the avoided cost rate, which is, in many cases equivalent to the wholesale LMP πLMP\pi_{\mbox{\tiny LMP}} [29], to mitigate cross-subsidies [6, 4].

IV DERA Wholesale Market Participation

Virtual storage model [23] allows DERA to participate in the wholesale electricity market with bi-direction. This means DERA can submit a combination of supply offers and demand bids, purchasing aggregated consumption (as charging the virtual storage) and selling its aggregated production (as discharging). The virtual storage model for DERA is adopted by most system operators in electricity markets [22].

IV-A Offer/bid curves of DERA in energy markets

As a virtual storage participant in the real-time energy market, the DERA is either self-scheduled or scheduled by ISO/RTO according to its bids and offers. This work focuses on developing price-quantity bid/offer curves that define DERA’s willingness to produce and consume.888For the quantity bid, one would forecast the LMP, and compute the optimal net production n(gndn)\sum_{n}(g_{n}-d_{n}^{*}) with dnd_{n}^{*} defined in (2a). In a competitive market, such curves are the marginal cost of production and the marginal benefit of consumption derived from the optimal DERA decision in Theorem 1.

Let QQ be the aggregated quantity to buy (when Q<0Q<0) or sell (when Q>0Q>0) for the DERA and πLMP\pi_{\mbox{\tiny LMP}} be the wholesale market LMP. Let G=n=1NgnG=\sum_{n=1}^{N}g_{n} be the BTM DG aggregated by DERA. In a competitive market, a price-taking DERA participant bids truthfully with its aggregated supply function Q=(πLMP)Q=\mathscr{F}(\pi_{\mbox{\tiny LMP}}) given by

(πLMP)=Gn=1Ndn(πLMP),\begin{array}[]{l}\mathscr{F}(\pi_{\mbox{\tiny LMP}})=G-\sum_{n=1}^{N}d^{*}_{n}(\pi_{\mbox{\tiny LMP}}),\end{array} (3)

where dnd^{*}_{n} is defined in (2a). Note that the inverse of the DERA supply function 1(Q)\mathscr{F}^{-1}(Q) defines the offer/bid curves of the DERA. By submitting a bidding curve as virtual storage, DERA does not need to forecast LMP. Note also that the supply function depends on the aggregated BTM generation GG, which is not known to the DERA at the time of the market auction. In practice, GG can be approximated by using historical data or N𝔼(gn)N\mathbb{E}(g_{n}) vis the Law of Large Numbers involving NN independent prosumers or via the Central Limit Theorem for independent and dependent random variables [30].

IV-B Market efficiency with DERA participation

We now establish that the DERA’s participation in the wholesale market achieves the same social welfare as that when all profit-maximizing prosumers participate in the wholesale market individually under certain conditions. We assume the wholesale market is competitive, where all participants are price takers with truthful bidding incentives.

Consider a transmission network with MM buses. Without loss of generality, we assume NN PoAs at the distribution network are connected to each bus of the transmission network and all prosumers are aggregated by the proposed DERA model. Denote UinU_{in} as the aggregated prosumer utility function at the nn-th PoA of the ii-th transmission network bus, 𝒈n:=(gin)i[M]{\bm{g}}_{n}:=(g_{in})_{i\in[M]} and 𝒅n:=(din)i[M]{\bm{d}}_{n}:=(d_{in})_{i\in[M]} are respectively the BTM DG generation and energy consumption for the prosumer, Ei(Di)E_{i}(D_{i}) is the bid-in benefit function of the flexible demand at bus ii when consuming DiD_{i}, and Ci(Pi)C_{i}(P_{i}) is the bid-in cost function for the generator at bus ii when producing PiP_{i}. For simplicity, we assume each transmission bus has bids from one elastic demand and one generator. Denote 𝑫:=(Di)i[M]{\bm{D}}:=(D_{i})_{i\in[M]}, 𝑷:=(Pi)i[M]{\bm{P}}:=(P_{i})_{i\in[M]}, 𝑺L×M{\bm{S}}\in\mathbb{R}^{L\times M} as the parameter for the DC power flow model of the transmission network, and 𝑭L{\bm{F}}\in\mathbb{R}^{L} the line flow limit for LL branches of the transmission network.

Lemma 1 (Wholesale market clearing with DERA).

When prosumers participate in the wholesale market indirectly through the proposed DERA model with offer/bid curve (3), the social welfare SWDERA\mbox{\sf SW}_{\mbox{\rm\tiny DERA}} is the optimal value of

max{𝒅i,Pi,Di}\displaystyle\underset{\{{\bm{d}}_{i},P_{i},D_{i}\}}{\rm max} i=1Mn=1N(Uin(din)+Ei(Di)Ci(Pi))\displaystyle~{}~{}\sum_{i=1}^{M}\sum_{n=1}^{N}(U_{in}(d_{in})+E_{i}(D_{i})-C_{i}(P_{i})) (4a)
subject to n[N],i[M],\displaystyle\forall n\in[N],i\in[M],
λ:\displaystyle\lambda: i=1MPi=i=1M(n=1N(dingin)+Di),\displaystyle\sum_{i=1}^{M}P_{i}=\sum_{i=1}^{M}(\sum_{n=1}^{N}(d_{in}-g_{in})+D_{i}), (4b)
𝝁:\displaystyle\hbox{\boldmath$\mu$\unboldmath}: 𝑺(n=1N(𝒈n𝒅n)+𝑷𝑫)𝑭,\displaystyle{\bm{S}}(\sum_{n=1}^{N}({\bm{g}}_{n}-{\bm{d}}_{n})+{\bm{P}}-{\bm{D}})\leq{\bm{F}}, (4c)
max{d¯in,ginC¯in}din,\displaystyle\max\{\underline{d}_{in},g_{in}-\overline{C}_{in}\}\leq d_{in}, (4d)
dinmin{d¯in,gin+C¯in}.\displaystyle d_{in}\leq\min\{\overline{d}_{in},g_{in}+\underline{C}_{in}\}. (4e)

The sum of the DERA surplus and prosumers’ surpluses, denoted by SDERAS_{\mbox{\tiny DERA}}, can be computed by

SDERA=i=1Mn=1N(Uin(din)πiLMP(dingin)),\begin{array}[]{l}S_{\mbox{\tiny DERA}}=\sum_{i=1}^{M}\sum_{n=1}^{N}(U_{in}(d^{\star}_{in})-\pi^{\mbox{\tiny LMP}}_{i}(d^{\star}_{in}-g_{in})),\end{array} (5)

where dind^{\star}_{in} is the optimal solution of (4), which equals (2a).

Proof of this Lemma in Appendix VIII-E relies on showing that pricing and dispatch results from (4) are at the bidding curve of DERA, i.e., (3). With the optimal dual variable λ\lambda^{\star}\in\mathbb{R} for the power balance constraint (4b) and 𝝁L\hbox{\boldmath$\mu$\unboldmath}^{\star}\in\mathbb{R}^{L} for the line flow limit (4c), the market clearing LMP over MM buses is defined by 𝝅LMP:=𝟏λ𝑺𝝁\hbox{\boldmath$\pi$\unboldmath}_{\mbox{\tiny LMP}}:=\mathbf{1}\lambda^{\star}-{\bm{S}}^{\intercal}\hbox{\boldmath$\mu$\unboldmath}^{\star}, where 𝝅LMP:=(πiLMP)i[M]\hbox{\boldmath$\pi$\unboldmath}_{\mbox{\tiny LMP}}:=(\pi_{i}^{\mbox{\tiny LMP}})_{i\in[M]}. The aggregated prosumer utility in (5), and constraints for energy consumption and distribution network access in (4d) (4e) come from DERA’s offer/bid (3).

As for the prosumer’s direct participation in the wholesale market, we know that a price-taking prosumer at PoA nn and bus ii constructs her offer/bid curves by solving the following surplus maximization problem with the given LMP πiLMP\pi^{\mbox{\tiny LMP}}_{i}:

maxdin𝒟inUin(din)πiLMP(dingin),\begin{array}[]{l}\underset{d_{in}\in{\cal D}_{in}}{\rm max}~{}~{}U_{in}(d_{in})-\pi^{\mbox{\tiny LMP}}_{i}(d_{in}-g_{in}),\end{array} (6)

where 𝒟in:=[max{d¯in,ginC¯in},min{d¯in,g+C¯in}]{\cal D}_{in}:=[\max\{\underline{d}_{in},g_{in}-\overline{C}_{in}\},\min\{\bar{d}_{in},g+\underline{C}_{in}\}] because we assume prosumers participating in the wholesale market directly are facing the same network injection and withdrawal access limits at each PoA for the fairness of comparison. So, the bid/offer curve of the prosumer at PoA nn and bus ii is

𝒮in(πiLMP)=gindin(πiLMP),\begin{array}[]{l}\mathscr{S}_{in}(\pi^{\mbox{\tiny LMP}}_{i})=g_{in}-d^{*}_{in}(\pi^{\mbox{\tiny LMP}}_{i}),\end{array} (7)

where din(πiLMP)d^{*}_{in}(\pi^{\mbox{\tiny LMP}}_{i}) takes the same definition as that in (2a).

Let SWDirect\mbox{\sf SW}_{\mbox{\rm\tiny Direct}} and SPROS_{\mbox{\rm\tiny PRO}} be, respectively, the optimal social welfare and prosumers’ surplus when all prosumers directly participate in the wholesale market. The following theorem is parallel to [17], although we have different aggregation methods, under the model that the DERA (and prosumers) submits its bids and offers to the wholesale electricity market.

Theorem 2 (Market efficiency).

When all prosumers directly participate in the wholesale market, the market clearing result can be computed by (4), SWDirect=SWDERA\mbox{\sf SW}_{\mbox{\rm\tiny Direct}}=\mbox{\sf SW}_{\mbox{\rm\tiny DERA}}, and SPRO=SDERA.S_{\mbox{\rm\tiny PRO}}=S_{\mbox{\rm\tiny DERA}}.

The sketch of proof is provided in Appendix VIII-F, which relies on the fact that the proposed DERA has its bidding curve (3) equal to the sum of the prosumer’s bidding curve in (7). From this, we can establish that the wholesale market clearing problem with the direct participation of all prosumers has the same market-clearing results as (4).

Although the proposed DER aggregation model only focuses on DERA’s profit maximization in the objective (50), the competitive constraint (1b) aligns the aggregated prosumer’s surplus maximization with DERA’s profit maximization. So, the proposed competitive DER aggregation has the incentive to maximize prosumers’ surpluses and get the maximum total surplus that can be split among DERA and its aggregated prosumers. Essentially, DERA acts as a middleman and brings all prosumers to indirectly participate in the wholesale market. Since DERA is profiting from this middleman business, the individual prosumer receives less payment in the indirect wholesale market participation through DERA than from direct wholesale market participation (shown by Fig. 2). This is not unreasonable. After all, individual prosumers cannot participate directly in the wholesale market.

V DERA-DSO coordination

All generation and consumption resources aggregated by DERA need to bypass the distribution network to participate in the wholesale market. The DERA aggregation presented in this work assumes that the aggregated DER at each distribution network PoA is bounded by access limits imposed through the distribution network access limit auction in [24]. A DERA submits a bid curve in this auction representing its willingness to acquire access at PoAs in the distribution system.

We assume that a DERA is a price taker in the access limit auction. Therefore, the bid-in demand curve for network access from the DERA at a particular PoA is the marginal benefit (profit) from having a DER aggregation under the PoA. The maximum expected profit of DERA is given by

φ(𝑪¯,𝑪¯)=𝔼{Π(𝑪¯,𝑪¯;𝒈,πLMP)},\varphi(\overline{{\bm{C}}},\underline{{\bm{C}}})=\mathbb{E}\big{\{}\Pi(\overline{{\bm{C}}},\underline{{\bm{C}}};{\bm{g}},\pi_{\mbox{\tiny LMP}})\},

where Π(𝑪¯,𝑪¯;𝒈,πLMP)\Pi(\overline{{\bm{C}}},\underline{{\bm{C}}};{\bm{g}},\pi_{\mbox{\tiny LMP}}) is the maximum DERA profit computed from the optimal value of (1), with the vector of realized renewable generations over all buses and the realized LMP. Note that when participating in the forward network access auction, the BTM DG and LMP are random.

V-A DERA benefit function for distribution network access

The following Proposition provides an expression for the benefit function of DERA, φ(𝑪¯,𝑪¯)\varphi(\overline{{\bm{C}}},\underline{{\bm{C}}}), which can be used as the bid curve of access limits submitted to the auction in [24].

Proposition 3 (Benefit function for network access).

With the DERA profit maximization (1), the expected DERA surplus is

φ(𝑪¯,𝑪¯)=\displaystyle\varphi({\underline{{\bm{C}}}},{\overline{{\bm{C}}}})= 𝔼{n=1N(ϕ¯n(C¯n)+ϕ¯n(C¯n)+hn𝒦n)},\displaystyle\mathbb{E}\big{\{}\sum_{n=1}^{N}\big{(}\underline{\phi}_{n}({\underline{C}}_{n})+\overline{\phi}_{n}({\overline{C}}_{n})+h_{n}-{\cal K}_{n}\big{)}\big{\}}, (8)
where qn\displaystyle\text{where }q^{-}_{n} :=C¯n+max{(Vn)1(πLMP),d¯n},\displaystyle:=\overline{C}_{n}+\max\{(V_{n})^{-1}(\pi_{\mbox{\rm\tiny LMP}}),\underline{d}_{n}\},
qn+\displaystyle q^{+}_{n} :=C¯n+min{(Vn)1(πLMP),d¯n},\displaystyle:=-\underline{C}_{n}+\min\{(V_{n})^{-1}(\pi_{\mbox{\rm\tiny LMP}}),\overline{d}_{n}\},
ϕ¯n(C¯n)\displaystyle\underline{\phi}_{n}({\underline{C}}_{n}) :=(Un(gn+C¯n)πLMPC¯n)𝟙{gnqn+},\displaystyle:=\big{(}U_{n}(g_{n}+\underline{C}_{n})-\pi_{\mbox{\rm\tiny LMP}}\underline{C}_{n}\big{)}\mathbbm{1}\{g_{n}\leq q^{+}_{n}\},
ϕ¯n(C¯n)\displaystyle\overline{\phi}_{n}({\overline{C}}_{n}) :=(Un(gnC¯n)+πLMPC¯n)𝟙{qngn},\displaystyle:=\big{(}U_{n}(g_{n}-\overline{C}_{n})+\pi_{\mbox{\rm\tiny LMP}}\overline{C}_{n}\big{)}\mathbbm{1}\{q^{-}_{n}\leq g_{n}\},
hn\displaystyle h_{n} :=(Un(d^n)πLMP(d^ngn))𝟙{qn+<gn<qn}.\displaystyle:=\big{(}U_{n}(\hat{d}_{n})-\pi_{\mbox{\tiny LMP}}(\hat{d}_{n}-g_{n})\big{)}\mathbbm{1}\{q^{+}_{n}<g_{n}<q^{-}_{n}\}.

The sketch of proof is provided in Appendix VIII-D. The optimal DERA surplus is decomposed into three terms: the surplus dependent on the withdraw access ϕ¯n(C¯n)\underline{\phi}_{n}({\underline{C}}_{n}), the surplus dependent on the injection access ϕ¯n(C¯n)\overline{\phi}_{n}({\overline{C}}_{n}), and the surplus independent of the network access hnh_{n}. When there are no binding constraints for network access limits, d^n\hat{d}_{n} is the optimal consumption of prosumer nn, defined below (2a); when there are binding access limits, the optimal consumption dnd^{*}_{n} equals d^n\hat{d}_{n} truncated by the distribution network access limits, and DERA’s benefit is modified by ϕ¯n(C¯n)\overline{\phi}_{n}({\overline{C}}_{n}) or ϕ¯n(C¯n)\underline{\phi}_{n}({\underline{C}}_{n}).

In our aggregation model, the optimal DERA benefit φ(𝑪¯,𝑪¯)\varphi({\underline{{\bm{C}}}},{\overline{{\bm{C}}}}) is separable across injection and withdrawal access, and across prosumers at different distribution buses. Furthermore, at most one of ϕ¯n(C¯n)\overline{\phi}_{n}({\overline{C}}_{n}) and ϕ¯n(C¯n)\underline{\phi}_{n}({\underline{C}}_{n}) can be nonzero, depending upon the renewable generation gng_{n} for prosumer nn. When gnqn+g_{n}\leq q^{+}_{n}, ϕ¯n(C¯n)\underline{\phi}_{n}({\underline{C}}_{n}) is nonzero and the prosumer at bus nn is a consumer with binding network withdrawal access constraints; when qngnq^{-}_{n}\leq g_{n}, ϕ¯n(C¯n)\overline{\phi}_{n}({\overline{C}}_{n}) is nonzero and the prosumer at bus ii is a producer with binding network injection access constraints. Related simulation is shown in Sec. VI-D.

V-B Long-run equilibrium for competitive DERA

In a long-run competitive industry, we explore how many DERA can survive. DERAs compete to attract customers, attain distribution network access, and participate in the wholesale market. We assume all DERAs adopt the proposed competitive DER aggregation method. The condition for a competitive long-run equilibrium [31, P193]999In [31], question 4.26 focuses on long-run competitive equilibrium; equations (4.21) and (4.22) focus on long-run monopolistic equilibrium. has two components: (i) the marginal benefit of DERA equals the marginal cost of DSO for providing the distribution network access, and (ii) all DERAs have profits equal to zero, i.e., DERA’s profit in conducting aggregation equals DERA’s payment to acquire distribution network access. Related derivations and simulations are in Sec. VI-E and Appendix VIII-H.

VI Case Studies

We compared the expected surplus distribution of different DER aggregation methods under varying distribution network access limits and BTM DG generations. Under the access limit allocation framework in [24], distribution network reliability concerns are resolved if DERA obeys the allocated distribution network access limit. So the distribution network topology was ignored in the simulation. We also computed the benefit function of DERA to the distribution network access and empirically evaluated the long-run equilibrium of DERA with multi-interval aggregation. The DERA bidding curve to the wholesale market was simulated in our previous paper [1].

VI-A Parameter settings

Assume homogeneous utility function [21] for the aggregated customers, i.e., n[N]\forall n\in[N],

Un(x)={αxβ2x2,0xαβα22β,x>αβ,U_{n}(x)=\begin{cases}\alpha x-\frac{\beta}{2}x^{2},&0\leq x\leq\frac{\alpha}{\beta}\\ \frac{\alpha^{2}}{2\beta},&x>\frac{\alpha}{\beta}\end{cases}, (9)

where α=$0.4/kWh,β=$0.1/(kWh)2\alpha=\$0.4/\mbox{kWh},\beta=\$0.1/(\mbox{kWh})^{2}. The marginal utility had Vn1[d¯n,d¯n]V_{n}^{-1}\in[\underline{d}_{n},\bar{d}_{n}], n\forall n for the consumption boundaries.

We used NEMa and NEMp to represent the DER aggregation under NEM X when prosumers were active and passive, respectively. Passive customers are not responsive to the retail prices, but active customers will optimize their energy consumption given the retail price and the BTM DG generations. Based on PG&E residential rate, we set π+=$0.3/kWh\pi^{+}=\$0.3/\mbox{kWh} for the NEM X. We assumed π=πLMP\pi^{-}=\pi_{\mbox{\tiny LMP}} and the fixed cost of NEM X was covered by extracting fixed payment from DERA, so we simulated with π0=$0\pi^{0}=\$0. GAB represented the two-part pricing in [17] which allowed customers to sell BTM DG to the DERA while purchasing energy from its incumbent utility company. Detailed models for NEMa, NEMp, and GAB are provided in Appendix VIII-A. Our DER aggregation method was simulated in Co.NEMa and Co.GAB, competitive to NEMa and GAB respectively. We set ζ\zeta at the upper bound in Proposition 2 for Co.NEMa. For Co.GAB, we set ζ=1.05\zeta=1.05 to provide 5% more customer surplus than the GAB competitor.

LMP πLMP\pi_{\mbox{\tiny LMP}} was assumed to be a Gaussian random variable with mean $0.05/kWh and standard deviation (STD) $0.01/kWh, truncated by (0,π+)(0,\pi^{+}). The BTM DG generation gg was assumed to be a Gaussian random variable with STD 0.2 kWh, truncated by (0,+)(0,+\infty). Data sources for the wholesale LMP and BTM DG came from CAISO and Pecan Street Dataport [32], respectively. We sampled 10,000 scenarios for the LMP and BTM DG. At a certain PoA, we analyzed the per-customer level surplus distributions on expectation based on the sample mean of these scenarios.

VI-B Performances with unlimited distribution network access

Four observations below were drawn when all aggregators received plenty of distribution network access.

Refer to caption
Refer to caption
Figure 2: Expected surplus distribution and market efficiency with 80% DG adoption rate. Each shaded rectangular is dominated by its top right corner. (From the left to the right, the expected DG increases from 1.1 to 5.1 kW.)

First, Co.NEMa and Co.GAB were at the Pareto front in Fig. 2 achieving the maximum social surplus as if all prosumers directly participated in the wholesale market without middlemen like DERA. This verified Theorem 2. Note that we computed the Pareto front by adding up surpluses of DERA and customers, omitting surpluses of other units. This was because we adopted the price taker assumption in the wholesale market, thus surpluses of other units stayed the same in different DERA models. The blue dot, named Direct, represented the ideal case that prosumers directly participated in the wholesale market with bidding curve (7). The green rectangular contained aggregation methods achieving less DERA surplus and customer surplus than Co.NEMa, thus dominated by our proposed competitive DER aggregation method. Similarly, the orange rectangular was dominated by its top right corner, Co.GAB. This was because our aggregation methods efficiently participated in the wholesale market with aggregated resources and scheduled the aggregated customers at a consumption level with a higher customer surplus. When the expected BTM DG increased from 1.1kW to 5.1kW, comparing the left and right panels in Fig. 2, we observed the expected social surplus, which was the sum of DERA and customer surpluses, increased, because more BTM DG was sold to the wholesale market.

Second, customers had the highest expected surplus in Co.NEMa and Co.GAB shown by the top of Fig. 3. Passive customers in NEMp had the least surplus because its scheduling had no awareness of DG generation. Customer surpluses almost overlapped in all cases at a low DG adopter ratio with fewer producers, since most aggregation benefits came from BTM DG of producers. When the DG adopter ratio increased, the expected customer surplus increased in all cases.

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 3: Expected surplus distributions v.s. network access ratio. (Top: expected customer surplus; bottom: expected DERA surplus.)

Third, when DG adopter ratio or the DG generation was low, Co.NEMa and Co.GAB achieved the highest expected DERA surplus, as is shown in the bottom of Fig. 3. When the DG adopter ratio and DG generation were high, GAB achieved the highest DERA surplus because GAB only aggregated producers.101010GAB achieved the Pareto front when all prosumers were producers, e.g. DG adopter ratio equal 100% and 𝔼[g]=5.1\mathbb{E}[g]=5.1kW. Co.NEMa always had DERA profit no less than zero since we chose ζ\zeta based on Proposition 2. NEMp and NEMa were completely overlapped when comparing DERA surplus because we set π=πLMP\pi^{-}=\pi^{\mbox{\tiny LMP}}.

Fourth, since NEM X provided a higher surplus to customers with BTM DG, DERAs must commensurately reduce their own profits and share them with the customers to remain competitive with NEM X. Therefore, in most cases of Fig. 3, the expected DERA surplus decreased when the DG adopter ratio increased. However, GAB witnessed an increasing DERA surplus when the DG adopter ratio increased because GAB only aggregated producers.

VI-C Performances with limited distribution network access

Set distribution network access limits for each prosumer by C¯=C¯=8δ\overline{C}=\underline{C}=8\delta kW and vary the network access ratio δ\delta from 0 to 1 to analyze the influence of limited distribution network access. First, as is shown in Fig. 4, either Co.NEMa or Co.GAB achieved the highest customer surplus and DERA surplus under a limited network access ratio. Second, when the network access ratio increased, customer surplus increased in most cases except NEMp which passively controlled DG. Third, the DERA surplus in all cases increased when the network access ratio increased. This was intuitive because aggregators needed distribution network access to deliver the aggregated resources and participate in the wholesale market.

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 4: Expected surplus distributions v.s. network access ratio with 50% DG adoption rate. (Top: expected customer surplus; bottom: expected DERA surplus when 𝔼[g]=\mathbb{E}[g]= 1.1 kW and 5.1 kW, respectively.)

VI-D Benefit function of DERA for distribution network access

We computed the bid-in benefit function of the proposed DERA model, i.e., (8), with ζ=1.01\zeta=1.01 and 50 prosumer aggregated at a certain PoA. DERA was competing with NEM X and prosumers were passive. We plot the expected benefit φ\varphi of DERA with respect to the injection and withdrawal access in Fig. 5 with varying expected BTM DG generations.

In the left panel of Fig. 5, DERAs with lower expected DG generations had higher benefits and chose higher bid prices to purchase withdrawal access, as shown by the slope of the benefit function. Because, with less BTM DG, DERA relied more on the withdrawn electricity from the network. The slope of the right panel in Fig. 5 showed that DERAs with higher DG chose higher prices for injection access. The benefit function was lower when the DG generation was higher. This counterintuitive phenomenon happened because NEM X provided higher surpluses to customers with higher DG, DERAs must reduce their profits and share them with the customers to remain competitive with NEM X.

Refer to caption
Refer to caption
Figure 5: DERA Benefit function φ\varphi. (Left: withdrawal access C¯-\underline{C}; right: injection access C¯\overline{C}.)

VI-E Long-run competitive equilibrium of DERAs

In the long-run competitive equilibrium analysis with multi-interval aggregation of DERs, we assumed 200 DERAs initially existed and computed the expected number of surviving DERAs in the long run. For simplicity, we assumed DERAs were homogeneous and had the same setting as Sec. VI-D. Prosumers had the same expected DG generation created from the 24-hour roof-top solar data in Pecan Street [32].111111Detail DG trajectories and the long-run equilibrium results for single-interval aggregation are shown in Appendix VIII-H, providing intuitions about long-run equilibrium for multi-interval aggregation here. We multiplied the mean of 24-hour DG by ϵ1+\epsilon_{1}\in\mathbb{R}_{+} to simulate different DG installation capacities and sampled 10,000 random DG scenarios. DERA submitted the benefit function, as in Fig. 5, to acquire hourly distribution network access. Same as [24], the DSO cost function for providing distribution network access was assumed to be the sum of quadratics, J(x)=12bx2+axJ(x)=\frac{1}{2}bx^{2}+ax with a=$0.009/kWh,b=$0.0005/(kWh)2a=\$0.009/\mbox{kWh},b=\$0.0005/(\mbox{kWh})^{2} for both the injection and withdrawal access. We multipied DSO’s cost JJ by ϵ2+\epsilon_{2}\in\mathbb{R}_{+} to simulate different levels of DSO’s costs.

Two observations were drawn from results in Fig. 6. First, when the DG capacity ratio ϵ1\epsilon_{1} was about 0.4-1.4, all initial 200 DERAs survived because DERAs can internally balance customer demands with its aggregated DG, thus relying and paying less to the network access. This was validated by the yellow dot curve from Fig. 6 (right), which required almost zero network access over 24 hours. Second, when the DG capacity ratio decreased from 0.4 to 0 in Fig. 6 (left), the number of surviving DERA decreased. In this case, DG was lower than the aggregated customers’ consumption, and not all DERAs can survive when competing and paying for the network withdrawal access over 24 hours, shown by the blue solid curve of Fig. 6 (right). In the green dash curve of Fig. 6 (left), DSO’s cost for providing network access was lower, so more DERAs survived than other curves. Similar reasons applied when DG capacity ratio increased beyond 1.4.

Refer to caption
Refer to caption
Figure 6: Long-run competitive equilibrium for multi-interval aggregation. (Left: expected number of surviving DERA v.s. DG installation capacity ratio ϵ1\epsilon_{1}; right: expected distribution network net injection access of DERA over 24-hour, whose negativity represents withdrawal access.)

VII Conclusions

A major issue facing the realization of FERC order 2222 goals is how can DERAs compete with the lucrative retail programs offered by legacy utility companies. To this end, this paper considers the competitive DER aggregation of a profit-seeking DERA in the wholesale electricity market. As a wholesale market participant, DERA can both inject and withdraw power from the wholesale market. It is shown that the proposed DERA model maximizes its profit while providing competitive services to its customers with higher surpluses than those offered by the distribution utilities. We also establish that the resulting social welfare from DERA’s participation on behalf of its prosumers is the same as that gained by the direct participation of price-taking prosumers, making the proposed DERA aggregation model optimal in achieving wholesale market efficiency. Additionally, we derive two significant optimal price-quantity bids of DERA, of which one is submitted to the wholesale market, and the other to the distribution network access allocation mechanism [24].

An open issue of the proposed aggregation solution is that the payment functions for prosumers are nonlinear and non-uniform. Although each customer is guaranteed to be better off than the competing scheme, two customers producing the same amount may be paid and compensated differently. In other words, the total charge/credits depend not only on the quantity but also on the flexibilities of the demand and constraints imposed by the prosumer. Note that a profit-seeking DERA participating in the wholesale electricity market is not subject to the same regulation as a regulated utility. Such non-uniform pricing is acceptable and has also been proposed in the form of discriminative fixed charges [17, 6].

Acknowledgement

The authors are grateful for the many discussions with Dr. Tongxin Zheng, Dr. Mingguo Hong, and other colleagues from ISO New England. We also benefited from helpful comments and critiques from Dr. Jay Liu and Dr. Hong Chen from PJM.

References

  • [1] C. Chen, A. S. Alahmed, T. D. Mount, and L. Tong, “Competitive DER aggregation for participation in wholesale markets,” in Proceedings of the 56th Hawaii International Conference on System Sciences. [Online preprint] arXiv:2207.00290, 2023.
  • [2] FERC. (2020) Participation of distributed energy resource aggregations in markets operated by regional transmission organizations and independent system operators, order 2222. 2020. Accessed: June 9, 2024. [Online]. https://www.ferc.gov/sites/default/files/2020-09/E-1_0.pdf.
  • [3] M. Birk, J. P. Chaves-Ávila, T. Gómez, and R. Tabors, “TSO/DSO coordination in a context of distributed energy resource penetration,” Proceedings of the EEIC, MIT Energy Initiative Reports, Cambridge, MA, USA, pp. 2–3, 2017.
  • [4] 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, p. 13–31, Aug. 2022.
  • [5] J. Nelson, “Order 2222: Observations from a Distribution Utility,” Southern California Edison (SCE), Tech. Rep., 10 2021.
  • [6] S. Borenstein, M. Fowlie, and J. Sallee, “Designing electricity rates for an equitable energy transition,” Energy Institute at Haas working paper, vol. 314, 2021.
  • [7] “Real-time wholesale electricity pricing in Griddy,” Accessed: June 9, 2024. [Online]. https://www.energyogre.com/is-realtime-wholesale-pricing-risky, February 2022.
  • [8] “Amber wholesale energy price explained,” Accessed: June 9, 2024. [Online]. https://www.youtube.com/watch?app=desktop&v=DckQbwwWPWA and https://www.amber.com.au/electricity, June 2021.
  • [9] S. D. Manshadi and M. E. Khodayar, “A hierarchical electricity market structure for the smart grid paradigm,” IEEE Transactions on Smart Grid, vol. 7, no. 4, pp. 1866–1875, 2015.
  • [10] R. Haider, D. D’Achiardi, V. Venkataramanan, A. Srivastava, A. Bose, and A. M. Annaswamy, “Reinventing the utility for distributed energy resources: A proposal for retail electricity markets,” Advances in Applied Energy, vol. 2, p. 100026, 2021.
  • [11] T. Morstyn and M. D. McCulloch, “Multiclass energy management for peer-to-peer energy trading driven by prosumer preferences,” IEEE Transactions on Power Systems, vol. 34, no. 5, pp. 4005–4014, 2018.
  • [12] Y. Chen and C. Zhao, “Review of energy sharing: Business models, mechanisms, and prospects,” IET Renewable Power Generation, 2022.
  • [13] P. Chakraborty, E. Baeyens, P. P. Khargonekar, K. Poolla, and P. Varaiya, “Analysis of solar energy aggregation under various billing mechanisms,” IEEE Transactions on Smart Grid, vol. 10, no. 4, pp. 4175–4187, 2018.
  • [14] L. Han, T. Morstyn, and M. McCulloch, “Incentivizing prosumer coalitions with energy management using cooperative game theory,” IEEE Transactions on Power Systems, vol. 34, no. 1, pp. 303–313, 2018.
  • [15] F. Moret and P. Pinson, “Energy collectives: A community and fairness based approach to future electricity markets,” IEEE Transactions on Power Systems, vol. 34, no. 5, pp. 3994–4004, 2018.
  • [16] A. Attarha, M. Mahmoodi, S. M. N. R. A., P. Scott, J. Iria, and S. Thiébaux, “Adjustable price-sensitive DER bidding within network envelopes,” IEEE Transactions on Energy Markets, Policy and Regulation, vol. 1, no. 4, pp. 248–258, 2023.
  • [17] Z. Gao, K. Alshehri, and J. R. Birge, “Aggregating distributed energy resources: efficiency and market power,” Manufacturing & Service Operations Management, 2024.
  • [18] K. Alshehri, M. Ndrio, S. Bose, and T. Başar, “Quantifying market efficiency impacts of aggregated distributed energy resources,” IEEE Transactions on Power Systems, vol. 35, no. 5, pp. 4067–4077, 2020.
  • [19] “What is the energy price cap and how does it affect me?” Accessed: June 9, 2024. [Online]. https://www.nerdwallet.com/uk/personal-finance/what-is-the-energy-price-cap/, April 2023.
  • [20] “Turnkey VPPs: Streamlining der management for the decarbonized grid of the future,” Accessed: June 9, 2024. [Online]. https://storage.pardot.com/764473/1680019430TuQTtLtN/230327_Turnkey_VPP_White_Paper.pdf, March 2023.
  • [21] A. S. Alahmed and L. Tong, “On net energy metering X: Optimal prosumer decisions, social welfare, and cross-subsidies,” IEEE Transactions on Smart Grid, 2022.
  • [22] ISO-NE. (2019) Continuous storage facility participation. Accessed: June 9, 2024. [Online]. https://www.iso-ne.com/static-assets/documents/2019/02/20190221-csf.pdf.
  • [23] ——. (2021) Order no. 2222: Participation of distributed energy resource aggregations in wholesale markets. Accessed: June 9, 2024. [Online]. https://www.iso-ne.com/static-assets/documents/2021/07/a7_order_2222.pdf.
  • [24] C. Chen, S. Bose, T. D. Mount, and L. Tong, “Wholesale market participation of DERAs: DSO-DERA-ISO coordination,” IEEE Transactions on Power Systems, pp. 1–12, 2024.
  • [25] “Italy publishes interactive map of substations for energy communities,” Accessed: June 9, 2024. [Online]. https://www.pv-magazine.com/2023/10/06/italy-publishes-interactive-map-of-substations-for-energy-communities/, October 2023.
  • [26] A. Mas-Colell, M. D. Whinston, J. R. Green et al., Microeconomic theory.   Oxford university press New York, 1995, vol. 1.
  • [27] H. R. Varian, “The nonparametric approach to demand analysis,” Econometrica: Journal of the Econometric Society, pp. 945–973, 1982.
  • [28] ——, Price discrimination.   Elsevier, 1989, vol. 1.
  • [29] “2022 distributed energy resources avoided cost calculator documentation,” Accessed: June 9, 2024. [Online]. https://www.cpuc.ca.gov/-/media/cpuc-website/divisions/energy-division/documents/demand-side-management/acc-models-latest-version/2022-acc-documentation-v1a.pdf, June 2022.
  • [30] P. Billingsley, Probability and measure.   John Wiley & Sons, 2008.
  • [31] G. A. Jehle and P. J. Reny, Advanced microeconomic theory.   Pearson, 2011.
  • [32] “Pecan street dataport,” Accessed: June 9, 2024. [Online]. https://www.pecanstreet.org/dataport/.
  • [33] A. J. Ros, T. Brown, N. Lessem, S. Hesmondhalgh, J. D. Reitzes, and H. Fujita, “International experiences in retail electricity markets,” The Brattle Group: Sydney, Australia, 2018.

VIII Appendix

VIII-A Participation model of prosumers

A prosumer in a distribution system can choose to enroll in a NEM X retail program offered by her utility or a DERA providing energy services. In this context, a summary of short-run analysis over several existing models for the participation of prosumers in the regulated utility and different DERA schemes is presented.

VIII-A1 NEM benchmarks

Considering the benchmark performance of a regulated utility offering the NEM X tariff, we extend the results in [21, 4] and present closed-form characterizations of consumer/prosumer surpluses.

For simplicity, we drop the prosumer index nn and adopt one representative prosumer. The prosumer’s net consumption is

z=dg,z=d-g, (10)

where g[0,)g\in[0,\infty) is the BTM distributed generation (DG). The prosumer is a producer if z<0z<0 and a consumer if z0z\geq 0.

In evaluating the benchmark prosumer surplus under a regulated utility, we assume that the prosumer maximizes its surplus under the utility’s NEM X tariff with parameter 𝝅=(π+,π,π0)\hbox{\boldmath$\pi$\unboldmath}=(\pi^{+},\pi^{-},\pi^{0}), where π+\pi^{+} is the retail (consumption) rate, π\pi^{-} the sell (production) rate, and π0\pi^{0} the connection charge. In general ππ+\pi^{-}\leq\pi^{+} under NEM X tariff, and the prosumer’s energy bill Pπ(z)P^{\pi}(z) for the net consumption zz is given by the following convex function

P𝝅(z)=max{π+z,πz}+π0,\displaystyle P^{\hbox{\boldmath$\pi$\unboldmath}}(z)=\max\{\pi^{+}z,\pi^{-}z\}+\pi^{\mbox{\tiny 0}}, (11)

The prosumer surplus under NEM with parameter π\pi is

S𝝅(d):=U(d)P𝝅(z).S^{\hbox{\boldmath$\pi$\unboldmath}}(d):=U(d)-P^{\hbox{\boldmath$\pi$\unboldmath}}(z).

For an active prosumer whose consumption is a function of the available DG output gg, the optimal consumption dNEM-ad_{\mbox{\tiny NEM-a}} and prosumer surplus SNEM-a(g)S_{\mbox{\tiny NEM-a}}(g) can be obtained by

dNEM-a=argmaxd𝒟(U(d)P𝝅(dg)).\begin{array}[]{l}d_{\mbox{\tiny NEM-a}}=\underset{d\in{\cal D}}{\arg\max}\bigg{(}U(d)-P^{\hbox{\boldmath$\pi$\unboldmath}}(d-g)\bigg{)}.\end{array}

For the fairness of comparison, we assume the aggregated customer is subject to the same distribution network injection and withdrawal access limits, i.e., C¯gdC¯-\underline{C}\leq g-d\leq\overline{C}, which is the same as that applied to the proposed DERA optimization (1) at all PoAs. So, for the above optimization, the domain is 𝒟:=[max{d¯,gC¯},min{d¯,g+C¯}]{\cal D}:=[\max\{\underline{d},g-\overline{C}\},\min\{\bar{d},g+\underline{C}\}].

The surplus SNEM-aS_{\mbox{\tiny NEM-a}} and the consumption dNEM-ad_{\mbox{\tiny NEM-a}} of an active prosumer are given by the following equations.

SNEM-a(g,C¯,C¯)=U(dNEM-a)P𝝅(dNEM-ag)\displaystyle S_{\mbox{\tiny NEM-a}}(g,\underline{C},\overline{C})=U(d_{\mbox{\tiny NEM-a}})-P^{\hbox{\boldmath$\pi$\unboldmath}}(d_{\mbox{\tiny NEM-a}}-g) (12)
={U(d)π(dg)π0,gdU(d+)π+(d+g)π0,gd+U(d0)π0,otherwise\displaystyle=\begin{cases}U(d^{-})-\pi^{-}(d^{-}-g)-\pi^{0},&g\geq d^{-}\\ U(d^{+})-\pi^{+}(d^{+}-g)-\pi^{0},&g\leq d^{+}\\ U(d^{0})-\pi^{0},&\text{otherwise}\\ \end{cases}
dNEM-a=max{d+,min{g,d}},\displaystyle d_{\mbox{\tiny NEM-a}}=\max\{d^{+},\min\{g,d^{-}\}\},

where d+:=f(π+)d^{+}:=f(\pi^{+}), d:=f(π)d^{-}:=f(\pi^{-}), d0:=f(μ(g))d^{0}:=f(\mu^{*}(g)) with

f(x):=max{d¯,gC¯,min{V1(x),d¯,g+C¯}},f(x):=\max\{\underline{d},g-\overline{C},\min\{V^{-1}(x),\bar{d},g+\underline{C}\}\}, (13)

and, by solving f(μ)=gf(\mu)=g, we have μ(g)[π,π+]\mu^{*}(g)\in[\pi^{-},\pi^{+}].

A prosumer is called passive if it decides energy consumption without the awareness of its DG output and the influence brought by NEM X switching among π\pi^{-} and π+\pi^{+}. The optimal consumption bundle of such a passive prosumer under the NEM X tariff is given by

dNEM-p=argmaxd𝒟(U(d)π+d).\begin{array}[]{l}d_{\mbox{\tiny NEM-p}}=\underset{d\in{\cal D}}{\arg\max}\bigg{(}U(d)-\pi^{+}d\bigg{)}.\end{array} (14)

The total consumption dNEM-pd_{\mbox{\tiny NEM-p}} and the surplus SNEM-pS_{\mbox{\tiny NEM-p}} of a passive prosumer are given by

SNEM-p(g,C¯,C¯)=U(dNEM-p)Pπ(dNEM-pg)\displaystyle S_{\mbox{\tiny NEM-p}}(g,\underline{C},\overline{C})=U(d_{\mbox{\tiny NEM-p}})-P^{\pi}(d_{\mbox{\tiny NEM-p}}-g) (15)
={U(d+)π(d+g)π0,gd+U(d+)π+(d+g)π0,g<d+\displaystyle=\begin{cases}U(d^{+})-\pi^{-}(d^{+}-g)-\pi^{0},&g\geq d^{+}\\ U(d^{+})-\pi^{+}(d^{+}-g)-\pi^{0},&g<d^{+}\end{cases}
dNEM-p=d+.\displaystyle d_{\mbox{\tiny NEM-p}}=d^{+}. (16)

In practice, because active prosumer decision requires installing special DG measurement devices and sophisticated control, most prosumers are passive.121212Britain establishes a database for passive customers and encourages the participation of passive customers in the electricity market [33]. In summary, the prosumer surplus under NEM X, SNEM(g,C¯,C¯)S_{\mbox{\tiny NEM}}(g,\underline{C},\overline{C}) is given by

SNEM(g,C¯,C¯)={SNEM-a(g,C¯,C¯),active prosumer,SNEM-p(g,C¯,C¯),passive prosumer.\displaystyle S_{\mbox{\tiny NEM}}(g,\underline{C},\overline{C})=\begin{cases}S_{\mbox{\tiny NEM-a}}(g,\underline{C},\overline{C}),&\text{active prosumer},\\ S_{\mbox{\tiny NEM-p}}(g,\underline{C},\overline{C}),&\text{passive prosumer}.\end{cases} (17)

VIII-A2 Two-part pricing in GAB

The optimal DERA two-part pricing scheme is proposed in [17] to aggregate BTM DG productions. The original pricing scheme keeps the customer surplus under DERA competitive with that when the customers directly buy energy from the wholesale market. Here, considering the realistic retail market setting, we revised the DERA pricing model to be competitive with that when the customers directly buy energy from the incumbent utility company under NEM X.

The two-part pricing includes a variable price λi\lambda_{i} and a discriminative fixed charge δn\delta_{n}. Prosumers can sell energy xix_{i} to the DERA with price λi\lambda_{i}, and buy energy from the energy provider, e.g. the utility company, with the retail rate π+\pi^{+}. In this case, the surplus maximization of prosumer ii is given by

maxdi𝒟i,xi[0,gi]SiPro(),\begin{array}[]{c}\underset{d_{i}\in{\cal D}_{i},x_{i}\in[0,g_{i}]}{\max}~{}S_{i}^{\mbox{\tiny Pro}}(\cdot),\end{array} (18)

where 𝒟i:=[max{d¯i,giC¯i},min{d¯i,gi+C¯i}]{\cal D}_{i}:=[\max\{\underline{d}_{i},g_{i}-\overline{C}_{i}\},\min\{\bar{d}_{i},g_{i}+\underline{C}_{i}\}], and

SiPro()={Ui(di)π+[digi+xi]++λixiδi,xi>0Ui(di)π+[digi]+,xi=0.S_{i}^{\mbox{\tiny Pro}}(\cdot)=\begin{cases}U_{i}(d_{i})-\pi^{+}[d_{i}-g_{i}+x_{i}]^{+}+\lambda_{i}x_{i}-\delta_{i},&x_{i}>0\\ U_{i}(d_{i})-\pi^{+}[d_{i}-g_{i}]^{+},&x_{i}=0\\ \end{cases}.

With function fif_{i} defined in (13), the optimal energy consumption of DERA computed from the optimization above is given by

{xi(λi,δi)=[gifi(λi)]+,di(λi,δi)=gixi,xi(λi,δi)=0,di(λi,δi)=gi+[di+gi]+,\begin{cases}x^{*}_{i}(\lambda_{i},\delta_{i})=[g_{i}-f_{i}(\lambda_{i})]^{+},~{}d^{*}_{i}(\lambda_{i},\delta_{i})=g_{i}-x^{*}_{i},\\ x^{*}_{i}(\lambda_{i},\delta_{i})=0,~{}d^{*}_{i}(\lambda_{i},\delta_{i})=g_{i}+[d^{+}_{i}-g_{i}]^{+},\end{cases}

where di+:=f(π+)d^{+}_{i}:=f(\pi^{+}). If prosumer chooses not to sell energy to DERA, the maximum prosumer surplus is given by

SiNO={Ui(fi(0)),if fi(0)gi,Ui(gi),if di+gi<fi(0),Ui(di+)π+(di+gi),if 0gi<di+.S^{\mbox{\tiny NO}}_{i}=\begin{cases}U_{i}(f_{i}(0)),&\text{if }~{}f_{i}(0)\leq g_{i},\\ U_{i}(g_{i}),&\text{if }~{}d_{i}^{+}\leq g_{i}<f_{i}(0),\\ U_{i}(d_{i}^{+})-\pi^{+}(d_{i}^{+}-g_{i}),&\text{if }~{}0\leq g_{i}<d_{i}^{+}.\end{cases}

To make DERA competitive with the incumbent utility company, we set 𝒦i=ζSiNO{\cal K}_{i}=\zeta S^{\mbox{\tiny NO}}_{i} for the 𝒦{\cal K}-competitive constraint. That way, the prosumer selling xix^{*}_{i} energy to DERA will always have ζ\zeta times its surplus under the incumbent utility company with NEM.

The profit maximization of the DERA is

max{λi,δi}i(δi𝟙{gifi(λi)>0}+(πLMPλi)[gifi(λi)]+)s.t.𝒦iUi(fi(λi))+λi[gifi(λi)]+δi,λiπLMP.\begin{array}[]{lrl}&\underset{\{\lambda_{i},\delta_{i}\}}{\rm max}&\sum_{i}(\delta_{i}\mathbbm{1}\{g_{i}-f_{i}(\lambda_{i})>0\}+\\ &&~{}~{}~{}~{}~{}~{}~{}~{}~{}~{}~{}~{}~{}~{}~{}~{}(\pi_{\mbox{\tiny LMP}}-\lambda_{i})[g_{i}-f_{i}(\lambda_{i})]^{+})\\ &s.t.&{\cal K}_{i}\leq U_{i}(f_{i}(\lambda_{i}))+\lambda_{i}[g_{i}-f_{i}(\lambda_{i})]^{+}-\delta_{i},\\ &&\lambda_{i}\leq\pi_{\mbox{\tiny LMP}}.\end{array} (19)

And the optimal pricing from the above optimization is

{λi=πLMP,i,δi=Ui(fi(λi))+λi[gifi(λi)]+𝒦i.\begin{cases}\lambda_{i}^{*}=\pi_{\mbox{\tiny LMP}},\forall i,\\ \delta_{i}^{*}=U_{i}(f_{i}(\lambda_{i}^{*}))+\lambda_{i}^{*}[g_{i}-f_{i}(\lambda^{*}_{i})]^{+}-{\cal K}_{i}.\end{cases}

So, when gifi(πLMP)>0g_{i}-f_{i}(\pi_{\mbox{\tiny LMP}})>0, the prosumer will be aggregated by DERA for its extra BTM DG generation. Otherwise, the prosumer will stay under the utility company with NEM. And the customer surplus under this two-part pricing has SiGAB=𝒦i=ζSiNOS_{i}^{\mbox{\tiny GAB}}={\cal K}_{i}=\zeta S^{\mbox{\tiny NO}}_{i}. GAB also needs to set ζ\zeta carefully to avoid DERA deficit.

VIII-B Proof of Proposition 1

If gndn+g_{n}\leq d_{n}^{+}, we have

ωn=(a)Un(dn)𝒦n=(b)Un(dn)ζSnNEM(gn,C¯n,C¯n)(c)Un(dn)SnNEM(gn,C¯n,C¯n)=(d)Un(dn)(Un(dn+)π+dn+)(e)dnπ+.\displaystyle\begin{aligned} \omega^{*}_{n}&\overset{(a)}{=}U_{n}(d_{n}^{*})-{\cal K}_{n}\\ &\overset{(b)}{=}U_{n}(d_{n}^{*})-\zeta S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n})\\ &\overset{(c)}{\leq}U_{n}(d_{n}^{*})-S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n})\\ &\overset{(d)}{=}U_{n}(d_{n}^{*})-(U_{n}(d_{n}^{+})-\pi^{+}d_{n}^{+})\\ &\overset{(e)}{\leq}d_{n}^{*}\pi^{+}.\end{aligned}

Here, (a) comes from the optimal solution in Theorem 1. (b) relies on the setting that 𝒦n=ζSnNEM(gn,C¯n,C¯n){\cal K}_{n}=\zeta S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n}). (c) replies on ζ1\zeta\geq 1 and the assumption that SnNEM0S_{n}^{\mbox{\tiny NEM}}\geq 0. (d) comes from the definition of SnNEMS_{n}^{\mbox{\tiny NEM}} given in (17).131313We ignore the fix charge π0\pi^{0} under NEM X here for simplicity.(e) comes from

Un(dn)dnπ+Un(dn+)π+dn+,U_{n}(d_{n}^{*})-d_{n}^{*}\pi^{+}\leq U_{n}(d_{n}^{+})-\pi^{+}d_{n}^{+}, (20)

which can be derived from the optimality of

d+=argmaxd𝒟(U(d)π+d).d^{+}={\rm arg~{}max}_{d\in{\cal D}}(U(d)-\pi^{+}d).

If gn>dn+g_{n}>d_{n}^{+}, for passive prosumer, we have

ωn=(a)Un(dn)𝒦n=(b)Un(dn)ζSnNEM(gn,C¯n,C¯n)(c)Un(dn)SnNEM(gn,C¯n,C¯n)=(d)Un(dn)(Un(dn+)π(dn+gn))(e)Un(dn)Un(dn+)(f)π+(dndn+)(g)dnπ+.\displaystyle\begin{aligned} \omega^{*}_{n}&\overset{(a)}{=}U_{n}(d_{n}^{*})-{\cal K}_{n}\\ &\overset{(b)}{=}U_{n}(d_{n}^{*})-\zeta S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n})\\ &\overset{(c)}{\leq}U_{n}(d_{n}^{*})-S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n})\\ &\overset{(d)}{=}U_{n}(d_{n}^{*})-(U_{n}(d_{n}^{+})-\pi^{-}(d_{n}^{+}-g_{n}))\\ &\overset{(e)}{\leq}U_{n}(d_{n}^{*})-U_{n}(d_{n}^{+})\\ &\overset{(f)}{\leq}\pi^{+}(d_{n}^{*}-d_{n}^{+})\\ &\overset{(g)}{\leq}d_{n}^{*}\pi^{+}.\end{aligned}

Here,(a) comes from the optimal solution in Theorem 1. (b) relies on the setting that 𝒦n=ζSnNEM(gn,C¯n,C¯n){\cal K}_{n}=\zeta S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n}). (c) replies on ζ1\zeta\geq 1 and the assumption that SnNEM0S_{n}^{\mbox{\tiny NEM}}\geq 0. (d) comes from the definition of SnNEMS_{n}^{\mbox{\tiny NEM}} given in (17). (e) replies on gn>dn+g_{n}>d_{n}^{+} and π0\pi^{-}\geq 0. (f) comes from (20). (g) holds because dn+0d_{n}^{+}\geq 0 and π+0\pi^{+}\geq 0.

If dn+<gndnd_{n}^{+}<g_{n}\leq d_{n}^{-}, for active prosumer, we have

ωn(a)Un(dn)SnNEM(gn,C¯n,C¯n)=(b)Un(dn)Un(dn0)(c)0dnπ+.\displaystyle\begin{aligned} \omega^{*}_{n}&\overset{(a)}{\leq}U_{n}(d_{n}^{*})-S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n})\\ &\overset{(b)}{=}U_{n}(d_{n}^{*})-U_{n}(d_{n}^{0})\\ &\overset{(c)}{\leq}0\leq d_{n}^{*}\pi^{+}.\end{aligned}

Here,(a) comes from Theorem 1 and the assumption that SnNEM0S_{n}^{\mbox{\tiny NEM}}\geq 0. (b) comes from the definition of SnNEMS_{n}^{\mbox{\tiny NEM}} given in (17) when dn+<gndnd_{n}^{+}<g_{n}\leq d_{n}^{-} for active prosumer. (c) comes from the optimality of d0=argmaxd𝒟U(d)d^{0}={\rm arg~{}max}_{d\in{\cal D}}U(d), dn0d_{n}^{*}\geq 0, and π+0\pi^{+}\geq 0.

If gn>dng_{n}>d_{n}^{-}, for active prosumer, we have

ωn(a)Un(dn)SnNEM(gn,C¯n,C¯n)=(b)Un(dn)(Un(dn)π(dngn))(c)Un(dn)Un(dn)(d)π(dndn)(e)dnπdnπ+.\displaystyle\begin{aligned} \omega^{*}_{n}&\overset{(a)}{\leq}U_{n}(d_{n}^{*})-S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n})\\ &\overset{(b)}{=}U_{n}(d_{n}^{*})-(U_{n}(d_{n}^{-})-\pi^{-}(d_{n}^{-}-g_{n}))\\ &\overset{(c)}{\leq}U_{n}(d_{n}^{*})-U_{n}(d_{n}^{-})\\ &\overset{(d)}{\leq}\pi^{-}(d_{n}^{*}-d_{n}^{-})\\ &\overset{(e)}{\leq}d_{n}^{*}\pi^{-}\leq d_{n}^{*}\pi^{+}.\end{aligned}

Here,(a) comes from Theorem 1 and the assumption that SnNEM0S_{n}^{\mbox{\tiny NEM}}\geq 0. (b) comes from the definition of SnNEMS_{n}^{\mbox{\tiny NEM}} given in (17) when gndng_{n}\geq d^{-}_{n}. (c) holds because gndng_{n}\geq d^{-}_{n}. (d) comes from

Un(dn)dnπUn(dn)πdn,U_{n}(d_{n}^{*})-d_{n}^{*}\pi^{-}\leq U_{n}(d_{n}^{-})-\pi^{-}d_{n}^{-}, (21)

which can be derived from the optimality of

d=argmaxd𝒟(U(d)πd).d^{-}={\rm arg~{}max}_{d\in{\cal D}}(U(d)-\pi^{-}d).

(e) holds because dn0d_{n}^{-}\geq 0 and π+π0\pi^{+}\geq\pi^{-}\geq 0. ∎

VIII-C Proof of Proposition 2

Denoting the DERA surplus as ΠDERA\Pi_{\mbox{\tiny DERA}}, we have

ΠDERA=n=1N(ωnπLMP(dngn))=(a)n=1N(Un(dn)𝒦nπLMP(dngn))=(b)n=1N(Un(dn)πLMP(dngn)ζSnNEM(gn,C¯n,C¯n))(c)0.\displaystyle\begin{aligned} \Pi_{\mbox{\tiny DERA}}&=\sum_{n=1}^{N}(\omega^{*}_{n}-\pi_{\mbox{\tiny LMP}}(d_{n}^{*}-g_{n}))\\ &\overset{(a)}{=}\sum_{n=1}^{N}(U_{n}(d^{*}_{n})-{\cal K}_{n}-\pi_{\mbox{\tiny LMP}}(d_{n}^{*}-g_{n}))\\ &\overset{(b)}{=}\sum_{n=1}^{N}(U_{n}(d^{*}_{n})-\pi_{\mbox{\tiny LMP}}(d_{n}^{*}-g_{n})-\zeta S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n}))\\ &\overset{(c)}{\geq}0.\end{aligned}

Here, (a) comes from the definition of DERA surplus, which is the objective function of (1)and (b) comes from the optimal solution in Theorem 1. (c) follows the assumption that SnNEM>0,n[N]S_{n}^{\mbox{\tiny NEM}}>0,\forall n\in[N], representing positive surpluses for all prosumers under NEM X. From Lemma 2 and the upper bound of ζ\zeta, we have n[N]\forall n\in[N],

Un(dn)πLMP(dngn)SnNEM(gn,C¯n,C¯n)min𝑛Un(dn)πLMP(dngn)SnNEM(gn,C¯n,C¯n)ζ.\frac{U_{n}(d_{n}^{*})-\pi_{\mbox{\tiny LMP}}(d^{*}_{n}-g_{n})}{S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n})}\geq\underset{n}{min}\frac{U_{n}(d_{n}^{*})-\pi_{\mbox{\tiny LMP}}(d^{*}_{n}-g_{n})}{S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n})}\geq\zeta.
Un(dn)πLMP(dngn)ζSnNEM(gn,C¯n,C¯n).\Rightarrow U_{n}(d_{n}^{*})-\pi_{\mbox{\tiny LMP}}(d^{*}_{n}-g_{n})\geq\zeta S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n}).

(c) comes from summing the equation above n[N]\forall n\in[N]. ∎

Lemma 2.

Assume NEM X has production price equal to LMP, i.e., πLMP=π\pi_{\mbox{\tiny LMP}}=\pi^{-}, then

Un(dn)πLMP(dngn)SnNEM(gn,C¯n,C¯n),n[N].U_{n}(d_{n}^{*})-\pi_{\mbox{\tiny LMP}}(d^{*}_{n}-g_{n})\geq S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n}),\forall n\in[N]. (22)

Proof: dn+,dd^{+}_{n},d^{-}, and d0d^{0} are defined in (13).

When dn+gnd^{+}_{n}\geq g_{n}, we have

Un(dn)πLMP(dngn)(a)Un(dn+)πLMP(dn+gn)(b)Un(dn+)π+(dn+gn)(c)SnNEM(gn,C¯n,C¯n).\displaystyle\begin{aligned} U_{n}(d_{n}^{*})-\pi_{\mbox{\tiny LMP}}(d^{*}_{n}-g_{n})&\overset{(a)}{\geq}U_{n}(d_{n}^{+})-\pi_{\mbox{\tiny LMP}}(d_{n}^{+}-g_{n})\\ &\overset{(b)}{\geq}U_{n}(d_{n}^{+})-\pi^{+}(d_{n}^{+}-g_{n})\\ &\overset{(c)}{\geq}S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n}).\end{aligned}

Here, (a) follows the optimality of

dn=argmaxdn𝒟n(Un(dn)πLMP(dngn)).\begin{array}[]{l}d^{*}_{n}=\arg\max_{d_{n}\in{\cal D}_{n}}\bigg{(}U_{n}(d_{n})-\pi_{\mbox{\tiny LMP}}(d_{n}-g_{n})\bigg{)}.\end{array} (23)

where 𝒟n:=[max{d¯n,gnC¯n},min{d¯n,gn+C¯n}]{\cal D}_{n}:=[\max\{\underline{d}_{n},g_{n}-\overline{C}_{n}\},\min\{\bar{d}_{n},g_{n}+\underline{C}_{n}\}]. (b) relies on 0ππ+0\leq\pi\leq\pi^{+} and dn+gnd^{+}_{n}\geq g_{n}. (c) comes from the definition of SnNEM(gn,C¯n,C¯n)S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n}) in (17) and π00\pi^{0}\geq 0.

When this prosumer is passive and dn+<gnd^{+}_{n}<g_{n}, we have

Un(dn)πLMP(dngn)(a)Un(dn+)πLMP(dn+gn)=(b)Un(dn+)π(dn+gn)(c)SnNEM(gn,C¯n,C¯n),\displaystyle\begin{aligned} U_{n}(d_{n}^{*})-\pi_{\mbox{\tiny LMP}}(d^{*}_{n}-g_{n})&\overset{(a)}{\geq}U_{n}(d_{n}^{+})-\pi_{\mbox{\tiny LMP}}(d_{n}^{+}-g_{n})\\ &\overset{(b)}{=}U_{n}(d_{n}^{+})-\pi^{-}(d_{n}^{+}-g_{n})\\ &\overset{(c)}{\geq}S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n}),\end{aligned}

where (a) follows the optimality of (23), (b) comes from the condition that πLMP=π\pi_{\mbox{\tiny LMP}}=\pi^{-}, and (c) comes from the definition of SnNEM(gn,C¯n,C¯n)S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n}) in (17).

When this prosumer is active and dn+<gn<dnd^{+}_{n}<g_{n}<d^{-}_{n}, we have

Un(dn)πLMP(dngn)(a)Un(dn0)πLMP(dn0gn)(b)Un(dn0)(c)SnNEM(gn,C¯n,C¯n),\displaystyle\begin{aligned} U_{n}(d_{n}^{*})-\pi_{\mbox{\tiny LMP}}(d^{*}_{n}-g_{n})&\overset{(a)}{\geq}U_{n}(d_{n}^{0})-\pi_{\mbox{\tiny LMP}}(d_{n}^{0}-g_{n})\\ &\overset{(b)}{\geq}U_{n}(d_{n}^{0})\\ &\overset{(c)}{\geq}S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n}),\end{aligned}

where (a) follows the optimality of (23), (b) is direct, and (c) comes from the definition in (17).

When this prosumer is active and gndng_{n}\geq d^{-}_{n}, we have

Un(dn)πLMP(dngn)(a)Un(dn)πLMP(dngn)=(b)Un(dn)π(dngn)(c)SnNEM(gn,C¯n,C¯n),\displaystyle\begin{aligned} U_{n}(d_{n}^{*})-\pi_{\mbox{\tiny LMP}}(d^{*}_{n}-g_{n})&\overset{(a)}{\geq}U_{n}(d_{n}^{-})-\pi_{\mbox{\tiny LMP}}(d^{-}_{n}-g_{n})\\ &\overset{(b)}{=}U_{n}(d_{n}^{-})-\pi^{-}(d^{-}_{n}-g_{n})\\ &\overset{(c)}{\geq}S_{n}^{\mbox{\tiny NEM}}(g_{n},\underline{C}_{n},\overline{C}_{n}),\end{aligned}

where (a) follows the optimality of (23), (b) relies on the condition that πLMP=π\pi_{\mbox{\tiny LMP}}=\pi^{-}, and (c) comes from the definition in (17). ∎

VIII-D Proof of Theorem 1 and Proposition 3

We prove this proposition with Karush-Kuhn-Tucker (KKT) conditions of (1), and the inventory calculation with the optimal solution.

Assign dual variables to (1), we have

Π(𝑪¯,𝑪¯;𝒈,πLMP)=maximum𝝎,𝒅i=1N(ωiπLMP(digi)),such thati[N],χi:𝒦iUi(di)ωi,(ν¯i,ν¯i):d¯idid¯i,(γ¯i,γ¯i):C¯igidiC¯i.\displaystyle\begin{aligned} \Pi(\bar{{\bm{C}}},\underline{{\bm{C}}};{\bm{g}},\pi_{\mbox{\tiny LMP}})=&\underset{\hbox{\boldmath$\omega$\unboldmath},{\bm{d}}}{\text{maximum}}&&\sum_{i=1}^{N}(\omega_{i}-\pi_{\mbox{\tiny LMP}}(d_{i}-g_{i})),\\ &\text{such that}&&\forall i\in[N],\\ &~{}~{}~{}~{}~{}~{}~{}~{}~{}\chi_{i}:&&{\cal K}_{i}\leq U_{i}(d_{i})-\omega_{i},\\ &~{}~{}~{}~{}~{}(\underline{\nu}_{i},\overline{\nu}_{i}):&&\underline{d}_{i}\leq d_{i}\leq\overline{d}_{i},\\ &~{}~{}~{}~{}~{}(\underline{\gamma}_{i},\overline{\gamma}_{i}):&&-\underline{C}_{i}\leq g_{i}-d_{i}\leq\overline{C}_{i}.\end{aligned} (24)

The Lagrangian function is

()=i=1N(ωiπLMP(digi))+χi(𝒦iUi(di)+ωi)+ν¯i(d¯idi)+ν¯i(did¯i)+γ¯i(C¯igi+di)+γ¯i(gidiC¯i).\begin{array}[]{lrl}{\cal L}(\cdot)=-\sum_{i=1}^{N}(\omega_{i}-\pi_{\mbox{\tiny LMP}}(d_{i}-g_{i}))+\chi_{i}({\cal K}_{i}-U_{i}(d_{i})+\omega_{i})\\ ~{}~{}~{}~{}~{}~{}+\underline{\nu}_{i}(\underline{d}_{i}-d_{i})+\overline{\nu}_{i}(d_{i}-\overline{d}_{i})+\underline{\gamma}_{i}(-\underline{C}_{i}-g_{i}+d_{i})\\ ~{}~{}~{}~{}~{}~{}+\overline{\gamma}_{i}(g_{i}-d_{i}-\overline{C}_{i}).\end{array}

Hence, from KKT conditions of (24), we have, i[N],\forall i\in[N],

ωi=χi1=0,di=πLMPχiVi(di)ν¯i+ν¯i+γ¯iγ¯i=0.\displaystyle\begin{array}[]{lrl}\frac{\partial\cal L}{\partial\omega_{i}}=\chi^{*}_{i}-1=0,\\ \frac{\partial\cal L}{\partial d_{i}}=\pi_{\mbox{\tiny LMP}}-\chi_{i}^{*}V_{i}(d_{i}^{*})-\underline{\nu}_{i}^{*}+\overline{\nu}_{i}^{*}+\underline{\gamma}_{i}^{*}-\overline{\gamma}_{i}^{*}=0.\end{array} (27)

where * indicates the optimal solution.

Combined with the complementary slackness condition, the first constraint of (24) is always binding with χi=1\chi_{i}^{*}=1, and the optimal consumption did_{i}^{*} equals to Vi1(πLMP)V_{i}^{-1}(\pi_{\mbox{\tiny LMP}}) if it falls into the interval [min{d¯i,gi+C¯i},max{d¯i,giC¯i}[\min\{\overline{d}_{i},g_{i}+\underline{C}_{i}\},\max\{\underline{d}_{i},g_{i}-\overline{C}_{i}\}. So we have

di(πLMP,gi)\displaystyle d_{i}^{*}(\pi_{\mbox{\tiny LMP}},g_{i}) =min{gi+C¯i,max{d^i,giC¯i}},\displaystyle=\min\{g_{i}+\underline{C}_{i},\max\{\hat{d}_{i},g_{i}-\overline{C}_{i}\}\}, (28)
ωi(di,gi)\displaystyle\omega_{i}^{*}(d_{i}^{*},g_{i}) =Ui(di)𝒦i,\displaystyle=U_{i}(d_{i}^{*})-{\cal K}_{i}, (29)

where d^i:=min{d¯i,max{Vi1(πLMP),d¯i}}\hat{d}_{i}:=\min\{{\overline{d}}_{i},\max\{V_{i}^{-1}(\pi_{\mbox{\tiny LMP}}),{\underline{d}}_{i}\}\}.

When Vi1(πLMP)min{d¯i,gi+C¯i}=gi+C¯iV_{i}^{-1}(\pi_{\mbox{\tiny LMP}})\geq\min\{\overline{d}_{i},g_{i}+\underline{C}_{i}\}=g_{i}+\underline{C}_{i}, we have giC¯i+min{d¯i,Vi1(πLMP)}g_{i}\leq-\underline{C}_{i}+\min\{\overline{d}_{i},V_{i}^{-1}(\pi_{\mbox{\tiny LMP}})\}. The optimal value can be computed by

Π(𝑪¯,𝑪¯;𝒈,πLMP)=i=1N(ωiπLMP(digi))=i=1N(Ui(gi+C¯i)𝒦iπLMP(gi+C¯igi))=i=1N(Ui(gi+C¯i)πLMPC¯i𝒦i.\begin{array}[]{l}\Pi(\bar{{\bm{C}}},\underline{{\bm{C}}};{\bm{g}},\pi_{\mbox{\tiny LMP}})=\sum_{i=1}^{N}(\omega_{i}^{*}-\pi_{\mbox{\tiny LMP}}(d_{i}^{*}-g_{i}))\\ ~{}~{}~{}~{}=\sum_{i=1}^{N}(U_{i}(g_{i}+\underline{C}_{i})-{\cal K}_{i}-\pi_{\mbox{\tiny LMP}}(g_{i}+\underline{C}_{i}-g_{i}))\\ ~{}~{}~{}~{}=\sum_{i=1}^{N}(U_{i}(g_{i}+\underline{C}_{i})-\pi_{\mbox{\tiny LMP}}\underline{C}_{i}-{\cal K}_{i}.\end{array}

When Vi1(πLMP)max{d¯i,giC¯i}=giC¯iV_{i}^{-1}(\pi_{\mbox{\tiny LMP}})\leq\max\{\underline{d}_{i},g_{i}-\overline{C}_{i}\}=g_{i}-\overline{C}_{i}, we have giC¯i+max{d¯i,Vi1(πLMP)}g_{i}\geq\overline{C}_{i}+\max\{\underline{d}_{i},V_{i}^{-1}(\pi_{\mbox{\tiny LMP}})\}. The optimal value can be computed by

Π(𝑪¯,𝑪¯;𝒈,πLMP)=i=1N(ωiπLMP(digi))=i=1N(Ui(giC¯i)𝒦iπLMP(giC¯igi))=i=1N(Ui(giC¯i)+πLMPC¯i𝒦i.\begin{array}[]{l}\Pi(\bar{{\bm{C}}},\underline{{\bm{C}}};{\bm{g}},\pi_{\mbox{\tiny LMP}})=\sum_{i=1}^{N}(\omega_{i}^{*}-\pi_{\mbox{\tiny LMP}}(d_{i}^{*}-g_{i}))\\ ~{}~{}~{}~{}=\sum_{i=1}^{N}(U_{i}(g_{i}-\overline{C}_{i})-{\cal K}_{i}-\pi_{\mbox{\tiny LMP}}(g_{i}-\overline{C}_{i}-g_{i}))\\ ~{}~{}~{}~{}=\sum_{i=1}^{N}(U_{i}(g_{i}-\overline{C}_{i})+\pi_{\mbox{\tiny LMP}}\overline{C}_{i}-{\cal K}_{i}.\end{array}

In all other cases, the optimal value is given by the equation below, which is not a function of (𝑪¯,𝑪¯)(\underline{{\bm{C}}},\overline{{\bm{C}}}).

Π(𝑪¯,𝑪¯;𝒈,πLMP)=i=1N(Ui(d^i)𝒦iπLMP(d^igi)).\displaystyle\begin{aligned} &\Pi(\bar{{\bm{C}}},\underline{{\bm{C}}};{\bm{g}},\pi_{\mbox{\tiny LMP}})=\sum_{i=1}^{N}(U_{i}(\hat{d}_{i})-{\cal K}_{i}-\pi_{\mbox{\tiny LMP}}(\hat{d}_{i}-g_{i})).\end{aligned} (30)

Denote

hi(gi):={Ui(d^i)πLMP(d^igi),if qi+<gi<qi,0,otherwise,\begin{array}[]{cc}&h_{i}(g_{i}):=\begin{cases}U_{i}(\hat{d}_{i})-\pi_{\mbox{\tiny LMP}}(\hat{d}_{i}-g_{i}),&\text{if }q^{+}_{i}<g_{i}<q^{-}_{i},\\ 0,&\text{otherwise},\end{cases}\end{array}
ϕ¯i(C¯i):={Ui(gi+C¯i)πLMPC¯i,if giqi+,0,otherwise,\begin{array}[]{cc}&\underline{\phi}_{i}({\underline{C}}_{i}):=\begin{cases}U_{i}(g_{i}+\underline{C}_{i})-\pi_{\mbox{\tiny LMP}}\underline{C}_{i},&\text{if }g_{i}\leq q^{+}_{i},\\ 0,&\text{otherwise},\end{cases}\end{array}
ϕ¯i(C¯i):={Ui(giC¯i)+πLMPC¯i,if qigi,0otherwise,\begin{array}[]{cc}&\overline{\phi}_{i}({\overline{C}}_{i}):=\begin{cases}U_{i}(g_{i}-\overline{C}_{i})+\pi_{\mbox{\tiny LMP}}\overline{C}_{i},&\text{if }q^{-}_{i}\leq g_{i},\\ 0&\text{otherwise},\end{cases}\end{array}

and {qi:=C¯i+max{Vi1(πLMP),d¯i},qi+:=C¯i+min{Vi1(πLMP),d¯i}.\begin{cases}q^{-}_{i}:=\overline{C}_{i}+\max\{V_{i}^{-1}(\pi_{\mbox{\tiny LMP}}),\underline{d}_{i}\},\\ q^{+}_{i}:=-\underline{C}_{i}+\min\{V_{i}^{-1}(\pi_{\mbox{\tiny LMP}}),\overline{d}_{i}\}.\end{cases}

To sum up over all cases, we have

Π(𝑪¯,𝑪¯;𝒈,πLMP)=i=1N(ϕ¯i(C¯i)+ϕ¯i(C¯i)+hi(gi)𝒦i).\begin{array}[]{clc}\Pi(\bar{{\bm{C}}},\underline{{\bm{C}}};{\bm{g}},\pi_{\mbox{\tiny LMP}})=\sum_{i=1}^{N}\big{(}\underline{\phi}_{i}({\underline{C}}_{i})+\overline{\phi}_{i}({\overline{C}}_{i})+h_{i}(g_{i})-{\cal K}_{i}\big{)}.\end{array} (31)

So, the maximum expected profit of DERA is given by

φ(𝑪¯,𝑪¯)=𝔼{Π(𝑪¯,𝑪¯;𝒈,πLMP)}=𝔼{i=1N(ϕ¯i(C¯i)+ϕ¯i(C¯i)+hi(gi)𝒦i)}.\begin{array}[]{clc}\varphi(\overline{{\bm{C}}},\underline{{\bm{C}}})&=\mathbb{E}\big{\{}\Pi(\overline{{\bm{C}}},\underline{{\bm{C}}};{\bm{g}},\pi_{\mbox{\tiny LMP}})\}\\ &=\mathbb{E}\big{\{}\sum_{i=1}^{N}\big{(}\underline{\phi}_{i}({\underline{C}}_{i})+\overline{\phi}_{i}({\overline{C}}_{i})+h_{i}(g_{i})-{\cal K}_{i}\big{)}\big{\}}.\end{array} (32)

VIII-E Proof of Lemma 1

We here show that the LMP and dispatch result from (4) is at the bidding curve of DERA, i.e., (3).

Add dual variables and merge the energy consumption limits for (4), we have

max𝒅n,Pi,Dii=1Mn=1N(Uin(din)+Ei(Di)Ci(Pi))subject ton[N],i[M],λ:i=1MPi=i=1M(n=1N(di,ngi,n)+Di),𝝁:𝑺(n=1N(𝒈n𝒅n)+𝑷𝑫)𝑭,ρ¯in:max{d¯in,ginC¯in}din,ρ¯in:dinmin{d¯in,gin+C¯in}.\begin{array}[]{lrl}&\underset{{\bm{d}}_{n},P_{i},D_{i}}{\rm max}&~{}~{}\sum_{i=1}^{M}\sum_{n=1}^{N}(U_{in}(d_{in})+E_{i}(D_{i})-C_{i}(P_{i}))\\ &\text{subject to}&\forall n\in[N],i\in[M],\\ &\lambda:&\sum_{i=1}^{M}P_{i}=\sum_{i=1}^{M}(\sum_{n=1}^{N}(d_{i,n}-g_{i,n})+D_{i}),\\ &\hbox{\boldmath$\mu$\unboldmath}:&{\bm{S}}(\sum_{n=1}^{N}({\bm{g}}_{n}-{\bm{d}}_{n})+{\bm{P}}-{\bm{D}})\leq{\bm{F}},\\ &\underline{\rho}_{in}:&\max\{\underline{d}_{in},g_{in}-\overline{C}_{in}\}\leq d_{in},\\ &\overline{\rho}_{in}:&d_{in}\leq\min\{\overline{d}_{in},g_{in}+\underline{C}_{in}\}.\end{array} (33)

KKT conditions of the optimization (LABEL:eq:_SS_CCDiPro) gives

Vin(din)+λ𝑺i𝝁+ρ¯inρ¯in=0,-V_{in}(d^{\star}_{in})+\lambda^{\star}-{\bm{S}}_{i}^{\intercal}\hbox{\boldmath$\mu$\unboldmath}^{\star}+\overline{\rho}_{in}^{\star}-\underline{\rho}_{in}^{\star}=0, (34)

where \star indicates the optimal solution. ρ¯in0,ρ¯in0\overline{\rho}_{in}^{\star}\geq 0,\underline{\rho}_{in}^{\star}\geq 0, 𝑺iL{\bm{S}}_{i}\in\mathbb{R}^{L} is the ii-th column of the shift factor matrix 𝑺{\bm{S}}, and Vin(x):=ddxUin(x)V_{in}(x):=\frac{d}{dx}U_{in}(x). Replace in LMP with definition 𝝅LMP:=𝟏λ𝑺𝝁\hbox{\boldmath$\pi$\unboldmath}_{\mbox{\tiny LMP}}:=\mathbf{1}\lambda^{\star}-{\bm{S}}^{\intercal}\hbox{\boldmath$\mu$\unboldmath}^{\star}, (34) becomes

πiLMP+ρ¯inρ¯in=Vin(din).\pi^{\mbox{\tiny LMP}}_{i}+\overline{\rho}_{in}^{\star}-\underline{\rho}_{in}^{\star}=V_{in}(d^{\star}_{in}). (35)

When ρ¯in=ρ¯in=0\overline{\rho}_{in}^{\star}=\underline{\rho}_{in}^{\star}=0, din(πiLMP)=(Vin)1(πiLMP)d^{\star}_{in}(\pi_{i}^{\mbox{\tiny LMP}})=(V_{in})^{-1}(\pi_{i}^{\mbox{\tiny LMP}}) from (35).

When ρ¯in>0\overline{\rho}_{in}^{\star}>0, we have din=min{d¯in,gin+C¯in}d_{in}^{\star}=\min\{\overline{d}_{in},g_{in}+\underline{C}_{in}\} and ρ¯in=0\underline{\rho}_{in}^{\star}=0 from the complementarity slackness condition. So (35) becomes

πiLMP+ρ¯in=Vin(min{d¯in,gin+C¯in}).\pi^{\mbox{\tiny LMP}}_{i}+\overline{\rho}_{in}^{\star}=V_{in}(\min\{\overline{d}_{in},g_{in}+\underline{C}_{in}\}). (36)

Known that the prosumer utility function is assumed to be concave and continuously differentiable. We have (Vin)1(πiLMP)(Vin)1(πiLMP+ρ¯in)=min{d¯in,gin+C¯in}.(V_{in})^{-1}(\pi^{\mbox{\tiny LMP}}_{i})\geq(V_{in})^{-1}(\pi^{\mbox{\tiny LMP}}_{i}+\overline{\rho}_{in}^{\star})=\min\{\overline{d}_{in},g_{in}+\underline{C}_{in}\}.

Similarly, when ρ¯in>0\underline{\rho}^{\star}_{in}>0, we have din=max{d¯in,ginC¯in}d_{in}^{\star}=\max\{\underline{d}_{in},g_{in}-\overline{C}_{in}\}, ρ¯in=0\overline{\rho}_{in}^{\star}=0, and (Vin)1(πiLMP)(Vin)1(πiLMPρ¯in)=max{d¯in,ginC¯in}(V_{in})^{-1}(\pi^{\mbox{\tiny LMP}}_{i})\leq(V_{in})^{-1}(\pi^{\mbox{\tiny LMP}}_{i}-\underline{\rho}_{in}^{\star})=\max\{\underline{d}_{in},g_{in}-\overline{C}_{in}\}.

So we find the optimal consumption of prosumer at PoA nn and transmission network bus ii has

din(πiLMP)=min{d¯in,gin+C¯in,max{(Vin)1(πiLMP),d¯in,ginC¯in}},\displaystyle\begin{aligned} d^{\star}_{in}(\pi_{i}^{\mbox{\tiny LMP}})=\min\{{\overline{d}}_{in},g_{in}+\underline{C}_{in},\max\{&(V_{in})^{-1}(\pi_{i}^{\mbox{\tiny LMP}}),\\ &\underline{d}_{in},g_{in}-\overline{C}_{in}\}\},\end{aligned}

which equals (2a). So the net production of the prosumer equals (3), which is at the bid/offer curve of the prosumer at PoA nn and bus ii. Therefore, the social welfare SWDERA\mbox{\sf SW}_{\mbox{\rm\tiny DERA}} is the optimal value of (4).

By summing up DERA surplus in (50) and the prosumer surplus from the right-hand side of (1b), we can get the formulation for SDERAS_{\mbox{\tiny DERA}}, which is

SDERA=i=1M(n=1NωnπiLMP(dingin)+n=1N(Uin(din)ωn)),=i=1Mn=1N(Uin(din)πiLMP(dingin)).\displaystyle\begin{aligned} S_{\mbox{\tiny DERA}}&=\sum_{i=1}^{M}\big{(}\sum_{n=1}^{N}\omega_{n}^{*}-\pi^{\mbox{\tiny LMP}}_{i}(d^{\star}_{in}-g_{in})\\ &~{}~{}~{}~{}~{}~{}~{}~{}+\sum_{n=1}^{N}(U_{in}(d^{\star}_{in})-\omega_{n}^{*})\big{)},\\ &=\sum_{i=1}^{M}\sum_{n=1}^{N}(U_{in}(d^{\star}_{in})-\pi^{\mbox{\tiny LMP}}_{i}(d^{\star}_{in}-g_{in})).\end{aligned} (37)

VIII-F Proof of Theorem 2

Because the bidding curve of DERA (3) is the direct sum of the prosumers’ bidding curve (7). So (4) is the market clearing problem when prosumers directly participate in the wholesale market with the bid/offer curve (7). That way, SWDirect\mbox{\sf SW}_{\mbox{\rm\tiny Direct}} equals the optimal value of (4), which is the same as SWDERA\mbox{\sf SW}_{\mbox{\rm\tiny DERA}} .

By summing up the optimal prosumer surplus, which is the optimal value of (6), over all buses and PoAs, we get SPROS_{\mbox{\rm\tiny PRO}} and it equals SDERAS_{\mbox{\tiny DERA}}. ∎

VIII-G Aggregated multiple prosumers at a single PoA

Consider a DERA aggregating NN heterogeneous prosumers under a single point of aggregation (PoA). Note that under the same PoA, the wholesale LMP is the same. Each prosumer has KK energy-consuming devices, including lamps, air-conditioners, washers/dryers, heat pumps, and electric vehicles. In real-time, the DERA solves for the consumption bundle of all customers 𝒅n+K{\bm{d}}_{n}\in\mathbb{R}_{+}^{K} and their payment functions 𝝎N\hbox{\boldmath$\omega$\unboldmath}\in\mathbb{R}^{N}, defined by

𝒅n:=(dnk,k=1,,K),{\bm{d}}_{n}:=(d_{nk},k=1,\cdots,K),
𝝎:=(ωn,n=1,,N),\hbox{\boldmath$\omega$\unboldmath}:=(\omega_{n},n=1,\cdots,N),

from the following optimization

max𝝎,{𝒅n}n=1N(ωnπLMP(𝟏𝒅ngn))subject tofor all 1nNχn:𝒦nUn(𝒅n)ωn,(𝝂¯n,𝝂¯n):𝒅¯n𝒅n𝒅¯n,(γ¯,γ¯):C¯n=1N(gn𝟏𝒅n)C¯,\displaystyle\begin{array}[]{lrl}&\underset{\hbox{\boldmath$\omega$\unboldmath},\{{\bm{d}}_{n}\}}{\rm max}&~{}~{}\sum_{n=1}^{N}(\omega_{n}-\pi_{\mbox{\tiny LMP}}(\mathbf{1}^{\intercal}{\bm{d}}_{n}-g_{n}))\\ &\mbox{subject to}&\mbox{for all $1\leq n\leq N$}\\ &\chi_{n}:&{\cal K}_{n}\leq U_{n}({\bm{d}}_{n})-\omega_{n},\\ &(\underline{\hbox{\boldmath$\nu$\unboldmath}}_{n},\overline{\hbox{\boldmath$\nu$\unboldmath}}_{n}):&\underline{{\bm{d}}}_{n}\preceq{\bm{d}}_{n}\preceq\bar{{\bm{d}}}_{n},\\ &(\underline{\gamma},\overline{\gamma}):&-\underline{C}\leq\sum_{n=1}^{N}(g_{n}-\mathbf{1}^{\intercal}{\bm{d}}_{n})\leq\overline{C},\end{array} (43)

where the optimal objective value is the DERA profit given real-time BTM DG 𝒈{\bm{g}}. The first constraint, referred to as the 𝒦{\cal K}-competitive constraint, ensures that the surplus of prosumer nn under DERA is higher than the benchmark prosumer surplus 𝒦n(gn){\cal K}_{n}(g_{n}) when BTM DG has generation gng_{n}. 𝒅¯n\underline{{\bm{d}}}_{n} and 𝒅¯n\bar{{\bm{d}}}_{n} are consumption limits, and UU is the utility for the customers. We assume the utility function UU is concave, nonnegative, nondecreasing, continuously differentiable, additive (i.e., U(𝐝)=k=1KUk(dk)U({\bm{d}})=\sum_{k=1}^{K}U_{k}(d_{k})) across the KK devices, and U(0)=0U(0)=0. The last constraint is added to limit the injection and withdrawal access at this single PoA with the distribution network injection and withdrawal capacities C¯,C¯\overline{C},\underline{C}.

Theorem 3 ( ).

Given the wholesale market LMP πLMP\pi_{\mbox{\rm\tiny LMP}}, the optimal prosumer payment ωn(𝐝n,gn)\omega_{n}^{*}({\bm{d}}_{n}^{*},g_{n}) is given by

ωn=Un(𝒅n)𝒦n,\begin{array}[]{lrl}\omega^{*}_{n}&=&U_{n}({\bm{d}}_{n}^{*})-{\cal K}_{n},\end{array} (44)

And the optimal consumption bundle 𝐝n=(dnk){\bm{d}}^{*}_{n}=(d^{*}_{nk}) of prosumer nn, is

dnk={hnk(ξ¯),ifn,khnk(πLMP)nNgn+C¯hnk(ξ¯),ifn,khnk(πLMP)nNgnC¯hnk(πLMP),otherwise\begin{array}[]{l}d^{*}_{nk}=\begin{cases}h_{nk}(\underline{\xi}),&\text{if}~{}\sum_{n,k}h_{nk}(\pi_{\mbox{\rm\tiny LMP}})\geq\sum_{n}^{N}g_{n}+\underline{C}\\ h_{nk}(\overline{\xi}),&\text{if}~{}\sum_{n,k}h_{nk}(\pi_{\mbox{\rm\tiny LMP}})\leq\sum_{n}^{N}g_{n}-\overline{C}\\ h_{nk}(\pi_{\mbox{\rm\tiny LMP}}),&\text{otherwise}\end{cases}\end{array} (45)

where hnk(x):=max{d¯nk,min{Vnk1(x),d¯nk}}h_{nk}(x):=\max\{\underline{d}_{nk},\min\{V_{nk}^{-1}(x),\overline{d}_{nk}\}\}. We have ξ¯πLMPξ¯\underline{\xi}\geq\pi_{\mbox{\rm\tiny LMP}}\geq\overline{\xi}, n,khnk(ξ¯)=nNgn+C¯\sum_{n,k}h_{nk}(\underline{\xi})=\sum_{n}^{N}g_{n}+\underline{C}, and n,khnk(ξ¯)=nNgnC¯\sum_{n,k}h_{nk}(\overline{\xi})=\sum_{n}^{N}g_{n}-\overline{C}. The expected DERA surplus is

φ(𝑪¯,\displaystyle\varphi({\underline{{\bm{C}}}}, 𝑪¯)=𝔼{n,i(ϕ¯ni(C¯i)+ϕ¯ni(C¯i)+ϱni𝒦ni)},\displaystyle{\overline{{\bm{C}}}})=\mathbb{E}\big{\{}\sum_{n,i}\big{(}\underline{\phi}^{i}_{n}({\underline{C}}^{i})+\overline{\phi}^{i}_{n}({\overline{C}}^{i})+\varrho^{i}_{n}-{\cal K}^{i}_{n}\big{)}\big{\}}, (46)
where q¯i:=C¯i+n,kmax{(Vnki)1(π),d¯nki},\displaystyle\overline{q}^{i}:=\overline{C}^{i}+\sum_{n,k}\max\{(V^{i}_{nk})^{-1}(\pi),\underline{d}^{i}_{nk}\},
q¯i:=C¯i+kmin{(Vnki)1(π),d¯nki},\displaystyle\underline{q}^{i}:=-\underline{C}^{i}+\sum_{k}\min\{(V^{i}_{nk})^{-1}(\pi),\overline{d}^{i}_{nk}\},
ϕ¯ni(C¯i):=(n,kUnki(hnki(ξ¯i))πC¯i)𝟙{𝟏𝒈iq¯i},\displaystyle\underline{\phi}^{i}_{n}({\underline{C}}^{i}):=\big{(}\sum_{n,k}U^{i}_{nk}(h^{i}_{nk}(\underline{\xi}^{i}))-\pi\underline{C}^{i}\big{)}\mathbbm{1}\{\mathbf{1}^{\intercal}{\bm{g}}^{i}\leq\underline{q}^{i}\},
ϕ¯ni(C¯i):=(kUnki(hnki(ξ¯i))+πC¯i)𝟙{q¯i𝟏𝒈i},\displaystyle\overline{\phi}^{i}_{n}({\overline{C}}^{i}):=\big{(}\sum_{k}U^{i}_{nk}(h^{i}_{nk}(\overline{\xi}^{i}))+\pi\overline{C}^{i}\big{)}\mathbbm{1}\{\overline{q}^{i}\leq\mathbf{1}^{\intercal}{\bm{g}}^{i}\},
ϱni:=(kUnki(hnki(π))\displaystyle\varrho^{i}_{n}:=\big{(}\sum_{k}U^{i}_{nk}(h^{i}_{nk}(\pi))-
π(khnki(π)gni))𝟙{q¯i<𝟏𝒈i<q¯ni}.\displaystyle~{}~{}~{}~{}~{}~{}~{}~{}~{}~{}~{}\pi(\sum_{k}h^{i}_{nk}(\pi)-g^{i}_{n})\big{)}\mathbbm{1}\{\underline{q}^{i}<\mathbf{1}^{\intercal}{\bm{g}}^{i}<\overline{q}^{i}_{n}\}.

Proof: the proof follows directly from the KKT conditions of (43), since (43) is convex.

The Lagrangian function is

()=n=1N(ωnπLMP(𝟏𝒅ngn))+χn(𝒦nk=1KUnk(dnk)+ωn)+𝝂¯n(𝒅¯n𝒅n)+𝝂¯n(𝒅n𝒅¯n)+γ¯(C¯n=1N(gn𝟏𝒅n))+γ¯(n=1N(gn𝟏𝒅n)C¯).\begin{array}[]{lrl}{\cal L}(\cdot)=-\sum_{n=1}^{N}(\omega_{n}-\pi_{\mbox{\tiny LMP}}(\mathbf{1}^{\intercal}{\bm{d}}_{n}-g_{n}))\\ ~{}~{}~{}~{}~{}~{}+\chi_{n}({\cal K}_{n}-\sum_{k=1}^{K}U_{nk}(d_{nk})+\omega_{n})\\ ~{}~{}~{}~{}~{}~{}+\underline{\hbox{\boldmath$\nu$\unboldmath}}_{n}^{\intercal}(\underline{{\bm{d}}}_{n}-{\bm{d}}_{n})+\overline{\hbox{\boldmath$\nu$\unboldmath}}_{n}^{\intercal}({\bm{d}}_{n}-\overline{{\bm{d}}}_{n})\\ ~{}~{}~{}~{}~{}~{}+\underline{\gamma}(-\underline{C}-\sum_{n=1}^{N}(g_{n}-\mathbf{1}^{\intercal}{\bm{d}}_{n}))\\ ~{}~{}~{}~{}~{}~{}+\overline{\gamma}(\sum_{n=1}^{N}(g_{n}-\mathbf{1}^{\intercal}{\bm{d}}_{n})-\overline{C}).\end{array} (47)

Hence, from KKT conditions of (43), we have n[N]\forall n\in[N],

ωn=χn1=0,dnk=πLMPχnVnk(dnk)ν¯nk+ν¯nk+γ¯γ¯=0.\displaystyle\begin{array}[]{lrl}\frac{\partial\cal L}{\partial\omega_{n}}=\chi^{*}_{n}-1=0,\\ \frac{\partial\cal L}{\partial d_{nk}}=\pi_{\mbox{\tiny LMP}}-\chi_{n}^{*}V_{nk}(d_{nk}^{*})-\underline{\nu}_{nk}^{*}+\overline{\nu}_{nk}^{*}+\underline{\gamma}^{*}-\overline{\gamma}^{*}=0.\end{array}

Since χn=1\chi^{*}_{n}=1, we have ωn=Un(𝒅n)𝒦n\omega^{*}_{n}=U_{n}({\bm{d}}_{n}^{*})-{\cal K}_{n} by the complementary slackness condition.

Let ξ¯:=πLMPγ¯\overline{\xi}:=\pi_{\mbox{\tiny LMP}}-\overline{\gamma}^{*} and ξ¯:=πLMP+γ¯\underline{\xi}:=\pi_{\mbox{\tiny LMP}}+\underline{\gamma}^{*}. Known that dual variables for the inequality constraints are always nonnegative, i.e., γ¯,γ¯0\overline{\gamma}^{*},\underline{\gamma}^{*}\geq 0, we have ξ¯πLMPξ¯\underline{\xi}\geq\pi_{\mbox{\rm\tiny LMP}}\geq\overline{\xi}.

When n=1N(gn𝟏𝒅n)=C¯\sum_{n=1}^{N}(g_{n}-\mathbf{1}^{\intercal}{\bm{d}}^{*}_{n})=\overline{C}, we have γ¯0\overline{\gamma}^{*}\geq 0, γ¯=0\underline{\gamma}^{*}=0 from (43). From the KKT condition, we have

ξ¯Vnk(dnk)ν¯nk+ν¯nk=0.\overline{\xi}-V_{nk}(d_{nk}^{*})-\underline{\nu}_{nk}^{*}+\overline{\nu}_{nk}^{*}=0.

Thus, when d¯nk<dnk<d¯nk\underline{d}_{nk}<d^{*}_{nk}<\overline{d}_{nk}, by complementary slackness condition, we have ν¯nk=0,ν¯nk=0\underline{\nu}_{nk}^{*}=0,\overline{\nu}_{nk}^{*}=0, so

ξ¯Vnk(dnk)=0dnk=hnk(ξ¯).\overline{\xi}-V_{nk}(d_{nk}^{*})=0\Rightarrow d_{nk}^{*}=h_{nk}(\overline{\xi}).

When dnk=d¯nkd^{*}_{nk}=\overline{d}_{nk}, we have ν¯nk=0,ν¯nk0\underline{\nu}_{nk}^{*}=0,\overline{\nu}_{nk}^{*}\geq 0, so

ξ¯Vnk(d¯nk)+ν¯nk=0Vnk1(ξ¯)d¯nk.\overline{\xi}-V_{nk}(\overline{d}_{nk})+\overline{\nu}_{nk}^{*}=0\Rightarrow V_{nk}^{-1}(\overline{\xi})\geq\overline{d}_{nk}.

This gives dnk=hnk(ξ¯)d_{nk}^{*}=h_{nk}(\overline{\xi}). Similarly, when dnk=d¯nkd^{*}_{nk}=\underline{d}_{nk}, we can show dnk=hnk(ξ¯)d_{nk}^{*}=h_{nk}(\overline{\xi}), and n=1N(gnk=1Khnk(ξ¯))=C¯\sum_{n=1}^{N}(g_{n}-\sum_{k=1}^{K}h_{nk}(\overline{\xi}))=\overline{C}. From πLMPξ¯\pi_{\mbox{\rm\tiny LMP}}\geq\overline{\xi} and the concavity of the utility function,

n,khnk(πLMP)n,khnk(ξ¯)=n=1NgnC¯.\sum_{n,k}h_{nk}(\pi_{\mbox{\rm\tiny LMP}})\leq\sum_{n,k}h_{nk}(\overline{\xi})=\sum_{n=1}^{N}g_{n}-\overline{C}.

With the same method, we can show that when n=1N(gn𝟏𝒅n)=C¯\sum_{n=1}^{N}(g_{n}-\mathbf{1}^{\intercal}{\bm{d}}^{*}_{n})=-\underline{C}, dnk=hnk(ξ¯)d_{nk}^{*}=h_{nk}(\underline{\xi}) and n,khnk(πLMP)nNgn+C¯\sum_{n,k}h_{nk}(\pi_{\mbox{\rm\tiny LMP}})\geq\sum_{n}^{N}g_{n}+\underline{C}. And when C¯<n=1N(gn𝟏𝒅n)<C¯-\underline{C}<\sum_{n=1}^{N}(g_{n}-\mathbf{1}^{\intercal}{\bm{d}}^{*}_{n})<\overline{C}, dnk=hnk(πLMP)d_{nk}^{*}=h_{nk}(\pi_{\mbox{\rm\tiny LMP}}) and n,khnk(πLMP)(n=1NgnC¯,nNgn+C¯)\sum_{n,k}h_{nk}(\pi_{\mbox{\rm\tiny LMP}})\in(\sum_{n=1}^{N}g_{n}-\overline{C},\sum_{n}^{N}g_{n}+\underline{C}). ∎

VIII-H Details about long-run competitive equilibrium

Here we add details for derivations and parameters in the long-run equilibrium analysis. The long-run equilibrium for single-interval aggregation provides insights into the results in the main text for the multi-interval aggregation.

VIII-H1 Single-interval long-run competitive equilibrium

Denote NN as the number of aggregated prosumers. In the simulation, we have N=50N=50 for each DERA. With the quadratic utility of homogeneous prosumer parameterized by α\alpha and β\beta in (9), the profit of the ii-th DERA defined in (24) is

Πi(C¯i)=β(C¯i+Gi)22N+α(C¯i+Gi)πLMPC¯i𝒦i,\Pi_{i}(\underline{C}_{i})=-\frac{\beta(\underline{C}_{i}+G_{i})^{2}}{2N}+\alpha(\underline{C}_{i}+G_{i})-\pi_{\mbox{\rm\tiny LMP}}\underline{C}_{i}-{\cal K}_{i}, (50)

where GiG_{i} is the aggregated DG generation and 𝒦i{\cal K}_{i} is the competitive benchmark for aggregated prosumers. Here, we only derive the case for network withdrawal access and the case for injection access can be similarly computed.

In the competitive market setting for the distribution network access auction, the network withdrawal access price λ¯\underline{\lambda} is assumed to be exogenous. DERA conducts its profit maximization by

maximize{C¯i0}Πi(C¯i)λ¯C¯.\underset{\{\underline{C}_{i}\geq 0\}}{\rm maximize}~{}\Pi_{i}(\underline{C}_{i})-\underline{\lambda}\cdot\underline{C}.

Similarly, DSO’s optimization is

maximizeP¯0}λ¯P¯J(P¯),\underset{\underline{P}\geq 0\}}{\rm maximize}~{}\underline{\lambda}\cdot\underline{P}-J(\underline{P}),

where J(P¯):=12bP¯2+aP¯J(\underline{P}):=\frac{1}{2}b\underline{P}^{2}+a\underline{P} is defined as the cost function of DSO for providing the withdrawal access P¯\underline{P} of the distribution network at a certain PoA. For simplicity, we ignore the distribution network reliability constraints in DSO’s optimization.

Denote the equilibrium price and access allocations as (λ,(C¯i)i[N])(\lambda^{\star},(\underline{C}_{i}^{\star})_{i\in[N]}). Denote KK as the total number of homogeneous DERAs we have

i=1KC¯i=P¯,\sum_{i=1}^{K}\underline{C}_{i}^{\star}=\underline{P}^{\star}, (51)

showing the total network withdrawal access is partitioned to individual DERAs. The optimality conditions for these optimizations of DERA and DSO give the first condition for the long-run competitive equilibrium:

(i) The marginal benefit of DERA equals the marginal cost of DSO for providing the distribution network access, i.e.,

λ¯=JP¯=bP¯+a=ΠiC¯i=απLMPβN(C¯i+Gi).\underline{\lambda}^{\star}=\frac{\partial J}{\partial\underline{P}}=b\underline{P}^{\star}+a=\frac{\partial\Pi_{i}}{\partial\underline{C}_{i}}=\alpha-\pi_{\mbox{\rm\tiny LMP}}-\frac{\beta}{N}(\underline{C}_{i}^{\star}+G_{i}). (52)

The second condition for long-run equilibrium gives:

(ii) all DERAs have profits equal to zero, i.e.,

Πi(C¯i)λ¯C¯=0.\Pi_{i}(\underline{C}^{\star}_{i})-\underline{\lambda}^{\star}\underline{C}^{\star}=0. (53)

Solve equations (50)(51)(52)(53), we find the long-run competitive equilibrium

C¯i=γi/ψ,K=2ψγi/ψ+βb2aγi/ψ,\underline{C}_{i}^{\star}=\sqrt{\gamma_{i}/\psi},~{}K^{\star}=\frac{2\psi\sqrt{\gamma_{i}/\psi}+\beta-b}{2a\sqrt{\gamma_{i}/\psi}}, (54)

where γi:=αGi0.5βGi2/N𝒦i\gamma_{i}:=\alpha G_{i}-0.5\beta G_{i}^{2}/N-{\cal K}_{i} and ψ:=β/2N\psi:=-\beta/2N.

The conditions for the existence of long-run competitive equilibrium are γi<0\gamma_{i}<0 and 2ψγi/ψ+βb02\psi\sqrt{\gamma_{i}/\psi}+\beta-b\geq 0.

Interestingly, the wholesale LMP does not influence the long-run equilibrium in (54) because the linear cost/benefit induced by LMP can be completely cancelled by the marginal pricing at competitive equilibrium.

VIII-H2 Single-interval long-run competitive equilibrium

We simulated long-run competitive equilibrium for the single interval aggregation by assuming 200 DERAs existed at the beginning and computed the expected number of surviving DERAs in the long run. For simplicity, we assume homogeneous DERA with the same expectation of BTM DG generation. We sampled 10,000 random scenarios of BTM DG. Same as [24], the cost function of DSO when providing distribution network access was assumed to be the sum of quadratics, 12bx2+ax\frac{1}{2}bx^{2}+ax with a=$0.009/kWh,b=$0.0005/(kWh)2a=\$0.009/\mbox{kWh},b=\$0.0005/(\mbox{kWh})^{2} for both the injection and withdrawal access at all PoAs.

Three observations were drawn from empirical results in Fig. 7. First, when the expected BTM DG was about 2-5 kW, all initial 200 DERAs survived and the expected net injection access equals zero. It’s because DERA internally balanced customer demands with BTM DG, thus relying less on competing for the injection or withdrawal accesses. Second, with smaller expected BTM DG, homogeneous DERAs competed for the withdrawal access to the distribution network, and less than 10 DERAs survived in the long run; with larger expected BTM DG, DERAs competed for the injection access and less than 3 DERAs survived. Fewer DERAs survived when competing over the injection access because NEM X credited DG imports well, making DERA survival more challenging under high DG generations. Third, with smaller ϵ2\epsilon_{2} for the DSO’s cost scaling factor, the DERA payment to the network access was lower, thus more DERA survived in the green dash curve.

Refer to caption
Refer to caption
Figure 7: Long-run competitive equilibrium. (Left: expected number of surviving DERA; right: expected distribution network net injection access of DERA, whose negativity represents withdrawal access.)

VIII-H3 Multi-interval long-run competitive equilibrium

By adding the 24-hour time dimension to the network access and BTM DG generation, we can extend the derivation of (50)(51)(52)(53) from single-interval long-run equilibrium to multi-interval long-run equilibrium. Note that the number of DERA KK is still a scalar applied to all 24 hours. We include the simulation setting and results for the multi-interval aggregation in Sec. VI-E. The solar scenarios used in the simulation are presented in Fig. 8.

Refer to caption
Figure 8: Mean and 10,000 scenarios of BTM DG generation from prosumer.