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

A Risk Aware Two-Stage Market Mechanism for Electricity with Renewable Generation

Nathan Dahlin and Rahul Jain The authors are with the ECE Department at the University of Southern California. Email: {dahlin,rahul.jain}@usc.edu. This work was supported by NSF Award ECCS-1611574.
Abstract

Over the last few decades, electricity markets around the world have adopted multi-settlement structures, allowing for balancing of supply and demand as more accurate forecast information becomes available. Given increasing uncertainty due to adoption of renewables, more recent market design work has focused on optimization of expectation of some quantity, e.g. social welfare. However, social planners and policy makers are often risk averse, so that such risk neutral formulations do not adequately reflect prevailing attitudes towards risk, nor explain the decisions that follow. Hence we incorporate the commonly used risk measure conditional value at risk (CVaR) into the central planning objective, and study how a two-stage market operates when the individual generators are risk neutral. Our primary result is to show existence (by construction) of a sequential competitive equilibrium (SCEq) in this risk-aware two-stage market. Given equilibrium prices, we design a market mechanism which achieves social cost minimization assuming that agents are non strategic.

I Introduction

Electricity markets covering the majority of the US, and most of the industrialized world are operated as multi-settlement markets. These markets are organized in the sense that demand for and supply of energy and ancillary services are matched via a centralized auction mechanism, as opposed to bilateral negotiations over individual transactions [6], [9]. An independent system operator (ISO) runs a given market as a series of multi stage forward markets, and a real time or spot market. Depending upon the region, forward markets are settled days or hours ahead of the intended time of delivery, allowing for provision of cheaper, but relatively inflexible generation. Spot markets open and are settled minutes before delivery in order to balance supply and demand in real time.

While the clearing mechanisms in electricity markets are designed with the objective of maximizing welfare of both producers and consumers, the imperative to increase penetration of renewables and reduce reliance on fossil fuels now strains the existing multi-settlement paradigm. In the past, the primary source of uncertainty in market clearing came from demand side deviations, and such errors reduced to under 5% by the opening of spot markets [7]. Current levels of renewable adoption have already exacerbated typical levels of uncertainty for net demand (demand minus renewable generation), and under official mandates to increase the proportion of energy sourced from renewables this trend will only continue. For example, in California renewables constitute nearly 34% of total retail sales, while a recently passed state bill legislates that 100% of power come from renewables by 2045 [2], [5]. Reliance on renewables to this degree introduces an order of magnitude greater uncertainty in net demand, and necessitates novel market designs to address this challenge.

As a starting point, given that economic dispatch is a multi-settlement process, it makes sense to couple markets across forward and real time stages, and then allow for recourse decisions, rather than settle each stage independently. If a probability distribution for the stochastic generation is known, then maximization of expected welfare is a reasonable objective. This type of problem can be formulated as a two-stage stochastic program, and in fact it is possible to show that stochastic clearing is more efficient than two-settlement systems [6], [8].

There are a couple of issues with the use of expected social welfare as an objective function. In purely mathematical terms, a given realization of a random variable can be quite different from its expectation. Thus optimization of an expectation guarantees little in terms of variation over possible outcomes. Further, real-world observations indicate that economic decision makers are risk averse, or at least act so [1]. Therefore, given increasing levels of generation variability, it is of both theoretical and practical interest to incorporate some notion of risk into market objective functions.

In this paper we study how the introduction of risk preferences into the central objective function affects market operation. We consider a setting with an ISO and multiple generators. The ISO owns a nondispatchable, renewable resource, and the market clears in two stages: a forward stage in which only a forecast for renewable generation is available, and a real time stage, wherein the exact realized renewable generation is known. The generators each own primary and ancillary plants, which may be dispatched in the forward and real time stages, respectively. In the forward market, the ISO schedules primary energy procurements from the generators, and in the real time market purchases ancillary service where necessary. All participants are assumed to be non-strategic price takers. However, while we assume that the generators seek to maximize their expected profit, the ISO is risk averse and minimizes a weighted sum of the expectation and conditional value at risk (CVaR) of its costs. CVaR has over the past two decades become the most widely used risk measure, due to the fact that it is a coherent risk measure, and can be calculated via a convex program [4].

Our main result is the proof of existence of a sequential competitive equilibrium (SCEq) in this risk aware, two-stage market with recourse. In particular, we demonstrate the existence of first and second stage prices such that, given these prices, the generation decisions of the generators in both decisions achieve market clearance in stage two, thus balancing supply and demand. We then specify a two-stage market mechanism which implements the SCEq.

Related work. Numerous past works have studied market and mechanism design and equilibrium outcomes in the two-stage expected welfare maximization, or risk neutral setting, e.g., [3], [15] and [16].

Turning to literature which incorporates risk preferences, several works consider settings in which agents may enter into contracts in order to hedge against risky outcomes. In [11] it is shown that a complete market, wherein all uncertainties can be addressed via a balanced set of contracts, involving agents equipped with coherent risk measures, is equivalent to one in which said agents are risk neutral, and take actions based on a probability density function determined by a system risk agent. The work then investigates necessary and sufficient conditions for existence of an equilibrium consisting of allocations, prices and contracts. Assuming a similar setting in the context of hydro thermal markets, [10] shows that given a sufficiently rich set of securities are available to risk averse agents, that a multi-stage competitive equilibrium may be derived from the solution to a risk-averse social planning solution. [6] investigates difficulties that may arise when risk averse agents maximize their welfare in a market are not complete, including existence of multiple, potentially stable equilibria. Our setting differs from these works in that we have one risk aware customer for multiple risk neutral producers, and we do not allow for transactions between agents outside of the quantities of energy purchased and consumed.

II Preliminaries

II-A Risk Measures

In stochastic optimization we are concerned with losses Z(ω)=L(x,ω)Z(\omega)=L(x,\omega) that are both a function of a decision xx, as well as some random outcome ω\omega, unknown when the decision is made. Generally speaking, a risk measure is a functional which accepts as input the entire collection of realizations Z(ω)Z(\omega), wΩw\in\Omega.

More specifically, consider a sample space (Ω,)(\Omega,\mathcal{F}) equipped with sigma algebra \mathcal{F}, on which random functions Z=Z(ω)Z=Z(\omega) are defined. A risk measure ρ(Z)\rho(Z) maps such random functions into the extended real line [13]. Often times the domain of ρ\rho, denoted 𝒵\mathcal{Z} is taken as p(Ω,,P)\mathcal{L}_{p}(\Omega,\mathcal{F},P) for some p[1,+)p\in[1,+\infty) and reference probability measure PP. The following characteristics of risk measures will become useful in later sections.

Definition 1

A proper risk measure satisfies ρ(Z)>\rho(Z)>-\infty for all Z𝒵Z\in\mathcal{Z} and

dom(ρ):={Z𝒵:ρ(Z)<}.\text{dom}(\rho):=\{Z\in\mathcal{Z}\,:\,\rho(Z)<\infty\}.

We denote by ZZZ\succeq Z^{\prime} the pointwise partial order, meaning Z(ω)Z(ω)Z(\omega)\geq Z^{\prime}(\omega) for a.e. ωΩ\omega\in\Omega.

Definition 2

A risk measure is monotonic if Z,Z𝒵Z,Z^{\prime}\in\mathcal{Z} and ZZZ\succeq Z^{\prime} implies ρ(Z)ρ(Z)\rho(Z)\geq\rho(Z^{\prime}).

Definition 3

A risk measure is coherent if it is monotonic, convex and satisfies translation equivariance and positive homogeneity (see [13] for details on these properties).

II-B Conditional value at risk

