350 ieee journal of photovoltaics, vol. 5, no. 1, …related prior works include, e.g., [17], where...

10
350 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, JANUARY 2015 Optimal Dispatch of Residential Photovoltaic Inverters Under Forecasting Uncertainties Emiliano Dall’Anese, Member, IEEE, Sairaj V. Dhople, Member, IEEE, Brian B. Johnson, Member, IEEE, and Georgios B. Giannakis, Fellow, IEEE Abstract—Efforts to ensure reliable operation of existing low- voltage distribution systems with high photovoltaic (PV) genera- tion have focused on the possibility of inverters providing ancil- lary services such as active power curtailment and reactive power compensation. Major benefits include the possibility of averting overvoltages, which may otherwise be experienced when PV gen- eration exceeds the demand. This paper deals with ancillary ser- vice procurement in the face of solar irradiance forecasting errors. In particular, assuming that forecasted PV irradiance can be de- scribed by a random variable with known (empirical) distribution, the proposed uncertainty-aware optimal inverter dispatch (OID) framework indicates which inverters should provide ancillary ser- vices with a guaranteed a priori risk level of PV generation sur- plus. To capture forecasting errors and strike a balance between risk of overvoltages and (re)active power reserves, the concept of conditional value-at-risk is advocated. Due to AC power balance equations and binary inverter selection variables, the formulated OID involves the solution of a nonconvex mixed-integer nonlin- ear program. However, a computationally affordable convex relax- ation is derived by leveraging sparsity-promoting regularization approaches and semidefinite relaxation techniques. Index Terms—Conditional value-at-risk (CVaR), distribution networks, forecasting errors, inverter control, microgrids, optimal power flow (OPF), photovoltaic (PV) systems, voltage regulation. I. INTRODUCTION D EPLOYMENT of photovoltaic (PV) systems in residen- tial settings promises a multitude of environmental and economic advantages, including a sustainable capacity expan- sion of distribution systems. However, a unique set of challenges related to power quality, efficiency, and reliability may emerge, especially when an increased number of PV systems are de- ployed in existing distribution networks, and operate according to current practices [1], [2]. One challenge is associated with overvoltages when PV generation exceeds demand [3]. To ensure reliable operation of existing distribution feed- ers even during peak PV generation hours, recent efforts have Manuscript received June 30, 2014; revised September 22, 2014; accepted October 15, 2014. Date of publication November 20, 2014; date of current version December 18, 2014. This work was supported by the Institute of Renewable Energy and the Environment under Grant RL-0010-13, University of Minnesota, by the Laboratory Directed Research and Development Program at the National Renewable Energy Laboratory, and by the National Science Foundation under Grant CCF 1423316 and Grant CyberSEES 1442686. E. Dall’Anese, S. V. Dhople, and G. B. Giannakis are with the De- partment of Electrical and Computer Engineering and the Digital Technol- ogy Center, University of Minnesota, Minneapolis, MN 55455 USA (e-mail: [email protected]; [email protected]; [email protected]). B. B. Johnson is with the National Renewable Energy Laboratory, Golden, CO 80401 USA (e-mail: [email protected]). Color versions of one or more of the figures in this paper are available online at http://ieeexplore.ieee.org. Digital Object Identifier 10.1109/JPHOTOV.2014.2364125 focused on the possibility of inverters providing ancillary ser- vices [4]–[6]. For instance, reactive power compensation ap- proaches have been recognized as a viable option to effect volt- age regulation at the medium-voltage distribution level [7]–[9]. The amount of reactive power injected or absorbed by inverters can be computed based on either local droop-type proportional laws [7], [8] or optimal power flow (OPF) strategies [9]. Either way, voltage regulation with this approach comes at the expense of low power factors at the substation and high network cur- rents, with the latter leading to high power losses in the network [3]. Alternative approaches rely on operating inverters at unity power factor, while curtailing part of the available active power [3], [10]. Active power curtailment strategies are particularly ef- fective when overhead lines in low-voltage portions of distribu- tion feeders have high resistance-to-inductance ratios; in fact, in this case, voltage magnitudes are more sensitive to variations in the active power injections. An optimal inverter dispatch (OID) framework was proposed in [11] to set both active and reactive power setpoints so that the network operation is optimized ac- cording to chosen criteria (e.g., minimizing power losses) while ensuring voltage regulation and adhering to other electrical constraints. The approaches in [3] and [7]–[12] are suitable for real-time network control, where the setpoints of the inverters scheduled to provide ancillary services are fine-tuned based on instanta- neous load measurements and prevailing ambient conditions. Distinct from [3] and [7]–[12], the problem of ancillary service procurement is considered in this paper. Specifically, ancillary service procurement refers here to the task of scheduling the inverters that will be required to provide ancillary services (in, e.g., minute-, hour-, or day-ahead markets [5], [6]), as well as quantifying both reactive reserves of the selected inverters and the active powers that inverters may be required to curtail. In this case, system operators cannot solely rely on the expected ir- radiance conditions to quantify the amount of ancillary services to provision, and irradiance forecasting errors must be taken into account. In fact, an excess of generation (compared with the expected one) may require additional inverters other than the ones scheduled (without accounting for forecasting errors) to provide ancillary services in order to avoid overvoltages. The OID framework recently proposed in [11] is consid- erably broadened here by leveraging tools from risk-aware portfolio optimization to account for solar irradiance forecast- ing errors. Distinct from the real-time optimization method in [11], the approach developed in this paper enables effective provisioning of ancillary services in minute-, hour-, and day- ahead markets [5], [6], by identifying the subset of critical PV 2156-3381 © 2014 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications standards/publications/rights/index.html for more information.

Upload: others

Post on 27-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 350 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, …Related prior works include, e.g., [17], where chance-constrained OPF approaches were considered for high-voltage transmission

350 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, JANUARY 2015

Optimal Dispatch of Residential PhotovoltaicInverters Under Forecasting Uncertainties

Emiliano Dall’Anese, Member, IEEE, Sairaj V. Dhople, Member, IEEE, Brian B. Johnson, Member, IEEE,and Georgios B. Giannakis, Fellow, IEEE

Abstract—Efforts to ensure reliable operation of existing low-voltage distribution systems with high photovoltaic (PV) genera-tion have focused on the possibility of inverters providing ancil-lary services such as active power curtailment and reactive powercompensation. Major benefits include the possibility of avertingovervoltages, which may otherwise be experienced when PV gen-eration exceeds the demand. This paper deals with ancillary ser-vice procurement in the face of solar irradiance forecasting errors.In particular, assuming that forecasted PV irradiance can be de-scribed by a random variable with known (empirical) distribution,the proposed uncertainty-aware optimal inverter dispatch (OID)framework indicates which inverters should provide ancillary ser-vices with a guaranteed a priori risk level of PV generation sur-plus. To capture forecasting errors and strike a balance betweenrisk of overvoltages and (re)active power reserves, the concept ofconditional value-at-risk is advocated. Due to AC power balanceequations and binary inverter selection variables, the formulatedOID involves the solution of a nonconvex mixed-integer nonlin-ear program. However, a computationally affordable convex relax-ation is derived by leveraging sparsity-promoting regularizationapproaches and semidefinite relaxation techniques.

Index Terms—Conditional value-at-risk (CVaR), distributionnetworks, forecasting errors, inverter control, microgrids, optimalpower flow (OPF), photovoltaic (PV) systems, voltage regulation.

I. INTRODUCTION

D EPLOYMENT of photovoltaic (PV) systems in residen-tial settings promises a multitude of environmental and

economic advantages, including a sustainable capacity expan-sion of distribution systems. However, a unique set of challengesrelated to power quality, efficiency, and reliability may emerge,especially when an increased number of PV systems are de-ployed in existing distribution networks, and operate accordingto current practices [1], [2]. One challenge is associated withovervoltages when PV generation exceeds demand [3].

To ensure reliable operation of existing distribution feed-ers even during peak PV generation hours, recent efforts have

Manuscript received June 30, 2014; revised September 22, 2014; acceptedOctober 15, 2014. Date of publication November 20, 2014; date of currentversion December 18, 2014. This work was supported by the Institute ofRenewable Energy and the Environment under Grant RL-0010-13, Universityof Minnesota, by the Laboratory Directed Research and Development Programat the National Renewable Energy Laboratory, and by the National ScienceFoundation under Grant CCF 1423316 and Grant CyberSEES 1442686.

