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

Carbon-Aware Optimal Power Flow

Xin Chen, Andy Sun, Wenbo Shi, Na Li X. Chen is with the Department of Electrical and Computer Engineering, Texas A&M University, USA; correspondence email: xin_chen@tamu.edu. A. Sun is with the Sloan School of Management and the MIT Energy Initiative, Massachusetts Institute of Technology, USA. W. Shi is with Singularity Energy Inc., USA. N. Li is with the School of Engineering and Applied Sciences, Harvard University, USA. This work was supported by the U.S. Department of Energy through the Grid Resilience Analysis and Climate Change Impacts (GRACI) Grant, NSF ASCENT Award No. 2328241, the Texas A&M Blockchain & Energy Research Consortium, the Texas A&M Smart Grid Center, and the MIT Future Energy Systems Center.
Abstract

To facilitate effective decarbonization of the electric energy sector, this paper introduces a generic Carbon-aware Optimal Power Flow (C-OPF) methodology for power system decision-making that considers the active management of the grid’s carbon footprints. Built upon conventional Optimal Power Flow (OPF) models, the proposed C-OPF model further integrates carbon emission flow equations and constraints, as well as carbon-related objectives, to co-optimize electric power flow and carbon emission flow across the power grid. Essentially, the proposed C-OPF can be viewed as a carbon-aware generalization of OPF. Moreover, this paper rigorously establishes the conditions that guarantee the feasibility and solution uniqueness of the carbon emission flow equations, and it proposes a reformulation technique to address the critical issue of undetermined power flow directions in the C-OPF model. Furthermore, two novel carbon footprint models for energy storage systems are developed and incorporated into the C-OPF method. Numerical simulations demonstrate the characteristics and effectiveness of the C-OPF method, in comparison with conventional OPF solutions.

Index Terms:
Carbon-aware decision-making, optimal power flow, grid decarbonization, carbon footprint.

Nomenclature

-A Sets and Parameters

𝒩i\mathcal{N}_{i}

Set of neighbor nodes of node ii.

𝒩i+(𝒩i)\mathcal{N}_{i}^{+}(\mathcal{N}_{i}^{-})

Set of neighbor nodes that send power to (receive power from) node ii.

𝒢i\mathcal{G}_{i}

Set of generators at node ii.

i\mathcal{L}_{i}

Set of loads at node ii.

𝒯\mathcal{T}

Set of time steps with the time interval δt\delta_{t}.

wi,gGw_{i,g}^{\mathrm{G}}

Generation carbon emission factor of generator gg at node ii.

-B Variables

Riji(Rijj)R_{ij}^{i}(R_{ij}^{j})

Carbon flow rate of branch ijij from node ii to node jj measured at node ii (node jj).

RijlossR_{ij}^{\mathrm{loss}}

Carbon flow rate associated with the power loss of branch ijij.

Ri,gGR_{i,g}^{\mathrm{G}}

Carbon flow rate from generator gg at node ii.

Ri,lLR_{i,l}^{\mathrm{L}}

Carbon flow rate injected to load ll at node ii.

Piji(Pijj)P_{ij}^{i}(P_{ij}^{j})

Active power flow of branch ijij from node ii to node jj measured at node ii (node jj).

PijlossP_{ij}^{\mathrm{loss}}

Power loss of branch ijij.

Pi,gG(Qi,gG)P_{i,g}^{\mathrm{G}}(Q_{i,g}^{\mathrm{G}})

Active (reactive) power output of generator gg at node ii.

Pi,lL(Qi,lL)P_{i,l}^{\mathrm{L}}(Q_{i,l}^{\mathrm{L}})

Active (reactive) power of load ll at node ii.

Pi,tch(Pi,tdc)P_{i,t}^{\mathrm{ch}}(P_{i,t}^{\mathrm{dc}})

Charging (discharging) power of the ES system at node ii at time tt.

ei,tese_{i,t}^{\mathrm{es}}

Energy of the ES system at node ii at time tt.

Ei,tesE_{i,t}^{\mathrm{es}}

Virtually stored carbon emissions of the ES system at node ii at time tt.

wi,tesw_{i,t}^{\mathrm{es}}

Internal carbon emission intensity of the ES system at node ii at time tt.

wiw_{i}

Nodal carbon intensity of node ii.

Notes: 1) Notations with an additional subscript tt denote the values at time tt. For example, wi,tw_{i,t} denotes the nodal carbon intensity of node ii at time tt. 2) For a matrix 𝑨\bm{A}, 𝑨[i,j]\bm{A}[i,j] denotes the element in ii-th row and jj-th column.

I Introduction

Deep and rapid decarbonization of electric power systems has emerged as an urgent priority [1] to combat climate change. In 2022, the U.S. electric power sector emitted 1,539 million tons of carbon dioxide (CO2\mathrm{CO_{2}}), which accounts for over 30% of the total U.S. energy-related carbon emissions [2]. To enable transparent and effective grid decarbonization, precisely measuring and quantifying the amount of carbon emissions (i.e., carbon footprints) associated with electricity production and consumption, known as carbon accounting [3], is crucial. It lays the quantitative foundation necessary for informing decarbonization decisions, carbon-electricity markets, regulation and policy development. Although almost all carbon emissions in power systems physically originate from electric generators due to the combustion of fossil fuels, it is the electricity consumption that creates the need for power generation and results in emissions. Hence, in addition to accurately measuring the emissions produced by electric generators, it is essential to determine the carbon footprints of end-users by appropriately attribute the generation-side emissions to end-users based on their electricity use, which is referred to as demand-side carbon accounting [4]. Accordingly, the Greenhouse Gas (GHG) Protocol111The GHG Protocol [5, 3] developed by the World Resources Institute (WRI) provides internationally recognized GHG accounting and reporting standards and guidelines, which are widely used in the industry. [5, 3] establishes two categories of emissions, i.e., Scope 1 and Scope 2, to distinguish the direct generation-side emissions and the indirect (or attributed) emissions associated with electricity consumption and power network losses.

As introduced in [4], carbon accounting frameworks can be categorized into two primary types: attributional and consequential. Attributional carbon accounting aims to allocate direct generation-side emissions to end-users for assigning emissions responsibility, namely the Scope 2 emissions described above. In contrast, consequential carbon accounting seeks to evaluate the change or impact on grid emissions resulting from specific decisions or projects, compared to a counterfactual baseline emission scenario, which employs methods such as marginal emissions [6] and avoided emissions. These two carbon accounting frameworks are distinct and serve different purposes [4]. In terms of attributional carbon accounting, there are two main currently-used methods [3]: 1) the location-based method, which adopts grid average emission factors (AEFs) across long time horizons and large areas [7, 3] to account for electricity users’ carbon footprints, and 2) the market-based method, which derives carbon emission factors purely based on clean power market instruments [8], such as Renewable Energy Certificates (RECs) [9] and Power Purchase Agreement (PPA) [10]. See [4] for a comprehensive overview of carbon accounting methods for power grids.

This paper focuses on the location-based method for attributional demand-side carbon accounting, while the existing AEF-based schemes suffer from two critical limitations: 1) lack of temporal and spatial granularity, and 2) disregard of actual electricity delivery through physical power networks [4]. Since the generation fuel mix in power systems constantly changes over time, the grid carbon intensities of electricity are dynamic and time-varying with significant daily and seasonal patterns [11]. In addition, the grid carbon intensities vary geographically, as generators of different fuel types are distributed across various locations. Moreover, power grids feature specific network topologies and circuits through which power flows, physically connecting end-users with generators and impacting carbon emissions. Therefore, carbon accounting schemes require sufficient granularity and alignment with physical power grids to 1) reflect the temporal variations and spatial diversity in grid emissions, 2) provide precise and accurate carbon accounting results for end-users, and 3) effectively inform and incentivize grid decarbonization decisions. See [4, 7, 12] for more discussions and justifications.

To tackle these issues, the concept of carbon (emission) flow is introduced in [13], where carbon emissions are treated as virtual network flows embodied in energy flows, transmitted from producers to consumers. References [14, 15] establish the mathematical models of carbon flow in electric power networks. The carbon flow method defines nodal and branch carbon intensities for the grid, providing a temporally and spatially granular depiction of the grid’s carbon footprints. In this way, the carbon flow method represents a prominent tool for demand-side carbon accounting, which aligns carbon footprint calculations with the physical grids and power flows. See [14] and Section II for more details. Recent work [16] presents a tree search algorithm to trace the contribution of each generator to individual lines and loads, thereby estimating nodal carbon emissions. This approach builds on the concept of electricity flow tracing [17] and yields nodal carbon emission estimates comparable to those produced by the carbon flow method, with the potential distinction being in how power losses are handled.

Unlike the studies above that focus on accounting for and estimating the grid carbon footprints, this paper aims to advance foundational methodologies for grid decarbonization decision-making and enable optimal carbon-electricity joint management in power grids. In this regard, the Optimal Power Flow (OPF) method [18, 19] stands as a foundational mathematical tool for optimizing power system decisions. It has been studied extensively in the literature and widely applied in grid planning, operations, control, and electricity markets [20, 21, 22]. Existing OPF schemes typically seek optimal power grid decisions to minimize a specific economic cost objective, while satisfying the power flow equations, network constraints, and operational limits of devices. However, the essential goals of grid decarbonization and carbon footprint management are inadequately considered. Since power system decisions, e.g., the siting and sizing of renewable generators or power dispatch of various generation sources, directly impact the grid’s carbon footprints, it becomes necessary to explicitly integrate carbon footprint management into grid decision-making for achieving desired decarbonization performances and outcomes.

I-A Related Work and Key Issues

There have been a number of recent studies [23, 24, 25, 26, 27, 28, 29, 30, 31, 32] that consider carbon emission flow in power system planning and operation. Reference [23] proposes a transmission expansion planning method that defines an index to quantify the equity performance of carbon emission allocation based on the carbon flow model. In [24], a multi-objective power network transition model is built to plan the retirement of aging coal-fired power plants, while one of the objectives is to minimize user-side carbon footprints. Reference [33] studies the low-carbon operation of multiple energy systems and derives the locational energy-carbon integrated price based on the nodal carbon intensities calculated using the carbon flow method. In [25, 26, 27, 28], carbon-aware expansion planning models are established for multi-energy systems under carbon emission constraints on electric devices and energy hubs. Additionally, the carbon flow model and constraints are taken into account in power scheduling [29], energy management [30, 31], and peer-to-peer carbon-electricity trading [32]. Existing studies outlined above focus on specific power system applications. However, it remains unaddressed in establishing a fundamental decision-making methodology necessary for guiding various grid decarbonization decisions and supporting theoretical studies and performance analysis.

Moreover, there are two critical issues in the integration of carbon emission flow into the grid decision models that necessitate to be addressed:

  • 1)

    (Power Flow Directions): The carbon flow model [14] needs to pre-determine the power flow directions for all branches to identify the power inflows for each node. However, the directions of branch power flows are typically unknown prior to solving optimal decision models. Most existing works that employ the carbon flow model in grid decision-making either overlook the issue of unknown power flow directions or assume they are predetermined by alternating between grid optimization and carbon flow calculation through iterations [32]. Reference [28] introduces binary indicator variables to handle the unknown power flow directions in the carbon flow model. It results in a mixed-integer nonconvex quadratically constrained optimization problem, which cannot be readily solved using off-the-shelf optimizers due to involving both integer variables and nonconvex constraints. Thus, a tailored heuristic penalty-based iterative algorithm is designed to solve the optimization problem.

  • 2)

    (Carbon Footprint Models for Energy Storage): By switching between charging and discharging, energy storage (ES) systems can shift load demand and transfer renewable energy across time, offering substantial potential to reduce power system emissions. Hence, developing carbon footprint models for ES systems is crucial, since it lays the quantitative foundation for making optimal ES planning and operation decisions, such as determining installation location and capacity, and managing charging and discharging. In addition, granular and accurate carbon accounting for ES systems enhances information transparency, supporting the development of low-carbon regulatory policies and market mechanisms for ES. It also incentivizes ES stakeholders to adopt low-carbon practices to reduce their own carbon footprint and overall grid emissions. Carbon accounting for ES systems has attracted considerable recent attention from the industry [34, 35]. References [29, 28, 36] propose different carbon footprint models for ES systems, while they neglect the carbon emission leakage associated with ES energy loss (see Remark 4), and the carbon accounting mechanisms for ES system owners remain unclear.

I-B Our Contributions