In the following sections, we will focus in particular on conditional value at risk, or CVaR. CVaR is an example of a coherent risk measure [13]. Before defining CVaR, we introduce the related quantity, value at risk.

Suppose that random variable ZZ is distributed according to Borel probability measure PP, with associated sample space (Ω,)(\Omega,\mathcal{F}), and cdf FF. When ZZ represents losses, the α-Value-at-Risk\alpha\text{-{Value-at-Risk}} is defined as follows.

Definition 4

For a given confidence level α(0,1)\alpha\in(0,1), the α-Value-at-Risk\alpha\textit{-Value-at-Risk} or VaRα\text{VaR}_{\alpha} of random loss Z=Z(ω)Z=Z(\omega) is

VaRα(Z)=min{z:F(z)α}.\text{{VaR}}_{\alpha}(Z)=\min\{z\,:\,F(z)\geq\alpha\}. (1)

Thus, VaRα(Z)\text{VaR}_{\alpha}(Z) is the lowest amount zz such that, with probability α\alpha, ZZ will not exceed zz. In the case where FF is continuous, VaRα(Z)\text{VaR}_{\alpha}(Z) is the unique zz satisfying F(z)=αF(z)=\alpha. Otherwise, it is possible that the equation F(z)=αF(z)=\alpha has no solution, or an interval of solutions, depending upon the choice of α\alpha. This, among other difficulties, motivates the use of alternative risk measures such as CVaR [12].

Informally CVaRα\text{CVaR}_{\alpha} of ZZ gives the expected value of ZZ, given that ZVaRα(Z)Z\geq\text{VaR}_{\alpha}(Z). The precise definition is as follows. Let [x]+=max{0,x}[x]_{+}=\max\{0,x\}.

Definition 5

[12] Let

ϕα(Z,ζ)=ζ+11α𝔼[Zζ]+.\phi_{\alpha}(Z,\zeta)=\zeta+\frac{1}{1-\alpha}\mathbb{E}[Z-\zeta]_{+}. (2)

Then CVaRα(Z)=minζϕα(Z,ζ)\text{CVaR}_{\alpha}(Z)=\min_{\zeta}\,\phi_{\alpha}(Z,\zeta), and

VaRα(Z)=lower endpoint of argmin𝜁ϕα(Z,ζ).\text{VaR}_{\alpha}(Z)=\text{lower endpoint of }\underset{\zeta}{\arg\min}\,\phi_{\alpha}(Z,\zeta). (3)

It follows from the joint convexity of ϕα\phi_{\alpha} in ZZ and ζ\zeta that CVaRα\text{CVaR}_{\alpha} is convex over 𝒵\mathcal{Z}. Restricting attention to random losses Z(ω)=L(x,ω)Z(\omega)=L(x,\omega) which depend upon a decision xx, we have the following result.

Theorem 1

Let Z(ω)=L(x,ω)Z(\omega)=L(x,\omega). If the mapping xZx\mapsto Z is convex in xx then CVaRα(Z)\text{CVaR}_{\alpha}(Z) is convex in xx [12].

Theorem 1 will later ensure that optimization problems with objectives including a CVaRα\text{CVaR}_{\alpha} term are convex.

III Risk Aware Stochastic Economic Dispatch Formulation

We consider a setting with NN conventional generators, and a single renewable generator. An additional entity, the independent system operator (ISO) operates the power grid and plays the role of the social planner (from this point we use the terms interchangeably). For simplicity we consider a single bus network.

We consider a two-stage setting, where generation is dispatched in the first stage (also referred to as day-ahead or DA) and then adjusted in the second stage (real time or RT) to match demand.

Let D0D\geq 0 denote the aggregate demand. This demand is assumed inelastic, i.e., it is not affected by changes in first or second stage prices.

The renewable generator’s output is modeled as a nonnegative random variable WW, upper bounded by W¯>0\overline{W}>0. We make the following additional assumption on the distribution of WW.

Assumption 1

Random variable WW is distributed according to pdf fWf_{W} (and cdf FWF_{W}), which is continuous and positive on [0,W¯][0,\overline{W}].

The probability distribution of WW is assumed to be known to all market participants. The marginal cost of renewable generation is zero. The quantity of renewable generation scheduled is denoted yy.

Conventional generator ii has access to a primary plant and an ancillary plant. Generator ii schedules its primary plant to produce quantity xiG+x^{G}_{i}\in\mathbb{R}_{+} prior to realization of WW at cost ai(xiG)2a_{i}(x^{G}_{i})^{2} where ai>0a_{i}>0. We assume the primary plant is inflexible, so that its generation level must remained fixed once it is scheduled. After realization of WW, generator ii can activate its ancillary plant to produce level ziG+z^{G}_{i}\in\mathbb{R}_{+} at cost a~i(ziG)2\tilde{a}_{i}(z^{G}_{i})^{2} where a~i>0\tilde{a}_{i}>0. Any ancillary generation produced in excess of aggregate demand DD can be disposed of or sold in a separate spot market, which we do not consider. We assume that ai<a~ia_{i}<\tilde{a}_{i} for all ii, aiaja_{i}\neq a_{j} for iji\neq j, and that maxiai<minia~i\max_{i}a_{i}<\min_{i}\tilde{a}_{i} and a~ia~j\tilde{a}_{i}\neq\tilde{a}_{j} for iji\neq j.

The generator is compensated for its first stage production xiGx^{G}_{i} at price P1P_{1}. In the second stage, given W=wW=w, the generator is compensated for second stage generation ziG(w)z^{G}_{i}(w) at price P2(w)P_{2}(w).

III-A Generator’s Problem

We assume that each generator ii is price taking, i.e., its decisions xiGx^{G}_{i} and ziG(w)z^{G}_{i}(w) do not affect prices in either stage. Therefore, generator ii’s profit is given by

πiG(xiG,ziG(w)):=P1xiGai(xiG)2+P2(w)ziG(w)a~i(ziG(w))2.\begin{split}\pi^{G}_{i}(x^{G}_{i},z^{G}_{i}(w)):=P_{1}&x^{G}_{i}-a_{i}(x^{G}_{i})^{2}\\ &+P_{2}(w)z^{G}_{i}(w)-\tilde{a}_{i}(z^{G}_{i}(w))^{2}.\end{split} (4)

Each generator is risk neutral, and so makes first and second stages to maximize the expectation of (4). In stage 2, given production level ww and price P2(w)P_{2}(w), generator ii solves the following problem

(GEN2i)maxziG(w)0P2(w)ziG(w)a~i(ziG(w))2.(\text{GEN2}_{i})\quad\max_{z^{G}_{i}(w)\geq 0}\quad P_{2}(w)z^{G}_{i}(w)-\tilde{a}_{i}(z^{G}_{i}(w))^{2}. (5)

Let πi2(w,P2)\pi^{2}_{i}(w,P_{2}) be the maximum objective value obtained in solving (5), given ww and P2P_{2}. Then in the first stage, given price P1P_{1}, generator ii solves the following problem

(GEN1i)maxxiG0P1xiGci(xiG)+𝔼[πi2(W,P2)].(\text{GEN1}_{i})\quad\max_{x^{G}_{i}\geq 0}\quad P_{1}x^{G}_{i}-c_{i}(x^{G}_{i})+\mathbb{E}[\pi^{2}_{i}(W,P_{2})]. (6)

The term 𝔼[πi2(W,P2)]\mathbb{E}[\pi^{2}_{i}(W,P_{2})] is a constant when optimizing over xiGx^{G}_{i}, as generator ii’s DA and RT decisions can be made independently. In order to emphasize the fact that generator ii observes W=wW=w prior to selecting ziG(w)z^{G}_{i}(w), we separate generator ii’s two optimization problems.