E. Dall’Anese, S. V. Dhople, and G. B. Giannakis are with the De-partment of Electrical and Computer Engineering and the Digital Technol-ogy Center, University of Minnesota, Minneapolis, MN 55455 USA (e-mail:[email protected]; [email protected]; [email protected]).

B. B. Johnson is with the National Renewable Energy Laboratory, Golden,CO 80401 USA (e-mail: [email protected]).

Color versions of one or more of the figures in this paper are available onlineat http://ieeexplore.ieee.org.

Digital Object Identifier 10.1109/JPHOTOV.2014.2364125

focused on the possibility of inverters providing ancillary ser-vices [4]–[6]. For instance, reactive power compensation ap-proaches have been recognized as a viable option to effect volt-age regulation at the medium-voltage distribution level [7]–[9].The amount of reactive power injected or absorbed by inverterscan be computed based on either local droop-type proportionallaws [7], [8] or optimal power flow (OPF) strategies [9]. Eitherway, voltage regulation with this approach comes at the expenseof low power factors at the substation and high network cur-rents, with the latter leading to high power losses in the network[3]. Alternative approaches rely on operating inverters at unitypower factor, while curtailing part of the available active power[3], [10]. Active power curtailment strategies are particularly ef-fective when overhead lines in low-voltage portions of distribu-tion feeders have high resistance-to-inductance ratios; in fact, inthis case, voltage magnitudes are more sensitive to variations inthe active power injections. An optimal inverter dispatch (OID)framework was proposed in [11] to set both active and reactivepower setpoints so that the network operation is optimized ac-cording to chosen criteria (e.g., minimizing power losses) whileensuring voltage regulation and adhering to other electricalconstraints.

The approaches in [3] and [7]–[12] are suitable for real-timenetwork control, where the setpoints of the inverters scheduledto provide ancillary services are fine-tuned based on instanta-neous load measurements and prevailing ambient conditions.Distinct from [3] and [7]–[12], the problem of ancillary serviceprocurement is considered in this paper. Specifically, ancillaryservice procurement refers here to the task of scheduling theinverters that will be required to provide ancillary services (in,e.g., minute-, hour-, or day-ahead markets [5], [6]), as well asquantifying both reactive reserves of the selected inverters andthe active powers that inverters may be required to curtail. Inthis case, system operators cannot solely rely on the expected ir-radiance conditions to quantify the amount of ancillary servicesto provision, and irradiance forecasting errors must be takeninto account. In fact, an excess of generation (compared withthe expected one) may require additional inverters other thanthe ones scheduled (without accounting for forecasting errors)to provide ancillary services in order to avoid overvoltages.

The OID framework recently proposed in [11] is consid-erably broadened here by leveraging tools from risk-awareportfolio optimization to account for solar irradiance forecast-ing errors. Distinct from the real-time optimization method in[11], the approach developed in this paper enables effectiveprovisioning of ancillary services in minute-, hour-, and day-ahead markets [5], [6], by identifying the subset of critical PV

2156-3381 © 2014 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.See http://www.ieee.org/publications standards/publications/rights/index.html for more information.

Page 2: 350 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, …Related prior works include, e.g., [17], where chance-constrained OPF approaches were considered for high-voltage transmission

DALL’ANESE et al.: OPTIMAL DISPATCH OF RESIDENTIAL PHOTOVOLTAIC INVERTERS UNDER FORECASTING UNCERTAINTIES 351

inverters that will strongly impact both voltages and networkperformance objectives and quantifying the amount of ancillaryservices that should be secured from each of the selected PVinverters. Specifically, for a given distribution of forecasting er-rors, the novel uncertainty-aware OID returns the amount ofactive power that can be curtailed in order to ensure voltageregulation with arbitrarily high probability and the amount ofreactive power necessary to fulfill additional objectives. Theproposed scheme is grounded on an AC power flow model,and it involves the solution of an OPF-type problem encapsu-lating well-defined performance criteria and operational con-straints. To capture forecasting errors, the conditional value-at-risk (CVaR) is advocated [13], [14] and utilized to trade offrisks of overvoltage conditions for active power curtailment andreactive power compensation capabilities. Further, the resultantuncertainty-aware OID scheme involves the solution of a convexprogram and handles arbitrary probability distributions for theforecasting errors [15], [16].

Related prior works include, e.g., [17], where chance-constrained OPF approaches were considered for high-voltagetransmission systems with uncertain wind generation; a DCpower flow approximation was utilized, along with Gaussian-distributed wind forecasting errors. Multiperiod DC OPF wasconsidered in, e.g., [18] and [19], where generation uncertaintywas accounted for, while computing the schedule for control-lable devices that minimize the expected operating costs. Upperbounds on the chance constraints based on, e.g., Markov andChebyshev inequalities were explored in [19]. Finally, exten-sions to the unit commitment problem can be found in [20]. Atthe distribution level, a chance-constrained DC OPF formula-tion was developed in [21] to mitigate the effects of Gaussian-distributed forecasting errors on line currents and voltages.However, the dc power flow approximation may not be suitablefor low-voltage resistive networks. Additional distributions forthe renewable generation were considered in [22], where a non-convex chance-constrained AC OPF was formulated, and solvedvia off-the-shelf routines for nonlinear (nonconvex) programs.An economic dispatch problem in the presence of uncertainwind generation was proposed in [23]; in lieu of chance con-straints, the cost of the problem was regularized with CVaR-typeterms capturing the risk of generation shortage.

The remainder of this paper is organized as follows. Systemmodeling is outlined in Section II, along with an overview ofthe OID with perfect knowledge of solar irradiance [11]. Basicsof CVaR are provided in Section III-A, whereas the uncertainty-aware OID is outlined in Section III-B. Case studies are dis-cussed in Section IV, while Section V concludes this paper.1

1Notation: Uppercase (lowercase) boldface letters will be used for matrices(column vectors); (·)T for transposition; (·)∗ complex-conjugate; and, (·)H

complex-conjugate transposition; �{·} and �{·} denote the real and imaginaryparts of a complex number, respectively; j :=

√−1 the imaginary unit. R+ :=

{x ∈ R : x ≥ 0}; Tr(·) the matrix trace; rank(·) the matrix rank; | · | denotes themagnitude of a number or the cardinality of a set; ‖v‖2 :=

√vHv; and ‖ · ‖F

stands for the Frobenius norm. For any x ∈ R, [x]+ := max{0, x}. I{A } is theindicator function (i.e., I{A } = 1 if event A is true, and 0 otherwise). Finally,IN denotes the N × N identity matrix, and 0M and 1M the M × 1 vectorswith all zeroes and ones, respectively.

Fig. 1. Feasible operating regions for the hth inverter with apparent powerrating Sh under (a) reactive power control, (b) active power curtailment,(c) OID with joint control of real and reactive power, and (d) OID with alower bound on power factor [11].

II. PRELIMINARIES

A. Network and Inverter Models

Consider a distribution system comprising N + 1 nodes col-lected in the set N := {0, 1, . . . , N} (node 0 denotes the sec-ondary of the step-down transformer), and lines represented bythe set of edges E := {(m,n)} ⊂ N ×N . Subsets U ,H ⊂ Ncollect nodes corresponding to utility poles and households withinstalled PV inverters, respectively. For simplicity of exposition,a balanced system is considered; however, the framework pro-posed subsequently can be extended to unbalanced multiphasesystems following the method in [24].

Let Vn ∈ C and In ∈ C denote the phasors for the line-to-ground voltage and the current injected at node n ∈ N , re-spectively, and define i := [I0 , I1 , . . . , IN ]T ∈ CN +1 and v :=[V0 , V1 , . . . , VN ]T ∈ CN +1 . Using Ohm’s and Kirchhoff’s cir-cuit laws, the linear relationship i = Yv can be established,where the system admittance matrix Y ∈ CN +1×N +1 is formedbased on the system topology and the π-equivalent circuits of thelines (m,n) ∈ E ; see, e.g., [11], [24], and [25]. A constant PQmodel [26] is adopted for the load, with P�,h and Q�,h denotingthe active and reactive demands at node h ∈ H, respectively(clearly, P�,h = Q�,h = 0 for all h ∈ U).

For given solar irradiation conditions, let P avh denote the

