+ All Categories
Home > Documents > A SCALABLE SEMIDEFINITE RELAXATION APPROACH ...rm3122/paper/ac_scheduling.pdfA SCALABLE SEMIDEFINITE...

A SCALABLE SEMIDEFINITE RELAXATION APPROACH ...rm3122/paper/ac_scheduling.pdfA SCALABLE SEMIDEFINITE...

Date post: 23-Mar-2021
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
12
Highlights Scalable Unit Commitment with AC Power Flow via Semidefinite Programming Relaxation Ramtin Madani,Alper Atamtürk,Ali Davoudi • The current practice for solving this short-term planning problem considers an approximate model for describing the flow of electricity across the grid, instead of an accurate physical model, whose integration is estimated to save billions of dollars per year, by enhancing the efficiency and reliability of operation [15]. The primary obstacle towards the real- ization of this direction is the computational complexity incurred by the accurate model. In this paper, a computational method is developed that is compatible with the accurate model for power grids and offers considerable improvements, in terms of scalability. • The presence of binary variables are tackled via a family of linear valid inequalities and 3×3 semidefinite programming constraints. This allows us to handle unit commitment problems with nearly 100,000 binary variables. • The nonlinearity of power flow equations is handled using a family of 3×3 semidefinite programming inequalities, enabling the recovery of fully feasible points in networks with over 13,000 buses.
Transcript
Page 1: A SCALABLE SEMIDEFINITE RELAXATION APPROACH ...rm3122/paper/ac_scheduling.pdfA SCALABLE SEMIDEFINITE RELAXATION APPROACH TO GRID SCHEDULING RAMTINMADANI,ALPERATAMTURK,ANDALIDAVOUDI¨

HighlightsScalable Unit Commitment with AC Power Flow via Semidefinite Programming RelaxationRamtin Madani,Alper Atamtürk,Ali Davoudi

• The current practice for solving this short-term planning problem considers an approximate model for describing theflow of electricity across the grid, instead of an accurate physical model, whose integration is estimated to save billionsof dollars per year, by enhancing the efficiency and reliability of operation [15]. The primary obstacle towards the real-ization of this direction is the computational complexity incurred by the accurate model. In this paper, a computationalmethod is developed that is compatible with the accurate model for power grids and offers considerable improvements,in terms of scalability.

• The presence of binary variables are tackled via a family of linear valid inequalities and 3×3 semidefinite programmingconstraints. This allows us to handle unit commitment problems with nearly 100,000 binary variables.

• The nonlinearity of power flow equations is handled using a family of 3 × 3 semidefinite programming inequalities,enabling the recovery of fully feasible points in networks with over 13,000 buses.

Page 2: A SCALABLE SEMIDEFINITE RELAXATION APPROACH ...rm3122/paper/ac_scheduling.pdfA SCALABLE SEMIDEFINITE RELAXATION APPROACH TO GRID SCHEDULING RAMTINMADANI,ALPERATAMTURK,ANDALIDAVOUDI¨

Scalable Unit Commitment with AC Power Flow via SemidefiniteProgramming Relaxation⋆Ramtin Madania,1, Alper Atamtürkb,∗,2 and Ali Davoudiaa Department of Electrical EngineeringThe University of Texas at ArlingtonNedderman Hall, Room 518, 416 Yates Street, Arlington, TX 76010b Department of Industrial Engineering and Operations ResearchUniversity of California, Berkeley423 Sutardja Dai Hall, Berkeley, CA 94720-1758 USA

ART ICLE INFOKeywords:power gridsday-ahead schedulingunit commitmentconvex relaxation

ABSTRACTDetermining the most economic strategies for supply and transmission of electricity is a dauntingcomputational challenge. The amount of effort to optimize the schedule of generating units and routeof power, can grow exponentially with the number of decision variables. Practical approaches tothis problem involve legacy approximations and ad-hoc heuristics that may undermine the efficiencyand reliability of power system operations, that are ever growing in scale and complexity. Therefore,developing powerful optimization methods for detailed power system scheduling is critical to therealization of smart grids and has received significant attention recently. In this paper, we proposea computational method, which is capable of solving large-scale power system scheduling problemswith thousands of generating units, while accurately incorporating the nonlinear equations that governthe flow of electricity on the grid. We design a polynomial-time solvable third-order semidefiniteprogramming (TSDP) relaxation, with the aim of finding a near globally optimal solution for the unitcommitment problem with AC power flow constraints. The proposed method is demonstrated onlarge-scale benchmark instances from real-world European grid data, for which provably optimal ornear-optimal solutions are obtained.

1. IntroductionEfficient and reliable supply of electricity to meet the de-

mand for varying time horizons is the major goal of powergrid operations. Grid operations are currently planned withlegacy frameworks that are far from producing near-optimalsolutions at the scale and detail required by the next-generationgrids. In the past decade, various potential approaches havebeen identified for enhancements in grid operation throughmore accurate models for the flow of power, control of net-work topology, and taking uncertainties of demand and re-newable generation into consideration. The realization ofthe aforementioned directions is expected to offer consid-erable improvements in the efficiency and reliability of thepower grids [15]. However, due to the ever-growing size andscope of grids, the scalability of algorithms for solving de-tailed and accuratemodels remains as the primary bottleneck[62, 22, 32].

Building an optimal day-ahead plan for the operation ofa large-scale grid is a daunting challenge, in part, due to thepresence of thousands of generating units, whose on/off sta-tus need to be determined. Algorithms for finding the mosteconomic plan with binary on/off decisions give rise to mas-sive search trees. Another challenge is posed by the nonlin-

⋆This research is, in part, funded by the National Science Foundationawards 1807260 and 1809454.

∗Corresponding [email protected] (R. Madani); [email protected] (A.

Atamtürk); [email protected] (A. Davoudi)ORCID(s): 0000-0001-9246-2357 (R. Madani); 0000-0003-1220-808X

(A. Atamtürk); 0000-0003-2951-442X (A. Davoudi)

earity of the physical laws describing the flow of electricity.This paper presents a highly scalable computational

method that is capable of solving day-ahead power systemscheduling problems of realistic size, that are built upon ac-curate physical models. More specifically, the proposedmethod accomplishes the integrated optimization of two fun-damental problems, faced by system operators and utilitieson a daily basis:

1. Unit Commitment (UC): The problem of schedulinggenerating units throughout a planning horizon, basedon demand forecasts and technological constraints.

2. Optimal Power Flow (OPF): The problem of deter-mining an operating point for the network that deliverspower from suppliers to consumers as economically aspossible, subject to physical constraints.

Advanced algorithms for UC and OPF can contribute to theefficiency and transparency of power markets by improvingoperational decisions and pricing mechanisms [52, 37]. Fig-ure 1, exemplifies the optimal unit commitment plan for op-erating a notional power grid for the day-ahead, based on theavailable forecast of the demand and renewable generation.A cheap/slow unit provides the base generation for the entireplanning horizon, while an expensive/fast generating unit iscommitted during the peak hours to avoid the violation oftransmission limits.

The contributions of this paper are twofold. First theunit commitment problem is convexified via a family of lin-ear and third-order semidefinite programming (TSDP) con-straints. This convex relaxation achieves near-globally op-timal solutions for UC problems with nearly 100, 000 bi-

Madani et al.: Preprint submitted to Elsevier Page 1 of 11

Page 3: A SCALABLE SEMIDEFINITE RELAXATION APPROACH ...rm3122/paper/ac_scheduling.pdfA SCALABLE SEMIDEFINITE RELAXATION APPROACH TO GRID SCHEDULING RAMTINMADANI,ALPERATAMTURK,ANDALIDAVOUDI¨

Scalable Unit Commitment with AC Power Flow via Semide�nite Programming Relaxation

01:0

0 AM

02:0

0 AM

03:0

0 AM

04:0

0 AM

05:0

0 AM

06:0

0 AM

07:0

0 AM

08:0

0 AM

09:0

0 AM

10:0

0 AM

11:0

0 AM

12:0

0 PM

01:0

0 PM

02:0

0 PM

03:0

0 PM

04:0

0 PM

05:0

0 PM

06:0

0 PM

07:0

0 PM

08:0

0 PM

09:0

0 PM

10:0

0 PM

11:0

0 PM

12:0

0 AM

0

10,000

20,000

30,000

40,000

50,000

Dem

and

& G

ener

atio

n (k

W)

Hourly Electricity Demand and Supply

Wind FarmLoadSlow GeneratorFast Generator

Cheap/SlowGeneratingUnit

Expensive/FastGeneratingUnit

A B

CLoad

WindFarm

Figure 1: Day-ahead scheduling of a notional power system, with three vertices and two generating units. (A) The optimaloperational strategy based on the available forecast of the demand and wind generation. The shaded period represents peakhours. (B) O�-peak con�guration of the network, during which the expensive generator is not committed. (C) Peak con�guration,during which the expensive generator contributes to accommodate transmission limits.