III-B ISO’s Problem

In Section III, our definition of a sequential competitive equilibrium includes a tuple of allocations, i.e., generation levels. For the purposes of examining the welfare properties of these allocations, we now introduce a two stage social planner’s problem (SPP), corresponding to our two settlement market. As is seen in the static case, the SPP involves maximizing the social welfare of all market participants. We take the welfare of generator ii to be the negation of generation costs from stages 1 and 2. Given W=wW=w, the aggregate welfare is the negation of the summation of these costs over all generators:

cSPP(w):=i(aix^i2+a~iz^i2(w)),c^{\text{SPP}}(w):=\sum_{i}\left(a_{i}\hat{x}^{2}_{i}+\tilde{a}_{i}\hat{z}^{2}_{i}(w)\right), (7)

where (x^i,z^i(w))(\hat{x}_{i},\hat{z}_{i}(w)) for all ii and ww are the social planner’s decisions in stages 1 and 2. Define x^:=(x^1,,x^N)\hat{x}:=(\hat{x}_{1},\dots,\hat{x}_{N}), and similarly z^(w):=(z^1(w),,z^N(w))\hat{z}(w):=(\hat{z}_{1}(w),\dots,\hat{z}_{N}(w)).

We assume that the social planner is risk averse. That is, instead of seeking to minimize the expectation of (7), they seek to minimize a weighted combination of 𝔼[cSPP(W)]\mathbb{E}[c^{\text{SPP}}(W)] and CVaRα(cSPP(W))\text{CVaR}_{\alpha}(c^{\text{SPP}}(W)). α[0,1)\alpha\in[0,1) signifies that the ISO considers worst case or tail events with cumulative probability 1α1-\alpha to be “risky”, and therefore weights them more heavily. We now introduce the additional parameter ϵ[0,1]\epsilon\in[0,1], which gives the social planner’s relative weighting of overall expectation and CVaRα\text{CVaR}_{\alpha} of the first and second stage generation costs, and define the social planner’s risk measure as

ρSPP()=(1ϵ)𝔼[]+ϵCVaRα().\rho_{\text{SPP}}(\cdot)=(1-\epsilon)\mathbb{E}[\cdot]+\epsilon\text{CVaR}_{\alpha}(\cdot). (8)

It can be shown that ρSPP()\rho_{\text{SPP}}(\cdot) is a coherent risk measure [13].

Given that y^\hat{y} is the amount of renewable generation scheduled by the social planner in stage 1, and W=wW=w, the social planner’s second stage problem is

(SPP2)minz^(w)0\displaystyle\text{(SPP2)}\quad\min_{\hat{z}(w)\geq 0} ia~iz^i2(w)\displaystyle\quad\sum_{i}\tilde{a}_{i}\hat{z}^{2}_{i}(w) (9)
s.t. iz^i(w)y^w.\displaystyle\quad\sum_{i}\hat{z}_{i}(w)\geq\hat{y}-w. (10)

Note that constraint (10) is an inequality in order to accommodate scenarios in which renewable generation exceeds residual demand Dix^i=y^D-\sum_{i}\hat{x}_{i}=\hat{y}.

Define c2SPP(x^,w)c^{\text{SPP}}_{2}(\hat{x},w) as the minimum aggregate social cost achieved in the second stage, given x^\hat{x} and W=wW=w. Then the social planner’s first stage problem is

(SPP1)minx^,y^0\displaystyle\text{(SPP1)}\quad\min_{\hat{x},\hat{y}\geq 0} iaix^i2+ρSPP(c2SPP(x^,W))\displaystyle\quad\sum_{i}a_{i}\hat{x}^{2}_{i}+\rho_{\text{SPP}}\left(c^{\text{SPP}}_{2}(\hat{x},W)\right) (11)
s.t. ix^i+y^=D,\displaystyle\quad\sum_{i}\hat{x}_{i}+\hat{y}=D, (12)

where we have used translation equivariance of CVaRα\text{CVaR}_{\alpha} to move the summed first-stage costs outside of ρSPP\rho_{\text{SPP}}. We now argue that problems (SPP1) and (SPP2) can be combined into the following single stage optimization problem.

Lemma 2

The two-stage problem (SPP1)-(SPP2) is equivalent to the following single stage problem:

(SPP)minx^,y^,z^()0\displaystyle\text{(SPP)}\min_{\hat{x},\hat{y},\hat{z}(\cdot)\geq 0} ici(x^i)+ρSPP(ia~iz^i2(W))\displaystyle\quad\sum_{i}c_{i}(\hat{x}_{i})+\rho_{\text{SPP}}\left(\sum_{i}\tilde{a}_{i}\hat{z}^{2}_{i}(W)\right) (13)
s.t. ix^i+y^=D\displaystyle\quad\sum_{i}\hat{x}_{i}+\hat{y}=D (14)
iz^i(w)y^ww,\displaystyle\quad\sum_{i}\hat{z}_{i}(w)\geq\hat{y}-w\quad\forall\,w, (15)

where z^():++\hat{z}(\cdot)\,:\,\mathbb{R}_{+}\to\mathbb{R}_{+}.

Proof 1

See Appendix.

Here we use the term “equivalent” in the sense that (SPP) and (SPP1) have the same optimal objective value. Additionally, if (x^,z^())(\hat{x}^{*},\hat{z}^{*}(\cdot)) is optimal for (SPP), then x^\hat{x}^{*} is optimal for (SPP1), and z^(w)\hat{z}^{*}(w) is optimal for (SPP2) for all ww, given x^\hat{x}^{*}. Conversely, if x^\hat{x}^{*} is optimal for (SPP1) and z^()\hat{z}^{*}(\cdot) collects the optimal solutions to (SPP2) for all ww, given x^\hat{x}^{*}, then (x^,z^())(\hat{x}^{*},\hat{z}^{*}(\cdot)) is optimal for (SPP).

Similar to the equivalency demonstrated for the ISO’s problem in Lemma 2, it can be shown that the following single stage problem is equivalent to (GEN1i\text{GEN1}_{i}) and (GEN2i\text{GEN2}_{i})

(GENi)maxxiG0,ziG()0P1xiGai(xiG)2+𝔼[P2(w)ziG(w)a~i(ziG(w))2].\begin{split}(\text{GEN}_{i})\quad\max_{x^{G}_{i}\geq 0,z^{G}_{i}(\cdot)\geq 0}&\quad P_{1}x^{G}_{i}-a_{i}(x^{G}_{i})^{2}\\ &+\mathbb{E}[P_{2}(w)z^{G}_{i}(w)-\tilde{a}_{i}(z^{G}_{i}(w))^{2}].\end{split} (16)

where ziG():++z_{i}^{G}(\cdot)\,:\,\mathbb{R}_{+}\to\mathbb{R}_{+}.

IV Sequential Competitive Equilibrium

In a single stage market for a single good, a competitive equilibrium is specified by a price PP and quantity xx such that, given PP, producers find it optimal to produce, and consumers find it optimal to purchase, quantity xx of the good. Thus, the market clears, i.e., demand equals supply.

To understand the outcome of the two-stage market, we consider a sequential version of competitive equilibrium.

Definition 6

A sequential competitive equilibrium (SCEq) is a tuple (x¯,z¯(),P1,P2())(\overline{x}^{*},\overline{z}^{*}(\cdot),P^{*}_{1},P^{*}_{2}(\cdot)) such that, for all ii, given P1P^{*}_{1} and P2()P^{*}_{2}(\cdot), x¯i\overline{x}^{*}_{i} is optimal for (GEN1i)(\text{GEN1}_{i}), z¯i\overline{z}^{*}_{i} is optimal for (GEN2i)(\text{GEN2}_{i}), and there exists a y¯\overline{y}^{*}, such that