available active power from the PV array at node h ∈ H. Fol-lowing business-as-usual practices [2], grid-tied inverters op-erate at the unity-power-factor setpoint (P av

h , 0). To addressemerging overvoltage and power quality concerns [1], invert-ers may be called upon to provide ancillary services [4], [5].These include, e.g., Volt/VAR support [7]–[9] and active powercurtailment [3], with the allowed inverter operating regime onthe complex-power plane illustrated in Fig. 1(a) and (b), respec-tively. The OID framework in [11] offers increased flexibilityover Volt/VAR support and active power curtailment, by invok-ing a joint control of real and reactive powers produced by PVinverters. In particular, the allowed operating regime for the PVinverter at household h is illustrated in Fig. 1(d) and describedby

FOIDh (P av

h ) :=

⎧⎪⎨

⎪⎩Pc,h ,Qc,h :

0 ≤ Pc,h ≤ P avh

Q2c,h ≤ S2

h − (P avh − Pc,h)2

|Qc,h | ≤ tan θ(P avh − Pc,h)

⎫⎪⎬

⎪⎭

Page 3: 350 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, …Related prior works include, e.g., [17], where chance-constrained OPF approaches were considered for high-voltage transmission

352 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, JANUARY 2015

where Pc,h is the active power curtailed, Qc,h is the reactivepower injected (Qc,h > 0) or absorbed (Qc,h < 0), and Sh is theapparent power rating. In the absence of minimum power factorconstraints (i.e., θ = π/2), the operating region corresponds tothe one in Fig. 1(c).

B. Optimal Inverter Dispatch With Known Available Powers

An overview of the OID with perfect knowledge of {P avh }h∈H

is provided next, to lay the foundation for the uncertainty-awareframework outlined in Section III.

For given available powers {P avh }h∈H, the objective of the

OID is to identify the critical inverters that should be dispatchedin order to ensure electrical network constraints, and to computetheir optimal steady-state active/reactive power setpoints. To thisend, let zh be a binary optimization variable indicating whetherPV inverter h provides ancillary services (zh = 1) or not (zh =0), and let pc ∈ R|H|

+ , qc ∈ R|H| be vectors collecting the activepowers curtailed and the reactive powers injected/absorbed bythe inverters. Further, let C(v,pc) be a given cost functioncapturing network- and customer-oriented objectives [11]; forinstance, C(v,pc) may account for active power losses in thenetwork and possible costs associated with active power setpoints [5]. With these definitions, a rendition of the OID task isformulated as

minv ,i,pc ,qc ,{zh }

C(v,pc) + cz

h∈Hzh (1a)

subject to i = Yv, {zh} ∈ {0, 1}|H| , and

VhI∗h = (P avh − Pc,h − P�,h) + j(Qc,h − Q�,h) (1b)

VnI∗n = 0 ∀n ∈ U (1c)

V min ≤ |Vn | ≤ V max ∀n ∈ N (1d)