nary variables. Second, a family of TSDP constraints areintroduced to relax the power flow equations. The com-bination results in a tractable method for solving coupledUC-OPF optimization problems. As opposed to a general-purpose convex relaxation approach, our method is carefullyadapted to the power grid scheduling problem. As a result,the proposed approach offers unprecedented scalability andimproves upon the existing literature, in terms of the prac-tical feasibility and efficiency of solutions, by allowing thejoint optimization of commitment and power flow decisionsbased on an accurate nonlinear model for power grids. Theutilization of the accurate nonlinear model, as opposed to itslinear approximations, results in a more efficient and trans-parent market design, as well as improvements in the relia-bility of power system operations [15, 62].1.1. Semidefinite Programming Relaxation

Since a wide range of physical phenomena and dynami-cal systems can be modeled by polynomial functions, poly-nomial optimization has received significant research inter-est. Studying polynomial optimization by convex hull char-acterization of algebraic varieties through hierarchies ofsemidefinite programs (SDPs) has been a successfulapproach [47, 48]. Performance guarantees and extensionsof SDP hierarchies have since been investigated by severalpapers [49, 33, 68, 11], as well as their applications in var-ious areas such as, quantum information theory [71, 60],compressed sensing [39, 16], graph theory [9, 1], statistics[19], operation of infrastructure networks [50, 24], and otherbranches of optimization theory [66]. The primary challengefor the application of SDP hierarchies beyond small-scale in-stances is the rapid growth of dimension, which necessitatesa detailed study of sparsity and structural patterns to boostthe efficiency [59, 45, 44, 10, 61].1.2. Review of Unit Commitment

Economic scheduling of power generation units has beenextensively investigated since the early 1960s, to handle pre-dictable demand variations throughout the day-ahead. Ex-

tensions of the problem have later been studied to capturepractical limits of network and security requirements, amongother considerations. The reader is referred to [3] for a de-tailed survey of the conventional formulations and compu-tational methods for unit commitment.

Recent policy andmodeling proposals for electricitymar-ket operation and unit commitment include stochastic androbust optimization frameworks, under load and renewablegeneration uncertainty [13, 12, 67, 73, 53, 76, 70]. Addition-ally, incorporating other operational decisions into a com-prehensive UC problem has been envisioned with a goal ofco-optimizing multiple aspects of day-ahead planning, suchas the optimal power flow [7, 18, 52], network topology con-trol [36], demand response [72], air quality control [42], aswell as scheduling of deferrable loads [69].

From a computational perspective, unit commitment al-gorithms rely on bounds from polynomial-time solvable re-laxations for pruning search trees and certifying closeness toglobal optimality. Such relaxations can be generated throughpartial characterization of the convex hull of the feasible so-lutions [63, 51, 25, 31]. Additionally, in the presence of non-linear price functions, conic inequalities can be adopted tostrengthen the convex relaxations [2, 29, 7, 38]. Recently, astrong convex relaxation is proposed in [28] through a com-bination of reformulation-linearization and semidefinite pro-gramming techniques, which works very well on small in-stances of the unit commitment problem. Distributed meth-ods are investigated in [41] and [65] with the aim of leverag-ing high-performance computing platforms for solving large-scale unit commitment problems. Nevertheless, the improve-ments in run-time are reported to diminish with more than15 parallel workers [64]. In terms of scalability, the pro-posed approach here significantly improves upon the above-referenced computational methods in the number of gener-ating units as well as network size; notwithstanding, that ournumerical experiments are conducted on a workstation witha single CPU.

Madani et al.: Preprint submitted to Elsevier Page 2 of 11

Page 4: A SCALABLE SEMIDEFINITE RELAXATION APPROACH ...rm3122/paper/ac_scheduling.pdfA SCALABLE SEMIDEFINITE RELAXATION APPROACH TO GRID SCHEDULING RAMTINMADANI,ALPERATAMTURK,ANDALIDAVOUDI¨

Scalable Unit Commitment with AC Power Flow via Semide�nite Programming Relaxation

1.3. Review of Optimal Power FlowThe optimal power flow problem is concerned with the

determination of power flows and injections across the grid,for the optimal transmission and distribution of electricity.An accurate formulation of power flow in a transmission lineincludes nonconvex nonlinear equations, that substantivelyincrease the computational complexity of the optimizationproblem. Consequently, the development of a framework forthe joint optimization of UC and OPF has remained an openproblem with significant economic impact as highlighted in[8].

To this end, one of themost promising directions is basedon the semidefinite programming relaxation of the powerflow equations [50]. This approach to OPF has since beenwidely investigated and improved upon, through geometricanalysis of feasible regions [74, 46, 23, 20, 21], and un-der certain graph-theoretic assumptions [55, 30]. Variousstudies have leveraged the sparsity of power networks for re-ducing the computational burden of solving semidefinite re-laxations and developing distributed frameworks [58, 4, 14,54, 35, 75]. More recently, other approaches such as Ho-motopy continuation [57], for finding all solutions to powerflow equations, and dynamic programming, in the presenceof discrete variables [27] have been studied. Additionally,several extensions of OPF have been recently studied undermore general settings, to address considerations such as thesecurity of operation [54], robustness [26], energy storage[56], uncertainty of generation [5]. The reader is refereed to[17] for a detailed survey on OPF.

2. Power System SchedulingThe power system scheduling problem seeks to find the

most economic operation plan for a set of generating unitsthroughout a time horizon to meet the demand for electricity,subject to technological constraints. Let = {1, 2,… , G}denote the set of generating units, whose schedule and theamount of contribution to the grid are to be determined. Inorder to formulate the problem as a static optimization, it iscommon practice to divide the planning horizon into a set ofdiscrete time intervals = {1, 2,… , T }, e.g., hourly timeslots for day-ahead scheduling.

Let xg,t ∈ {0, 1} be a binary variable indicating the de-cision of whether or not the generating unit g ∈ is com-mitted for production in the time slot t ∈ . If xg,t = 1, theunit is active and expected to produce power within its ca-pacity limitations, otherwise, no power is produced by g inthis time slot. Additionally, let cg,t be the production cost ofunit g, during the interval t. There are two types of power ex-changes between generating units and loads in a power sys-tem: i) active power, and ii) reactive power. Active power isthe actual product that is traded to meet the demand, whereasthe reactive power is a technical term, which represents theoscillation exchanges between generators and loads that helpmaintaining voltages. Let pg,t and qg,t, respectively, to bethe amount of active power and reactive powers producedby unit g ∈ , in time interval t ∈ . The overall power

injection by generating unit g ∈ can be expressed as thecomplex number pg,t + iqg,t, which is referred to as complexpower, where “i” accounts for the imaginary unit.

A distinctive feature of our approach is the ability tojointly optimize unit commitment and power flow for an ac-curate model of the grid. In this paper, the constraints ofthis large-scale optimization problem are divided into twoclasses:

1. Unit constraints that model the capacity and techno-logical limitations of generating units, and

2. Network constraints that model laws of physics gov-erning the flow of power electricity across the grid,such as conservation of energy, as well as the trans-mission capacity limitations and demand requirements,throughout the planning horizon.

Using the notation introduced above, we formulate powersystem scheduling as the following optimization problem:

minimizex,p,q,c∈ℝG×T

G∑

g=1

T∑

t=1cg,t (1a)

subject to (x⊤g,∙,p⊤g,∙,q

⊤g,∙, c

⊤g,∙) ∈ g ∀g ∈ , (1b)

(p∙,t,q∙,t) ∈ t ∀t ∈ , (1c)with respect to decision variables x ≜ [xg,t], c ≜ [cg,t], p ≜[pg,t] and q ≜ [qg,t]. Optimization problem [1a]–[1c] mini-mizes the overall cost of producing power subject to unit andnetwork constraints [1b] and [1c], respectively. For everygenerating unit g ∈ , the quadruplet (x⊤g,∙,p⊤g,∙,q⊤g,∙, c⊤g,∙) ∈ℝT×4 characterizes the scheduling decision, throughout theplanning horizon, while for every time slot t ∈ , the pair(p∙,t,q∙,t) ∈ ℝG×2 accounts for the generation profile. Theprice functions and technological limitations of generatingunits are described by the sets 1,2,… ,G ⊂ ℝT×4,while the demand information and network data across thetime slots are given by1,2,… ,T ⊂ ℝG×2.

The binary unit commitment decisions and nonlinearityof network equations are the primary sources of computa-tional complexity for solving the problem [1a]–[1c]. As aresult, there has been a huge body of research devoted tofinding convex relaxations for power system scheduling andits related problems, by means of tools and techniques fromthe area of mathematical programming. In the following,we first describe the families of sets {g}g∈ and {t}t∈ ,given by the unit commitment and network constraints ofpower system scheduling. We then introduce convex sur-rogates for them which lead to a class of computationallytractable and, yet, accurate relaxations of problem [1a]–[1c].2.1. Unit Constraints