In this paper, we introduce a generic Carbon-aware Optimal Power Flow (C-OPF) methodology as the fundamental theory for carbon-aware power system decision-making that incorporates the active management of the grid’s carbon footprints. Built upon conventional OPF models, the C-OPF model (see model (7)) further integrates the carbon flow equations and constraints, as well as carbon-related objectives, to co-optimize power flow and carbon flow in the power grid. Essentially, C-OPF is a carbon-aware generalization of OPF, and it produces optimal decisions that satisfy carbon emission constraints and balance the power-related and carbon-related costs. The main contributions of this paper are threefold:

  • 1)

    To our knowledge, this is the first work that introduces the generic C-OPF methodology and builds its mathematical model for lossy power networks with formulation examples. In particular, this paper rigorously establishes the conditions that guarantee the feasibility and solution uniqueness of the carbon flow equations (see Theorem 1), and presents the key properties of the C-OPF model.

  • 2)

    We propose a reformulation approach to address the issue of unknown power flow directions in the C-OPF model by introducing dual power flow variables and complementarity constraints. This reformulation is exact and eliminates the necessity of knowing power flow directions in advance.

  • 3)

    We develop two novel carbon footprint models for ES systems: one precisely models the dynamics of carbon emissions virtually stored in an ES unit and the carbon leakage associated with ES energy loss, while the other treats ES as a load during charging and a carbon-free generator during discharging. The corresponding carbon accounting schemes for ES owners are also introduced.

Furthermore, we develop a carbon-aware economic dispatch model as an example based on the proposed C-OPF method, and demonstrate the effectiveness of C-OPF through numerical experiments in comparison with OPF-based solutions.

Remark 1.

(Key Merits of C-OPF). In contrast to conventional OPF-based schemes that merely incorporate carbon emission costs into the objective, our proposed C-OPF method possesses three distinct merits: 1) C-OPF explicitly models carbon flow alongside power flow, enabling a granular representation and management of the grid’s carbon footprints rather than focusing solely on the system-wide total emissions. 2) C-OPF is flexible to model various global and local decarbonization targets or regulatory requirements for different entities and stakeholders. It can ensure that power system decisions comply with these requirements by imposing corresponding carbon flow constraints. 3) C-OPF integrates demand-side carbon accounting mechanisms that attribute emissions from power generation to consumption, which allows the optimization of carbon footprints for end-users, e.g., via carbon-aware power dispatch and demand response. It establishes the theoretical foundation to engage numerous end-users with substantial power flexibility and resources in grid decarbonization decision-making.

The remainder of this paper is organized as follows: Section II introduces the concept and model of carbon flow as well as the use for carbon accounting. Section III presents the C-OPF method with the reformulation approach. Section IV introduces the carbon footprint models for energy storage systems. Numerical experiments are conducted in Section V, and conclusions are drawn in Section VI.

II Carbon Emission Flow and Carbon Accounting

In this section, we first introduce the concept and model of carbon flow for lossy power networks, and then establish the conditions that ensure the feasibility and solution uniqueness of the carbon flow equations. Next, we present the application of the carbon flow method for demand-side carbon accounting.

II-A Concept of Carbon Emission Flow

As mentioned above, the location-based method calculates the average emission factor (i.e., the ratio of total carbon emissions to the total generation energy) of an area grid over a defined period for demand-side carbon accounting. As illustrated in Figure 1, this AEF method treats the power system as a large “pool”, assuming that all generations and end-users are connected to one homogeneous and shared infrastructure, without consideration of the power network and power flow. In contrast, the carbon flow method views the carbon emissions from generators as virtual attachments to the power flow. These emissions are considered to be transmitted from generators through power networks and accumulate on the user side, forming carbon flows. The concept of carbon flow is analogous to a “water supply” system, where virtual carbon emissions accompanying power flows can be viewed as invisible particles contained in water flows that are delivered from water sources to users. The carbon emission intensity of electricity is analogous to the particle concentration of water, and a renewable generator is analogous to a pure water source. In this way, the carbon flow method aligns with the physical power grids and underlying power flows, enabling a temporally and spatially granular depiction of the grid’s carbon footprints.

In practice, the grid operators and utilities are expected to implement the carbon flow scheme, as these entities oversee power grid operations and possess detailed power flow profiles. Moreover, the carbon flow information (e.g., real-time nodal carbon intensities) represents useful grid emission signals, which can be sent to end-users (e.g., by displaying on smart meters) to inform user-side decarbonization decisions [37].

Refer to caption
Figure 1: Comparison between carbon emission pool and carbon emission flow. (In sub-figure (a), all end-users in a large area adopt the same grid average emission factor (AEF) to calculate their attributed carbon footprints. In sub-figure (b), each pipeline represents a power line, with the width indicating the magnitude of power flow. Darker colors indicate higher carbon emission intensities. Power in-flows with different carbon emission intensities are mixed at each bus and distributed downstream.)

II-B Carbon Emission Flow Model for Lossy Power Networks

Refer to caption
Figure 2: Illustration of virtual carbon flow and physical power flow.

Consider a power network described by a connected graph G(𝒩,)G(\mathcal{N},\mathcal{E}), where 𝒩:={1,,N}\mathcal{N}\!:=\!\{1,\cdots,N\} denotes the set of nodes and 𝒩×𝒩\mathcal{E}\subset\mathcal{N}\times\mathcal{N} denotes the set of branches. As illustrated in Figure 2, the notations with PP denote the active power flow values (in the unit of MW), while the notations with RR represent the associated carbon flow rates (in the unit of tonCO2\mathrm{CO_{2}}/h). The carbon (emission) intensity is defined as the ratio w=RPw\!=\!\frac{R}{P} (in the unit of tonCO2\mathrm{CO_{2}}/MWh) that describes the amount of carbon flow associated with one unit of power flow.

The active power flows adhere to the power balance equation (1) at each node ii:

k𝒩i+Pkii+g𝒢iPi,gG=j𝒩iPiji+liPi,lL,\displaystyle\sum_{k\in\mathcal{N}_{i}^{+}}\!\!P_{ki}^{i}+\sum_{g\in\mathcal{G}_{i}}\!P_{i,g}^{\mathrm{G}}=\sum_{j\in\mathcal{N}_{i}^{-}}\!\!P_{ij}^{i}+\sum_{l\in\mathcal{L}_{i}}\!P_{i,l}^{\mathrm{L}}, i𝒩,\displaystyle\forall i\in\mathcal{N}, (1)

and Piji=Pijloss+PijjP_{ij}^{i}=P_{ij}^{\mathrm{loss}}+P_{ij}^{j} for each branch ijij\in\mathcal{E}. Then, the carbon flow model is built upon the active power flows and the following two fundamental principles [14]:

  • 1)

    Conservation Law of Nodal Carbon Mass: Similar to the power flow balance (1), the total carbon inflows equal the total carbon outflows at each node i𝒩i\in\mathcal{N}, i.e.,

    k𝒩i+Rkii+g𝒢iRi,gG=j𝒩iRiji+liRi,lL.\displaystyle\sum_{k\in\mathcal{N}_{i}^{+}}\!\!R_{ki}^{i}+\sum_{g\in\mathcal{G}_{i}}\!R_{i,g}^{\mathrm{G}}=\sum_{j\in\mathcal{N}_{i}^{-}}\!\!R_{ij}^{i}+\sum_{l\in\mathcal{L}_{i}}\!R_{i,l}^{\mathrm{L}}. (2)

    and Riji=Rijloss+RijjR_{ij}^{i}=R_{ij}^{\mathrm{loss}}+R_{ij}^{j} for each branch ijij\in\mathcal{E}. In (2), Ri,gG=wi,gGPi,gGR_{i,g}^{\mathrm{G}}\!=\!w_{i,g}^{\mathrm{G}}P_{i,g}^{\mathrm{G}} is the generation carbon emission rate of generator-gg at node ii.

  • 2)

    Proportional Sharing Principle: At each node i𝒩i\in\mathcal{N}, the allocation of total carbon inflows among all outflows is proportional to their active power flow values, i.e.,

    Riji=RiinPiinPiji,Ri,lL=RiinPiinPi,lL,\displaystyle R_{ij}^{i}=\frac{R_{i}^{\mathrm{in}}}{P_{i}^{\mathrm{in}}}\cdot P_{ij}^{i},\ \ R_{i,l}^{\mathrm{L}}=\frac{R_{i}^{\mathrm{in}}}{P_{i}^{\mathrm{in}}}\cdot P_{i,l}^{\mathrm{L}}, (3)

    where Piin:=k𝒩i+Pkii+g𝒢iPi,gGP_{i}^{\mathrm{in}}\!:=\!\sum_{k\in\mathcal{N}_{i}^{+}}\!P_{ki}^{i}+\sum_{g\in\mathcal{G}_{i}}\!P_{i,g}^{\mathrm{G}} and Riin:=k𝒩i+Rkii+g𝒢iRi,gGR_{i}^{\mathrm{in}}\!:=\!\sum_{k\in\mathcal{N}_{i}^{+}}\!R_{ki}^{i}+\sum_{g\in\mathcal{G}_{i}}\!R_{i,g}^{\mathrm{G}} denote the total power inflow and total carbon inflow at node i𝒩i\in\mathcal{N}.

The nodal carbon intensity of each node ii is calculated as (4):

wi=RiinPiin=g𝒢iwi,gGPi,gG+k𝒩i+wkPkiig𝒢iPi,gG+k𝒩i+Pkii,i𝒩,\displaystyle w_{i}\!=\!\frac{R_{i}^{\mathrm{in}}}{P_{i}^{\mathrm{in}}}\!=\!\frac{\sum_{g\in\mathcal{G}_{i}}w_{i,g}^{\mathrm{G}}P_{i,g}^{\mathrm{G}}+\sum_{k\in\mathcal{N}_{i}^{+}}w_{k}P_{ki}^{i}}{\sum_{g\in\mathcal{G}_{i}}P_{i,g}^{\mathrm{G}}+\sum_{k\in\mathcal{N}_{i}^{+}}P_{ki}^{i}},\ \forall i\in\mathcal{N}, (4)

which is the ratio of total carbon inflow to the total power inflow. Equation (4) indicates that the power flow and power loss of each branch ijij\in\mathcal{E} share the same carbon emission intensity that equals to the nodal carbon intensity of the sending node, i.e., RijiPiji=RijjPijj=RijlossPijloss=wi\frac{R_{ij}^{i}}{P_{ij}^{i}}=\frac{R_{ij}^{j}}{P_{ij}^{j}}=\frac{R_{ij}^{\mathrm{loss}}}{P_{ij}^{\mathrm{loss}}}=w_{i}.

Equation (4) is referred to as the carbon flow model or carbon flow equation, and it can be equivalently reformulated in the matrix form (5). The detailed derivation of (5a) is provided in Appendix A.

(𝑷N𝑷B)𝒘N=𝒓G\displaystyle(\bm{P}_{\mathrm{N}}-\bm{P}_{\mathrm{B}})\bm{w}_{\mathrm{N}}=\bm{r}_{\mathrm{G}} (5a)
𝒘N=(𝑷N𝑷B)1𝒓G,\displaystyle\qquad\Longrightarrow\ \bm{w}_{\mathrm{N}}=(\bm{P}_{\mathrm{N}}-\bm{P}_{\mathrm{B}})^{-1}\bm{r}_{\mathrm{G}}, (5b)

Here, 𝒘N:=(wi)i𝒩N\bm{w}_{\mathrm{N}}\!:=\!(w_{i})_{i\in\mathcal{N}}\!\in\!\mathbb{R}^{N} and 𝒓G:=(g𝒢iwi,gGPi,gG)i𝒩N\bm{r}_{\mathrm{G}}\!:=\!(\sum_{g\in\mathcal{G}_{i}}\!\!w_{i,g}^{\mathrm{G}}P_{i,g}^{\mathrm{G}})_{i\in\mathcal{N}}\!\in\!\mathbb{R}^{N} denote the column vectors that collect the nodal carbon intensities and nodal generation carbon flows, respectively. 𝑷N:=diag(Piin)N×N\bm{P}_{\mathrm{N}}\!:=\!\text{diag}(P_{i}^{\mathrm{in}})\!\in\!\mathbb{R}^{N\times N} is the diagonal matrix whose ii-th diagonal entry is the nodal active power inflow PiinP_{i}^{\mathrm{in}} to node ii. 𝑷BN×N\bm{P}_{\mathrm{B}}\!\in\!\mathbb{R}^{N\times N} is the branch power inflow matrix that is built by letting 𝑷B[i,k]=Pkii\bm{P}_{\mathrm{B}}[i,k]\!=\!P_{ki}^{i} and 𝑷B[k,i]=0\bm{P}_{\mathrm{B}}[k,i]\!=\!0 if node kk sends power flow PkiiP_{ki}^{i} to node ii. Note that PkiiP_{ki}^{i} and PkikP_{ki}^{k} are different due to the line power loss. Given power flow profiles, the linear equations (5a) can be solved to obtain 𝒘N\bm{w}_{\mathrm{N}}, e.g., through matrix factorization and backward and forward substitution, rather than directly computing the matrix inverse in (5b).

II-C Feasibility and Solution Uniqueness of Carbon Flow Model

A critical fundamental question is whether the carbon flow equations (4) or (5) for a power network are feasible and admit a unique solution. Based on the matrix form (5), it translates to the invertibility of the carbon flow matrix 𝑷C:=𝑷N𝑷B\bm{P}_{\mathrm{C}}:=\bm{P}_{\mathrm{N}}-\bm{P}_{\mathrm{B}}, which implies the feasibility and solution uniqueness. Hence, this subsection studies the properties of the matrix 𝑷C\bm{P}_{\mathrm{C}}.