(Pc,h ,Qc,h) ∈{{(0, 0)}, if zh = 0

FOIDh , if zh = 1

∀h ∈ H (1e)

where the balance constraint (1b) is enforced at each nodeh ∈ H; (1e) indicates which inverters have to be dispatched(i.e., (Pc,h ,Qc,h) ∈ FOID

h ) or operate in the business-as-usualmode (i.e., (Pc,h ,Qc,h) = (0, 0)), and the constraint on V0 isleft implicit. Finally, cz ∈ R+ is a weighting coefficient, whichis used to trade off achievable cost C(v,pc) for the numberof controlled inverters. When cz represents a fixed reward forcustomers providing ancillary services [5] and C(v,pc) modelscosts associated with active power losses and active power setpoints, OID (1) returns the inverter setpoints that minimize theeconomic cost incurred by the feeder operation. Relevant con-straints for the step-down transformer (i.e., voltage magnitudeand minimum power factor) are left implicit.

Unfortunately, problem (1) is nonconvex, and it contains bi-nary variables; thus, it is challenging to solve optimally and effi-ciently, even by utilizing off-the-shelf solvers for mixed-integernonlinear programs. Nevertheless, a computationally affordableconvex reformulation was introduced in [11], by leveraging con-temporary sparsity-promoting regularization [27] and semidefi-nite relaxation (SDR) techniques [24], [25], as summarized next.

To address the nonconvexity of constraints (1b)–(1d), con-sider expressing powers and voltage magnitudes as linear func-tions of the outer product complex Hermitian matrix V := vvH

and to reformulate the OID problem with cost and constraintsthat are linear functions of V. Specifically, define the matrixYn := eneT

nY per node n, where {en}n∈N denotes the canon-ical basis of R|N |. Further, based on Yn , define also the Hermi-tian matrices An := 1

2 (Yn + YHn ), Bn := j

2 (Yn − YHn ), and

Mn := eneTn . Then, the node balance constraints for active and

reactive powers can be equivalently expressed as Tr(AhV) =P av

h − Pc,h − P�,h and Tr(BhV) = Qc,h − Q�,h , respectively.Similarly, constraint (1d) can be equivalently expressed asV 2

min ≤ Tr(MnV) ≤ V 2max . The technical constraints V � 0

and rank(V) = 1 need to be added to ensure recoverability ofthe voltage vector v [24], [25]. The only source of nonconvexityis now constraint rank(V) = 1; however, in the spirit of SDR,this constraint can be dropped. If the optimal solution of therelaxed problem has rank 1, then the resultant power flows areglobally optimal for given inverter setpoints.

As for the binary variables {zh}, notice first that if PV in-verter h is not selected for ancillary services, one has thatPc,h = Qc,h = 0 [cf., (1e)]. Thus, assuming that only a sub-set of PV inverters may need to be controlled in order to ensureelectrical network constraints and minimize (1a), one has thatthe 2|H| × 1 real-valued vector [pT

c ,qTc ]T is group sparse [27],

that is, either the 2 × 1 subvectors [Pc,h ,Qc,h ]T equal to 0, ornot. In lieu of binary variables, this group-sparsity attribute en-ables PV inverter selection by regularizing the cost in (1) withthe following group-sparsity-promoting function:

G(pc ,qc) := cz

h∈H‖[Pc,h ,Qc,h ]‖2 . (2)

Leveraging these tools, a relaxation of the OID problem isobtained as

minV ,pc ,qc

C(V,pc) + G(pc ,qc) (3a)

s. to V � 0, and

Tr(AhV) = −P�,h + P avh − Pc,h ∀h ∈ H (3b)

Tr(BhV) = −Q�,h + Qc,h ∀h ∈ H (3c)

Tr(AnV) = 0, Tr(BnV) = 0 ∀n ∈ U (3d)

V 2min ≤ Tr(MnV) ≤ V 2

max ∀n ∈ N (3e)

(Pc,h ,Qc,h) ∈ FOIDh (P av

h ) ∀h ∈ H. (3f)

Problem (3) is convex and can be readily reformulated in astandard semidefinite programming (SDP) form by resorting tothe epigraph forms of G(pc ,qc) and C(V,pc) [28], as wellas the linear matrix inequality form of Q2

c,h ≤ S2h − (P av

h −Pc,h)2 obtainable by using the Shur complement.

When the distribution system is balanced and radial, sufficientconditions for obtaining a rank-1 solution in SDR-based OPF-type reformulations are available in [29] and [30], and they canbe conveniently tailored to (3); for example, one requirementis that the cost (3a) is increasing in the injected active powers.What is more, constraint V � 0 can be equivalently rewritten

Page 4: 350 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, …Related prior works include, e.g., [17], where chance-constrained OPF approaches were considered for high-voltage transmission

DALL’ANESE et al.: OPTIMAL DISPATCH OF RESIDENTIAL PHOTOVOLTAIC INVERTERS UNDER FORECASTING UNCERTAINTIES 353

as V(i,j ) � 0,∀ (i, j) ∈ E , with V(i,j ) denoting the 2 × 2submatrix of V corresponding to nodes i and j. Since |Vn | > 0for all nodes, one has that each constraint V(i,j ) � 0 can befurther reexpressed as (Vij is the (i, j)th entry of V)

Vii > 0, Vjj > 0, Vij = V∗j i , and |Vij |2 − ViiVjj ≤ 0

which is a second-order cone constraint. Thus, for radial andbalanced topologies, (3) can be transformed into a second-ordercone program, with due computational advantages. The worst-case complexity of an SDP is on the order O(N 4.5

v log(1/ε))for general-purpose solvers, with Nv denoting the total numberof variables in the problem, and ε > 0 a given solution accuracy[28], [31]. The worst-case complexity of a second-order coneprogram is on the order of O(N 3

v log(1/ε)) [31]. Notice, how-ever, that sparsity in {An ,Bn ,Mn} and the chordal structureof the underlying electrical graph can be exploited to devise cus-tomized solvers with reduced computational burden (see, e.g.,[32]). Finally, extensions of (3) to multiphase unbalanced distri-bution systems can be derived by following the method in [24].

Remark (ZIP load model). A constant power load model isutilized in the OID (1). However, the OID formulation can bebroadened to account for constant-impedance, constant-current,and constant-power load components (i.e., the so-called ZIPmodel [33]) by following the method in [34]. For constant-impedance loads, the demands are proportional to the voltagemagnitude squared; thus, they can be easily incorporated in (3).On the other hand, since constant-current loads are functions ofthe voltage magnitudes, appropriate reformulations of (3) arerequired. In particular, [34] suggest replacing matrix V withV := vvH, where the voltage-related vector v is defined asv := [1,vT]T (clearly, matrices An , Bn , and Mn are redefinedaccordingly). In this case, it may not be possible to find a rank-1matrix V, although the obtained solution yields a reasonablygood approximation of the constant current loads; for moredetails, see the discussion provided in [34].

III. INVERTER DISPATCH UNDER FORECASTING ERRORS

For given available powers {P avh }h∈H, the OID task (3) iden-

tifies the inverters that must provide ancillary services in or-der to avoid overvoltage conditions [cf., (3e)] and computesthe steady-state setpoints that minimize the selected operationaland economic objectives [cf., (3a)]. This approach is suitable forreal-time network operation, based on instantaneous measure-ments of loads and available powers. On the other hand, solarirradiance forecasting errors must be taken into account whenOID is utilized for ancillary-services procurement, in either day-ahead or hour-ahead ancillary service markets [5], [6]. In thiscase, system operators cannot rely on the expected value of theactive power available from the PV array to quantify the amountof ancillary services to provision. In fact, an excess of genera-tion (compared with the expected one) may require additionalinverters other than the ones scheduled without accounting forforecasting errors to deviate from the business-as-usual setpoint[1], [2].

In the remainder of this section, the so-called CVaR willbe utilized to capture the risk of excess in the active power

generation and subsequently proactively select the inverters thatwill be required to provide ancillary services.

A. Overview of the Conditional Value-at-Risk Approach

An overview of the value-at-risk (VaR) and CVaR—measurestypically considered in risk-aware portfolio optimization [14]—is given in this section. These tools will be utilized to formulatethe uncertainty-aware OID in Section III-B.

Suppose pav := [P av1 , . . . , P av

|H|]T is a real-valued random

vector, and let ρ(pav ) denote its probability density function.Assume that ρ(pav) is known (or an empirical estimate is avail-able [15], [16]) and supported on a closed and bounded setD ⊂ R|H|. For example, in the context of solar irradiance fore-casting, a viable choice for ρ(pav) would be a truncated mul-tivariate Gaussian distribution, as described in [15]. See also,e.g., [16] for additional models for ρ(pav ) in the context of solarirradiance forecasting.

Let r : R|H| × D → R be a real-valued function of both therandom vector pav and the vector of presumed powers d ∈R|H|. In particular, let r(d,pav ) =

∑h∈H[P av

h − dh ]+ capturepossible excess of power generation during hours with high andyet uncertain generation (and, hence, the risk of overvoltagesthroughout the distribution feeder).2 Henceforth, r(d,pav ) willbe referred to as the surplus generation function. Notice thatr(d,pav ) takes positive values only when P av

h > dh for at leastone inverter. For a given vector d, r(d,pav ) is a random variablewith cumulative distribution function

Ψr (d, α) : = Pr{r(d,pav ) ≤ α}

=∫

DI{r(d,p)≤α}ρ(p)dp. (4)

Notice that Ψr (d, α) is continuous from the right (but not nec-essarily from the left), nondecreasing in α, and parameterizedby d [14]. Intuitively, Ψr (d, α) quantifies the probability of theactual available power exceeding the presumed value d. Basedon (4), the VaR and CVaR measures are defined next (see [13]and [14] for additional details).

For a user-prescribed probability level β ∈ (0, 1), the cor-responding VaR, denoted as αβ , associated with the randomsurplus generation function r(d,pav ), is the left endpoint ofthe nonempty interval collecting the values of α for whichΨr (d, α) = β; i.e.,

αβ (d) := inf {α ∈ R : Ψr (d, α) ≥ β} . (5)

For any d, the CVaR, denoted as φβ (d), is the expected valueof the surplus generation function when considering entries thatare greater than or equal to αβ (d):

φβ (d) :=1

1 − β

DI{r(d,p)≥αβ (d)}r(d,p)ρ(p)dp. (6)

2Another viable choice is r(d, pav ) = [∑

h∈H(P avh − dh )]+ , that is, the

network-wide surplus of active power. However, r(d, pav ) =∑

h∈H[P avh −

dh ]+ captures local (as opposed to network-wide) random changes in the activepower injections, and it is, therefore, a more suitable indicator for the risk ofhigh active power flows in sections of the feeder.

Page 5: 350 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, …Related prior works include, e.g., [17], where chance-constrained OPF approaches were considered for high-voltage transmission

354 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, JANUARY 2015

Fig. 2. Illustrative example of the CVaR associated with function r(d, pav ).

In other words, in the (1 − β) percent of cases wherer(d,pav ) =

∑h∈H[P av

h − dh ]+ ≥ αβ (d), the CVaR φβ (d)quantifies the expected amount of available active power fur-ther exceeding αβ (d). An illustrative example of the VaR andCVaR associated with a random function r(d,pav ) is providedin Fig. 2; in this example, the probability density function ofr(d,pav ) is a truncated Gaussian. The CVaR is typically pre-ferred over VaR as a risk measure, since it is coherent (in fact,VaR violates subadditivity—one of the properties of a coherentmeasure [13]).

Key to utilizing CVaR as a performance objective in risk-aware optimization tasks is the link established in [14] betweenφβ (d) and the following real-valued function:

Rβ (α,d) := α +1

(1 − β)

D[r(d,p) − α]+ ρ(p)dp. (7)

Specifically, [14, Th. 1] asserts the following three facts:(F1) Rβ (α,d) is convex and continuously differentiable

in α. (F2) For any d ∈ R|H|, the CVaR φβ (d) represents theminimum value of Rβ (α,d), that is

φβ (d) = minα∈R

Rβ (α,d). (8)

(F3) The set of minimizers

Aβ (d) := arg minα∈R

Rβ (α,d) (9)

is closed and bounded, and the VaR αβ (d) is the left endpointof this interval.

An advantage of the integral function (7) is that an empiri-cal estimate of Rβ (α,d) can be obtained via sample averaging.This is especially useful in cases when the integral in (7) can-not be evaluated in closed form. For instance, given S MonteCarlo samples, {pav [s] ∈ D}S

s=1 , of the random vector pav , adistribution-free approximation of Rβ (α,d) is given by

Rβ (α,d) = α +1

S(1 − β)

S∑

s=1

[r(d,pav [s]) − α]+ (10)

and for a sufficiently high number of samples S, almost sure con-vergence of Rβ (α,d) to Rβ (α,d) is guaranteed by the (strong)law of large numbers. Compared with (7), the sample averageRβ (α,d) is not differentiable due to the projection operator[·]+ . However, this hurdle can be easily overcome by resortingto the epigraph form of Rβ (α,d) [35].

To consider Rβ (α,d) (or, its epigraph form) in multiobjectiveoptimization problems, convexity with respect to (wrt) both αand d is desirable. To this end, the following claims establishedin [14, Th. 2] can be conveniently leveraged.

(C1) If function r(d,p) is convex in d, then Rβ (α,d) isjointly convex in d and α, and φβ (d) is convex in d.

(C2) The following equality holds:

mind∈R|H|

φβ (d) = mind∈R|H|,α∈R

Rβ (α,d) (11)

and d and α are minimizers of Rβ (α,d) if and only if d isa minimizer of φβ (d) and α ∈ Aβ (d).

Claim (C2) asserts that minimizing the CVaR wrt to thevariables d is equivalent to jointly minimizing Rβ (α,d) (andthus Rβ (α,d)) over d and α, with the VaR α coming out asa byproduct. This feature will be exploited in the risk-awareOID framework outlined next, where d represents the vector ofpresumed available powers associated with a given CVaR.

B. Risk-Aware Inverter Dispatch

For r(d,pav ) =∑

h∈H[P avh − dh ]+ , function Rβ (α,d) is

jointly convex in d and α by virtue of (C1). Further, givenS independent samples {pav [s] ∈ D}S

s=1 , an approximation ofRβ (α,d) is given by [cf., (10)]

Rβ (α,d) = α +1

S(1 − β)

S∑

s=1

[∑

h∈H[P av

h [s] − dh ]+ − α

]

+

.

(12)

Thus, given β and the Monte Carlo samples {pav [s] ∈D}S

s=1 , the objective of the risk-aware OID problem is to jointlyminimize the OID objective (3a) under the presumed availablepower levels d, as well as the risk of additional available powersurplus, subject to the AC power flow and OID-related inverterconstraints, that is

minV ,pc ,qc ,d,α

C(V,pc ,d) + G(pc ,qc) + cRRβ (α,d) (13a)

s. to V � 0, and

Tr(AhV) = −P�,h + dh − Pc,h ∀h ∈ H (13b)

Tr(BhV) = −Q�,h + Qc,h ∀h ∈ H (13c)

Tr(AnV) = 0, Tr(BnV) = 0 ∀n ∈ U (13d)

V 2min ≤ Tr(MnV) ≤ V 2

max ∀n ∈ N (13e)

(Pc,h ,Qc,h) ∈ FOIDh (dh) ∀h ∈ H (13f)

d ∈ D (13g)

where cR ∈ R+ is a predetermined parameter, which is usedto trade off achievable CVaR values for OID objectives at theβ-risk level. Problem (13) is convex and can be restated in eitherstandard SDP form by using the epigraph form of (13a) [28] orin standard SOCP form for systems that are radial and balanced.

To appreciate the usefulness of the CVaR risk measure, sup-pose that for given β, it turns out that at least H < |H| invertersare required to curtail at most {Pc,h} W, in order to ensurevoltage regulation in the β percent of the cases, that is, when-ever

∑h∈H[P av

h − dh ]+ ≤ αβ (d). Then, minimizing the CVaRφβ (d) is equivalent to minimizing the additional amount ofactive powers that inverters may be required to curtail in caseof unexpected overgeneration (i.e., when

∑h∈H[P av

h − dh ]+ ≥

Page 6: 350 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, …Related prior works include, e.g., [17], where chance-constrained OPF approaches were considered for high-voltage transmission

DALL’ANESE et al.: OPTIMAL DISPATCH OF RESIDENTIAL PHOTOVOLTAIC INVERTERS UNDER FORECASTING UNCERTAINTIES 355

αβ (d)), or, minimizing the number of additional inverters thatmay be called upon to provide ancillary services. Elaborat-ing further on the impacts of uncertainties on the system op-erational costs, suppose that function C(V,pc ,d) is set toC(V,pc ,d) = cL (1T

|H|(d − pc) + P0) + cP 1T|H|pc , where the

first term captures the cost incurred by power losses in the net-work, the available powers are d, and the second term modelsthe cost of active power that can be curtailed (see, e.g., [5]). Fur-ther, recall that G(pc ,qc) accounts for possible fixed rewardsfor customers when their inverters are called upon to provideancillary reserves. If cR quantifies the economic loss incurred byovervoltages, then (13a) strikes a balance between system oper-ational costs when operated at a risk level β and the economicloss that the system may incur in case of unexpected generationsurplus. Section IV will elaborate further on how to trade offCVaR for the amount of ancillary services to be provisioned.

To restate (13) in a standard SDP form (similar stepscan be followed for the SOCP case), assume for simplic-ity that C(V,pc ,d) is linear in its arguments. Consider thenintroducing the nonnegative auxiliary vector variable z :=[z1 , . . . , z|H|]T, replace G(pc ,qc) with cz1T

|H|z in (13a), and addconstraints ‖[Pc,h ,Qc,h ]‖2 ≤ zh , for all h ∈ H. Then, by intro-ducing auxiliary variables y ∈ RS and {us ∈ R|H|}S

s=1 to upperbound the projection terms [14] and by using the Schur com-plement to convert quadratic and conic constraints into linearinequality constraints [28], (13) can be restated in the followingstandard SDP form:

minV , pc , qc , d

α, y � 0, us � 0z � 0

C(V,pc ,d) + cz1T|H|z + cRα +

cR

S(1 − β)1T

Sy

(14a)

s. to V � 0, (13b)–(13e), and⎡

⎢⎣

zh 0 Pc,h

0 zh Qc,h

Pc,h Qc,h zh

⎥⎦ � 0 ∀h ∈ H (14b)

⎢⎣

−S2h Qc,h dh − Pc,h

Qc,h −1 0

dh − Pc,h 0 −1

⎥⎦ � 0 ∀h ∈ H (14c)

0 � pc � d (14d)

qc � tan θ(d − pc) (14e)

−qc � tan θ(d − pc) (14f)

1T|H|us ≤ α + ys ∀ s = 1, . . . , S (14g)

pav [s] − d � us ∀ s = 1, . . . , S (14h)

d ∈ D. (14i)

Remark (load uncertainty): Although this section focused onsolar irradiance forecasting errors, uncertainty in active and re-active household demands can also be accounted for in the risk-aware OID framework. For example, for the active power de-mand, function r(d,pav ) =

∑h∈H[P av

h − P�,h − (dh − �h)]+

can be utilized to capture surplus of net generated active powerthroughout the feeder, where both P av

h and P�,h are now ran-dom variables, and �h is the counterpart of dh for the demandedactive power. Then, the risk-aware OID problem is obtained byreplacing P�,h with �h in (13b). A similar procedure can befollowed for uncertain reactive loads.Remark (optimal solution): On par with [29], [30], for distri-bution feeders that are radial and balanced, the SDR (13) isexact when the following sufficient conditions are satisfied: s1)the cost function is increasing wrt the net active power injec-tion; s2) the voltage angle difference θik between nodes i andk is such that − tan−1(bik /gik ) ≤ θik ≤ tan−1(bik /gik ), withyik = gik + jbik the admittance of the line (i, j) ∈ E ; and s3)inverters are able to absorb a “sufficient” amount of reactivepower, with specific bounds quantified in [30, Th. 1]. Condi-tion s2 is typically satisfied in practice, since voltage angledifferences are small, condition s3 can be checked by inspect-ing FOID , and s1) can be satisfied by appropriate tuning of theproblem parameters. For unbalanced feeders as well as meshednetworks, efforts for finding sufficient conditions that ensureexactness of the SDR are still undergoing. However, the virtuesof SDR have been demonstrated in, e.g., [24] and [36].Remark (uncertainty in the temperature): The formulation (13)accounts for uncertainty in the available active power throughfunction Rβ (α,d). Accordingly, it would be straightforward totranslate forecasted irradiance and temperature values into fore-casted power values using standard models for PV modules andinverters (see, e.g., [37]), provided that the probability densityfunction of irradiance and temperature forecasting errors areavailable [cf., (7) and (12)].