Following is a definition for the family {g}g∈, whichis based on a number of practical limitation for the operationof generating units.Definition 1. For every generating unit g ∈ , defineg tobe the set of all quadruplets (x⊤g,∙,p

⊤g,∙,q

⊤g,∙, c

⊤g,∙) ∈ ℝT×4 that

satisfies constraints [2], [3], [4], [5], and [6], for all t ∈ .

Madani et al.: Preprint submitted to Elsevier Page 3 of 11

Page 5: A SCALABLE SEMIDEFINITE RELAXATION APPROACH ...rm3122/paper/ac_scheduling.pdfA SCALABLE SEMIDEFINITE RELAXATION APPROACH TO GRID SCHEDULING RAMTINMADANI,ALPERATAMTURK,ANDALIDAVOUDI¨

Scalable Unit Commitment with AC Power Flow via Semide�nite Programming Relaxation

Note that, non-positive indices refer to given initial values.In the reminder of this section, we detail each of the above-mentioned constraints.Production Costs: The cost of operating a unit g ∈ within different time intervals is a quadratic function of theactive power produced by the unit. In addition, there is afixed cost g associated with every interval during which thegenerator is committed (i.e., xg,t = 1), as well as a startupcost ↑g and a shutdown cost ↓g that are enforced on timeslots at which the unit g changes status. Therefore, the priceof operating unit g at time t can be described through thenonlinear equation [3], where �g and �g are nonnegative co-efficients.Generation Capacity: If a generating unit g ∈ is com-mitted at time t ∈ , the amount of active power pg,t andreactive power qg,t produced in that time slot must lie withincapacity limitations of the unit. In other words, if xg,t = 1,then we have pg,t ∈ [

pg , pg] and qg,t ∈ [

qg , qg], where

pg ,

pg ,qg and qg are the given lower and upper bounds for unit

g.Constraints [4a]–[4b], ensure that the amount of power

produced by unit g is zero if xg,t = 0, and within capacitylimits, if xg,t = 1.Minimum Up & Down Time Limits: Technical consid-erations often prohibit frequent changes in the status of gen-erating units. Once a unit starts producing power, there isa minimum time before it can be turned off, and once theunit is turned off, it cannot be immediately activated, again.Denote bym↑

g andm↓g the minimum time for which the gener-

ating unit g ∈ is required to remain active and deactivate,respectively. The minimum up and down limits for unit gare enforced through constraints [5a]–[5b].Ramp Rate Limits: The rate of change in the amount ofpower produced by a generating unit is often constrained,depending on the type of the generator. Denote by rg themaximum variation of active power generation, that is al-lowed by unit g ∈ , between two adjacent time intervalsin which the unit is committed. Similarly, define sg as themaximum amount of active power that can be generated byunit g immediately after startup or prior to shutdown. Ramprate limits of unit g ∈ are expressed through constraints[6a] and [6b]. Observe that if either xg,t−1 = 0 or xg,t = 0,the constraints in [6a] and [6b] reduce to |pg,t| ≤ sg . Alter-natively, if xg,t−1 = xg,t = 1, the above constraints implythat |pg,t − pg,t−1| ≤ rg .2.2. Network Constraints

In this part, we focus on network considerations in powersystem scheduling. The transmission of electricity from sup-pliers to consumers is carried out through an interconnectednetwork whose topology throughout each time interval t ∈ can be modeled as a directed graph t = ( , t), with and t as the set of vertices and edges, respectively. In powersystem terminology, vertices are referred to as “buses”, and

Table 1

Unit and network constraints in power system scheduling.

Unit Constraints:

xg,t ∈ {0, 1} (2)

cg,t = �gp2g,t + �gpg,t+

gxg,t + ↑g (1 − xg,t−1)xg,t + ↓gxg,t−1(1 − xg,t), (3)

pgxg,t ≤ pg,t ≤ pgxg,t (4a)

qgxg,t ≤ qg,t ≤ qgxg,t. (4b)

xg,t ≥ xg,� − xg,�−1, ∀� ∈ {t − m↑g + 1,… , t}, (5a)

1 − xg,t ≥ xg,�−1 − xg,� , ∀� ∈ {t − m↓g + 1,… , t}. (5b)

pg,t − pg,t−1 ≤ rgxg,t−1 + sg(1 − xg,t−1), (6a)pg,t−1 − pg,t ≤ rgxg,t + sg(1 − xg,t), (6b)

AC Network Constraints:

dt + diag{v∙,tv∗∙,tY∗t } = C⊤(p∙,t + iq∙,t) (7a)

|diag{Ctv∙,tv∗∙,tY∗t }| ≤ fmax;t (7b)

|diag{ Ctv∙,tv∗∙,t Y∗t }| ≤ fmax;t (7c)

vmin ≤ |v∙,t| ≤ vmax (7d)DC Network Constraints:

q∙,t = 0 (8a)real{dt} + Bt�∙,t = C⊤p∙,t (8b)

|Bt�∙,t| ≤ fmax;t (8c)

edges are called “lines” or “branches” of the network. Eachgenerating unit is associated with (located at) one of thebuses. Define the unit incidence matrix C ∈ {0, 1}G× tobe a binary matrix whose entry (g, k) is equal to one, if andonly if the generating unit g belongs to bus k. Additionally,define the pair of matrices Ct, Ct ∈ {0, 1}t× as the initialand final incidence matrices, respectively. The entry (k, l) ofCt is equal to one, if and only if line l starts at bus k, whilethe entry (k, l) of Ct equals one, if and only if line l ends atbus k.

The steady state voltages across the network are sinu-soidal functions with a global frequency. As a result, thevoltage function at each bus can be characterized by its am-plitude and phase difference from a reference bus. There-fore, for each k ∈ and t ∈ , a complex number vk;tis defined, whose magnitude |vk;t| and angle ∠vk;t, respec-tively, account for the amplitude and phase of the voltageat the bus k, in time interval t. Define v ≜ [vk;t] ∈ ℂ×

and � ≜ [∠vk;t] ∈ ℝ× , to be the matrices encapsulatingcomplex voltage and phase angle values, respectively.

The two widely used models for power networks are dis-cussed next. The first one is the accurate Alternating Current(AC) model, which incorporates the nonlinear power flow

Madani et al.: Preprint submitted to Elsevier Page 4 of 11

Page 6: A SCALABLE SEMIDEFINITE RELAXATION APPROACH ...rm3122/paper/ac_scheduling.pdfA SCALABLE SEMIDEFINITE RELAXATION APPROACH TO GRID SCHEDULING RAMTINMADANI,ALPERATAMTURK,ANDALIDAVOUDI¨

Scalable Unit Commitment with AC Power Flow via Semide�nite Programming Relaxation

K ×

e⊤1e⊤2 + e⊤6 + e⊤7e⊤3 + e⊤11 + e

⊤13

e⊤4 + e⊤9e⊤5 + e⊤15e⊤8 + e⊤12e⊤14e⊤10

×

1xg,t−1xg,tpg,t−1pg,tug,tyg,tzg,t

≥ 0 (9a) K↓ ×

e⊤1e⊤2

e⊤3 + e⊤5 + e⊤7e⊤4e⊤6e⊤8

e⊤9 + e⊤11e⊤10e⊤12

×

1xg,t−2xg,t−1xg,tug,t−1ug,tpg,t−1zg,t−1yg,t

≥ 0 (9b) K↑ ×

e⊤1e⊤2 + e⊤5e⊤3e⊤4e⊤6e⊤8e⊤7e⊤9

×

xg,t−2xg,t−1xg,tug,t−1ug,tpg,t−1zg,t−1yg,t

≥ 0 (9c)

K ≜⎡

+11 −1

+11 −1

−pg +1

+pg −1−pg +1

+pg −1sg rg−sg +1 −1sg rg−sg −1 +1

(9d) K↓≜⎡

+11 −1

+pg −1−pg +1

+1−1+1−1

(9e) K↑ ≜⎡

+11 −1

+pg −1−pg +1

⊗⎡

−1+1−1

(9f)

⊗ denotes the Kronecker product of two matrices.{

e1, e2,… , e15}

,{

e1, e2,… , e12}

and{

e1, e2,… , e9}

denote the standard basis vectors for ℝ15, ℝ12, and

ℝ9, respectively.

A B∠𝑣# = 0 ∠𝑣&

∠𝑣' ∠𝑣( Typeequationhere.

∠𝑣&

0

−4∠𝑣'

−2

−2

20