By definition, the matrix 𝑷C\bm{P}_{\mathrm{C}} is diagonally dominant [38], and we define the set 𝒥\mathcal{J}:

𝒥:={i𝒩||𝑷C[i,i]|>j=1;jiN|𝑷C[i,j]|}.\displaystyle\mathcal{J}:=\Big{\{}i\in\mathcal{N}\,\Big{\rvert}\,|\bm{P}_{\mathrm{C}}[i,i]|>\!\!\sum_{j=1;j\neq i}^{N}\!|\bm{P}_{\mathrm{C}}[i,j]|\Big{\}}. (6)

In practice, 𝒥\mathcal{J}\neq\emptyset, i.e., there exist some rows i𝒥i\in\mathcal{J} of 𝑷C\bm{P}_{\mathrm{C}} that are strictly diagonally dominant; such rows correspond to the nodes with generation power injections Pi,gGP_{i,g}^{\mathrm{G}}. Then, we establish the invertibility property of 𝑷C\bm{P}_{\mathrm{C}} in Theorem 1.

Theorem 1.

Suppose that for each i𝒥i\notin\mathcal{J} of the matrix 𝐏C\bm{P}_{\mathrm{C}}, there is a sequence of nonzero elements of 𝐏C\bm{P}_{\mathrm{C}} of the form 𝐏C[i,i1],𝐏C[i1,i2],,𝐏C[ir,j]\bm{P}_{\mathrm{C}}[i,i_{1}],\bm{P}_{\mathrm{C}}[i_{1},i_{2}],\cdots,\bm{P}_{\mathrm{C}}[i_{r},j] with j𝒥j\in\mathcal{J}. Then, 𝐏C\bm{P}_{\mathrm{C}} is invertible, and 𝐏C\bm{P}_{\mathrm{C}} is an M-matrix.

Proof.

According to [39, Theorem], the matrix 𝑷C\bm{P}_{\mathrm{C}} is nonsingular and thus invertible. Since 𝑷C\bm{P}_{\mathrm{C}} is diagonally dominant and all its off-diagonal elements {𝑷C[i,j]}ij\{\bm{P}_{\mathrm{C}}[i,j]\}_{i\neq j} are non-positive, 𝑷C\bm{P}_{\mathrm{C}} is an M-matrix [40] according to [39, Corollary 4]. ∎

Theorem 1 indicates that under the condition in Theorem 1, the matrix 𝑷C\bm{P}_{\mathrm{C}} is invertible, and thus the carbon flow equations are feasible and have a unique solution regarding the nodal carbon intensities and other carbon flow values.

Remark 2.

The condition in Theorem 1 can be interpreted as that for any node ii with no generation power injection, one can find a power flow path ii1i2irji\leftarrow i_{1}\leftarrow i_{2}\leftarrow\cdots\leftarrow i_{r}\leftarrow j in the power network that traces upstream to a node jj that has generation power injection. This condition generally holds for practical connected power networks. This condition also implies that every node has non-zero power flux, i.e., 𝑷C[i,i]>0\bm{P}_{\mathrm{C}}[i,i]>0 for all i[N]i\in[N]. However, non-zero nodal power flux can not guarantee that 𝑷C\bm{P}_{\mathrm{C}} is invertible. For example, consider a simple 3-node circular network case shown in Figure 3. In this case, every node has 1 unit of power flowing through it, but the matrix 𝑷C\bm{P}_{\mathrm{C}} is singular. And this case violates the condition in Theorem 1. In addition, 𝑷C\bm{P}_{\mathrm{C}} possesses all the properties of being an M-matrix. For example, all the elements of 𝑷C1\bm{P}_{\mathrm{C}}^{-1} are non-negative and every eigenvalue of 𝑷C\bm{P}_{\mathrm{C}} has a positive real part [40, Theorem 1.1].

Refer to caption
Figure 3: A simple 3-node network case example.

II-D Use of Carbon Emission Flow for Carbon Accounting

Given power flow results, one can solve the set of carbon flow equations (4) or (5) to obtain the nodal carbon intensities 𝒘N\bm{w}_{\mathrm{N}}, and then calculate all carbon flow values. According to the GHG Protocol [5, 3], the carbon accounting rules are:

  • Generator-gg at node ii shall account for the (Scope 1) direct carbon emission rate Ri,gG=wi,gGPi,gGR_{i,g}^{\mathrm{G}}=w_{i,g}^{\mathrm{G}}P_{i,g}^{\mathrm{G}};

  • Load-ll at node ii shall account for the (Scope 2) attributed carbon emission rate Ri,lL=wiPi,lLR_{i,l}^{\mathrm{L}}=w_{i}P_{i,l}^{\mathrm{L}};

  • The power network owner shall account for the (Scope 2) attributed carbon emission rate associated with the network power loss, i.e., ijRijloss=ijwiPijloss\sum_{ij\in\mathcal{E}}\!R_{ij}^{\mathrm{loss}}=\sum_{ij\in\mathcal{E}}\!w_{i}P_{ij}^{\mathrm{loss}}.

As the generation fuel mix and power flows change over time, the carbon flow profiles are time-varying, and the carbon footprints over a time period 𝒯\mathcal{T} (e.g., one day or one year) are the time accumulation of RR. For example, the carbon footprint of load-ll at node ii is calculated as E^i,l,𝒯:=t𝒯δtwi,tPi,l,tL\hat{E}_{i,l,\mathcal{T}}:=\sum_{t\in\mathcal{T}}\delta_{t}w_{i,t}P_{i,l,t}^{\mathrm{L}}, where δt\delta_{t} is the time interval (e.g., 1 hour or 15 minutes).

III Carbon-Aware Optimal Power Flow Method

In this section, we introduce the generic C-OPF model with examples, and present the reformulation technique to tackle the power flow direction issue of C-OPF.

III-A Generic C-OPF Model

To enable the optimal management of carbon footprints in power system decision-making, we propose the generic C-OPF model (7) to co-optimize power flow and carbon flow.

Obj. min𝒙𝒳fpower(𝒙,𝒚)+fcarbon(𝒙,𝒚,𝒛)\displaystyle\min_{\bm{x}\in\mathcal{X}}\ f_{\mathrm{power}}(\bm{x},\bm{y})+f_{\mathrm{carbon}}(\bm{x},\bm{y},\bm{z}) (7a)
s.t. Power Flow Equations (𝒙,𝒚)=𝟎,\displaystyle\text{Power Flow Equations }(\bm{x},\bm{y})=\bm{0}, (7b)
Power Flow Constraints (𝒚)𝟎,\displaystyle\text{Power Flow Constraints }(\bm{y})\leq\bm{0}, (7c)
Carbon Flow Equations (𝒙,𝒚,𝒛)=𝟎,\displaystyle\text{Carbon Flow Equations }(\bm{x},\bm{y},\bm{z})=\bm{0}, (7d)
Carbon Flow Constraints (𝒙,𝒚,𝒛)𝟎.\displaystyle\text{Carbon Flow Constraints }(\bm{x},\bm{y},\bm{z})\leq\bm{0}. (7e)

Here, 𝒙\bm{x} denotes the decision variables subject to the feasible set 𝒳\mathcal{X}. The specification of 𝒙\bm{x} and 𝒳\mathcal{X} depends on the practical applications. For instance, 𝒙\bm{x} denotes the generation decisions of various generators and 𝒳\mathcal{X} represents the generation capacity limits and ramping constraints in economic dispatch [41]. 𝒙\bm{x} can also be the load adjustment decisions in demand response, or the site and size decisions of new renewable generators in grid planning. 𝒚\bm{y} denotes the power flow-related variables, such as network voltage profiles and branch power flows. 𝒛\bm{z} represents the carbon flow-related variables, such as nodal carbon intensities 𝒘N\bm{w}_{\mathrm{N}} and carbon flow values.

III-A1 Objective Function

The objective (7a) aims to minimize the overall cost that consists of two components: the power-related cost denoted as fpowerf_{\mathrm{power}} and the carbon emission-related cost fcarbonf_{\mathrm{carbon}}. Depending on the specific applications, fpowerf_{\mathrm{power}} can be the generation cost, network loss, grid expansion investment cost, etc. fcarbonf_{\mathrm{carbon}} is defined to capture the externality of carbon emissions and regulatory penalty on generation-side or demand-side emissions (or the bonus on emission reduction). An example of these cost functions is given by (8):

fpower\displaystyle f_{\mathrm{power}} :=i𝒩g𝒢i(ci,g2(Pi,gG)2+ci,g1Pi,gG+ci,g0),\displaystyle:=\sum_{i\in\mathcal{N}}\sum_{g\in\mathcal{G}_{i}}\Big{(}c_{i,g}^{2}(P_{i,g}^{\mathrm{G}})^{2}+c_{i,g}^{1}{P_{i,g}^{\mathrm{G}}}+c_{i,g}^{0}\Big{)}, (8a)
fcarbon\displaystyle f_{\mathrm{carbon}} :=cemii𝒩g𝒢iwi,gGPi,gG,\displaystyle:=c^{\mathrm{emi}}\cdot\sum_{i\in\mathcal{N}}\sum_{g\in\mathcal{G}_{i}}{w_{i,g}^{\mathrm{G}}}{P_{i,g}^{\mathrm{G}}}, (8b)

where (8a) denotes the total generation cost in a quadratic form with the parameters ci,g2,ci,g1,ci,g0c_{i,g}^{2},c_{i,g}^{1},c_{i,g}^{0}, and (8b) is the penalty on generation-side emissions with the cost coefficient cemic^{\mathrm{emi}}.

III-A2 Power Flow Equations and Constraints

The power flow equations (7b) and power flow constraints (7c) remain the same as them in classic OPF models [42, 19, 18]. The full AC power flow equations are formulated as (9):

Piji=(Vi2ViVjcos(θiθj))gij\displaystyle P_{ij}^{i}=(V_{i}^{2}-V_{i}V_{j}\cos(\theta_{i}-\theta_{j}))g_{ij}
ViVjsin(θiθj)bij,\displaystyle\qquad\qquad\qquad-V_{i}V_{j}\sin(\theta_{i}-\theta_{j})b_{ij}, ij,\displaystyle\forall ij\in\mathcal{E}, (9a)
Qiji=(ViVjcos(θiθj)Vi2)bij\displaystyle Q_{ij}^{i}=(V_{i}V_{j}\cos(\theta_{i}-\theta_{j})-V_{i}^{2})b_{ij}
ViVjsin(θiθj)gij,\displaystyle\qquad\qquad\qquad-V_{i}V_{j}\sin(\theta_{i}-\theta_{j})g_{ij}, ij,\displaystyle\forall ij\in\mathcal{E}, (9b)
j𝒩iPiji=g𝒢iPi,gGliPi,lL,\displaystyle\sum_{j\in\mathcal{N}_{i}}P_{ij}^{i}\,=\sum_{g\in\mathcal{G}_{i}}P_{i,g}^{\mathrm{G}}-\sum_{l\in\mathcal{L}_{i}}P_{i,l}^{\mathrm{L}}, i𝒩,\displaystyle\forall i\in\mathcal{N}, (9c)
j𝒩iQiji=g𝒢iQi,gGliQi,lL,\displaystyle\sum_{j\in\mathcal{N}_{i}}Q_{ij}^{i}=\sum_{g\in\mathcal{G}_{i}}Q_{i,g}^{\mathrm{G}}-\sum_{l\in\mathcal{L}_{i}}Q_{i,l}^{\mathrm{L}}, i𝒩,\displaystyle\forall i\in\mathcal{N}, (9d)

where ViV_{i} and θi\theta_{i} are the voltage magnitude and phase angle at node ii. QijiQ_{ij}^{i} denotes the reactive power flow of branch ijij from node ii to node jj measured at node ii. gijg_{ij} and bijb_{ij} are the conductance and susceptance of branch ijij.

The power flow constraints (7c) generally involve the line thermal capacity constraints (10a) and voltage limits (10b).

(Piji)2+(Qiji)2S¯ij2,\displaystyle(P_{ij}^{i})^{2}+(Q_{ij}^{i})^{2}\leq\bar{S}_{ij}^{2}, ij,\displaystyle\forall ij\in\mathcal{E}, (10a)
V¯iViV¯i,\displaystyle\quad\underline{V}_{i}\leq\,V_{i}\leq\bar{V}_{i}, i𝒩,\displaystyle\forall i\in\mathcal{N}, (10b)

where S¯ij\bar{S}_{ij} is the apparent power capacity of line ijij. V¯i,V¯i\bar{V}_{i},\underline{V}_{i} are the upper and lower limits of voltage magnitude at node ii.

Since the power flow equations and constraints remain unchanged, the linearization and convexification methods developed for them are still applicable. For instance, the classic DC power flow model (11) [42], which neglects power loss, can be used in the C-OPF model to replace the complete power flow equations (9) for simplicity. In (11a), the superscript “ii” is omitted since Piji=PijjP_{ij}^{i}=P_{ij}^{j} in the DC power flow model due to neglecting power loss.