IV. CASE STUDIES

To solve the OID problem, the distribution network operatorrequires 1) the Monte Carlo samples {pav [s] ∈ D}S

s=1 , based onthe distribution of the solar irradiation error [15]; 2) the networkadmittance matrix Y; 3) the probability level β; 4) the ratings{Sh}; and 5) the weighting coefficients cL , cP , cz , cR , whichmay be driven by ancillary service market strategies [5], [6]and/or security-oriented objectives. The optimization packageCVX3 is employed to solve the OID problem in MATLAB. In allthe presented tests, the rank of matrix V was always 1, implyingthat the SDR relaxation for the power flow equations is tight.

The distribution network in Fig. 3 is considered in the testcases, which is a larger version of the fishbone system utilized in[3], [11] to assess the impact of high PV generation in residentialsetups. The pole–pole distance is set to 30 m, while the lengths ofthe drop lines are set to 20 m. The values of the line impedancesare adopted from [3].

The 20 houses shown in Fig. 3 feature fixed roof-top PVsystems, with a DC–AC derating coefficient of 0.77. The DCratings of the houses are as follows: 5.52 kW for housesH1 ,H3 ,H6 ,H7 ,H8 ,H9 ,H11 ,H14 ,H16 , and H19 ; 8.00 kW forhouses H2 ,H10 ,H12 ,H13 ,H18 ,H20 ; and 5.70 kW for the re-maining houses. The minimum power factor for the inverters