∠𝑣(2

0

4

Figure 2: (A) A four bus power system from [77] with twoloads and four generators. (B) Feasible region of voltage an-gles, in which demand and technological constraints of ACformulation are satis�ed.

equations. The next one is the Direct Current (DC) model,which is a simplified version of the ACmodel and can be de-scribed by linear equalities. The use of nonlinear AC powerflow equations introduces substantial complexity into powersystem optimization problems. However, various physicalphenomena, such as network losses and reactive power flowsare captured by the AC model, while ignored by the DCmodel. As a result, it is desirable to adopt the AC model, inorder to determine better operation strategies. Figure 2 illus-trates a highly non-convex feasible region of voltage angles,enforced by the demand and technological constraints, in asimple four bus network that is described exactly by the ACmodel. One of the primary benefits of the proposed methodin this paper, is the possibility of adopting the AC model inlarge-scale power system scheduling problems.2.2.1. Alternating Current Power Flow Model

In the AC model, characteristics of the network in a timeinterval t ∈ , can be described by a triplet of admittancematrices Yt, Yt ∈ ℂt× and Yt ∈ ℂ× , that govern theflow of power throughout the network. Next, we define thefamily {AC

t }t∈ and give a brief description for each con-straint.

Definition 2. For every time interval t ∈ , letACt be the

set of pairs (p∙,t,q∙,t) ∈ ℝT×2, for which there exists a vec-tor of complex voltages v∙,t ∈ ℂ satisfying the constraints[7a]–[7d].AC Power Balance Equation: Constraint [7a] is referredto as the power balance equationwhich accounts for the con-servation of energy at all buses of the network. The vectordt ∈ ℂ denotes the demand forecast at each bus, in in-terval t, whose real and imaginary parts account for activeand reactive power demands, respectively. Observe that theoverall complex power produced by generating units locatedat each bus k ∈ is given by the k-th entry ofC⊤(p∙t+iq∙t).Finally, the k-th entry of the vector diag{v∙,tv∗∙,tY∗

t } is equalto the amount of complex power exchange between bus kand the rest of the network. The voltages across the networkare adjusted in such a way that the overall complex powerproduced at each bus equals the sum of power consumptionsand power exchanges of that bus, at all times. This require-ment is enforces by constraint [7a].AC Thermal Limits: Due to thermal losses, the flow en-tering a line may differ from the flow leaving the line at theother end. For each time interval t ∈ , complex powerflows entering the lines of the network through their startingand ending buses are given by vectors diag{Ctv∙,tv∗∙,tY∗

t } anddiag{ Ctv∙,tv∗∙,t Y∗

t }, respectively. Constraints [7b] and [7c]restrict the flow of power, within the thermal limit of thelines fmax;t ∈ ℝt , for each t ∈ .Voltage Magnitude Limits: In order for power systemcomponents to operate properly, the voltage magnitude ateach bus needs to remain within a prespecified range, givenby vectors vmin, vmax ∈ ℝ . Voltage magnitude limits areenforced through the constraint [7d].

The nonlinear AC network constraints [7a]–[7d] pose asignificant challenge for solving power system optimizationproblems based on a full model. As a result, typically a sim-plified version of the AC model is considered in practice

Madani et al.: Preprint submitted to Elsevier Page 5 of 11

Page 7: A SCALABLE SEMIDEFINITE RELAXATION APPROACH ...rm3122/paper/ac_scheduling.pdfA SCALABLE SEMIDEFINITE RELAXATION APPROACH TO GRID SCHEDULING RAMTINMADANI,ALPERATAMTURK,ANDALIDAVOUDI¨

Scalable Unit Commitment with AC Power Flow via Semide�nite Programming Relaxation

which is explained next.2.2.2. Direct Current Power Flow Model

The DC model can be formulated by ignoring the reac-tive powers, voltage magnitude deviations from their nom-inal values, and network losses. Under this model, the net-work is described by means of sustenance matrices Bt ∈ℝt× and Bt ∈ ℝ× . Moreover, the flow of active poweracross the network in each time interval t ∈ is expressedwith respect to the vector of voltage angles �∙,t ∈ ℝ .Definition 3. For every time interval t ∈ , letDC

t be theset of pairs (p∙,t,q∙,t) ∈ ℝT×2, for which there exists a vec-tor of voltage phase values �∙,t ∈ ℝ satisfying constraints[8a]–[8c].Constraint [8b] is a simplified alternative for power balanceequation [7a], in which the vector Bt�∙,t ∈ ℝ contains ap-proximate values for active power exchanges between eachvertex and the rest of the network. Additionally, thermal lim-its are enforced through the constraint [8c], in which Bt�∙,t ∈ℝt is the vector of approximate values for active power flowof lines. Notice that, since the network losses are ignored un-der the DC model, power flows entering both directions areconsidered equal and it suffices to enforce one inequality foreach line.

3. Convex RelaxationIn order to tackle a general power system scheduling prob-

lem of the form [1a]–[1c], we develop third-order semidefi-nite programming (TSDP) relaxations for the families of sets{g}g∈ and {t}t∈ , which lead to a computationally-tractable algorithm. The proposed approach involves intro-ducing additional variables, each as a proxy for a quadraticmonomial. We design a class of inequalities, to strengthen-ing the relation between each proxy variable and the mono-mial it represents.

In this work, we propose a convex relaxation of the powersystem scheduling problem [1a]–[1c], which is built by sub-stituting the unit andAC network feasible sets with their con-vex surrogates { TSDP

g }g∈ and { TSDPt }t∈ , respectively:

minimizex,p,q,c∈ℝG×T

G∑

g=1

T∑

t=1cg,t (10a)

subject to (x⊤g,∙,p⊤g,∙,q

⊤g,∙, c

⊤g,∙) ∈ TSDP

g ∀g ∈ , (10b)(p∙,t,q∙,t) ∈ TSDP

t ∀t ∈ , (10c)Due to convexity of the sets { TSDP

g }g∈ and { TSDPt }t∈ ,the problem [10a]–[10c] can be solved in polynomial time.

Moreover, since g ⊆ TSDPg and AC

t ⊆ TSDPt , for

every g ∈ and t ∈ , respectively, the optimal cost ofproblem [10a]–[10c] is a lower bound to the optimal costof problem [1a]–[1c]. If an optimal solution to the problem[10a]–[10c] satisfies the original constraints [1b] and [1c],

then the relaxation is exact and a provably global optimal so-lution to problem [1a]–[1c] is obtained. Otherwise, a round-ing procedure is adopted to transform the optimal solution of[10a]–[10c] to a feasible and near optimal solution of [1a]–[1c].3.1. Relaxation of Unit Constraints

Each unit feasible setg is a semialgebraic set, with con-straints [2] and [3] as the sources of nonconvexity. In thiswork, we create a family of convex surrogates { TSDP

g }g∈,by enforcing a collection of linear and conic inequalities. Tothis end, define auxiliary variables u, y, z, o ∈ ℝG×T , whosecomponents account for monomials xg,t−1xg,t, pg,t−1xg,t,xg,t−1pg,t and p2g,t, respectively. In other words, if the relax-ation is exact, the equations

ug,t = xg,t−1xg,t, yg,t = pg,t−1xg,t, (11a)zg,t = xg,t−1pg,t, og,t = p2g,t, (11b)

hold true at optimality. To capture the binary requirementfor commitment decisions, the following convex inequali-ties, that are referred to as “McCormick constraints”, are en-forced:max{0, xg,t−1 + xg,t − 1} ≤ ug,t ≤ min{xg,t−1, xg,t}. (12)

Now, constraint [3] can be cast in the following linear form,with respect to the auxiliary variables:cg,t = �gog,t + �gpg,t+

gxg,t + ↑g (xg,t − ug,t) + ↓g (xg,t−1 − ug,t). (13)

Finally, we relax the nonconvex equations [11a]–[11b] withthe following conic constraints:

xg,t ug,t yg,tug,t xg,t−1 pg,t−1yg,t pg,t−1 og,t−1

⪰ 0, (14a)

xg,t−1 ug,t zg,tug,t xg,t pg,tzg,t pg,t og,t

⪰ 0, (14b)

as well as a number of linear inequalities that are stated next.Definition 4. For each g ∈ , define TSDP

g ⊂ ℝT×4 to bethe set of all quadruplets (x⊤g,∙,p

⊤g,∙,q

⊤g,∙, c

⊤g,∙), for which there

exists (u⊤g,∙, y⊤g,∙, z

⊤g,∙, o

⊤g,∙) ∈ ℝT×4, such that for every t ∈ ,

the following constraints hold true:

i) The linear inequalities [4], [5], [6],ii) The conic and linear constraints [12], [13], [14a], [14b]

and [9a],iii) The linear inequalities [9b], if m↓

g > 1,

iv) The linear inequalities [9c], if m↑g > 1,

where the matrices K ∈ ℝ24×15, K↓ ∈ ℝ4×12, and K↑ ∈ℝ4×9 are given by [9d], [9e] and [9f], respectively.

Madani et al.: Preprint submitted to Elsevier Page 6 of 11