Pij=bij(θiθj),\displaystyle P_{ij}=-b_{ij}\cdot(\theta_{i}-\theta_{j}), ij,\displaystyle\forall ij\in\mathcal{E}, (11a)
Equation (9c).\displaystyle\text{Equation }\eqref{eq:full:p}. (11b)

III-A3 Carbon Flow Equations and Constraints

The carbon flow equations (7d) are given by (III-A3):

wi\displaystyle w_{i} (g𝒢iPi,gG+j𝒩i+Pjii)\displaystyle\big{(}\sum_{g\in\mathcal{G}_{i}}\!P_{i,g}^{\mathrm{G}}+\sum_{j\in\mathcal{N}_{i}^{+}}\!\!P_{ji}^{i}\big{)}
=g𝒢iwi,gGPi,gG+j𝒩i+wjPjii,i𝒩,\displaystyle\qquad=\!\sum_{g\in\mathcal{G}_{i}}\!w_{i,g}^{\mathrm{G}}P_{i,g}^{\mathrm{G}}+\!\!\sum_{j\in\mathcal{N}_{i}^{+}}\!\!\!w_{j}P_{ji}^{i},\qquad\forall i\in\mathcal{N}, (12)

which is simply an equivalent reformulation of (4).

The carbon flow constraints (7e) can take various forms depending on the practical settings for carbon footprint management. For example, an upper limit 𝒘¯N:=(w¯i)i𝒩\bar{\bm{w}}_{\mathrm{N}}:=(\bar{w}_{i})_{i\in\mathcal{N}} can be imposed on nodal carbon intensities, i.e. (13), to ensure that users at these nodes are supplied with low-carbon electricity. By adjusting this upper limit 𝒘¯N\bar{\bm{w}}_{\mathrm{N}}, one can control the level of “cleanness” of the supplied electricity at a certain location. In particular, letting w¯i=0\bar{w}_{i}=0 enforces that the electricity supply at node ii is completely carbon-free. The definition of “node” is flexible in terms of geographical scales, which can represent a district grid, a distribution feeder, or a balancing area.

wi\displaystyle\qquad\qquad w_{i} w¯i,\displaystyle\leq\bar{w}_{i}, i𝒩.\displaystyle\forall i\in\mathcal{N}. (13)

An alternative carbon flow constraint (7e) can impose a cap E¯i,lL\bar{E}_{i,l}^{\mathrm{L}} on the total individual user-side emissions as (14):

δtt𝒯(wi,tPi,l,tL)\displaystyle\qquad\delta_{t}\sum_{t\in\mathcal{T}}(w_{i,t}\cdot P_{i,l,t}^{\mathrm{L}}) E¯i,lL,\displaystyle\leq\bar{E}_{i,l}^{\mathrm{L}}, li,i𝒩.\displaystyle\forall l\in\mathcal{L}_{i},i\in\mathcal{N}. (14)

Besides, instead of an emission cap on individual users, a cap E¯iL\bar{E}_{i}^{\mathrm{L}} on the total nodal level emissions can be imposed as (15):

δtt𝒯(wi,tliPi,l,tL)\displaystyle\qquad\delta_{t}\sum_{t\in\mathcal{T}}\big{(}w_{i,t}\cdot\!\sum_{l\in\mathcal{L}_{i}}P_{i,l,t}^{\mathrm{L}}\big{)} E¯iL,\displaystyle\leq\bar{E}_{i}^{\mathrm{L}}, i𝒩.\displaystyle\forall i\in\mathcal{N}. (15)

The determination of the cap parameters depends on practical requirements. Other carbon flow constraints, including requirement for emission allocation fairness and equity [23], can also be employed.

Due to the proportional sharing principle used in the carbon flow model, a natural limit on nodal carbon intensities is wi[0,wmaxG]w_{i}\in[0,w^{\mathrm{G}}_{\max}] for all i𝒩i\in\mathcal{N}, where wmaxG:=maxi,g{wi,gG}w_{\max}^{\mathrm{G}}:=\max_{i,g}\{w_{i,g}^{\mathrm{G}}\} is the largest generation carbon emission factor. Hence, if w¯i\bar{w}_{i} in (13) is set to be larger than wmaxGw_{\max}^{\mathrm{G}} for some nodes ii, (13) imposes no actual constraint on these nodes. Another critical issue is that inappropriately designed carbon flow constraints may render the C-OPF model (7) infeasible, e.g., when the caps in (13)-(15) are too small to be achievable. To address this issue, the hard constraints (13)-(15) can be converted to soft constraints by adding slack variables with corresponding penalties in the objective. For example, one can replace constraint (15) with (16) and add a penalty term i𝒩(ciEαi)\sum_{i\in\mathcal{N}}(c_{i}^{\mathrm{E}}\cdot\alpha_{i}) to the carbon-related cost function fcarbonf_{\mathrm{carbon}} in objective (7a):

δtt𝒯(wi,tliPi,l,tL)\displaystyle\delta_{t}\sum_{t\in\mathcal{T}}\big{(}w_{i,t}\!\sum_{l\in\mathcal{L}_{i}}P_{i,l,t}^{\mathrm{L}}\big{)} E¯iL+αi,αi0,\displaystyle\leq\bar{E}_{i}^{\mathrm{L}}+\alpha_{i},\ \alpha_{i}\geq 0, i𝒩,\displaystyle\forall i\in\mathcal{N}, (16)

where αi\alpha_{i} is the slack variable and ciEc_{i}^{\mathrm{E}} denotes the penalty cost coefficient for excessive demand-side emissions.

Remark 3.

We note that the carbon flow constraints are not inherent physical limitations but rather regulatory requirements imposed on the power grid and end-users to manage their carbon footprints. The objective is to incentivize low-carbon electricity supply and consumption behaviors and ensure compliance with grid decarbonization regulations and targets. For instance, to meet the emission cap constraints (14), (15), end-users can optimally schedule their load trajectories (Pi,l,tL)t𝒯(P_{i,l,t}^{\mathrm{L}})_{t\in\mathcal{T}} to increase (decrease) electricity consumption when the grid exhibits low (high) nodal carbon intensity. Alternatively, additional renewable generation units can be deployed in proximity to node ii, to effectively reduce the nodal carbon intensity wi,tw_{i,t}. These lead to the development of optimal carbon-aware demand response and expansion planning schemes based on the C-OPF method, and it can also be used to support many other carbon-aware decision applications in power systems. ∎

Essentially, the C-OPF model (7) is a carbon-aware generalization of the OPF model, and it reduces to an OPF model if the carbon-related objective function fcarbonf_{\mathrm{carbon}}, carbon flow equations (7d) and constraints (7e) are removed or inactive. It also implies that existing OPF techniques, such as linearization, convexification, decomposition, stochastic modeling, etc., can still be applied to the power flow components in C-OPF (7). Moreover, the C-OPF model (7) can be directly extended to the multi-period settings and involve time-coupled constraints, such as generator ramping limits and the state-of-charge constraints of ES systems. As an illustrative example, a multi-period C-OPF-based economic dispatch model (27) is established in Section V-A, which includes these time-coupled constraints and employs a full AC power flow model.

In the C-OPF model (7), the carbon flow method is used for demand-side carbon accounting to align the grid’s carbon footprint quantification with physical power system operation and actual power flows. Nevertheless, the C-OPF method is flexible and can adapt to other carbon accounting approaches by replacing the carbon flow equation (7d) with other valid carbon accounting mathematical models.

III-B Reformulation for Power Flow Directions

As mentioned in the introduction section and indicated by the set 𝒩i+\mathcal{N}_{i}^{+}, the carbon flow equation (III-A3)\eqref{eq:mcieq} requires the pre-determination of branch power flow directions to identify the power inflows for each node. However, the directions of branch power flows are generally unknown prior to solving the C-OPF problem. To address this issue, we introduce two non-negative power flow variables P^jii0\hat{P}_{ji}^{i}\!\geq\!0 and P^iji0\hat{P}_{ij}^{i}\!\geq\!0 for each branch ijij\in\mathcal{E} with Piji=P^ijiP^jiiP_{ij}^{i}=\hat{P}_{ij}^{i}-\hat{P}_{ji}^{i}. Specifically, P^jii\hat{P}_{ji}^{i} and P^iji\hat{P}_{ij}^{i} denote the power flow components from node jj to node ii and from node ii to node jj, respectively, both of which are measured on the side of node ii. Then, we can equivalently reformulate the carbon flow equation (III-A3) as (17), and also need to replace PijiP_{ij}^{i} with P^ijiP^jii\hat{P}_{ij}^{i}-\hat{P}_{ji}^{i} in the power flow equations (9) (or the DC power flow model (11)) and constraints (10a).

wi(g𝒢iPi,gG+j𝒩iP^jii)\displaystyle w_{i}(\sum_{g\in\mathcal{G}_{i}}\!P_{i,g}^{\mathrm{G}}+\!\sum_{j\in\mathcal{N}_{i}}\!\hat{P}_{ji}^{i})
=g𝒢iwi,gGPi,gG+j𝒩iwjP^jii,\displaystyle\qquad=\sum_{g\in\mathcal{G}_{i}}\!\!w_{i,g}^{\mathrm{G}}P_{i,g}^{\mathrm{G}}+\!\!\sum_{j\in\mathcal{N}_{i}}\!\!\!w_{j}\hat{P}_{ji}^{i}, i𝒩,\displaystyle\forall i\in\mathcal{N}, (17a)
P^jii0,P^iji0,\displaystyle\hat{P}_{ji}^{i}\geq 0,\ \hat{P}_{ij}^{i}\geq 0, ij,\displaystyle\forall ij\in\mathcal{E}, (17b)
P^jiiP^iji=0,\displaystyle\hat{P}_{ji}^{i}\cdot\hat{P}_{ij}^{i}=0, ij.\displaystyle\forall ij\in\mathcal{E}. (17c)

In (17a), we replace 𝒩i+\mathcal{N}_{i}^{+} (the set of neighbor nodes that send power to node ii) by 𝒩i\mathcal{N}_{i} (the set of all neighbor nodes of node ii). In addition, the complementarity constraint (17c) is added to ensure that either P^jii\hat{P}_{ji}^{i} or P^iji\hat{P}_{ij}^{i} must be zero for each branch ijij. Here, a useful trick to facilitate the nonlinear optimization is to replace the complementarity constraint (17c) by the relaxed constraint (18) [43], and this relaxation is exact due to (17b).

P^jiiP^iji0,ij.\displaystyle\qquad\hat{P}_{ji}^{i}\cdot\hat{P}_{ij}^{i}\leq 0,\qquad\forall ij\in\mathcal{E}. (18)

Alternatively, we can introduce a binary variable γij\gamma_{ij} for ijij\in\mathcal{E} and linearize the complementarity constraint (17c) with

γij{0,1},P^jii(1γij)P¯ij,P^ijiγijP¯ij.\displaystyle\gamma_{ij}\in\{0,1\},\ \hat{P}_{ji}^{i}\leq(1-\gamma_{ij})\bar{P}_{ij},\ \hat{P}_{ij}^{i}\leq\gamma_{ij}\bar{P}_{ij}. (19)

Note that both reformulations via (17) or (19) are equivalent to the original carbon flow equation (III-A3), but the branch flow directions do not need to be known in advance.

In [28], binary indicator variables are introduced to handle the unknown power flow directions in the carbon flow model. It results in a mixed-integer nonconvex quadratically constrained optimization problem, and a tailored penalty-based iterative algorithm is designed in [28] to solve the optimization problem through a number of iterations. In contrast, our proposed dual power flow variables reformulation method with the complementarity constraints (18) renders the C-OPF model a standard nonconvex optimization problem without integer variables. Therefore, the C-OPF model can be directly solved using off-the-shelf nonlinear optimizers such as IPOPT [44], without the need for designing ad hoc solution algorithms.

IV Carbon Footprint Model for Energy Storage

Energy storage (ES) systems play a critical role in decarbonizing power grids, as their operations can be optimized to curtail overall system emissions, e.g., charging when the grid is clean and discharging when the grid is under high emissions. Consider an ES system connected to node i𝒩i\!\in\!\mathcal{N}. For time t𝒯:={1,2,,T}t\in\mathcal{T}:=\{1,2,\cdots,T\} with the time interval δt\delta_{t}, the dynamical ES power model [45] is formulated as (20):