ix¯i+y¯=D,iz¯i(w)y¯ww.\sum_{i}\overline{x}^{*}_{i}+\overline{y}^{*}=D,\quad\sum_{i}\overline{z}^{*}_{i}(w)\geq\overline{y}^{*}-w\quad\forall\,w. (17)

Note that in the SCEq definition, z¯i()\overline{z}_{i}^{*}(\cdot) and P2()P^{*}_{2}(\cdot) are functions. We now investigate the existence of an SCEq in our two stage, risk aware setting.

Let μ^(w)\hat{\mu}(w) be the Lagrange multiplier corresponding to constraint (10). The Lagrangian for (SPP2) is

=ia~iz^i2(w)+μ^(w)(y^wiz^i(w)),\begin{split}\mathcal{L}&=\sum_{i}\tilde{a}_{i}\hat{z}^{2}_{i}(w)+\hat{\mu}(w)\left(\hat{y}-w-\sum_{i}\hat{z}_{i}(w)\right),\end{split} (18)

giving, in addition to feasibility, the following optimality conditions for problem (SPP2):

2a~iz^i(w)μ^(w)\displaystyle 2\tilde{a}_{i}\hat{z}^{*}_{i}(w)-\hat{\mu}^{*}(w) 0\displaystyle\geq 0\quad\forall\.{i} (19)
z^i(2a~iz^i(w)μ^(w))\displaystyle\hat{z}_{i}^{*}\left(2\tilde{a}_{i}\hat{z}^{*}_{i}(w)-\hat{\mu}^{*}(w)\right) =0\displaystyle=0\quad\forall\.{i} (20)
μ^(w)(y^wiz^i(w))\displaystyle\hat{\mu}^{*}(w)\left(\hat{y}^{*}-w-\sum_{i}\hat{z}^{*}_{i}(w)\right) =0w,\displaystyle=0\quad\forall\,w, (21)
μ^(w)\displaystyle\hat{\mu}^{*}(w) 0w.\displaystyle\geq 0\quad\forall\,w. (22)

Assuming y^>w\hat{y}>w, z^i(w)>0\hat{z}^{*}_{i}(w)>0 for all ii, and in particular

z^i(w)=μ^(w)2a~i.\hat{z}^{*}_{i}(w)=\frac{\hat{\mu}^{*}(w)}{2\tilde{a}_{i}}. (23)

If y^w\hat{y}\leq w then z^i(w)=0\hat{z}^{*}_{i}(w)=0 for all ii. Summing (23) over ii, applying constraint (15), and rearranging gives

μ^(w)=2a~[y^w]+,\hat{\mu}^{*}(w)=2\tilde{a}\cdot\left[\hat{y}-w\right]_{+}, (24)

where the constant a~\tilde{a} is defined as a~:=(i1a~i)1\tilde{a}:=\left(\sum_{i}\frac{1}{\tilde{a}_{i}}\right)^{-1}. Therefore

z^i(w)=a~[y^w]+a~i.\hat{z}^{*}_{i}(w)=\tilde{a}\cdot\frac{[\hat{y}-w]_{+}}{\tilde{a}_{i}}.

Summing over ii gives the optimal second stage objective value (i.e., the minimum recourse cost given x^\hat{x})

c2SPP(x^,w)=ia~i(a~[y^w]+a~i)2=a~[y^w]+2.c^{\text{SPP}}_{2}(\hat{x},w)=\sum_{i\in\mathcal{I}}\tilde{a}_{i}\left(\tilde{a}\cdot\frac{[\hat{y}-w]_{+}}{\tilde{a}_{i}}\right)^{2}=\tilde{a}\cdot\left[\hat{y}-w\right]_{+}^{2}. (25)

Therefore, VaRα(c2SPP(x^,W))\text{VaR}_{\alpha}(c^{\text{SPP}}_{2}(\hat{x},W)) may be expressed as