Page 8: A SCALABLE SEMIDEFINITE RELAXATION APPROACH ...rm3122/paper/ac_scheduling.pdfA SCALABLE SEMIDEFINITE RELAXATION APPROACH TO GRID SCHEDULING RAMTINMADANI,ALPERATAMTURK,ANDALIDAVOUDI¨

Scalable Unit Commitment with AC Power Flow via Semide�nite Programming Relaxation

Notice that for each g ∈ , the relaxed feasible set TSDPgis defined, by means of conic and linear inequalities that are

convex. The validity of these inequalities is proven in theappendix.

The definition of TSDPg involves 2 × T third-order

semidefinite constraints that can be enforced efficiently. Ad-ditionally, the overall number of inequalities grows linearlywith respect to T , which is an improvement upon existingmethods. On the other hand, the ramp and minimum up &down constraints are incorporated into the valid inequalities,the present convex relaxation offers more accurate bounds,in the case of severe load variations.3.2. Relaxation of Network Constraints

A state of the art method, given in [54], for convex relax-ation of AC power flow equations incorporates an auxiliarymatrix variable Wt ∈ ℍn, for each t ∈ , accounting forv∙,tv∗∙,t. Using the matrix Wt ∈ ℍn, the AC network con-straints [7a]–[7d] can be convexified as follows:

dt + diag{Wt Y∗t } = C⊤(p∙t + iq∙t) (15a)

|diag{Ct Wt Y∗t }| ≤ fmax;t (15b)

|diag{ Ct WtY∗t }| ≤ fmax;t (15c)

vmin ≤ |diag{Wt}| ≤ vmax (15d)In formulation [15a]–[15d], the structure of matrixWt, i.e.,

Wt = v∙,tv∗∙,t (16)is ignored, to make the model polynomially solvable. Toremedy the absence of the non-convex equation [16], the re-laxation can be strengthened through a combination of conicconstraints, with the aim of enforcing the relation betweenWt and v∙,t, implicitly.

Observe that an arbitrary matrix Wt ∈ ℍn can be fac-tored to v∙,tv∗∙,t, if and only if, it is rank-one and positivesemidefinite:

rank{Wt} = 1 ∧ Wt ⪰ 0. (17)Although a rank constraint on Wt cannot be enforced effi-ciently, employing the convex constraint Wt ⪰ 0 leads tothe semidefinite programming (SDP) relaxation of AC net-work constraints. For larger-scale systems, a graph-theoreticanalysis divides the set of buses into several overlapping sub-sets 1,2,… ,A ⊆ , such that the relaxation could berepresented with smaller conic constraints:

Wt[k,k] ⪰ 0, ∀k ∈ {1, 2,… , A}, (18)where for every ⊆ {1,… , n}, the notationWt[ ,] rep-resents the ||× || principal submatrix ofWt, whose rowsand columns are chosen from . Choosing1,2,… ,A,based on the bags of an arbitrary tree decomposition of thenetwork, leads to an equivalent but more efficient SDP relax-ation [54]. A weaker, but far more tractable approach is thesecond-order cone programming (SOCP) relaxation whichuses conic constraints of the following form:

[

Wk1,k1 Wk1,k2Wk2,k1 Wk2,k2

]

⪰ 0, ∀(k1, k2) ∈ t (19)

Algorithm 1 Recovering a Feasible SolutionRequire: The optimal unit commitment solution xopt ∈ ℝG×T to

problem [10a]–[10c]:for g = 1… , G do

for t = 1 − max{m↑g , m

↓g},… , 0 do

Set xfeasg,t according to the initial state of unit g.for g = 1… , G do

for t = 1… , T doa↑←max{xfeasg,� − xfeasg,�−1 | ∀�∈{t − m↑

g + 1,… , t − 1}}

a↓←max{xfeasg,�−1 − xfeasg,� | ∀�∈{t − m↓

g + 1,… , t − 1}}

if a↑ = a↓ = 1 thenDeclare failure.

elseif a↑ = 1 then

xfeasg,t ← 1

if a↓ = 1 thenxfeasg,t ← 0

if a↑ = a↓ = 0 thenxfeasg,t ← round{xoptg,t + 0.25}

return xfeas

To achieve a better balance between the strength of theconvex relaxation and scalability, in this paper, we use athird-order semidefinite programming (TSDP) relaxationwhich is described as follows:Definition 5. For each t ∈ , let TSDP

t ⊂ ℝG×2 be theset of pairs (p⊤g,∙,q

⊤g,∙), for which there exists a Hermitian

matrixWt ∈ ℍn, that satisfies constraints [15a]–[15d] andthe following third-order semidefinite constraints

Wk1,k1 Wk1,k2 Wk1,k3Wk2,k1 Wk2,k2 Wk2,k3Wk3,k1 Wk3,k2 Wk3,k3

⪰ 0, (20)

for every (k1, k2, k3) ∈⋃Ak=1k × k × k, where 1,

2, …, A ⊆ , are the bags associated with an arbitrarytree decomposition of the network t, for which |k| ≥ 3,∀k ∈ {1,…A}.

3.3. Recovering a Feasible SolutionThis section details the procedure for recovering a feasi-

ble solution to the scheduling from the optimal solution ofthe relaxed problem [10a]–[10c] and data generation.

Let (xopt ,popt ,qopt , copt) be an optimal solution to the re-laxed problem [10a]–[10c]. If all entries of xopt turn out tobe integer, and there exists a matrix v ∈ ℂ× that satisfiesconstraints [7a]–[7d], then (xopt ,popt ,qopt , copt) is a globallyoptimal solution to problem [1a]–[1c]. However, the relax-ation is often inexact, and solutions to the relaxed problem[10a]–[10c] are not necessarily feasible for problem [1a]–[1c]. In such cases, a recovery process is needed to transform(xopt ,popt ,qopt , copt) to a feasible and near-optimal solutionfor problem [1a]–[1c].

Madani et al.: Preprint submitted to Elsevier Page 7 of 11

Page 9: A SCALABLE SEMIDEFINITE RELAXATION APPROACH ...rm3122/paper/ac_scheduling.pdfA SCALABLE SEMIDEFINITE RELAXATION APPROACH TO GRID SCHEDULING RAMTINMADANI,ALPERATAMTURK,ANDALIDAVOUDI¨

Scalable Unit Commitment with AC Power Flow via Semide�nite Programming Relaxation

As demonstrated by Table 2, on average, only a smallportion of the binary variables remain fractional after solv-ing the proposed TSDP relaxation problem. In all of our ex-periments, a feasible candidate for x is obtained, through theAlgorithm 1, which simply rounds each entry of xopt subjectto minimum up and down time constraints [5b] and [5a].

Another challenge is finding a feasible voltage profilev = [v∙,1|v∙,2|… |v∙,T ] ∈ ℂ× , based on a solution to therelaxed problem [10a]–[10c]. If the rank constraints [17]are not satisfied at optimality, then the relaxation of net-work equations is not exact and it is not possible to factorizethe resulting matricesWopt

1 ,Wopt2 ,… ,Wopt

T , in the form ofequation [16]. A “recovery algorithm” is introduced in [54],for finding an approximate vector of voltages v∙,t based onWopt

t , which minimizes the overall mismatch (i.e., violationof network equations). In order to obtain voltage profileswith no mismatch, we feed the outcome of the recovery al-gorithm from [54] as the initial point to Newton-Raphson’slocal search algorithm. This procedure is described next:

1. Find a feasible matrix of commitment decisions xfeasvia Algorithm 1.

2. For every t = 1… , T :i) Obtain an approximate voltage profile v∙,t fromWopt

t based on the recovery algorithm in [54].ii) Start with popt∙,t , qopt∙,t and v∙,t, as the initial point to

search locally for a triplet of vectors pfeas∙,t ∈ ℝG,qfeas∙,t ∈ ℝG and vfeas∙,t ∈ ℂ , that minimizes theobjective function ∑G

g=1 �gp2g,t + �gpg,t, subjectto the constraints [7a]–[7d] and

qgx

feasg,t ≤ qg,t ≤ qgx

feasg,t (21a)

pgx

feasg,t ≤ pg,t ≤ pgx

feasg,t (21b)

pg,t ≥ pfeasg,t−1 − rgxfeasg,t − sg(1 − xfeasg,t ) (21c)

pg,t ≤ pfeasg,t−1 + rgxfeasg,t−1 + sg(1 − x

feasg,t−1). (21d)

iii) Derive the feasible cost values cfeasg,t , accordingto the equation [3].

3. Report (xfeas,pfeas,qfeas) as the output schedule/ dis-patch and v as the corresponding voltage profile. Thefollowing quantity serves as an upperbound for rela-tive distance from global optimality:

Gap ≤ 100 ×

∑Tt=1

∑Gg=1 (c

feasg,t − coptg,t )

∑Tt=1

∑Gg=1 c

feasg,t

(22)

We have used the procedure described above for the exper-iments presented in Table 2, and in all cases, a feasible so-lution could be found within the violation tolerance of theconstraint (10−5 per-unit).