0Pi,tchP¯ich, 0Pi,tdcP¯idc,\displaystyle 0\leq P_{i,t}^{\mathrm{ch}}\leq\bar{P}_{i}^{\mathrm{ch}},\ \ 0\leq P_{i,t}^{\mathrm{dc}}\leq\bar{P}_{i}^{\mathrm{dc}}, (20a)
Pi,tchPi,tdc=0,\displaystyle P_{i,t}^{\mathrm{ch}}\cdot P_{i,t}^{\mathrm{dc}}=0, (20b)
ei,t+1es=κiei,tes+δt(ηichPi,tch1ηidcPi,tdc),\displaystyle e_{i,t+1}^{\mathrm{es}}=\kappa_{i}e_{i,t}^{\mathrm{es}}+\delta_{t}\big{(}\eta_{i}^{\mathrm{ch}}P_{i,t}^{\mathrm{ch}}-\frac{1}{\eta_{i}^{\mathrm{dc}}}P_{i,t}^{\mathrm{dc}}\big{)}, (20c)
e¯iei,tese¯i,ei,T+1es=ei,1es,i𝒩,t𝒯.\displaystyle\underline{e}_{i}\leq e_{i,t}^{\mathrm{es}}\leq\bar{e}_{i},\quad e_{i,T+1}^{\mathrm{es}}=e_{i,1}^{\mathrm{es}},\quad\forall i\in\mathcal{N},t\in\mathcal{T}. (20d)

Here, P¯ich\bar{P}_{i}^{\mathrm{ch}} and P¯idc\bar{P}_{i}^{\mathrm{dc}} are the charging and discharging power capacities. ηich(0,1]\eta_{i}^{\mathrm{ch}}\!\in\!(0,1] and ηidc(0,1]\eta_{i}^{\mathrm{dc}}\!\in\!(0,1] denote the charging and discharging efficiency coefficients, respectively. κi(0,1]\kappa_{i}\!\in\!(0,1] denotes the storage efficiency factor that models the loss of stored energy over time. e¯i\bar{e}_{i} and e¯i\underline{e}_{i} are the upper and lower bounds of the energy level of the ES system. The complementarity constraint (20b) is used to enforce that an ES unit can not charge and discharge at the same time.

In this section, we propose two carbon footprint models for ES systems: the “water tank” model and the “load/carbon-free generator” model. The associated carbon accounting mechanisms for ES owners are presented as well.

IV-A “Water Tank” Carbon Footprint Model

The “water tank” model of ES is conceptually aligned with the analogy of a “water supply” system used to explain the carbon flow model in Section II-A. Analogous to a water tank that stores both water and invisible particles, an ES system is viewed to store both electric energy ei,tese_{i,t}^{\mathrm{es}} (in the unit of MWh) and virtual carbon emissions Ei,tesE_{i,t}^{\mathrm{es}} (in the unit of tonCO2\mathrm{CO_{2}}). We then define the internal ES carbon intensity wi,tesw_{i,t}^{\mathrm{es}} as (21):

wi,tes=Ei,tesei,tes.\displaystyle w_{i,t}^{\mathrm{es}}=\frac{E_{i,t}^{\mathrm{es}}}{e_{i,t}^{\mathrm{es}}}. (21)

Note that ei,tese_{i,t}^{\mathrm{es}} should not be zero to make wi,tesw_{i,t}^{\mathrm{es}} well-defined. This can be achieved by setting the lower energy bound e¯i\underline{e}_{i} in (20d) to be a small positive value rather than zero. It can also prevent numerical issues during the optimization process.

Based on the ES power model (20), we develop the dynamical carbon footprint model of the ES unit as (22) for t𝒯t\in\mathcal{T}:

Ei,t+1es=κiEi,tes+δt(wi,tηichPi,tchwi,tes1ηidcPi,tdc).\displaystyle E_{i,t+1}^{\mathrm{es}}=\kappa_{i}E_{i,t}^{\mathrm{es}}+\delta_{t}\big{(}w_{i,t}\eta_{i}^{\mathrm{ch}}P_{i,t}^{\mathrm{ch}}-w_{i,t}^{\mathrm{es}}\frac{1}{\eta_{i}^{\mathrm{dc}}}P_{i,t}^{\mathrm{dc}}\big{)}. (22)

Model (22) implies that (virtual) carbon emissions are injected into the ES unit when it charges with electricity in the nodal carbon intensity wi,tw_{i,t}; and it releases the stored emissions back to the grid when it discharges with electricity in the ES carbon intensity wi,tesw_{i,t}^{\mathrm{es}}. In particular, (22) models the carbon emission leakage associated with the energy loss during the storage, charging, and discharging processes of the ES unit. Figure 4 illustrates the carbon flow and power flow of the ES unit.

Refer to caption
Figure 4: Power flow and carbon flow under the “water tank” ES model.

Alternatively, we can plug in the ES carbon intensity (21) into (22) to eliminate the variable Ei,tesE_{i,t}^{\mathrm{es}} and reformulate the ES carbon footprint model equivalently as (23):222In (23b), the term δtηidcPi,tdc\frac{\delta_{t}}{\eta_{i}^{\mathrm{dc}}}P_{i,t}^{\mathrm{dc}} is dropped from the definition of λi,t\lambda_{i,t}, because Pi,tdc=0P_{i,t}^{\mathrm{dc}}=0 when the ES unit charges and λi,t=1\lambda_{i,t}=1 when it discharges, which are not affected by this term.

wi,t+1es=\displaystyle w_{i,t+1}^{\mathrm{es}}= λi,twi,tes+(1λi,t)wi,t,\displaystyle\lambda_{i,t}\cdot w_{i,t}^{\mathrm{es}}+(1-\lambda_{i,t})\cdot w_{i,t}, (23a)
λi,t:=\displaystyle\lambda_{i,t}:= κiei,tesκiei,tes+δtηichPi,tch,\displaystyle\frac{\kappa_{i}e_{i,t}^{\mathrm{es}}}{\kappa_{i}e_{i,t}^{\mathrm{es}}+\delta_{t}\eta_{i}^{\mathrm{ch}}P_{i,t}^{\mathrm{ch}}}, (23b)

which describes the dynamics of the ES carbon intensity wi,tesw_{i,t}^{{\mathrm{es}}}. Interestingly, equation (23a) indicates an intuitive feature that the ES carbon intensity wi,t+1esw_{i,t+1}^{\mathrm{es}} at the next time t+1t\!+\!1 is a convex combination of the ES carbon intensity wi,tw_{i,t} at time tt and the nodal carbon intensity wi,tw_{i,t} with the weight coefficient λi,t[0,1]\lambda_{i,t}\in[0,1]. When charging, the ES unit behaves as if mixing the internally stored electricity with the newly charged electricity; when it discharges, λi,t=1\lambda_{i,t}=1 and the ES carbon intensity remains unchanged, i.e., wi,t+1es=wi,tesw_{i,t+1}^{\mathrm{es}}=w_{i,t}^{\mathrm{es}}.

Accordingly, the carbon flow equation (17a) in the C-OPF model is modified as (IV-A) to incorporate the ES system.

wi,t(Pi,tdc+g𝒢iPi,g,tG+j𝒩iP^ji,ti)=wi,tesPi,tdc\displaystyle w_{i,t}\big{(}P_{i,t}^{\mathrm{dc}}+\sum_{g\in\mathcal{G}_{i}}\!\!P_{i,g,t}^{\mathrm{G}}+\!\!\!\sum_{j\in\mathcal{N}_{i}}\!\!\!\hat{P}_{ji,t}^{i}\big{)}=w_{i,t}^{\mathrm{es}}P_{i,t}^{\mathrm{dc}}
+g𝒢iwi,g,tGPi,g,tG+j𝒩iwj,tP^ji,ti,i𝒩,t𝒯.\displaystyle\quad+\!\sum_{g\in\mathcal{G}_{i}}\!\!w_{i,g,t}^{\mathrm{G}}P_{i,g,t}^{\mathrm{G}}+\!\!\sum_{j\in\mathcal{N}_{i}}\!\!\!w_{j,t}\hat{P}_{ji,t}^{i},\quad\forall i\in\mathcal{N},t\in\mathcal{T}. (24)

From (IV-A), it is seen that an ES unit affects the nodal carbon intensities and carbon flow only when it discharges.

Remark 4.

(Comparison with Existing ES Emission Models). Existing carbon emission models for ES systems proposed in [29, 28, 36] also formulate the virtually stored emissions and internal ES carbon intensity. However, these models neglect the carbon emission leakage associated with the energy loss during the storage, charging, and discharging processes. This issue makes these ES carbon emission models not rigorous or even problematic. For example, consider the scenario when an ES unit remains idle, i.e., neither charging nor discharging. Over time, the stored energy ete_{t} gradually depletes to zero due to energy loss, while the virtually stored carbon emissions EtE_{t} remain constant as the carbon leakage associated with energy loss is not considered. As a result, the internal ES carbon intensity Et/etE_{t}/e_{t} would approach an infinitely large value, which is unreasonable. In contrast, our proposed “water tank” ES carbon footprint model (22) or (23) avoids these issues by precisely modeling carbon leakage, ensuring that carbon footprint attribution is consistent with the actual electric energy usage. ∎

Remark 5.

(Carbon Accounting for ES Owners). Under the “water tank” carbon footprint model, for the time horizon 𝒯\mathcal{T}, the owner of the ES system shall account for the (Scope 2) attributed carbon emission E^i,𝒯es\hat{E}_{i,\mathcal{T}}^{\mathrm{es}} that is calculated by (25):

E^i,𝒯es=t=1Tδt(wi,tPi,tchwi,tesPi,tdc),i𝒩,\displaystyle\quad\hat{E}_{i,\mathcal{T}}^{\mathrm{es}}=\sum_{t=1}^{T}\delta_{t}(w_{i,t}P_{i,t}^{\mathrm{ch}}-w_{i,t}^{\mathrm{es}}P_{i,t}^{\mathrm{dc}}),\quad\forall i\in\mathcal{N}, (25)

which is the net carbon emissions withdrawn from the grid. Intuitively, the attributed emission E^i,𝒯es\hat{E}_{i,\mathcal{T}}^{\mathrm{es}} can be decomposed into two parts: 1) the change of virtually stored carbon emissions, i.e., Ei,T+1esEi,1esE_{i,T+1}^{\mathrm{es}}\!-\!E_{i,1}^{\mathrm{es}}, and 2) the carbon emission leakage associated with ES energy loss, i.e., Ei,1es+t=1Tδt(wi,tPi,tchwi,tesPi,tdc)Ei,T+1esE_{i,1}^{\mathrm{es}}+\sum_{t=1}^{T}\delta_{t}(w_{i,t}P_{i,t}^{\mathrm{ch}}-w_{i,t}^{\mathrm{es}}P_{i,t}^{\mathrm{dc}})-E_{i,T+1}^{\mathrm{es}}. To make it more clear, we consider a lossless ES unit with κi=ηich=ηidc=1\kappa_{i}\!=\!\eta_{i}^{\mathrm{ch}}\!=\!\eta_{i}^{\mathrm{dc}}\!=\!1. If this ES unit recovers the initially stored emission level in the final time step, namely Ei,T+1es=Ei,1esE_{i,T+1}^{\mathrm{es}}\!=\!E_{i,1}^{\mathrm{es}}, we have E^i,𝒯es=Ei,T+1esEi,1es=0\hat{E}_{i,\mathcal{T}}^{\mathrm{es}}=E_{i,T+1}^{\mathrm{es}}-E_{i,1}^{\mathrm{es}}=0 from (22). In this case, the ES owner accounts for zero carbon emissions, regardless of the number of charging and discharging cycles. This outcome aligns with the role of an ES system, which does not directly produce or consume electricity (carbon emissions) itself but rather enables the temporal shifts. ∎

IV-B “Load/Carbon-Free Generator” Carbon Footprint Model

The proposed “water tank” model above requires continuous monitoring of the virtually stored carbon emissions within an ES system. To facilitate practical implementation, we propose an alternative model termed “load/carbon-free generator” to characterize the carbon footprints of an ES unit. Specifically, this model directly treats an ES unit as a load during charging and as a carbon-free clean generator during discharging. Accordingly, the carbon flow equation (17a) in the C-OPF model is modified as (IV-A) with wi,tes0w_{i,t}^{\mathrm{es}}\equiv 0 for all tt, since the ES unit is regarded as a carbon-free generator during discharging.

In terms of carbon accounting, under the “load/carbon-free generator” model, the ES owner shall account for the (Scope 2) attributed carbon emissions E^i,𝒯es\hat{E}_{i,\mathcal{T}}^{\mathrm{es}} calculated by (26):

E^i,𝒯es=t=1Tδtwi,tPi,tch,i𝒩.\displaystyle\hat{E}_{i,\mathcal{T}}^{\mathrm{es}}=\sum_{t=1}^{T}\delta_{t}w_{i,t}P_{i,t}^{\mathrm{ch}},\qquad\forall i\in\mathcal{N}. (26)

It implies that the virtual carbon emissions absorbed from the grid during the charging period accumulate locally at the ES unit and are not released back to the grid. Thus, the ES owner incurs higher Scope-2 carbon emissions compared with the carbon accounting scheme (25) under the “water tank” model. Nevertheless, under the “load/carbon-free generator” model, ES owners can make profits by acting as clean energy suppliers in the carbon-electricity market, e.g., selling renewable energy certificates (RECs) [9], since the discharging power is considered carbon-free. As a result, ES owners are incentivized to charge their ES units when the grid is clean with low carbon intensity to reduce their own carbon footprints (26); and they are incentivized to discharge when the grid is in high emission to make more profit, as the price of clean electricity or RECs is expected to be higher at that time. In this way, the “load/carbon-free generator” model is easy to use and naturally incentivizes the carbon-aware operation of ES systems. The simulation comparison between the “water tank” and “load/carbon-free generator” ES carbon footprint models are provided in Section V-E.