3[Online] http://cvxr.com/cvx/

Page 7: 350 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, …Related prior works include, e.g., [17], where chance-constrained OPF approaches were considered for high-voltage transmission

356 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, JANUARY 2015

Fig. 3. Low-voltage residential network adopted for the case studies.

is set to 0.85, and it is assumed that the PV inverters are over-sized by 10% of their ac rating [7]. To account for forecastingerrors, the available powers are modeled as P av

h = P avh + Δh ,

with P avh the (known) forecasted value and Δh the (random)

forecasting error. The hourly forecasted values of the avail-able powers {P av

h } are computed using the System AdvisorModel4 of the National Renewable Energy Laboratory, basedon typical meteorological year data for Minneapolis, MN, dur-ing the month of July. Hourly PV generation in the intervalT := {6 AM, . . . , 8 PM} is considered. A zero-mean truncatedGaussian distribution is adopted for Δh , with truncation at the0.3th and 99.7th percentiles (see, e.g., [15]). Random variables{Δh} are correlated across houses, and an exponentially de-creasing correlation function E{ΔhΔh ′ } = σhσh ′e−d(h,h ′)/τ isused, where σh is the standard deviation of Δh , d(h, h′) thedistance between houses h and h′, and τ = 300 [m].

The residential load profile is obtained from the Open EnergyInfo database,5 and the “base load” experienced in downtownSaint Paul, MN, during the month of July is used for this testcase. To generate different load profiles, the base active powerprofile is perturbed using a truncated Gaussian random variablewith zero mean and standard deviation 200 W, and a powerfactor of 0.9 is presumed [3]. Finally, voltages V min and V max

are set to 0.917 and 1.042 p.u., respectively, in this case study(see e.g., page 11 of the CAN3-C235-83 standard). The voltageat the secondary of the transformer is set at 1.02 p.u., to ensure aminimum voltage magnitude of 0.917 p.u. when the PV invertersdo not generate power.

In the first setup, the standard deviation of the solarpower prediction error σh amounts to 10% of the fore-casted value [15] (that is, σh/P av

h = 0.1), S = 1000, β = 0.95,cz = 0.9 to capture fixed rewards when inverters are calledupon providing ancillary services; cost C(V,pc ,d) is set toC(V,pc ,d) = cL (1T

|H|(d − pc − p�) + P0) + cP 1T|H|pc , with

cL = 1 and cP = 0.5. The amount of active power that can becurtailed by each inverter during the day is illustrated in Fig. 4for cR = 0.01 (lower weight given to the CVaR) and cR = 10(low CVaR objectives). It can be clearly seen that the amount ofactive power provisioned from each inverter increases with theincreasing of cR , thus ensuring an enhanced system protectionagainst unexpected boosts in the solar irradiation. Clearly, theenhanced system protection comes at the expense of a higherreward for customers providing this ancillary service (modeled

4[Online] https://sam.nrel.gov/5[Online] http://en.openei.org/datasets/node/961

Fig. 4. Dispatched inverters: provisioned active power curtailment for (a)cR = 0.01 and (b) cR = 10.

TABLE IPROVISIONED ANCILLARY SERVICES FOR DIFFERENT RISK LEVELS

(β = 0.95, cL = 1, cP = 0.5, cz = 0.9)

P t o tc [kWh] Q t o t

c [kVAr] N t o t

No risk 27.83 4.65 44cR = 0.01 38.60 8.45 44cR = 0.1 40.26 8.53 56cR = 1 44.05 9.75 59cR = 10 79.15 14.83 86

by the term cP 1T|H|pc ). As observed also in [11], inverters with

higher ratings may be required to curtail more active power. Tofacilitate fairness among customers, the term ‖Πpc‖2 can beincluded in (13a), where Π := I|H| − 1

|H|1|H|×11T|H|×1 . Finally,

notice that for cR = 10, an increased number of inverters arerequired to curtail active power.

This trend is confirmed by the results reported in Table I,where P tot

c :=∑

t∈T∑

h∈H Pc,h(t) denotes the conglomerateactive power curtailment that is procured during the day, withPc,h(t) the amount of power that can be curtailed from inverterh at time t, Qtot

c :=∑

t∈T∑

h∈H |Qc,h(t)| the overall reactivepower procured for reactive support purposes, and N tot the totalnumber of inverters called upon providing ancillary servicesover T (out of 20 × |T | = 360). These values are comparedwith the “no risk” setup, where the solar forecasting errors areneglected, and ancillary services are provisioned by solving (3)with {P av

h } replaced by {P avh }. Clearly, considering only the

Page 8: 350 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, …Related prior works include, e.g., [17], where chance-constrained OPF approaches were considered for high-voltage transmission

DALL’ANESE et al.: OPTIMAL DISPATCH OF RESIDENTIAL PHOTOVOLTAIC INVERTERS UNDER FORECASTING UNCERTAINTIES 357

TABLE IIPROVISIONED ANCILLARY SERVICES FOR DIFFERENT PROBABILITY LEVELS β

(cL = 1, cP = 1, cz = 0.9, cR = 1)

P t o tc [kWh] Q t o t

c [kVAr] N t o t

No risk 27.83 4.65 44β = 0.85 41.05 9.51 55β = 0.90 41.35 9.65 57β = 0.95 44.05 9.75 59β = 0.99 49.55 10.22 64

TABLE IIIPROVISIONED ANCILLARY SERVICES FOR DIFFERENT UNCERTAINTY LEVELS

(cL = 1, cP = 1, cz = 0.9, cR = 1, β = 0.95)

σh /P avh P t o t

c [kWh] Q t o tc [kVAr] N t o t

0 27.8 3 4.65 440.05 42.12 9.19 570.10 44.05 9.75 590.15 46.25 10.35 630.20 51.93 11.64 65

expected available powers {P avh } yields an underestimate of the

amount of active and reactive power reserves that may be neededto ensure voltage regulation. This corroborates the ability of theproposed approach to trade off risks of overvoltage conditionsfor the amount of ancillary services to be secured [5].

Table II quantifies the procured active and reactive reservesfor different values for the probability level β. In this setup,the other problem parameters are set as cL = 1, cP = 1, cz =0.9, and cR = 1. With the increasing of β, progressively highersolar irradiation conditions are considered in the risk-aware OIDproblem [cf., (5)]; this explains why the amount of active andreactive powers reserves that are secured by the OID frameworkincreases. A similar trend can be noticed in Table III, wherevalues for the standard deviation of the forecasting errors aretested. Notice that the results for σh = 0 (i.e., perfect knowledgeof the solar irradiation conditions) coincide with the “no risk”setup of Tables I and II. As expected, the higher the σh , thehigher is the number of inverters that may be required to provideancillary services.

V. CONCLUDING REMARKS

This paper has dealt with ancillary service provisioning indistribution systems in the presence of solar irradiance fore-casting errors. The proposed uncertainty-aware OID identifiesthe subset of critical inverters that strongly impact both voltageprofile and network performance objectives and quantifies theamount of active and reactive powers to be procured from eachinverter. The CVaR measure was utilized to capture (and mini-mize) the risk of overvoltages throughout the feeder. Althoughthe formulated OID task involves the solution of a noncon-vex mixed-integer nonlinear program, a convex relaxation wasdeveloped by leveraging sparsity-promoting regularization ap-proaches and SDR techniques. Using real-world PV-generation

and load-profile data, it is shown how the proposed frameworkcan trade off the risk of PV generation surplus for the amountof ancillary services to be provisioned.

APPENDIX

The dependence between active power injections and voltagemagnitudes in low-voltage distribution systems where overheadlines have high resistance-to-inductance ratios is briefly ana-lyzed in the following.