4. Experimental ResultsThis section gives a brief summary of the experiments

with the proposed third-order semidefinite programming

(TSDP) approach on large-scale instances of day-aheadscheduling. The goal is to determine the least-cost dispatch,that is, the on/off status and the amount of power producedby the generating units throughout the day ahead for meetingthe load (demand) subject to the network transmission andtechnological constraints. We consider real-world bench-mark grids based on IEEE and European data with up to13, 659 buses (vertices) and 4, 077 generating units. Theplanning horizon is divided into 24 hourly intervals. For thelargest benchmark, the model includes almost 100,000 bi-nary decision variables. Table 2 presents the average resultsfor tenMonte Carlo demand simulations for each benchmarknetwork. The computations are performed on a workstationwith a single CPU. The details of data generation and exper-iments are discussed later in this section.4.1. Linear DC Model

We first consider the approximate linear DC model,which is typically used by the electric power industry to for-mulate transmission of power in day-ahead scheduling prob-lems. For all experiments, the proposed TSDP relaxationyields integer values for more than 99.5% of binary vari-ables. Moreover, the objective values of the recovered (feasi-ble) scheduling decisions are provablywithin 0.22% of globaloptimality for all benchmarks. The average performance ofthe TSDP relaxation, based on the DC model, is reported incolumns three, four and five of Table 2. Even for the largestbenchmark, near-optimal solutions are obtained within a fewminutes.

For comparison, the results with the commercial mixed-integer solver CPLEX, which is widely used by the systemoperators, are provided in columns six and seven. Althoughsmall-scale problems, based on IEEE data, are solved fastby CPLEX, no feasible solution is found after three hours ofcomputation for the largest three benchmarks.4.2. Nonlinear AC Model

If an accurate nonlinear AC model for the flow of elec-tricity is adopted, CPLEX, Gurobi and other commonly usedoff-the-shelf optimizers cannot be employed due to the pres-ence of non-convex power constraints. For the largest bench-mark system in Table 2, the aforementioned nonlinear modelresults in a mixed-integer nonlinear optimization problemwith 97, 848 binary variables, as well as 983, 448 non-convexquadratic constraints. For all experiments based on this net-work, our algorithm has been able to find solutions (withmaximum power mismatch within 10−5 per-unit) that are onaverage within 2.73% from global optimality. Moreover, forsmall- to medium-sized cases, all solutions are obtained inless than 40 minutes and within 1.24% gap from global op-timality.4.3. Data Generation

The network data for IEEE and European systems is ob-tained from theMATPOWER package [77, 40]. Hourly loadchanges for the day-ahead at all buses are considered pro-portional to the numbers reported in [43]. In each experi-ment, the cost coefficients �g , �g , g , ↓g and ↑g are chosen

Madani et al.: Preprint submitted to Elsevier Page 8 of 11

Page 10: A SCALABLE SEMIDEFINITE RELAXATION APPROACH ...rm3122/paper/ac_scheduling.pdfA SCALABLE SEMIDEFINITE RELAXATION APPROACH TO GRID SCHEDULING RAMTINMADANI,ALPERATAMTURK,ANDALIDAVOUDI¨

Scalable Unit Commitment with AC Power Flow via Semide�nite Programming Relaxation

Table 2

The performance of the TSDP relaxation algorithm for 24-hour horizon scheduling ofbenchmark systems with hourly epochs using the linear DC and nonlinear AC models.

Linear DC Model Nonlinear AC Model

Test Case Number Ratio of TSDP TSDP TSDP CPLEX CPLEX Ratio of TSDP TSDP TSDPof Units Inexact Binaries Gap Time Gap Time Inexact Binaries Gap Time

IEEE 118 54 0 ∕ 1, 296 0% 3s 0% 28s 0 ∕ 1, 296 0.01% 11sIEEE 300 69 0 ∕ 1, 656 0% 3s 0% 67s 0 ∕ 1, 656 0.34% 41s

PEGASE 1354 193 28.4 ∕ 4, 632 0.09% 18s 8.57% 10, 800s† 26.0 ∕ 4, 632 1.24% 486sPEGASE 2869 392 24.5 ∕ 9, 408 0.01% 35s − 10, 800s† 33.8 ∕ 9, 408 0.42% 2, 175sPEGASE 9241 1, 153 75.4 ∕ 27, 672 0.05% 137s − 10, 800s† 226.5 ∕ 27, 672 2.73% 56, 351sPEGASE 13659 4, 077 29.5 ∕ 97, 848 0.22% 266s − 10, 800s† 995.3 ∕ 97, 848 1.21% 116, 064s† Solver is terminated after 3 hours.

uniformly between zero and 1 $∕(MW.h)2, 10 $∕(MW.h),100 $, 30 $ and 50 $, respectively. The ramp limits of eachgenerating unit are set to rg = sg = max{pg∕4,

pg}. For

each generating unit, the minimum up and down limits m↑g

and m↓g are randomly selected in such a way that m↑

g − 1 andm↓g−1 have Poisson distributionwith parameter 4. The initial

status of generators at time period t = 0 is found by solvinga single period economic dispatch problem corresponding tothe demand at time t = 1. For each generating unit g ∈ , itis assumed that the initial status has been maintained exactlysince time period t = −t(0)g , where t(0)g has Poisson distribu-tion with parameter 4. For simplicity, all of the generatingunits with negative capacity are removed. All simulationsare run in MATLAB using a workstation with an Intel 3.0GHz, 12-core CPU, and 256 GB RAM. The CVX packageversion 3.0 [34] and MOSEK version 8.0 [6] are used forsolving semidefinite programming problems. The data set aswell as the log files of the optimization runs are available fordownload at: http://ieor.berkeley.edu/∼atamturk/data/tsdp.

5. ConclusionsIn this paper, we study the problem of optimizing grids

operation throughout a planning horizon, based on the avail-able resources for supply and transmission of electricity.This fundamental problem is heavily investigated for decadesand need to be solved on a daily basis by independent systemoperators and utility companies. The challenge is twofold:first, determining a massive number of highly correlated bi-nary decisions that account for commitment of generators;secondly, finding the most economic transmission strategyin accordance with laws of physics and technological limi-tations.

We propose a third-order semidefinite programming(TSDP) approach that is equipped with an accurate physicalmodel for the flow of electricity and offers massive scalabil-ity in the number of generating units and grid size. Whileco-optimization of supply and transmission under the fullphysical model has long been put forward as a direction toboost the efficiency and reliability of operation, scalabilityhas been the main bottleneck to-date. Significant improve-

ment over the state-of-the-art methods is validated on day-ahead grid scheduling problems, on the largest publicly avail-able real-world data.

References[1] Aflalo, Y., Bronstein, A., Kimmel, R., 2015. On convex relaxation

of graph isomorphism. Proceedings of the National Academy of Sci-ences 112, 2942–2947.

[2] Aktürk, M.S., Atamtürk, A., Gürel, S., 2009. A strong conic quadraticreformulation for machine-job assignment with controllable process-ing times. Operations Research Letters 37, 187–191.

[3] Allen, E., Ilic, M., 2012. Price-based commitment decisions in theelectricity market. Springer Science & Business Media.

[4] Andersen, M.S., Hansson, A., Vandenberghe, L., 2014. Reduced-complexity semidefinite relaxations of optimal power flow problems.IEEE Transactions on Power Systems 29, 1855–1863.

[5] Anese, E.D., Baker, K., Summers, T., 2017. Chance-constrained ACoptimal power flow for distribution systems with renewables. IEEETransactions on Power Systems 32, 3427–3438.

[6] ApS, M., 2015. The MOSEK optimization toolbox for MATLABmanual. Version 7.1 (Revision 28). URL: http://docs.mosek.com/7.1/toolbox/index.html.

[7] Bai, X., Wei, H., 2009. Semi-definite programming-based method forsecurity-constrained unit commitment with operational and optimalpower flow constraints. IET Generation, Transmission &Distribution3, 182–197.

[8] Baldick, R., Helman, U., Hobbs, B.F., O’Neill, R.P., 2005. Design ofefficient generation markets. Proceedings of the IEEE 93, 1998–2012.

[9] Bandeira, A.S., 2016. Inference on graphs via semidefinite program-ming. Proceedings of the National Academy of Sciences , 201603405.

[10] Bao, X., Sahinidis, N.V., Tawarmalani, M., 2011. Semidefinite relax-ations for quadratically constrained quadratic programming: A reviewand comparisons. Mathematical Programming 129, 129–157.

[11] Belotti, P., Góez, J.C., Pólik, I., Ralphs, T.K., Terlaky, T., 2015. Aconic representation of the convex hull of disjunctive sets and coniccuts for integer second order cone optimization, in: Numerical Anal-ysis and Optimization. Springer, pp. 1–35.