We note that alongside the two proposed carbon footprint models for ES systems, there could be other valid models. The use of different carbon models can lead to discrepancies in carbon accounting results, operational decision-making, and market design for ES systems. Hence, it is crucial to assess the impact and select an appropriate model that aligns with practical objectives and specific requirements.

V Numerical Experiments

In this section, we build a carbon-aware economic dispatch model based on the C-OPF method as an example for numerical tests, comparing it with conventional OPF-based schemes.

V-A C-OPF-Based and OPF-Based Economic Dispatch Models

Based on the C-OPF method (7), we develop a carbon-aware economic dispatch (C-ED) model (27) as a specific application example. It involves the multi-period optimal power scheduling of various generators and ES systems, while considering a complete AC power flow model, network operational constraints, and carbon flow equations and constraints. The C-ED model (27) is formulated as a nonconvex optimization problem and we solve it using the solver IPOPT [44].

Obj. mini𝒩t𝒯[g𝒢i(ci,g2(Pi,g,tG)2+ci,g1Pi,g,tG+ci,g0)\displaystyle\ \min\sum_{i\in\mathcal{N}}\sum_{t\in\mathcal{T}}\Big{[}\sum_{g\in\mathcal{G}_{i}}\!\big{(}c_{i,g}^{2}(P_{i,g,t}^{\mathrm{G}})^{2}+c_{i,g}^{1}{P_{i,g,t}^{\mathrm{G}}}+c_{i,g}^{0}\big{)}
+cies(Pi,tdc+Pi,tch)],\displaystyle\qquad\qquad\qquad+c_{i}^{\mathrm{es}}(P_{i,t}^{\mathrm{dc}}+P_{i,t}^{\mathrm{ch}})\Big{]}, (27a)
s.t. P¯i,g,tGPi,g,tGP¯i,g,tG,\displaystyle\underline{P}_{i,g,t}^{\mathrm{G}}\!\leq\!{P}_{i,g,t}^{\mathrm{G}}\!\leq\!\bar{P}_{i,g,t}^{\mathrm{G}}, i𝒩,g𝒢i,t𝒯\displaystyle\forall i\!\in\!\mathcal{N},g\!\in\!\mathcal{G}_{i},t\!\in\!\mathcal{T} (27b)
Q¯i,g,tGQi,g,tGQ¯i,g,tG,\displaystyle\underline{Q}_{i,g,t}^{\mathrm{G}}\leq{Q}_{i,g,t}^{\mathrm{G}}\leq\bar{Q}_{i,g,t}^{\mathrm{G}}, i𝒩,g𝒢i,t𝒯\displaystyle\forall i\!\in\!\mathcal{N},g\!\in\!\mathcal{G}_{i},t\!\in\!\mathcal{T} (27c)
Δ¯i,gGPi,g,tGPi,g,t1GΔ¯i,gG,\displaystyle\underline{\Delta}_{i,g}^{\mathrm{G}}\!\leq\!{P}_{i,g,t}^{\mathrm{G}}\!-\!{P}_{i,g,t\!-\!1}^{\mathrm{G}}\!\leq\!\bar{\Delta}_{i,g}^{\mathrm{G}}, i𝒩,g𝒢i,t𝒯\displaystyle\forall i\!\in\!\mathcal{N},g\!\in\!\mathcal{G}_{i},t\!\in\!\mathcal{T} (27d)
P^ij,tiP^ji,ti=(Vi,t2Vi,tVj,tcos(θi,tθj,t))gij\displaystyle\hat{P}_{ij,t}^{i}-\hat{P}_{ji,t}^{i}=\big{(}V_{i,t}^{2}-V_{i,t}V_{j,t}\cos(\theta_{i,t}-\theta_{j,t})\big{)}g_{ij}
Vi,tVj,tsin(θi,tθj,t)bij,\displaystyle\quad-V_{i,t}V_{j,t}\sin(\theta_{i,t}-\theta_{j,t})b_{ij}, ij,t𝒯\displaystyle\forall ij\!\in\!\mathcal{E},t\!\in\!\mathcal{T} (27e)
P^ij,tjP^ji,tj=(Vj,t2Vj,tVi,tcos(θj,tθi,t))gij\displaystyle\hat{P}_{ij,t}^{j}-\hat{P}_{ji,t}^{j}=-\big{(}V_{j,t}^{2}-V_{j,t}V_{i,t}\cos(\theta_{j,t}-\theta_{i,t})\big{)}g_{ij}
+Vj,tVi,tsin(θj,tθi,t)bij,\displaystyle\quad+V_{j,t}V_{i,t}\sin(\theta_{j,t}-\theta_{i,t})b_{ij}, ij,t𝒯\displaystyle\forall ij\!\in\!\mathcal{E},t\!\in\!\mathcal{T} (27f)
Qij,ti=(Vi,tVj,tcos(θi,tθj,t)Vi,t2)bij\displaystyle Q_{ij,t}^{i}=\big{(}V_{i,t}V_{j,t}\cos(\theta_{i,t}-\theta_{j,t})-V_{i,t}^{2}\big{)}b_{ij}
Vi,tVj,tsin(θi,tθj,t)gij,\displaystyle\quad-V_{i,t}V_{j,t}\sin(\theta_{i,t}-\theta_{j,t})g_{ij}, ij,t𝒯\displaystyle\forall ij\!\in\!\mathcal{E},t\!\in\!\mathcal{T} (27g)
Qij,tj=(Vj,tVi,tcos(θj,tθi,t)Vj,t2)bij\displaystyle Q_{ij,t}^{j}=-\big{(}V_{j,t}V_{i,t}\cos(\theta_{j,t}-\theta_{i,t})-V_{j,t}^{2}\big{)}b_{ij}
+Vj,tVi,tsin(θj,tθi,t)gij,\displaystyle\quad+V_{j,t}V_{i,t}\sin(\theta_{j,t}-\theta_{i,t})g_{ij}, ij,t𝒯\displaystyle\forall ij\!\in\!\mathcal{E},t\!\in\!\mathcal{T} (27h)
g𝒢iPi,g,tGPi,tL+Pi,tdcPi,tch\displaystyle\sum_{g\in\mathcal{G}_{i}}\!P_{i,g,t}^{\mathrm{G}}\!-\!P_{i,t}^{\mathrm{L}}+P_{i,t}^{\mathrm{dc}}-P_{i,t}^{\mathrm{ch}}
=j𝒩i(P^ij,tiP^ji,ti),\displaystyle\qquad\qquad=\sum_{j\in\mathcal{N}_{i}}(\hat{P}^{i}_{ij,t}\!-\!\hat{P}^{i}_{ji,t}), i𝒩,t𝒯\displaystyle\forall i\!\in\!\mathcal{N},t\!\in\!\mathcal{T} (27i)
g𝒢iQi,g,tGQi,tL=j𝒩iQij,ti,\displaystyle\sum_{g\in\mathcal{G}_{i}}Q_{i,g,t}^{\mathrm{G}}-Q_{i,t}^{\mathrm{L}}=\sum_{j\in\mathcal{N}_{i}}{Q}^{i}_{ij,t}, i𝒩,t𝒯\displaystyle\forall i\!\in\!\mathcal{N},t\!\in\!\mathcal{T} (27j)
(P^ij,tiP^ji,ti)2+(Qij,ti)2S¯ij2,\displaystyle(\hat{P}_{ij,t}^{i}-\hat{P}_{ji,t}^{i})^{2}+(Q_{ij,t}^{i})^{2}\leq\bar{S}_{ij}^{2}, ij,t𝒯\displaystyle\forall ij\!\in\!\mathcal{E},t\!\in\!\mathcal{T} (27k)
(P^ij,tjP^ji,tj)2+(Qij,tj)2S¯ij2,\displaystyle(\hat{P}_{ij,t}^{j}-\hat{P}_{ji,t}^{j})^{2}+(Q_{ij,t}^{j})^{2}\leq\bar{S}_{ij}^{2}, ij,t𝒯\displaystyle\forall ij\!\in\!\mathcal{E},t\!\in\!\mathcal{T} (27l)
V¯iVi,tV¯i,θ¯iθi,tθ¯i,\displaystyle\underline{V}_{i}\leq V_{i,t}\leq\bar{V}_{i},\ \underline{\theta}_{i}\leq\theta_{i,t}\leq\bar{\theta}_{i}, i𝒩,t𝒯\displaystyle\forall i\!\in\!\mathcal{N},t\!\in\!\mathcal{T} (27m)
0P^ij,ti,0P^ji,ti,P^ij,tiP^ji,ti0,\displaystyle 0\!\leq\!\hat{P}_{ij,t}^{i},0\!\leq\!\hat{P}_{ji,t}^{i},\,\hat{P}_{ij,t}^{i}\cdot\hat{P}_{ji,t}^{i}\!\leq\!0, ij,t𝒯\displaystyle\forall ij\!\in\!\mathcal{E},t\!\in\!\mathcal{T} (27n)
0P^ij,tj,0P^ji,tj,P^ij,tjP^ji,tj0,\displaystyle 0\!\leq\!\hat{P}_{ij,t}^{j},0\!\leq\!\hat{P}_{ji,t}^{j},\,\hat{P}_{ij,t}^{j}\cdot\hat{P}_{ji,t}^{j}\!\leq\!0, ij,t𝒯\displaystyle\forall ij\!\in\!\mathcal{E},t\!\in\!\mathcal{T} (27o)
wi,tw¯i,t,\displaystyle w_{i,t}\leq\bar{w}_{i,t}, i𝒩,t𝒯\displaystyle\forall i\!\in\!\mathcal{N},t\!\in\!\mathcal{T} (27p)
Equations (20), (23), (IV-A).\displaystyle\text{Equations \eqref{eq:ESpower}, \eqref{eq:ES:w}, \eqref{eq:cf:ES1}}. (27q)

The objective (27a) aims to minimize the total generation and ES operational costs, where ciesc_{i}^{\mathrm{es}} denotes the ES degradation cost coefficient. Equations (27b)-(27d) denote the active and reactive power generation capacity limits and the ramping constraints for various generators. Equations (27e) and (27f) represent the full AC power flow equations for the active power flow values at the sending and receiving nodes, respectively. Here, we employ the dual power flow reformulation method introduced in Section III-B to address the issue of unknown power flow directions. As shown in Figure 2, Pij,ti=P^ij,tiP^ji,ti{P}_{ij,t}^{i}\!=\!\hat{P}_{ij,t}^{i}\!-\!\hat{P}_{ji,t}^{i} and Pij,tj=P^ij,tjP^ji,tj{P}_{ij,t}^{j}\!=\!\hat{P}_{ij,t}^{j}\!-\!\hat{P}_{ji,t}^{j} are the active power flow values of branch ijij that are measured at node ii and node jj, respectively. Thus, the power loss of branch ijij is Pij,tloss=|Pij,tiPij,tj|P_{ij,t}^{\mathrm{loss}}\!=\!|{P}_{ij,t}^{i}-{P}_{ij,t}^{j}|. Similarly, equations (27g) and (27h) represent the full AC power flow equations for the branch reactive power flows at the sending and receiving nodes, respectively. Equations (27i) and (27j) are the active and reactive power balance constraints at each node. Equations (27k) and (27l) represent the line thermal constraints at the sending and receiving nodes, respectively. Equation (27m) denotes the upper and lower limits on nodal voltage magnitudes and phase angles. Equations (27n) and (27o) represent the nonnegativity and complementarity constraints for the dual power flow values; see Section III-B for more explanations. Equation (27p) is the carbon flow constraint that imposes a cap on the nodal carbon intensities. This constraint enables the active management of nodal carbon intensities, ensuring that clean power is supplied to users with a carbon intensity no greater than w¯i,t\bar{w}_{i,t}. Equation (27q) collects the dynamic power model (20) and the “water tank” carbon emission model (23) for ES systems, as well as the carbon flow equations (IV-A).

For comparison, we also build a conventional OPF-based ED model that does not incorporate the carbon flow model and constraints. Essentially, the OPF-based ED model is a reduced version of the C-ED model (27), which excludes the carbon-related constraints (27p), (23), (IV-A) and does not need the introduction of dual power flow variables. The OPF-based ED model is also a nonconvex optimization problem due to the full AC power flow equations and the dynamic ES power model, and we solve it using the solver IPOPT [44].

V-B Test System and Simulation Settings