Consider a low-voltage single-phase distribution line, and letZ := R + jωL be its impedance, where R, L, and ω denote theper-unit-length line resistance and inductance, as well as theelectrical frequency. Typical values for R and L are on theorder of 10−1 Ω/km and 10−4 H/km, respectively (see, e.g.,the specifications of cables NS 90 3/0 AWG utilized for thepole-to-pole connections and cables NS 90 1/0 AWG fordrop lines [3]). Let Y := 1/Z =, G := �{Y } = R/|Z|2 , andB := �{Y } = −ωL/|Z|2 . Further, let |V1 |ejθ1 and |V2 |ejθ2

denote the phasors for the voltages at the two end points ofthe line. Although a single line is considered for simplicity,claims naturally extend to low-voltage systems with arbitrarytopologies.

The active- and reactive-power injections at node 1 of the lineare given by

P1 = |V1 |2G − |V1 ||V2 |G cos(θ) − |V1 ||V2 |B sin(θ) (15a)

Q1 = −|V1 |2B + |V1 ||V2 |B cos(θ) − |V1 ||V2 |G cos(θ) (15b)

where θ := θ1 − θ2 . Similarly, the active- and reactive-powerinjections at node 2 of the line are given by

P2 = |V2 |2G − |V1 ||V2 |G cos(θ) + |V1 ||V2 |B sin(θ) (16a)

Q2 = −|V2 |2B + |V1 ||V2 |B cos(θ) + |V1 ||V2 |G cos(θ). (16b)

With regard to (15a)–(16b), define the sensitivity matrix

S(|V1 |, |V2 |, θ1 , θ2) :=

⎢⎢⎢⎢⎢⎣

∂P1∂ |V1 |

∂P1∂ |V2 |

∂P1∂θ1

∂P1∂θ2

∂P2∂ |V1 |

∂P2∂ |V2 |

∂P2∂θ1

∂P2∂θ2

∂Q 1∂ |V1 |

∂Q 1∂ |V2 |

∂Q 1∂θ1

∂Q 1∂θ2

∂Q 2∂ |V1 |

∂Q 2∂ |V2 |

∂Q 2∂θ1

∂Q 2∂θ2

⎥⎥⎥⎥⎥⎦

which relates power variations with perturbations of the voltagephasors around a given operational point.

Next, assume small voltage angle variations, that is, θ � 1,cos(θ) ≈ 1, and sin(θ) ≈ θ. Under these assumptions, we canrelate sensitivities of voltage magnitudes and angles to real andreactive power injections through (17), as shown at the topof the next page. Furthermore, since ωL

R � 1 in low-voltagedistribution systems (this condition is not necessarily true inmedium-voltage networks), it follows that B � 1, and thus,the effects of voltage magnitude and phase variations on the

Page 9: 350 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, …Related prior works include, e.g., [17], where chance-constrained OPF approaches were considered for high-voltage transmission

358 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, JANUARY 2015

⎢⎢⎢⎢⎣

ΔP1

ΔP2

ΔQ1

ΔQ2

⎥⎥⎥⎥⎦

=

⎢⎢⎢⎢⎣

2G|V1 | − G|V2 | −G|V1 | −B|V1 ||V2 | B|V1 ||V2 |−G|V2 | −G|V1 | + 2G|V2 | B|V1 ||V2 | −B|V1 ||V2 |

−2B|V1 | + B|V2 | B|V1 | −G|V1 ||V2 | G|V1 ||V2 |B|V2 | B|V1 | − 2B|V2 | G|V1 ||V2 | −B|V1 ||V2 |

⎥⎥⎥⎥⎦

⎢⎢⎢⎢⎣

Δ|V1 |Δ|V2 |Δθ1

Δθ2

⎥⎥⎥⎥⎦

. (17)

complex powers approximately decouple as[

ΔP1

ΔP2

]

≈[

2G|V1 | − G|V2 | −G|V1 |−G|V2 | −G|V1 | + 2G|V2 |

][Δ|V1 |Δ|V2 |

]

[ΔQ1

ΔQ2

]

≈[−G|V1 ||V2 | G|V1 ||V2 |G|V1 ||V2 | −G|V1 ||V2 |

] [Δθ1

Δθ2

]

.

Thus, due to the high resistance-to-inductance ratio in low-voltage distribution lines, voltage magnitudes are more sensitiveto variations in the active power flows. It follows that curtailingactive power during peak generation hours represents a viableway to avoid overvoltage conditions throughout the feeder. Fur-thermore, the higher the solar irradiation, the higher the overallamount of active power that should be curtailed in order toenforce voltage regulation.

REFERENCES

[1] E. Liu and J. Bebic, “Distribution system voltage performance analysisfor high-penetration photovoltaics,” Nat. Renewable Energy Lab., GoldenCO, USA, Subcontract Rep. NREL/SR-581-42298, Feb. 2008.

[2] California Public Utilities Commission. (2013, Jan.). Advanced invertertechnologies report. [Online] http://www.cpuc.ca.gov

[3] R. Tonkoski, L. A. C. Lopes, and T. H. M. El-Fouly, “Coordinated activepower curtailment of grid connected PV inverters for overvoltage pre-vention,” IEEE Trans. Sustainable Energy, vol. 2, no. 2, pp. 139–147,Apr. 2011.

[4] A. F. Vizoso, L. Piegari, and P. Tricoli, “A photovoltaic power unit pro-viding ancillary services for smart distribution networks,” presented at theInt. Conf. Renewable Energies Power Quality, Las Palmas, Spain, 2010.

[5] E. Ntakou and M. C. Caramanis, “Price discovery in dynamic powermarkets with low-voltage distribution-network participants,” presented atthe IEEE PES T&D Conf. Exhib., Chicago, IL, USA, 2014.

[6] D. Craciun and D. Geibel, “Evaluation of ancillary services provisioncapabilities from distributed energy supply,” presented at the Int. Conf.Elect. Distrib. CIRED, Stockholm, Sweden, Jun. 2012.

[7] K. Turitsyn, P. Sulc, S. Backhaus, and M. Chertkov, “Options for controlof reactive power by distributed photovoltaic generators,” Proc. IEEE,vol. 99, no. 6, pp. 1063–1073, Jun. 2011.

[8] P. Jahangiri and D. C. Aliprantis, “Distributed Volt/VAR control by PVinverters,” IEEE Trans. Power Syst., vol. 28, no. 3, pp. 3429–3439,Aug. 2013.

[9] S. Bolognani and S. Zampieri, “A distributed control strategy for reactivepower compensation in smart microgrids,” IEEE Trans. Autom. Control,vol. 58, no. 11, pp. 2818–2833, Nov. 2013.

[10] A. Samadi, R. Eriksson, L. Soder, B. G. Rawn, and J. C. Boemer, “Co-ordinated active power-dependent voltage regulation in distribution gridswith PV systems,” IEEE Trans. Power Del., vol. 29, no. 3, pp. 1454–1464,Jun. 2014.

[11] E. Dall’Anese, S. V. Dhople, and G. B. Giannakis, “Optimal dispatch ofphotovoltaic inverters in residential distribution systems,” IEEE Trans.Sustainable Energy, vol. 5, no. 2, pp. 487–497, Apr. 2014.

[12] E. Dall’Anese, S. V. Dhople, B. B. Johnson, and G. B. Giannakis, “De-centralized optimal dispatch of photovoltaic inverters in residential distri-bution systems,” IEEE Trans. Energy Convers., vol. 29, no. 4, Dec. 2014.[Online]. Available: http://arxiv.org/abs/1403.1341

[13] A. McNeil, R. Frey, and P. Embrechts, Quantitative Risk Management:Concepts Techniques and Tools. Princeton, NJ, USA: Princeton Univ.Press, 2005.

[14] R. T. Rockafellar and S. Uryasev, “Optimization of conditional value-at-risk,” J. Risk, vol. 2, no. 3, pp. 21–41, 2000.

[15] P. Bacher, H. Madsen, and H. A. Nielsen, “Online short-term solar powerforecasting,” Solar Energy, vol. 83, no. 10, pp. 1772–1783, 2009.

[16] E. Lorenz, J. Hurka, D. Heinemann, and H. G. Beyer, “Irradiance fore-casting for the power prediction of grid-connected photovoltaic systems,”IEEE J. Sel. Topics Appl. Earth Observation Remote Sens., vol. 2, no. 1,pp. 2–10, Mar. 2009.

[17] E. Sjodin, D. F. Gayme, and U. Topcu, “Risk-mitigated optimal power flowfor wind powered grids,” presented at the Amer. Control Conf., Montreal,QC, Canada, Jun. 2012.