[12] Bertsimas, D., Litvinov, E., Sun, X.A., Zhao, J., Zheng, T., 2013.Adaptive robust optimization for the security constrained unit com-mitment problem. IEEE Transactions on Power Systems 28, 52–63.

[13] Bitar, E.Y., Rajagopal, R., Khargonekar, P.P., Poolla, K., Varaiya, P.,2012. Bringing wind energy to market. IEEE Transactions on PowerSystems 27, 1225–1235.

[14] Bose, S., Low, S.H., Teeraratkul, T., Hassibi, B., 2015. Equivalentrelaxations of optimal power flow. IEEE Transactions on AutomaticControl 60, 729–742.

[15] Cain, M.B., O’Neill, R.P., Castillo, A., 2012. History of optimal

Madani et al.: Preprint submitted to Elsevier Page 9 of 11

Page 11: A SCALABLE SEMIDEFINITE RELAXATION APPROACH ...rm3122/paper/ac_scheduling.pdfA SCALABLE SEMIDEFINITE RELAXATION APPROACH TO GRID SCHEDULING RAMTINMADANI,ALPERATAMTURK,ANDALIDAVOUDI¨

Scalable Unit Commitment with AC Power Flow via Semide�nite Programming Relaxation

power flow and formulations. Federal Energy Regulatory Commis-sion , 1–36.

[16] Candes, E.J., Eldar, Y.C., Strohmer, T., Voroninski, V., 2015. Phaseretrieval via matrix completion. SIAM review 57, 225–251.

[17] Capitanescu, F., 2016. Critical review of recent advances and fur-ther developments needed in AC optimal power flow. Electric PowerSystems Research 136, 57–68.

[18] Castillo, A., Laird, C., Silva-Monroy, C.A., Watson, J.P., O’Neill,R.P., 2016. The unit commitment problem with AC optimal powerflow constraints. IEEE Transactions on Power Systems 31, 4853–4866.

[19] Chandrasekaran, V., Jordan, M.I., 2013. Computational and statisticaltradeoffs via convex relaxation. Proceedings of the National Academyof Sciences 110, E1181–E1190.

[20] Chen, C., Atamtürk, A., Oren, S.S., 2016. Bound tightening for thealternating current optimal power flow problem. IEEE Transactionson Power Systems 31, 3729–3736.

[21] Chen, C., Atamtürk, A., Oren, S.S., 2017. A spatial branch-and-cutmethod for nonconvexQCQPwith bounded complex variables. Math-ematical Programming 165, 549–577.

[22] Clack, C.T., Qvist, S.A., Apt, J., Bazilian, M., Brandt, A.R., Caldeira,K., Davis, S.J., Diakov, V., Handschy, M.A., Hines, P.D., et al., 2017.Evaluation of a proposal for reliable low-cost grid power with 100%wind, water, and solar. Proceedings of the National Academy of Sci-ences , 201610381.

[23] Coffrin, C., Hijazi, H., Van Hentenryck, P., 2016. Strengthening theSDP relaxation of AC power flows with convex envelopes, boundtightening, and valid inequalities. IEEE Transactions on Power Sys-tems .

[24] Coogan, S., Kim, E., Gomes, G., Arcak, M., Varaiya, P., 2017. Offsetoptimization in signalized traffic networks via semidefinite relaxation.Transportation Research Part B: Methodological 100, 82–92.

[25] Damcı-Kurt, P., Küçükyavuz, S., Rajan, D., Atamtürk, A., 2016. Apolyhedral study of production ramping. Mathematical Programming158, 175–205.

[26] Dörfler, F., Simpson-Porco, J.W., Bullo, F., 2016. Breaking the hi-erarchy: Distributed control and economic optimality in microgrids.IEEE Transactions on Control of Network Systems 3, 241–253.

[27] Dvijotham, K., Chertkov, M., Van Hentenryck, P., Vuffray, M., Misra,S., 2017. Graphical models for optimal power flow. Constraints 22,24–49.

[28] Fattahi, S., Ashraphijuo, M., Lavaei, J., Atamtürk, A., 2017. Conicrelaxations of the unit commitment problem. Energy 134, 1079–1095.

[29] Frangioni, A., Gentile, C., 2009. A computational comparison ofreformulations of the perspective relaxation: SOCP vs. cutting planes.Operations Research Letters 37, 206–210.

[30] Gan, L., Li, N., Topcu, U., Low, S.H., 2015. Exact convex relax-ation of optimal power flow in radial networks. IEEE Transactions onAutomatic Control 60, 72–87.

[31] Geng, Z., Conejo, A., Xia, Q., 2017. Alternative linearizations for theoperating cost function of unit commitment problems. IET Genera-tion, Transmission & Distribution .

[32] Giannakis, G.B., Kekatos, V., Gatsis, N., Kim, S.J., Zhu, H., Wollen-berg, B.F., 2013. Monitoring and optimization for power grids: Asignal processing perspective. IEEE Signal Processing Magazine 30,107–128.

[33] Gouveia, J., Parrilo, P.A., Thomas, R.R., 2010. Theta bodies for poly-nomial ideals. SIAM Journal on Optimization 20, 2097–2118.

[34] Grant, M., Boyd, S., 2014. CVX: Matlab software for disciplinedconvex programming, version 2.1. http://cvxr.com/cvx.

[35] Guo, J., Hug, G., Tonguz, O.K., 2017. A case for non-convex dis-tributed optimization in large-scale power systems. IEEE Transac-tions on Power Systems 32, 3842–3851.

[36] Hedman, K.W., Ferris, M.C., O’Neill, R.P., Fisher, E.B., Oren, S.S.,2010. Co-optimization of generation unit commitment and transmis-sion switching with N-1 reliability. IEEE Transactions on Power Sys-tems 25, 1052–1063.

[37] Hua, B., Baldick, R., 2017. A convex primal formulation for convex

hull pricing. IEEE Transactions on Power Systems PP, 1–1.[38] Jabr, R., 2013. Rank-constrained semidefinite program for unit com-

mitment. International Journal of Electrical Power & Energy Systems47, 13–20.

[39] Javanmard, A., Montanari, A., Ricci-Tersenghi, F., 2016. Phasetransitions in semidefinite relaxations. Proceedings of the NationalAcademy of Sciences 113, E2218–E2223.

[40] Josz, C., Fliscounakis, S., Maeght, J., Panciatici, P., 2016. AC powerflow data in MATPOWER and QCQP format: iTesla, RTE snapshots,and PEGASE.

[41] Kargarian, A., Fu, Y., Li, Z., 2015. Distributed security-constrainedunit commitment for large-scale power systems. IEEE Transactionson Power Systems 30, 1925–1936.

[42] Kerl, P.Y., Zhang, W., Moreno-Cruz, J.B., Nenes, A., Realff, M.J.,Russell, A.G., Sokol, J., Thomas, V.M., 2015. New approach foroptimal electricity planning and dispatching with hourly time-scaleair quality and health considerations. Proceedings of the NationalAcademy of Sciences 112, 10884–10889.

[43] Khodaei, A., Shahidehpour, M., 2010. Transmission switching insecurity-constrained unit commitment. IEEE Transactions on PowerSystems 25, 1937–1945.

[44] Kim, S., Kojima, M., 2003. Exact solutions of some nonconvexquadratic optimization problems via SDP and SOCP relaxations.Computational Optimization and Applications 26, 143–154.

[45] Kim, S., Kojima, M., Yamashita, M., 2003. Second order cone pro-gramming relaxation of a positive semidefinite constraint. Optimiza-tion Methods and Software 18, 535–541.

[46] Kocuk, B., Dey, S.S., Sun, X.A., 2016. Inexactness of SDP relaxationand valid inequalities for optimal power flow. IEEE Transactions onPower Systems 31, 642–651.

[47] Lasserre, J.B., 2001. Global optimization with polynomials and theproblem of moments. SIAM Journal on Optimization 11, 796–817.

[48] Lasserre, J.B., 2006. Convergent SDP-relaxations in polynomial opti-mization with sparsity. SIAM Journal on Optimization 17, 822–843.

[49] Laurent, M., 2009. Sums of squares, moment matrices and optimiza-tion over polynomials. Emerging applications of algebraic geometry, 157–270.

[50] Lavaei, J., Low, S.H., 2012. Zero duality gap in optimal power flowproblem. IEEE Transactions on Power Systems 27, 92–107.

[51] Lee, J., Leung, J., Margot, F., 2004. Min-up/min-down polytopes.Discrete Optimization 1, 77–85.

[52] Lipka, P., Oren, S.S., O’Neill, R.P., Castillo, A., 2017. Running amore complete market with the SLP-IV-ACOPF. IEEE Transactionson Power Systems 32, 1139–1148.

[53] Lorca, A., Sun, X., 2017. Multistage robust unit commitment withdynamic uncertainty sets and energy storage. IEEE Transactions onPower Systems 32, 1678–1688.