In the simulations, we consider day-ahead economic dispatch with T=12T\!=\!12 time steps and 2-hour time intervals. The modified New England 39-bus system, as shown in Figure 5, is used as the test system, which includes 3 coal power plants, 3 natural gas power plants, 2 wind farms, 2 solar farms, 3 ES systems, and 21 loads. The generation carbon emission factors wi,gGw_{i,g}^{\mathrm{G}} are 2.26, 0.97, and 0 (lbs/kWh) for coal plants, natural gas plants, and renewable generators, respectively. The carbon flow constraint (27p) is imposed for all the load nodes and all t𝒯t\in\mathcal{T}, and we set the cap w¯i,t=1.2\bar{w}_{i,t}=1.2 lbs/kWh.333In the simulations, we set the same carbon intensity cap for all load nodes and all times for simplicity. In practical applications, distinct carbon intensity caps can be implemented for different nodes to distinguish the “cleanness” level of electricity supply at specific locations. For each ES system, we set the storage efficiency factor as κi=0.99\kappa_{i}=0.99 and the charging and discharging efficiency coefficients as ηich=ηidc=0.98\eta_{i}^{\mathrm{ch}}=\eta_{i}^{\mathrm{dc}}=0.98. Other detailed system parameters and settings are provided in [46].

Refer to caption
Figure 5: The modified New England 39-bus test system.

V-C Simulation Results Comparison of C-OPF and OPF

V-C1 Nodal Carbon Intensity

Figure 6 illustrates the nodal carbon intensities for all load nodes under the C-OPF-based and OPF-based ED schemes, respectively. It shows that the C-OPF-based ED model can generate effective power dispatch schemes that keep the nodal carbon intensities of load nodes below the cap of w¯i,t=1.2\bar{w}_{i,t}\!=\!1.2 lbs/kWh. In contrast, the OPF-based ED scheme frequently exceeds the nodal carbon intensity cap. Moreover, the grid’s nodal carbon intensities exhibit significant temporal variation and spatial diversity. From Figure 6, it is observed that the nodal carbon intensities at 13:00 are generally lower than those at 21:00, due to the higher penetration of renewable generation at 13:00, as illustrated in Figure 8. Figure 7 visualizes the grid’s nodal carbon intensities at 13:00, with darker blue colors indicating higher carbon intensity at each node. It demonstrates that the nodal carbon intensities calculated using the carbon flow method can reflect the proximity to different fuel types of generation and align with the physical power flow. In comparison, the grid average emission factor at 13:00 is calculated to be 0.5 lbs/kWh, which only gives an indication of the overall grid average emission state and falls short of providing detailed insight into local emissions at different locations.

Refer to caption
Figure 6: The nodal carbon intensities (NCI) for all load nodes under the C-OPF-based and OPF-based economic dispatch schemes at 13:00 and 21:00. (The black dashed line denotes the NCI cap w¯i,t=1.2\bar{w}_{i,t}\!=\!1.2 lbs/kWh).
Refer to caption
Figure 7: Visualization of nodal carbon intensities of the modified New England 39-bus test system at 13:00. (Darker color indicates higher carbon intensity).

V-C2 Power Dispatch Scheduling Decisions

Figure 8 illustrates the generation decisions of the C-OPF-based and OPF-based ED schemes over a 24-hour period. In both schemes, the renewable generation, i.e., solar and wind generation, is fully utilized without curtailment. The primary distinction is that the C-OPF-based ED scheme results in more generation from expensive yet clean natural gas plants and less generation from cheap but high-emission coal plants to meet the carbon emission constraints, compared with the OPF scheme. The operational costs of these two ED schemes are presented in Table I. It is seen that the total operational cost of the C-OPF-based ED scheme is higher than that of the OPF scheme, due to the increased generation from natural gas plants as a substitute for coal plant generation.

Refer to caption
Figure 8: The generation outputs of various power plants over 24 hours under the C-OPF-based and OPF-based economic dispatch schemes.
TABLE I: Operational cost of OPF-based and C-OPF-based ED schemes.
Cost (k$) Coal Natural Gas Renewable
Energy
Storage
Total
OPF 4515.4 6734.1 50.7 15.1 11315.3
C-OPF 1345.0 12116.3 50.7 15.7 13527.7

V-C3 Grid Carbon Emissions and Energy Storage

Figure 9 illustrates the total generation-side and attributed demand-side carbon emission rates over time. It is observed that the C-OPF-based ED scheme yields reduced carbon emission rates on both the generation side and demand side, compared with the OPF-based ED scheme. That is because the carbon flow constraint (27p) in the C-OPF model requires a larger share of power supply from clean generators to meet the nodal carbon intensity cap. As a result, the total system emissions over 24 hours are reduced from the amount of 69,981.9 klbs in the OPF scheme to 56,958.8 klbs in the C-OPF scheme.

Refer to caption
Figure 9: The total (Scope 1) generation-side carbon emission rate and the total (Scope 2) attributed load-side carbon emission rate over time under the C-OPF-based and OPF-based economic dispatch schemes.

Moreover, slight differences between the generation-side emission rates and the attributed load-side emission rates are observed in Figure 9 for both the OPF and C-OPF schemes. These differences result from the attributed emission rates for the operation of ES systems and power loss. Consistent with the power conservation law, our proposed carbon accounting mechanisms based on the carbon flow method ensure the “carbon conservation principle[4] that the total generation-side carbon emissions equal the sum of emissions attributed to the total load, power loss, and ES systems at all times. Figure 10 illustrates the time trajectories of stored energy ei,tese_{i,t}^{\mathrm{es}} and virtual carbon emissions Ei,tesE_{i,t}^{\mathrm{es}} of the ES system at node-38. It is observed that the virtual carbon emissions generally increase when the ES system charges and decrease when it discharges. The period from 11:00 to 15:00, when charging does not result in increased emissions, occurs because the ES system charges with carbon-free renewable electricity. By combining Figures 9 and 10, it is seen that from 1:00 to 7:00, the generation-side emissions are higher than the load-side emissions due to the ES systems charging and absorbing emissions from the grid. Conversely, at 9:00, the ES systems are discharging and injecting emissions back into the grid, resulting in higher load-side emissions than the generation-side emissions.

Refer to caption
Figure 10: The stored energy and virtual carbon emissions of the ES system at node-38 under the C-OPF-based and OPF-based economic dispatch schemes using the “water tank” ES carbon footprint model.

Table II summarizes the carbon accounting results across 24 hours for the C-OPF-based and OPF-based ED schemes, where the (Scope 2) attributed emissions are calculated using the mechanisms introduced in Sections II-D and IV-A. It is verified that the total (Scope 1) generation-side emissions are equal to the total (Scope 2) emissions attributed to loads, grid power loss, and ES systems.

TABLE II: Carbon accounting results based on carbon flow method and “water tank” ES carbon footprint model.
(klbs) (Scope 1) Generation -Side Emissions (Scope 2) Attributed Emissions
Load Power Loss ES Systems
OPF 69,982 69,273 639 70
C-OPF 56,959 56,433 457 69

V-D Impact of Nodal Carbon Intensity Cap

To study the impact of the carbon flow constraint (27p), we adjust the nodal carbon intensity cap w¯i,t\bar{w}_{i,t} from 11 lbs/kWh to 2.22.2 lbs/kWh uniformly for all load nodes, and run the C-OPF-based ED model for each case. Figure 11 illustrates the results of total system emissions and total operational costs under different carbon intensity caps. It is observed that as the nodal carbon intensity cap increases, the total system operational cost of the C-OPF scheme decreases monotonically and converges to that of the OPF scheme; simultaneously, the total system carbon emissions increase and also converge to those of the OPF scheme. Essentially, the C-OPF-based ED scheme strikes an optimal trade-off between operational cost and carbon emission reduction. This is also consistent with the intuition that C-OPF solutions gradually reduce to traditional OPF solutions as carbon flow constraints become less restrictive.

Refer to caption
Figure 11: Total system emissions and total operational costs of OPF-based and C-OPF-based ED schemes under different nodal carbon intensity caps w¯i,t\bar{w}_{i,t}.

V-E Comparison of Two ES Carbon Footprint Models

In the simulations above, the “water tank” ES carbon footprint model is adopted in the C-OPF-based ED model and the carbon flow calculation for demand-side carbon accounting. In contrast, this subsection implements the “load/carbon-free generator (LCG)” ES carbon footprint model for comparison. The carbon accounting results using the LCG ES carbon footprint model are shown in Table III.

TABLE III: Carbon accounting results based on carbon flow method and “load/carbon-free generator” ES carbon footprint model.
(klbs) (Scope 1) Generation -Side Emissions (Scope 2) Attributed Emissions
Load Power Loss ES Systems
OPF 69,982 68,375 631 976
C-OPF 57,322 56,081 463 778

Compared with Table II that uses the “water tank” model, it is seen from Table III that for the OPF model, its optimal solution and generation-side emissions remain the same, as the OPF model does not involve carbon emissions. However, the attributed emissions calculated using the carbon flow method are different. Specifically, in the LCG ES carbon model, a greater share of the carbon footprints is attributed to the ES systems, thereby reducing the carbon footprints attributed to the loads and power loss. This is because, unlike the “water tank” model, ES systems are treated as pure loads during charging in the LCG model. As a result, virtual carbon emissions absorbed from the grid accumulate locally at the ES systems and are not released back to the grid during discharging, which become the carbon footprints of the ES systems. In terms of the C-OPF model, using the LCG ES carbon footprint model alters its optimal solution, leading to higher generation-side emissions and a reduced operational cost of 13,506.213,506.2 k$. Because the ES systems impact the grid’s carbon flow only during discharging, when the LCG ES carbon footprint model treats ES systems as carbon-free generators that lower the grid’s carbon intensities. Thus, it allows for increased generation from high-emission but cheaper coal plants, while still satisfying the nodal carbon intensity constraints. Similarly, in the C-OPF case, much higher carbon footprints of 778 klbs are attributed to the ES systems, in contrast to the 69 klbs shown in Table II under the “water tank” model.

V-F Computational Efficiency

The numerical experiments are implemented in a computing environment with Intel(R) Core(TM) i7-1185G7 CPUs running at 3.00 GHz and with 16 GB RAM. We use the JuMP language [47] in Julia to build optimization models and solve them using the IPOPT solver (version 3.14.10) [44]. It takes 176.6 seconds on average to solve the C-OPF-based ED model and 55.6 seconds to solve the OPF-based ED model.

Additionally, we implement the DC power flow model (11) instead of the full AC power flow model in the C-OPF-based and OPF-based ED models for simulation comparison. In this case, both ED models are significantly simplified due to omitting voltage magnitude and reactive power, neglecting power line losses, and replacing nonlinear power flow equations with linear DC flow equations. Under the DC power flow model, it takes 16.4 seconds on average to solve the C-OPF-based ED model and 1.2 seconds to solve the OPF-based ED model.

Due to the dual power flow reformulation and the addition of carbon flow equations and constraints, the C-OPF model generally has a larger problem size and requires more solution time than the traditional OPF model. In practice, several methods can improve the solution efficiency of the C-OPF model. For instance, by inspecting all branches and identifying those whose power flow directions can be predetermined based on the network configuration, the dual power flow reformulation can be avoided for these branches. Additionally, the solutions of the OPF model can be employed to warm-start the C-OPF model. A key future research direction is to develop efficient linearization and convexification approaches for the nonconvex carbon flow equations to fundamentally enhance the solution efficiency of the C-OPF model.

VI Conclusion

This paper proposes a generic Carbon-aware Optimal Power Flow (C-OPF) methodology as a fundamental tool for guiding decarbonization decision-making in electric power systems. As a carbon-aware generalization of conventional OPF models, the C-OPF model enables the joint management of the grid’s carbon footprints and power flows. A reformulation technique is introduced to address the issue of unknown power flow directions in the C-OPF model. Additionally, we propose two novel carbon footprint models for ES systems as well as their corresponding carbon accounting mechanisms, facilitating optimal carbon-aware ES operation. Numerical simulations demonstrate that C-OPF-based schemes can effectively coordinate diverse energy resources for grid decarbonization while ensuring that decisions comply with regulatory requirements on carbon footprints. This paper represents preliminary work introducing the emerging and promising technique of C-OPF for supporting optimal power system decarbonization decisions. Extensive future research is anticipated to further advance the methodology of C-OPF. Potential future directions include 1) theoretical advances in the C-OPF modeling and optimization, such as efficient linearization and convexification of the C-OPF model, and 2) practical applications of C-OPF to power grid decision-making problems, such as carbon-aware demand response and carbon-electricity pricing.

Appendix A Derivation of Carbon Flow Matrix Form (5)

From (4), we first multiply both sides by the denominator of (4) and move the term k𝒩i+wkPkii\sum_{k\in\mathcal{N}_{i}^{+}}w_{k}P_{ki}^{i} to the left-hand side, leading to (28) for all i𝒩i\in\mathcal{N}:

wi(g𝒢iPi,gG+k𝒩i+Pkii:=Piin)k𝒩i+wkPkii=RiG,\displaystyle w_{i}\Big{(}\underbrace{\sum_{g\in\mathcal{G}_{i}}P_{i,g}^{\mathrm{G}}+\sum_{k\in\mathcal{N}_{i}^{+}}\!\!P_{ki}^{i}}_{:=P_{i}^{\mathrm{in}}}\Big{)}-\sum_{k\in\mathcal{N}_{i}^{+}}\!\!w_{k}P_{ki}^{i}=R_{i}^{\mathrm{G}}, (28)

where RiG:=g𝒢iwi,gGPi,gGR_{i}^{\mathrm{G}}\!:=\!\sum_{g\in\mathcal{G}_{i}}\!w_{i,g}^{\mathrm{G}}P_{i,g}^{\mathrm{G}} denotes the total generation carbon emission rate at node ii. We then stack up equation (28) for all nodes i𝒩i\in\mathcal{N} into a column form. On the left-hand side, the first term of (28) becomes 𝑷N𝒘N\bm{P}_{\mathrm{N}}\bm{w}_{\mathrm{N}}, where 𝒘N:=(wi)i𝒩\bm{w}_{\mathrm{N}}\!:=\!(w_{i})_{i\in\mathcal{N}} is the column vector that collects the nodal carbon intensities wiw_{i}, and 𝑷N:=diag(Piin)\bm{P}_{\mathrm{N}}\!:=\!\text{diag}(P_{i}^{\mathrm{in}}) is the diagonal matrix whose ii-th diagonal entry is the nodal active power inflow PiinP_{i}^{\mathrm{in}} to node ii. The second term of (28) becomes 𝑷B𝒘N-\bm{P}_{\mathrm{B}}\bm{w}_{\mathrm{N}}, where 𝑷BN×N\bm{P}_{\mathrm{B}}\!\in\!\mathbb{R}^{N\times N} is the branch power inflow matrix that is constructed by letting 𝑷B[i,k]=Pkii\bm{P}_{\mathrm{B}}[i,k]\!=\!P_{ki}^{i} and 𝑷B[k,i]=0\bm{P}_{\mathrm{B}}[k,i]\!=\!0 if node kk sends power flow PkiiP_{ki}^{i} to node ii. The right-hand side of (28) becomes the column vector 𝒓G:=(RiG)i𝒩\bm{r}_{\mathrm{G}}\!:=\!(R_{i}^{\mathrm{G}})_{i\in\mathcal{N}}. Thus, equation (28) for all i𝒩i\in\mathcal{N} can be equivalently reformulated as (29):

(𝑷N𝑷B)𝒘N=𝒓G.\displaystyle(\bm{P}_{\mathrm{N}}-\bm{P}_{\mathrm{B}})\bm{w}_{\mathrm{N}}=\bm{r}_{\mathrm{G}}. (29)

Taking the matrix inverse of (29) leads to (5). See [14] for more derivation details.

References

  • [1] Intergovernmental Panel on Climate Change (IPCC), “Climate change 2022: Impacts, adaptation and vulnerability,” 2022.
  • [2] U.S. Energy Information Administration, “Monthly energy review: May 2023,” 2023.
  • [3] World Resources Institute, “GHG protocol scope 2 guidance: An amendment to the GHG protocol corporate standard,” 2015.
  • [4] X. Chen, H. Chao, W. Shi, and N. Li, “Towards carbon-free electricity: A flow-based framework for power grid carbon accounting and decarbonization,” accepted to IET Energy Convers. Econ., 2024.
  • [5] World Resources Institute, “The greenhouse gas protocol: A corporate accounting and reporting standard,” 2004.
  • [6] L. F. Valenzuela, A. Degleris, A. E. Gamal, M. Pavone, and R. Rajagopal, “Dynamic locational marginal emissions via implicit differentiation,” IEEE Transactions on Power Systems, vol. 39, no. 1, pp. 1138–1147, 2024.
  • [7] Kevala Inc., “Total carbon accounting: A framework to deliver locational carbon intensity data,” Nov. 2021. [Online]. Available: https://www.kevala.com/resources/total-carbon-accounting
  • [8] M. Brander, M. Gillenwater, and F. Ascui, “Creative accounting: A critical perspective on the market-based method for reporting purchased electricity (scope 2) emissions,” Energy Policy, vol. 112, pp. 29–33, Jan. 2018.
  • [9] C. Lau and J. Aga, “Bottom line on renewable energy certificates,” 2008. [Online]. Available: https://www.wri.org/research/bottom-line-renewable-energy-certificates
  • [10] R. Kansal, “Introduction to the virtual power purchase agreement,” Rocky Mountain Institute, Nov. 2018.
  • [11] G. J. Miller, K. Novan, and A. Jenn, “Hourly accounting of carbon emissions from electricity consumption,” Environ. Res. Lett., vol. 17, no. 4, p. 044073, Apr. 2022.
  • [12] The Electric Power Research Institute (EPRI), “24/7 carbon-free energy: Matching carbon-free energy procurement to hourly electric load,” Dec. 2022.
  • [13] C. Kang, T. Zhou, Q. Chen, Q. Xu, Q. Xia, and Z. Ji, “Carbon emission flow in networks,” Scientific Reports, vol. 2, no. 1, p. 479, Jun. 2012.
  • [14] C. Kang, T. Zhou, Q. Chen, J. Wang, Y. Sun, Q. Xia, and H. Yan, “Carbon emission flow from generation to demand: A network-based model,” IEEE Trans. Smart Grid, vol. 6, no. 5, pp. 2386–2394, Sept. 2015.
  • [15] B. Li, Y. Song, and Z. Hu, “Carbon flow tracing method for assessment of demand side carbon emissions obligation,” IEEE Trans. Sustain. Energy, vol. 4, no. 4, pp. 1100–1107, Oct. 2013.
  • [16] Y. Chen, D. Deka, and Y. Shi, “Contributions of individual generators to nodal carbon emissions,” in Proceedings of the 15th ACM International Conference on Future and Sustainable Energy Systems, 2024, pp. 415–421.
  • [17] J. Bialek, “Tracing the flow of electricity,” IEE Proceedings-Generation, Transmission and Distribution, vol. 143, no. 4, pp. 313–320, 1996.
  • [18] S. Frank, I. Steponavice, and S. Rebennack, “Optimal power flow: a bibliographic survey I: Formulations and deterministic methods,” Energy Systems, vol. 3, no. 3, pp. 221–258, Apr. 2012.
  • [19] M. B. Cain, R. P. O’neill, A. Castillo et al., “History of optimal power flow and formulations,” Federal Energy Regulatory Commission, vol. 1, pp. 1–36, Dec. 2012.
  • [20] X. Chen, E. Dall’Anese, C. Zhao, and N. Li, “Aggregate power flexibility in unbalanced distribution systems,” IEEE Trans. Smart Grid, vol. 11, no. 1, pp. 258–269, Jan. 2020.
  • [21] X. Chen, C. Zhao, and N. Li, “Distributed automatic load frequency control with optimality in power systems,” IEEE Control Netw. Syst., vol. 8, no. 1, pp. 307–318, Mar. 2021.
  • [22] X. Chen, W. Wu, and B. Zhang, “Robust capacity assessment of distributed generation in unbalanced distribution networks incorporating anm techniques,” IEEE Trans. Sustain. Energy, vol. 9, no. 2, pp. 651–663, Apr. 2018.
  • [23] Y. Sun, C. Kang, Q. Xia, Q. Chen, N. Zhang, and Y. Cheng, “Analysis of transmission expansion planning considering consumption-based carbon emission accounting,” Applied Energy, vol. 193, pp. 232–242, May 2017.
  • [24] W. Shen, J. Qiu, K. Meng, X. Chen, and Z. Y. Dong, “Low-carbon electricity network transition considering retirement of aging coal generators,” IEEE Trans. Power Syst., vol. 35, no. 6, pp. 4193–4205, Nov. 2020.
  • [25] Y. Cheng, N. Zhang, and C. Kang, “Bi-level expansion planning of multiple energy systems under carbon emission constraints,” in Proc. of IEEE PES General Meeting.   IEEE, 2018, pp. 1–5.
  • [26] T. Wu, X. Wei, X. Zhang, G. Wang, J. Qiu, and S. Xia, “Carbon-oriented expansion planning of integrated electricity-natural gas systems with EV fast-charging stations,” IEEE Trans. Transp. Electr., vol. 8, no. 2, pp. 2797–2809, Jun. 2022.
  • [27] X. Wei, K. W. Chan, T. Wu, G. Wang, X. Zhang, and J. Liu, “Wasserstein distance-based expansion planning for integrated energy system considering hydrogen fuel cell vehicles,” Energy, vol. 272, p. 127011, Jun. 2023.
  • [28] C. Gu, Y. Liu, J. Wang, Q. Li, and L. Wu, “Carbon-oriented planning of distributed generation and energy storage assets in power distribution network with hydrogen-based microgrids,” IEEE Trans. Sustain. Energy, vol. 14, no. 2, pp. 790–802, Apr. 2023.
  • [29] Y. Wang, J. Qiu, and Y. Tao, “Optimal power scheduling using data-driven carbon emission flow modelling for carbon intensity control,” IEEE Trans. Power Syst., vol. 37, no. 4, pp. 2894–2905, Jul. 2021.
  • [30] L. Sang, Y. Xu, and H. Sun, “Encoding carbon emission flow in energy management: A compact constraint learning approach,” IEEE Trans. Sustain. Energy, vol. 15, no. 1, pp. 123–135, Jan. 2024.
  • [31] Y. Wang, J. Qiu, and Y. Tao, “Robust energy systems scheduling considering uncertainties and demand side emission impacts,” Energy, vol. 239, p. 122317, Jan. 2022.
  • [32] Z. Lu, L. Bai, J. Wang, J. Wei, Y. Xiao, and Y. Chen, “Peer-to-peer joint electricity and carbon trading based on carbon-aware distribution locational marginal pricing,” IEEE Trans. Power Syst., vol. 38, no. 1, pp. 835–852, Jan. 2023.
  • [33] Y. Cheng, N. Zhang, B. Zhang, C. Kang, W. Xi, and M. Feng, “Low-carbon operation of multiple energy systems based on energy-carbon integrated prices,” IEEE Trans. Smart Grid, vol. 11, no. 2, pp. 1307–1318, Mar. 2020.
  • [34] Washington Department of Commerce, “Energy storage accounting issues,” 2021.
  • [35] Federal Energy Regulatory Commission, “Accounting and reporting treatment of certain renewable energy assets,” 2022.
  • [36] Y. Gu, J. Li, X. Xing, Z. Cai, G. Deng, T. Sun, and Z. Li, “Carbon emission flow calculation of power systems considering energy storage equipment,” in Proc. of 8th Asia Conference on Power and Electrical Engineering.   IEEE, 2023, pp. 1268–1272.
  • [37] X. Chen, “Enhance low-carbon power system operation via carbon-aware demand response,” Energy Internet, p. e12004, Oct. 2024.
  • [38] G. H. Golub and C. F. Van Loan, Matrix computations.   The Johns Hopkins University Press, 2013.
  • [39] P. Shivakumar and K. H. Chew, “A sufficient condition for nonvanishing of determinants,” Proceedings of the American Mathematical Society, pp. 63–66, 1974.
  • [40] T. Ando, “Inequalities for M-matrices,” Linear and Multilinear Algebra, vol. 8, no. 4, pp. 291–316, 1980.
  • [41] A. Lorca and X. A. Sun, “Adaptive robust optimization with dynamic uncertainty sets for multi-period economic dispatch under significant wind,” IEEE Trans. Power Syst., vol. 30, no. 4, pp. 1702–1713, Jul. 2015.
  • [42] G. B. Giannakis, V. Kekatos, N. Gatsis, S. Kim, H. Zhu, and B. F. Wollenberg, “Monitoring and optimization for power grids: A signal processing perspective,” IEEE Signal Process. Mag., vol. 30, no. 5, pp. 107–128, Sept. 2013.
  • [43] R. Fletcher and S. Leyffer, “Solving mathematical programs with complementarity constraints as nonlinear programs,” Optimiz. Methods and Soft., vol. 19, no. 1, pp. 15–40, 2004.
  • [44] L. T. Biegler and V. M. Zavala, “Large-scale nonlinear programming using IPOPT: An integrating framework for enterprise-wide dynamic optimization,” Comput. & Chemic. Engine., vol. 33, no. 3, pp. 575–582, Mar. 2009.
  • [45] X. Chen and N. Li, “Leveraging two-stage adaptive robust optimization for power flexibility aggregation,” IEEE Trans. Smart Grid, vol. 12, no. 5, pp. 3954–3965, Mar. 2021.
  • [46] X. Chen, “Configuration and parameters of modified 39-bus New England test system,” 2023. [Online]. Available: https://xchen.engr.tamu.edu/wp-content/uploads/sites/294/2024/01/39system.pdf
  • [47] M. Lubin, O. Dowson, J. Dias Garcia, J. Huchette, B. Legat, and J. P. Vielma, “JuMP 1.0: Recent improvements to a modeling language for mathematical optimization,” Math. Program. Comput., 2023.