[18] J. Warrington, P. Goulart, S. Mariethoz, and M. Morari, “Policy-basedreserves for power systems,” IEEE Trans. Power Syst., vol. 28, no. 4,pp. 4427–4437, Nov. 2013.

[19] T. Summers, J. Warrington, M. Morari, and J. Lygeros, “Stochastic opti-mal power flow based on convex approximations of chance constraints,”presented at the Power Syst. Comput. Conf., Wroclaw, Poland, Aug.2014.

[20] Q. Wang, Y. Guan, and J. Wang, “A chance-constrained two-stage stochas-tic program for unit commitment with uncertain wind power output,” IEEETrans. Power Syst., vol. 27, no. 1, pp. 206–215, Feb. 2012.

[21] D. Bienstock, M. Chertkov, and S. Harnett. (2013). Chance constrainedoptimal power flow: Risk-aware network control under uncertainty. [On-line]. Available: http://arxiv.org/abs/1209.5779

[22] M. Kloppel, A. Gabash, A. Geletu, and P. Li, “Chance constrained optimalpower flow with non-Gaussian distributed uncertain wind power genera-tion,” in Proc. Int. Conf. Environ. Electr. Eng., May 2013, pp. 265–270.

[23] Y. Zhang and G. B. Giannakis, “Robust optimal power flow with windintegration using conditional value-at-risk,” presented at the 4th Int. Conf.Smart Grid Commun., Vancouver, BC, Canada, Oct. 2013.

[24] E. Dall’Anese, H. Zhu, and G. B. Giannakis, “Distributed optimal powerflow for smart microgrids,” IEEE Trans. Smart Grid, vol. 4, no. 3,pp. 1464–1475, Sep. 2013.

[25] J. Lavaei and S. H. Low, “Zero duality gap in optimal power flow problem,”IEEE Trans. Power Syst., vol. 27, no. 1, pp. 92–107, Feb. 2012.

[26] W. H. Kersting, Distribution System Modeling and Analysis, 2nd ed. BocaRaton, FL, USA: CRC, 2007.

[27] A. T. Puig, A. Wiesel, G. Fleury, and A. O. Hero, “Multidimensionalshrinkage-thresholding operator and group LASSO penalties,” IEEE Sig-nal Process. Lett., vol. 18, no. 6, pp. 363–366, Jun. 2011.

[28] L. Vandenberghe and S. Boyd, “Semidefinite programming,” SIAM Rev.,vol. 38, no. 1, pp. 49–95, Mar. 1996.

[29] J. Lavaei, D. Tse, and B. Zhang, “Geometry of power flows and optimiza-tion in distribution networks,” IEEE Trans. Power Syst., vol. 29, no. 2,pp. 572–583, Mar. 2014.

[30] B. Zhang, A. Y. Lam, A. Dominguez-Garcia, and D. Tse, “An optimaland distributed method for voltage regulation in power distribution sys-tems,” IEEE Trans. Power Syst., to be published. [Online]. Available:http://arxiv.org/abs/1204.5226

[31] A. Nesterov and Y. Nemirovski, Interior-Point Polynomial Algorithms inConvex Programming (Studies in Applied Mathematics). Philadelphia,PA, USA: SIAM, 1994.

[32] R. A. Jabr, “Exploiting sparsity in SDP relaxations of the OPF problem,”IEEE Trans. Power Syst., vol. 2, no. 27, pp. 1138–1139, May 2012.

[33] F. Chassin, E. Mayhorn, M. Elizondo, and S. Lus, “Load modeling andcalibration techniques for power system studies,” presented at the NorthAmer. Power Symp., Boston, MA, USA, Aug. 2011.

[34] D. K. Molzahn, B. C. Lesieutre, and C. L. DeMarco, “Approximate rep-resentation of ZIP loads in a semidefinite relaxation of the OPF problem,”IEEE Trans. Power Syst., Lett., vol. 29, no. 4, pp. 1864–1865, Jul. 2014.

[35] S. Boyd and L. Vandenberghe, Convex Optimization. Cambridge, U.K.:Cambridge Univ. Press, 2004.

[36] L. Gan and S. H. Low. (2014). Convex relaxations and linear approxi-mation for optimal power flow in multiphase radial networks. [Online].Available: http://arxiv.org/abs/1406.3054

Page 10: 350 IEEE JOURNAL OF PHOTOVOLTAICS, VOL. 5, NO. 1, …Related prior works include, e.g., [17], where chance-constrained OPF approaches were considered for high-voltage transmission

DALL’ANESE et al.: OPTIMAL DISPATCH OF RESIDENTIAL PHOTOVOLTAIC INVERTERS UNDER FORECASTING UNCERTAINTIES 359

[37] G. Masters, Renewable and Efficient Electric Power Systems. New York,NY, USA: Wiley, 2004.

Emiliano Dall’Anese (S’08–M’11) received theLaurea Triennale (B.Sc. degree) and the Laurea Spe-cialistica (M.Sc. degree) in telecommunications engi-neering in 2005 and 2007, respectively, and the Ph.D.degree in information engineering in 2011, all fromthe University of Padova, Padova, Italy.

From January 2009 to September 2010, he wasa Visiting Scholar with the Department of Electricaland Computer Engineering, University of Minnesota,Minneapolis, MN, USA, where, since January 2011,he has been a Postdoctoral Associate with the Depart-

ment of Electrical and Computer Engineering and Digital Technology Center.His research interests include power systems, signal processing, optimization,and communications. His current research focuses on energy management infuture power systems with renewables and power grid informatics.

Sairaj V. Dhople (S’09–M’13) received the B.S.,M.S., and Ph.D. degrees in electrical engineeringfrom the University of Illinois at Urbana-Champaign,Champaign, IL, USA, in 2007, 2009, and 2012, re-spectively.

He is currently an Assistant Professor with theDepartment of Electrical and Computer Engineering,University of Minnesota, Minneapolis, MN, USA,where he is also affiliated with the Power and EnergySystems research group. His research interests in-clude modeling, analysis, and control of power elec-

tronics and power systems with a focus on renewable integration.

Brian B. Johnson (S’08–M’13) received the B.S.degree in physics from Texas State University, SanMarcos, TX, USA, in 2008 and the M.S. and Ph.D.degrees in electrical and computer engineering fromthe University of Illinois at Urbana-Champaign,Champaign, IL, USA, in 2010 and 2013, respectively.

He is currently an Electrical Engineer with the Na-tional Renewable Energy Laboratory, Golden, CO,USA. His research interests include power electron-ics, distributed generation, renewable energy sys-tems, and controls.

Dr. Johnson received a National Science Foundation Graduate Research Fel-lowship in 2010.

Georgios B. Giannakis (F’97) received the Diplomadegree in electrical engineering from the NationalTechnical University of Athens, Athens, Greece, in1981 and the M.Sc. degree in electrical engineering,the M.Sc. degree in mathematics, and the Ph.D. de-gree in electrical engineering from the University ofSouthern California, Los Angeles, CA, USA, in 1983,1986, and 1986, respectively.

Since 1999, he has been a Professor with the Uni-versity of Minnesota, Minneapolis, MN, USA, wherehe is currently an ADC Chair in Wireless Telecom-

munications with the Electrical and Computer Engineering Department andserves as the Director of the Digital Technology Center. His general researchinterests include the areas of communications, networking, and statistical sig-nal processing. In these areas, he has published more than 372 journal papers,630 conference papers, 21 book chapters, two edited books, and two researchmonographs (h-index 110). His current research focuses on sparsity and big dataanalytics, wireless cognitive radios, mobile ad hoc networks, renewable energy,power grids, gene-regulatory, and social networks. He is the (co-)inventor of 23patents issued.

Dr. Giannakis is the (co-)recipient of eight Best Paper Awards from theIEEE Signal Processing (SP) and Communications Societies, including theG. Marconi Prize Paper Award in Wireless Communications. He also receivedTechnical Achievement Awards from the SP Society (2000) and from the Eu-ropean Association for Signal Processing (EURASIP) (2005), a Young FacultyTeaching Award, the G. W. Taylor Award for Distinguished Research from theUniversity of Minnesota, and the IEEE Fourier Technical Field Award (2014).He is a Fellow of EURASIP and has served the IEEE in a number of posts,including that of a Distinguished Lecturer for the IEEE SP Society.