VaRα(a~[y^W]+2)\displaystyle\text{VaR}_{\alpha}\left(\tilde{a}\cdot[\hat{y}-W]_{+}^{2}\right)
=inf{t:P(a~[y^W]+2t)α}\displaystyle=\inf\left\{t\,:\,P\left(\tilde{a}\cdot\left[\hat{y}-W\right]_{+}^{2}\leq t\right)\geq\alpha\right\} (26)
=inf{t0:P(W<y^ta~)1α}\displaystyle=\inf\left\{t\geq 0\,:\,P\left(W<\hat{y}-\sqrt{\frac{t}{\tilde{a}}}\right)\leq 1-\alpha\right\}
={0if y^<FW1(1α)a~(y^FW1(1α))2if y^FW1(1α).\displaystyle=\begin{cases}0&\text{if }\hat{y}<F^{-1}_{W}(1-\alpha)\\ \tilde{a}\cdot(\hat{y}-F^{-1}_{W}(1-\alpha))^{2}&\text{if }\hat{y}\geq F^{-1}_{W}(1-\alpha).\end{cases} (27)

Given this expression for VaRα\text{VaR}_{\alpha}, the following lemma gives an explicit expression of CVaRα\text{CVaR}_{\alpha} for our quadratic cost function setting.

Lemma 3

Assuming first and second stage generation cost functions of the form ax2ax^{2} and a~z(w)2\tilde{a}z(w)^{2}, a,a~>0a,\tilde{a}>0, CVaRα(c2SPP(x^,W))\text{CVaR}_{\alpha}(c^{\text{SPP}}_{2}(\hat{x},W)) can be expressed as

CVaRα(c2SPP(x^,W))=CVaRα(a~[y^W]+2)=11α0min{FW1(1α),y^}a~(y^w)2fW(w)𝑑w.\begin{split}&\text{CVaR}_{\alpha}\left(c^{\text{SPP}}_{2}(\hat{x},W)\right)=\text{CVaR}_{\alpha}\left(\tilde{a}\cdot[\hat{y}-W]_{+}^{2}\right)\\ &=\frac{1}{1-\alpha}\int_{0}^{\min\{F^{-1}_{W}(1-\alpha),\hat{y}\}}\tilde{a}\cdot(\hat{y}-w)^{2}\,f_{W}(w)\,dw.\end{split} (28)
Proof 2

Given Assumption 1, the cdf Fc2SPPF_{c^{\text{SPP}}_{2}} of losses c2SPP(y^,W)c^{\text{SPP}}_{2}(\hat{y},W) will be continuous everywhere except possibly at zero, since P(c2SPP(x^,W)=0)=P(Wy^)P(c^{\text{SPP}}_{2}(\hat{x},W)=0)=P(W\geq\hat{y}). By Theorem 6.2 of [13], when VaRα(c2SPP(x^,W))>0\text{VaR}_{\alpha}(c^{\text{SPP}}_{2}(\hat{x},W))>0, we may write

CVaRα\displaystyle\text{CVaR}_{\alpha} (c2SPP(x^,W))=11αa~(y^FW1(1α))2a~y^2qfc2SPP(q)𝑑q\displaystyle(c^{\text{SPP}}_{2}(\hat{x},W))=\frac{1}{1-\alpha}\int_{\tilde{a}\cdot(\hat{y}-F^{-1}_{W}(1-\alpha))^{2}}^{\tilde{a}\hat{y}^{2}}qf_{c^{\text{SPP}}_{2}}(q)\,dq
=11α0FW1(1α)(y^w)2fW(w)𝑑w,\displaystyle=\frac{1}{1-\alpha}\int_{0}^{F^{-1}_{W}(1-\alpha)}(\hat{y}-w)^{2}f_{W}(w)\,dw, (29)

where fc2SPPf_{c^{\text{SPP}}_{2}} gives the pdf corresponding to Fc2SPPF_{c^{\text{SPP}}_{2}}. If VaRα(c2SPP(x^,W))=0\text{VaR}_{\alpha}(c^{\text{SPP}}_{2}(\hat{x},W))=0, then using Definition 5, we have that

CVaRα\displaystyle\text{CVaR}_{\alpha} (c2SPP(x^,W))=ζ+11α𝔼[c2SPP(x^,W)ζ]+\displaystyle(c^{\text{SPP}}_{2}(\hat{x},W))=\zeta^{*}+\frac{1}{1-\alpha}\mathbb{E}[c^{\text{SPP}}_{2}(\hat{x},W)-\zeta^{*}]_{+}
=0+11α𝔼[c2SPP(x^,W)0]+\displaystyle=0+\frac{1}{1-\alpha}\mathbb{E}[c^{\text{SPP}}_{2}(\hat{x},W)-0]_{+}
=11α0y^c2SPP(x^,w)fW(w)𝑑w.\displaystyle=\frac{1}{1-\alpha}\int_{0}^{\hat{y}}c^{\text{SPP}}_{2}(\hat{x},w)f_{W}(w)\,dw. (30)

Substituting for c2SPP(x^,w)c^{\text{SPP}}_{2}(\hat{x},w) and then combining (29) and (30) completes the proof.

While CVaRα(c2SPP(x^,W))\text{CVaR}_{\alpha}(c^{\text{SPP}}_{2}(\hat{x},W)) is convex in the first stage decision x^\hat{x} due to (25) and Theorem 1, the upper limit θ^\hat{\theta} of the integral in (LABEL:CVaRintegral) is not a differentiable function of y^\hat{y}, so that the Leibniz integral rule does not directly apply. The next lemma addresses this issue.

Lemma 4

Given Assumption 1, expression (LABEL:CVaRintegral) is continuously differentiable with respect to y^\hat{y}, with derivative

CVaRα(c2SPP(x^,W))=2a~0θ^(y^w)fW(w)𝑑w.\begin{split}\text{CVaR}^{\prime}_{\alpha}(c^{\text{SPP}}_{2}(\hat{x},W))&=2\tilde{a}\int_{0}^{\hat{\theta}}(\hat{y}-w)f_{W}(w)\,dw.\end{split} (31)
Proof 3

We consider two cases, depending on the two possible values of θ^(y^)\hat{\theta}(\hat{y}). When θ^(y^)=FW1(1α)\hat{\theta}(\hat{y})=F^{-1}_{W}(1-\alpha), applying the Leibniz integral rule gives

CVaRα(c2SPP(x^,W))=2a~0FW1(1α)(y^w)fW(w)𝑑w.\text{CVaR}^{\prime}_{\alpha}(c^{\text{SPP}}_{2}(\hat{x},W))=2\tilde{a}\int_{0}^{F^{-1}_{W}(1-\alpha)}(\hat{y}-w)f_{W}(w)\,dw.

When θ^(y^)=y^\hat{\theta}(\hat{y})=\hat{y}, application of the Leibniz integral rule gives

CVaRα(c2SPP(x^,W))=2a~0y^(y^w)fW(w)𝑑w.\text{CVaR}^{\prime}_{\alpha}(c^{\text{SPP}}_{2}(\hat{x},W))=2\tilde{a}\int_{0}^{\hat{y}}(\hat{y}-w)f_{W}(w)\,dw.

Combining the last two equations gives the expression in the lemma statement. When y^FW1(1α)\hat{y}\leq F^{-1}_{W}(1-\alpha), CVaRα(c2SPP(x^,W))\text{CVaR}^{\prime}_{\alpha}(c^{\text{SPP}}_{2}(\hat{x},W)) is an affine function of y^\hat{y}, and when y^>FW1(1α)\hat{y}>F^{-1}_{W}(1-\alpha), CVaRα(c2SPP(x^,W))\text{CVaR}^{\prime}_{\alpha}(c^{\text{SPP}}_{2}(\hat{x},W)) is continuous by the continuity of fW(w)f_{W}(w). The two expressions agree at y^=FW1(1α)\hat{y}=F^{-1}_{W}(1-\alpha), so that CVaRα(c2SPP(x^,W))\text{CVaR}^{\prime}_{\alpha}(c^{\text{SPP}}_{2}(\hat{x},W)) is continuous.

Let θ^=θ^(y^)=min{FW1(1α),y^}\hat{\theta}=\hat{\theta}(\hat{y})=\min\{F^{-1}_{W}(1-\alpha),\hat{y}\}. Then, problem (SPP) may be written as

minx^,y^,z^()0\displaystyle\min_{\hat{x},\hat{y},\hat{z}(\cdot)\geq 0} iaix^i2+(1ϵ)0y^ia~iz^i2(w)fW(w)dw\displaystyle\quad\sum_{i}a_{i}\hat{x}^{2}_{i}+(1-\epsilon)\int_{0}^{\hat{y}}\sum_{i}\tilde{a}_{i}\hat{z}^{2}_{i}(w)\,f_{W}(w)\,dw (32)
+ϵ1α0θ^ia~iz^i2(w)fW(w)dw\displaystyle\hskip 36.135pt+\frac{\epsilon}{1-\alpha}\int_{0}^{\hat{\theta}}\sum_{i}\tilde{a}_{i}\hat{z}^{2}_{i}(w)\,f_{W}(w)\,dw
s.t. ix^i+y^=D\displaystyle\quad\sum_{i}\hat{x}_{i}+\hat{y}=D (33)
iz^i(w)y^ww.\displaystyle\quad\sum_{i}\hat{z}_{i}(w)\geq\hat{y}-w\quad\forall\,w. (34)

Locational marginal pricing (LMP) is a commonly used settlement scheme for economic dispatch problems, and previous work has examined extensions of LMPs to problems including two stage markets with recourse. In such models, the LMPs arise as the dual variables to power balance constraints for each stage (in our setting (33) and (34) in (SPP)). Previous work ([3],[15]) has demonstrated that such LMPs support a competitive equilibrium when the ISO or social planner is risk neutral, i.e. when ϵ=0\epsilon=0. We state this formally in terms of our setting in the following theorem.

Let λ^\hat{\lambda}^{*} and μ^(w)\hat{\mu}^{*}(w) denote the optimal Lagrange multipliers for constraints (33) and (34), given W=wW=w, respectively.

Theorem 5

When ϵ=0\epsilon=0, there exists an SCEq. In particular, (x¯,z¯)(\overline{x}^{*},\overline{z}^{*}) are given by (x^,z^)(\hat{x}^{*},\hat{z}^{*}) in the optimal solution to (SPP), and the equilibrium prices are given by

P2(w)=μ^(w),P1=λ^.P^{*}_{2}(w)=\hat{\mu}^{*}(w),\quad P^{*}_{1}=\hat{\lambda}^{*}. (35)
Proof 4

Our setting with ϵ=0\epsilon=0 can be seen as a special case of that in [3]. The proof then follows from Theorem 1 in [3].

Theorem 6

If 0ϵ<10\leq\epsilon<1, then there exists a competitive equilibrium. In particular, (x¯,z¯)(\overline{x}^{*},\overline{z}^{*}) are given by (x^,z^)(\hat{x}^{*},\hat{z}^{*}), the optimal solution to problem (SPP), and the equilibrium prices are given by

P2(w)={μ^(w)(1ϵ+ϵ1α)0wθ^μ^(w)(1ϵ)θ^w<y^0y^w,P1=λ^,P^{*}_{2}(w)=\begin{cases}\frac{\hat{\mu}^{*}(w)}{\left(1-\epsilon+\frac{\epsilon}{1-\alpha}\right)}&0\leq w\leq\hat{\theta}^{*}\\ \frac{\hat{\mu}^{*}(w)}{(1-\epsilon)}&\hat{\theta}^{*}\leq w<\hat{y}^{*}\\ 0&\hat{y}^{*}\leq w\end{cases},\quad P^{*}_{1}=\hat{\lambda}^{*}, (36)

where θ^=min{FW1(1α),y^}\hat{\theta}^{*}=\min\{F^{-1}_{W}(1-\alpha),\hat{y}^{*}\}.

Proof 5

By Lemma 4, the objective and all constraints in (SPP) are continuously differentiable. Problem (32)-(34) has Lagrangian

=iaix^i2+(1ϵ)0y^ia~iz^i2(w)fW(w)dw+ϵ1α0θ^ia~iz^i2(w)fW(w)dw+λ^(Dix^iy^)+μ^(w)(y^wiz^i(w))fW(w)𝑑w.\begin{split}\mathcal{L}&=\sum_{i}a_{i}\hat{x}^{2}_{i}+(1-\epsilon)\int_{0}^{\hat{y}}\sum_{i}\tilde{a}_{i}\hat{z}^{2}_{i}(w)\,f_{W}(w)\,dw\\ &+\frac{\epsilon}{1-\alpha}\int_{0}^{\hat{\theta}}\sum_{i}\tilde{a}_{i}\hat{z}^{2}_{i}(w)\,f_{W}(w)\,dw\\ &+\hat{\lambda}\left(D-\sum_{i}\hat{x}_{i}-\hat{y}\right)\\ &+\int\hat{\mu}(w)\left(\hat{y}-w-\sum_{i}\hat{z}_{i}(w)\right)f_{W}(w)\,dw.\end{split}

Let

c^ϵ,α(w)={1ϵ+ϵ1α0wθ^1ϵθ^<w<y^0y^w.\hat{c}_{\epsilon,\alpha}(w)=\begin{cases}1-\epsilon+\frac{\epsilon}{1-\alpha}&0\leq w\leq\hat{\theta}^{*}\\ 1-\epsilon&\hat{\theta}^{*}<w<\hat{y}^{*}\\ 0&\hat{y}^{*}\leq w\end{cases}. (37)

Then, in addition to feasibility, the optimality conditions for (32)-(34) are [13]:

2aix^iλ^\displaystyle 2a_{i}\hat{x}^{*}_{i}-\hat{\lambda}^{*} 0i\displaystyle\geq 0\quad\forall\,i (38)
x^i(2aix^iλ^)\displaystyle\hat{x}^{*}_{i}\left(2a_{i}\hat{x}^{*}_{i}-\hat{\lambda}^{*}\right) =0i\displaystyle=0\quad\forall\,i (39)
λ^+μ^(w)fW(w)𝑑w\displaystyle-\hat{\lambda}^{*}+\int\hat{\mu}^{*}(w)f_{W}(w)\,dw 0\displaystyle\geq 0 (40)
y^(λ+μ^(w)fW(w)𝑑w)\displaystyle\hat{y}^{*}\left(-\lambda^{*}+\int\hat{\mu}^{*}(w)f_{W}(w)\,dw\right) =0\displaystyle=0 (41)
2a~ic^ϵ,α(w)z^i(w)μ^(w)\displaystyle 2\tilde{a}_{i}\hat{c}^{*}_{\epsilon,\alpha}(w)\hat{z}^{*}_{i}(w)-\hat{\mu}^{*}(w) 0w\displaystyle\geq 0\quad\forall\,w (42)
z^i(w)(2a~ic^ϵ,α(w)z^i(w)μ^(w))\displaystyle\hat{z}^{*}_{i}(w)\left(2\tilde{a}_{i}\hat{c}^{*}_{\epsilon,\alpha}(w)\hat{z}^{*}_{i}(w)-\hat{\mu}^{*}(w)\right) =0w\displaystyle=0\quad\forall\,w (43)
μ^(w)(y^wiz^i(w))\displaystyle\hat{\mu}^{*}(w)\left(\hat{y}^{*}-w-\sum_{i}\hat{z}^{*}_{i}(w)\right) =0w,\displaystyle=0\quad\forall\,w, (44)
μ^(w)\displaystyle\hat{\mu}^{*}(w) 0w.\displaystyle\geq 0\quad\forall\,w. (45)

In addition to feasibility, the optimality conditions for (GENi)(\text{GEN}_{i}) are

2a~ixiGP1\displaystyle 2\tilde{a}_{i}x^{G*}_{i}-P_{1} 0\displaystyle\geq 0 (46)
xiG(2a~ixiGP1)\displaystyle x^{G*}_{i}\left(2\tilde{a}_{i}x^{G*}_{i}-P_{1}\right) =0.\displaystyle=0. (47)
2a~iziG(w)P2(w)\displaystyle 2\tilde{a}_{i}z^{G*}_{i}(w)-P_{2}(w) 0w\displaystyle\geq 0\quad\forall\,w (48)
ziG(w)(2a~iziG(w)P2(w))\displaystyle z^{G*}_{i}(w)\left(2\tilde{a}_{i}z^{G*}_{i}(w)-P_{2}(w)\right) =0w.\displaystyle=0\quad\forall\,w. (49)

In view of optimality conditions (42) and (43), we choose the following price schedule

P2(w)={μ^(w)((1ϵ)+ϵ1α)0wθ^μ^(w)(1ϵ)θ^w<y^0y^w,P1=λ^.\begin{split}P_{2}(w)=\begin{cases}\frac{\hat{\mu}^{*}(w)}{\left((1-\epsilon)+\frac{\epsilon}{1-\alpha}\right)}&0\leq w\leq\hat{\theta}^{*}\\ \frac{\hat{\mu}^{*}(w)}{(1-\epsilon)}&\hat{\theta}^{*}\leq w<\hat{y}^{*}\\ 0&\hat{y}^{*}\leq w\end{cases},\quad P_{1}&=\hat{\lambda}^{*}.\end{split}

Given these choices, for each ii, the optimality conditions for (GENi\text{GEN}_{i}) become

2aixiGλ^\displaystyle 2a_{i}x^{G*}_{i}-\hat{\lambda}^{*} 0i\displaystyle\geq 0\quad\forall\,i (50)
xiG(2aixiGλ^)\displaystyle x^{G*}_{i}\left(2a_{i}x^{G*}_{i}-\hat{\lambda}^{*}\right) =0i\displaystyle=0\quad\forall\,i (51)
2a~ic^ϵ,α(w)ziG(w)μ^(w)\displaystyle 2\tilde{a}_{i}\hat{c}_{\epsilon,\alpha}(w)z^{G*}_{i}(w)-\hat{\mu}^{*}(w) 0w\displaystyle\geq 0\quad\forall\,w (52)
ziG(w)(c^ϵ,α(w)ziG(w)μ^(w))\displaystyle z^{G*}_{i}(w)\left(\hat{c}_{\epsilon,\alpha}(w)z^{G*}_{i}(w)-\hat{\mu}^{*}(w)\right) =0w.\displaystyle=0\quad\forall\,w. (53)

Choosing xiG=x^ix^{G*}_{i}=\hat{x}^{*}_{i} for all ii and ziG(w)=z^i(w)z^{G*}_{i}(w)=\hat{z}^{*}_{i}(w) for all ii and ww, (50) and (51) become identical to (38) and (39), and (52) and (53) become identical to (42) and (43).

Therefore xiG=x^ix^{G*}_{i}=\hat{x}^{*}_{i} for all ii, and ziG(w)=z^i(w)z^{G*}_{i}(w)=\hat{z}^{*}_{i}(w) for all ii and ww, and the selected prices, together with (x^i,z^i(w))(\hat{x}^{*}_{i},\hat{z}^{*}_{i}(w)) for all ii and ww constitute an SCEq, and we have shown by construction the existence of an SCEq.

Assuming z^i(w)>0\hat{z}^{*}_{i}(w)>0 for any ii (and therefore for all ii), the second stage price given in (36) can be rewritten in terms of the social planner’s primal decision variables and the level of renewable generation. Rearranging the term in parenthesis in (43) gives

z^i(w)=μ^(w)c^ϵ,α(w)wy^.\hat{z}^{*}_{i}(w)=\frac{\hat{\mu}^{*}(w)}{\hat{c}_{\epsilon,\alpha}(w)}\quad\forall\,w\leq\hat{y}^{*}. (54)

Summing both sides of (54) over ii and using constraint (15) gives

y^w=μ^(w)2a~c^ϵ,α(w)μ^(w)c^ϵ,α(w)=2a~(y^w).\hat{y}^{*}-w=\frac{\hat{\mu}^{*}(w)}{2\tilde{a}\cdot\hat{c}_{\epsilon,\alpha}(w)}\implies\frac{\hat{\mu}^{*}(w)}{\hat{c}_{\epsilon,\alpha}(w)}=2\tilde{a}(\hat{y}^{*}-w). (55)

Thus when 0ϵ<10\leq\epsilon<1, we have

P2(W)=2a~[y^W]+.P^{*}_{2}(W)=2\tilde{a}\cdot\left[\hat{y}^{*}-W\right]_{+}.

Given that x^i>0\hat{x}^{*}_{i}>0 for any ii (and therefore for all ii), a similar calculation gives

λ^=P1=2a(Dy^),\hat{\lambda}^{*}=P^{*}_{1}=2a(D-\hat{y}^{*}),

where a=(i1ai)1a=\left(\sum_{i}\frac{1}{a_{i}}\right)^{-1}.

We now address the case where ϵ=1\epsilon=1, as prices given in the statement of Theorem 6 cannot be applied directly in the case where θ^<y^\hat{\theta}^{*}<\hat{y}^{*}. Consider a sequence {ϵ(k)}\{\epsilon(k)\}, where limkϵ(k)=1\lim_{k\to\infty}\epsilon(k)=1. Then, suppressing the dependence of μ^(w)\hat{\mu}(w) on ϵ\epsilon, and taking the limit as kk\to\infty on both sides of (55) gives

limkμ^(w)c^ϵ(k),α(w)=2a~(limky^(ϵ(k))w).\begin{split}\lim_{k\to\infty}\frac{\hat{\mu}^{*}(w)}{\hat{c}^{*}_{\epsilon(k),\alpha}(w)}&=2\tilde{a}\cdot\left(\lim_{k\to\infty}\hat{y}^{*}(\epsilon(k))-w\right).\end{split} (56)

The limit limky^(ϵ(k))\lim_{k\to\infty}\hat{y}^{*}(\epsilon(k)) exists, as (SPP) may be solved for the case where ϵ=1\epsilon=1, and the optimal solution is unique given our assumptions on the generator cost function form.

Therefore, it still holds in the case where ϵ=1\epsilon=1 that P2(W)=2a~[y^W]+P^{*}_{2}(W)=2\tilde{a}\cdot[\hat{y}^{*}-W]_{+}, and in turn a competitive equilibrium is given by (x^,z^(),P1,P2())(\hat{x}^{*},\hat{z}^{*}(\cdot),P^{*}_{1},P^{*}_{2}(\cdot)), where P1=λ^P^{*}_{1}=\hat{\lambda}^{*} and P2(W)=2a~[y^W]+P^{*}_{2}(W)=2\tilde{a}\cdot[\hat{y}^{*}-W]_{+}. Finally we give the following lemma on continuity of the equilibrium prices in ϵ\epsilon.

Lemma 7

The equilibrium prices given in Theorem 6 are continuous in ϵ[0,1]\epsilon\in[0,1].

Proof 6

See Appendix.

V Two-Stage Mechanism for Risk Aware Electricity Market with Renewable Generation

In the proof of Theorem 6, it was shown that the SCEq prices arise as optimal dual solutions to (SPP). If we assume that the generators are not strategic, and that all participants know the distribution of WW, then the following mechanism implements the SCEq:

  1. (1)

    Each generator ii submits cost function coefficients aia_{i} and a~i\tilde{a}_{i}.

  2. (2)

    The ISO solves (SPP), and announces stage 1 price P1P^{*}_{1} and stage 2 price schedule P2()P^{*}_{2}(\cdot) as given by (36).

  3. (3)

    Generator ii solves (GEN1i)(\text{GEN1}_{i}) and receives P1x¯iGP^{*}_{1}\overline{x}^{G*}_{i}.

  4. (4)

    At the start of stage 2, the renewable generation output W=wW=w is observed by the generators. Generator ii solves (GEN2i)(\text{GEN2}_{i}) and pays P2(w)z¯iG(w)P^{*}_{2}(w)\overline{z}^{G*}_{i}(w).

  5. (5)

    Generator ii produces x¯iG+z¯iG(w)\overline{x}^{G*}_{i}+\overline{z}^{G*}_{i}(w).

VI Conclusion

In this paper we consider a two-stage electricity market model with a single customer and multiple generators, taking into account the risk preferences of the customer while assuming that the generators are risk neutral. Our goal has been to determine if a sequential competitive equilibrium exists in such a market, given this discrepancy in risk attitude. We show that such an equilibrium does exist by formulating the risk aware stochastic economic dispatch market as a two-stage stochastic program, and solving this problem to determine equilibrium energy procurements and prices. The equilibrium prices directly reflect the social planner’s risk attitude. Given these prices, we specify a market mechanism for implementation of the equilibrium, assuming that the generators are not strategic. In future work we will incorporate network topology, multiple consumers, and strategic behavior in both the generators and consumers and general convex cost functions.

References

  • [1] Andreas Bublitz, Dogan Keles, Florian Zimmermann, Christoph Fraunholz, and Wolf Fichtner. A survey on electricity market design: Insights from theory and real-world implementations of capacity remuneration mechanisms. Energy Economics, 80:1059–1078, 2019.
  • [2] California Energy Commission. Renewable energy, January 2019.
  • [3] Nathan Dahlin and Rahul Jain. A two-stage market mechanism for electricity with renewable generation. In 2019 IEEE 58th IEEE conference on decision and control (CDC). IEEE, 2019.
  • [4] Gauthier De Maere d’Aertrycke, Andreas Ehrenmann, and Yves Smeers. Investment with incomplete markets for risk: The need for long-term contracts. Energy Policy, 105:571–583, 2017.
  • [5] Liam Dillon. California to rely on 100 percent clean electricity by 2045 under bill signed by Gov. Jerry Brown, September 2018. [Online; posted 10-September-2018].
  • [6] Henri Gérard, Vincent Leclère, and Andy Philpott. On risk averse competitive equilibrium. Operations Research Letters, 46(1):19 – 26, 2018.
  • [7] Sarah Hoff. Electricity grid operators forecast load shapes to plan electricity supply, July 2016. [Online; posted 22-July-2016].
  • [8] Juan M Morales, Antonio J Conejo, Henrik Madsen, Pierre Pinson, and Marco Zugno. Integrating renewables in electricity markets: operational problems, volume 205. Springer Science & Business Media, 2013.
  • [9] Robert Moye and Sean P. Meyn. The use of marginal energy costs in the design of U.S. capacity markets. In 51st Hawaii International Conference on System Sciences, HICSS 2018, Hilton Waikoloa Village, Hawaii, USA, January 3-6, 2018, 2018.
  • [10] Andy Philpott, Michael Ferris, and Roger Wets. Equilibrium, uncertainty and risk in hydro-thermal electricity systems. Mathematical Programming, 157(2):483–513, 2016.
  • [11] Daniel Ralph and Yves Smeers. Risk trading and endogenous probabilities in investment equilibria. SIAM Journal on Optimization, 25(4):2589–2611, 2015.
  • [12] R Tyrrell Rockafellar and Stanislav Uryasev. Conditional value-at-risk for general loss distributions. Journal of banking & finance, 26(7):1443–1471, 2002.
  • [13] Alexander Shapiro, Darinka Dentcheva, and Andrzej Ruszczyński. Lectures on Stochastic Programming. SIAM, Philadelphia, PA, USA, 2009.
  • [14] Georg Still. Lectures on parametric optimization: An introduction. Optimization Online, 2018.
  • [15] G. Wang, M. Negrete-Pincetic, A. Kowli, E. Shafieepoorfard, S. Meyn, and U. Shanbhag. Dynamic competitive equilibria in electricity markets. In A. Chakrabortty and M. Illic, editors, Control and Optimization Theory for Electric Smart Grids. Springer, 2011.
  • [16] Yunjian Xu and Steven H Low. An efficient and incentive compatible mechanism for wholesale electricity markets. IEEE Transactions on Smart Grid, 8(1):128–138, 2015.

Appendix A Proof of Lemma 2

Since CVaRα\text{CVaR}_{\alpha} is a coherent risk function, by Proposition 6.5 of [13] it is continuous. Also, CVaRα\text{CVaR}_{\alpha} is clearly a proper, monotonic risk function.

For every possible realization W=wW=w and first stage decision x^\hat{x}, there always exists a feasible solution to second stage problem (9)-(15), so c2SPP(x^,W)c^{\text{SPP}}_{2}(\hat{x},W) is finite with probability 1 for all feasible x^\hat{x}. Together with the quadratic forms of the first and second stage cost functions, this implies that c2SPP(x^,W)1(Ω,,P)c^{\text{SPP}}_{2}(\hat{x},W)\in\mathcal{L}_{1}(\Omega,\mathcal{F},P) for all feasible x^\hat{x}.

Therefore by Proposition 6.37 of [13] we can write

CVaRα(c2SPP(x^,W))=infz^()𝒢(x,)CVaRα(ia~i(z^i())),\text{CVaR}_{\alpha}(c^{\text{SPP}}_{2}(\hat{x},W))=\inf_{\hat{z}(\cdot)\in\mathcal{G}(x,\cdot)}\,\text{CVaR}_{\alpha}\left(\sum_{i}\tilde{a}_{i}(\hat{z}_{i}(\cdot))\right), (57)

where z^():ΩN\hat{z}(\cdot)\,:\,\Omega\to\mathbb{R}^{N}. z^()𝒢(x,)\hat{z}(\cdot)\in\mathcal{G}(x,\cdot) denotes that z^(w)\hat{z}(w) is a feasible choice for the constraint set in problem (9)-(15), given first stage decision (x^,y^)(\hat{x},\hat{y}), for any ww.

The argument for interchanging expectation and minimization over z^()\hat{z}(\cdot) follows from the interchangeability principle (Theorem 7.80 in [13]).\hfill\blacksquare

Appendix B Proof of Lemma 7

Let F(ϵ)F(\epsilon) denote the feasible set of (SPP), given parameter ϵ[0,1]\epsilon\in[0,1]. From [14], the local compactness (LC) of FF at some ϵ¯\overline{\epsilon} is satisfied if there exists a δ>0\delta>0 and compact set C0C_{0} such that

ϵϵ¯δF(ϵ)C0.\bigcup_{\|\epsilon-\overline{\epsilon}\|\leq\delta}F(\epsilon)\subset C_{0}.

Observing (SPP) is equivalent to a problem with the same objective and constraints, with the additional constraints that ix^iD\sum_{i}\hat{x}_{i}\leq D, y^D\hat{y}\leq D and iz^i(w)M\sum_{i}\hat{z}_{i}(w)\leq M for a large enough finite MM, and that the feasible set of (SPP) does not depend upon ϵ\epsilon, LC is satisfied for any ϵ[0,1]\epsilon\in[0,1].

From [14] the constraint qualification (CQ) holds for F(ϵ)F(\epsilon) at some (x^¯,z^¯(),ϵ¯)(\overline{\hat{x}},\overline{\hat{z}}(\cdot),\overline{\epsilon}) with (x^¯,z^¯())F(ϵ¯)(\overline{\hat{x}},\overline{\hat{z}}(\cdot))\in F(\overline{\epsilon}) if there is a sequence {x^ν,z^ν()}ν(x^¯,z^¯())\{\hat{x}_{\nu},\hat{z}_{\nu}(\cdot)\}_{\nu\in\mathbb{N}}\to(\overline{\hat{x}},\overline{\hat{z}}(\cdot)) such that, given (x^ν,z^ν())(\hat{x}_{\nu},\hat{z}_{\nu}(\cdot)), (15) is satisfied with strict inequality for all ν\nu. Clearly this condition holds for all ϵ[0,1]\epsilon\in[0,1].

Define the optimal solution set of (SPP), given ϵ\epsilon, as S(ϵ)S(\epsilon). Then, since LC and CQ are satisfied for all ϵ[0,1]\epsilon\in[0,1] by Lemma 5.6 in [14], S(ϵ)S(\epsilon) is outer semicontinuous, meaning that for all sequences {x^ν,z^()ν,ϵν}ν\{\hat{x}_{\nu}^{*},\hat{z}^{*}(\cdot)_{\nu},\epsilon_{\nu}\}_{\nu\in\mathbb{N}}, with ϵνϵ¯\epsilon_{\nu}\to\overline{\epsilon} and (x^ν,z^()ν)S(ϵν)(\hat{x}_{\nu}^{*},\hat{z}^{*}(\cdot)_{\nu})\in S(\epsilon_{\nu}), there exists an (x^¯,z^¯())S(ϵ¯)(\overline{\hat{x}}^{*},\overline{\hat{z}}^{*}(\cdot))\in S(\overline{\epsilon}) such that x^νx^¯0\|\hat{x}_{\nu}^{*}-\overline{\hat{x}}^{*}\|\to 0 and z^()νz^¯()0\|\hat{z}^{*}(\cdot)_{\nu}-\overline{\hat{z}}^{*}(\cdot)\|\to 0 for ν\nu\to\infty.

Due to the strict convexity of the first and second stage cost functions, the objective of (SPP) is strictly convex, so that when an optimal solution (x^,z^())(\hat{x}^{*},\hat{z}^{*}(\cdot)) exists, it is unique. Therefore, outer semicontinuity of the optimal primal solutions in ϵ\epsilon is equivalent to continuity in ϵ\epsilon. Since the equilibrium prices depend continuously on the primal solutions to (SPP), the prices themselves are continuous at any ϵ[0,1]\epsilon\in[0,1]. \hfill\blacksquare