[54] Madani, R., Ashraphijuo, M., Lavaei, J., 2016. Promises of conicrelaxation for contingency-constrained optimal power flow problem.IEEE Transactions on Power Systems 31, 1297–1307.

[55] Madani, R., Sojoudi, S., Lavaei, J., 2015. Convex relaxation for op-timal power flow problem: Mesh networks. IEEE Transactions onPower Systems 30, 199–211.

[56] Marley, J.F., Molzahn, D.K., Hiskens, I.A., 2017. SolvingmultiperiodOPF problems using an AC-QP algorithm initialized with an SOCPrelaxation. IEEE Transactions on Power Systems PP, 1–1. doi:10.1109/TPWRS.2016.2636132.

[57] Mehta, D., Nguyen, H.D., Turitsyn, K., 2016. Numerical polynomialhomotopy continuation method to locate all the power flow solutions.IET Generation, Transmission & Distribution 10, 2972–2980.

[58] Molzahn, D.K., Holzer, J.T., Lesieutre, B.C., DeMarco, C.L., 2013.Implementation of a large-scale optimal power flow solver based onsemidefinite programming. IEEE Transactions on Power Systems 28,3987–3998.

[59] Muramatsu, M., Suzuki, T., 2003. A new second-order cone pro-gramming relaxation for max-cut problems. Journal of the OperationsResearch Society of Japan 46, 164–177.

[60] Nagy, S., Vértesi, T., 2016. EPR steering inequalities with communi-

Madani et al.: Preprint submitted to Elsevier Page 10 of 11

Page 12: A SCALABLE SEMIDEFINITE RELAXATION APPROACH ...rm3122/paper/ac_scheduling.pdfA SCALABLE SEMIDEFINITE RELAXATION APPROACH TO GRID SCHEDULING RAMTINMADANI,ALPERATAMTURK,ANDALIDAVOUDI¨

Scalable Unit Commitment with AC Power Flow via Semide�nite Programming Relaxation

cation assistance. Scientific reports 6.[61] Natarajan, K., Shi, D., Toh, K.C., 2013. A penalized quadratic con-

vex reformulation method for random quadratic unconstrained binaryoptimization. Optimization Online .

[62] National Academies of Sciences, Engineering, andMedicine and oth-ers, 2016. Analytic Research Foundations for the Next-GenerationElectric Grid. National Academies Press. doi:10.17226/21919.

[63] Ostrowski, J., Anjos, M.F., Vannelli, A., 2012. Tight mixed integerlinear programming formulations for the unit commitment problem.IEEE Transactions on Power Systems 27, 39–46.

[64] Papavasiliou, A., Oren, S.S., 2013. A comparative study of stochas-tic unit commitment and security-constrained unit commitment usinghigh performance computing, in: Control Conference (ECC), 2013European, IEEE. pp. 2507–2512.

[65] Papavasiliou, A., Oren, S.S., Rountree, B., 2015. Applying highperformance computing to transmission-constrained stochastic unitcommitment for renewable energy integration. IEEE Transactions onPower Systems 30, 1109–1120.

[66] Park, J., Boyd, S., 2018. A semidefinite programming method forinteger convex quadratic minimization. Optimization Letters 12, 499–518.

[67] Phan, D.T., Koc, A., 2013. Optimization approaches to security-constrained unit commitment and economic dispatch with uncertaintyanalysis, in: Optimization and Security Challenges in Smart PowerGrids. Springer, pp. 1–37.

[68] Sojoudi, S., Lavaei, J., 2014. Exactness of semidefinite relaxationsfor nonlinear optimization problems with underlying graph structure.SIAM Journal on Optimization 24, 1746–1778.

[69] Subramanian, A., Garcia, M.J., Callaway, D.S., Poolla, K., Varaiya,P., 2013. Real-time scheduling of distributed resources. IEEE Trans-actions on Smart Grid 4, 2122–2130.

[70] Sundar, K., Nagarajan, H., Roald, L., Misra, S., Bent, R., Bienstock,D., 2017. A modified benders decomposition for chance-constrainedunit commitment with N-1 security and wind uncertainty. arXivpreprint arXiv:1703.05206 .

[71] Tomamichel, M., Berta, M., Renes, J.M., 2016. Quantum coding withfinite resources. Nature communications 7. 11419.

[72] Wu, H., Shahidehpour, M., Khodayar, M.E., 2013. Hourly demandresponse in day-ahead scheduling considering generating unit ramp-ing cost. IEEE Transactions on Power Systems 28, 2446–2454.

[73] Yu, Y., Rajagopal, R., 2015. The impacts of electricity dispatch pro-tocols on the emission reductions due to wind power and carbon tax.Environmental Science & Technology 49, 2568–2576.

[74] Zhang, B., Tse, D., 2013. Geometry of injection regions of powernetworks. IEEE Transactions on Power Systems 28, 788–797.

[75] Zhang, Y., Hong, M., Dall’Anese, E., Dhople, S., Xu, Z., 2018. Dis-tributed controllers seeking AC optimal power flow solutions usingADMM. IEEE Transactions on Smart Grid 9, 4525–4537.

[76] Zhao, B., Conejo, A.J., Sioshansi, R., 2017. Unit commitment undergas-supply uncertainty and gas-price variability. IEEE Transactionson Power Systems 32, 2394–2405.

[77] Zimmerman, R.D., Murillo-Sánchez, C.E., Thomas, R.J., 2011.MATPOWER: Steady-state operations, planning, and analysis toolsfor power systems research and education. IEEE Transactions onpower systems 26, 12–19.

A. AppendixA proof of validity for conic and linear inequalities [14]

and [9] is provided in this section.Proposition 1. Inequalities [14a], [14b] and [9a] are validfor every pair of vectors (x,p) ∈ ℝG×T that satisfy con-straints [2], [4a], [6a], [6b], [5a] and [5b]. Additionally, ifm↓g ≥ 2, then constraint [9b] and if m↑

g ≥ 2, then constraint[9c] is valid.

Proof: For every (g, t) ∈ {1,… , G}×{1,… , T }, define thevector of monomials:

�g,t ≜ [xg,t−1, xg,t, pg,t−1, pg,t,

ℎg,t−1, ℎg,t−1,

ℎg,t, ℎg,t, ag,t, ag,t,

xg,t−1 ℎg,t−1, xg,t−1ℎg,t−1, xg,t−1

ℎg,t,

xg,t−1ℎg,t, xg,t−1ag,t, xg,t−1ag,t,

xg,t ℎg,t−1, xg,tℎg,t−1, xg,t

ℎg,t,

xg,tℎg,t, xg,tag,t, xg,tag,t]⊤, (23)

where

ℎg,t ≜

pg,t −pgxg,t , ℎg,t ≜

pgxg,t − pg,t , (24a)

ag,t ≜

sg + (rg − sg)xg,t−1 + pg,t−1 − pg,t , (24b)ag,t ≜

sg + (rg − sg)xg,t − pg,t−1 + pg,t . (24c)Define �g,t as the 22×22 symmetric matrix formed by mul-tiplying �g,t by its transpose:

�g,t ≜ �g,t�⊤g,t. (25)Observe that �g,t is positive semidefinite, and as a conse-quence, every principle submatrix of�g,t is positive semidef-inite, as well. Considering submatrices�g,t[{2, 1, 3}, {2, 1, 3}] and �g,t[{1, 2, 4}, {1, 2, 4}],concludes the conic constraints [14a] and [14b], respectively.Moreover, the constraint [9a] encapsulates 24 linear inequal-ities, and it is straightforward to verify that inequalities k,k + 6, k + 12 and k + 18 can be concluded from�g,t[{k + 4, k + 10, k + 16}, {k + 4, k + 10, k + 16}] ⪰ 0,

for each k = 1, 2,… , 6. This completes the proof of [9a].In order to prove the validity constraint [9b], suppose that

m↓g ≥ 2, and consider the following vector of monomials:�↓g,t ≜ [w↓

g,t, xg,t−1w↓g,t,

ℎg,t−1w↓g,t, ℎg,t−1w

↓g,t]

⊤, (26)where

w↓g,t ≜

1 − xg,t−2 + xg,t−1 − xg,t . (27)Observe that all four inequalities encapsulated in [9b] can beconcluded from the conic inequality �↓

g,t(�↓g,t)

⊤ ⪰ 0.If m↑

g ≥ 2, the validity of the constraint [9c] can be sim-ilarly proven by defining

w↑g,t ≜

xg,t−2 − xg,t−1 + xg,t , (28)and forming the vector of monomials

�↑g,t ≜ [w↑

g,t, xg,t−1w↑g,t,

ℎg,t−1w↑g,t, ℎg,t−1w

↑g,t]

⊤. (29)Finally, the four inequalities from [9c] can be inferred fromthe conic inequality �↑

g,t(�↑g,t)

⊤ ⪰ 0. ■

Madani et al.: Preprint submitted to Elsevier Page 11 of 11


Recommended