원시데이터 수집 시스템
선정목록으로

Mitigating Cascading Failures by Enhancing N-2 security Using a Unified Preventive-Corrective Generation Rescheduling Approach

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Amirhossein Ramezani — Electrical Engineering Department, Shahid Beheshti University, Tehran, Iran
  2. M. R. Aghamohammadi — Electrical Engineering Department, Shahid Beheshti University, Tehran, Iran
  3. Ali Reza Sobbouhi — Electrical Engineering Department, Shahid Beheshti University, Tehran, Iran
DOI
10.1109/access.2025.3596142
저널
IEEE Access
발행년도
2025
발행기관
Institute of Electrical and Electronics Engineers
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2025.3596142
토픽
High voltage insulation and dielectric phenomena
OpenAlex ID
W4412985011

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Although the N-1 criterion is widely applied, cascading failures and large-scale blackouts still occur in power systems. Thus, incorporating N-k (k >1) security constraints in the Security-Constrained Optimal Power Flow (SCOPF) problem is essential, with N-2 contingencies being the most probable cause of cascading failures. However, modeling all N-2 contingencies increases the number of constraints, resulting in excessive computational burden. To address this, we propose a statistical constraint screening method that reduces the number of N-2 constraints by 75%, from 19,108 to 4,744, significantly decreasing problem size. Additionally, a closed-form LODF-based formulation is developed to evaluate N-2 post-contingency flows without network topology reconstruction. Two optimization models-separate and unified-are proposed and compared for generation rescheduling in SCOPF. Simulation results on the IEEE 39-bus system demonstrate that the unified model reduces the total preventive action cost (PAC) by up to 7,417 /h and decreases computational time by 32%, while ensuring complete N-2 contingency security.

본문 79,306자

본문 펼치기
Received 1 July 2025, accepted 29 July 2025, date of publication 5 August 2025, date of current version 25 August 2025. _Digital Object Identifier 10.1109/ACCESS.2025.3596142_ # Mitigating Cascading Failures by Enhancing N-2 Security Using a Unified Preventive-Corrective Generation Rescheduling Approach AMIRHOSSEIN RAMEZANI, MOHAMMAD REZA AGHAMOHAMMADI, AND ALIREZA SOBBOUHI Electrical Engineering Department, Shahid Beheshti University, Tehran 19839-69411, Iran Corresponding author: Mohammad Reza Aghamohammadi (m_aghamohammadi@sbu.ac.ir) ABSTRACT Although the N-1 criterion is widely applied, cascading failures and large-scale blackouts still occur in power systems. Thus, incorporating N-k (k _>_ 1) security constraints in the Security-Constrained Optimal Power Flow (SCOPF) problem is essential, with N-2 contingencies being the most probable cause of cascading failures. However, modeling all N-2 contingencies increases the number of constraints, resulting in excessive computational burden. To address this, we propose a statistical constraint screening method that reduces the number of N-2 constraints by 75%, from 19,108 to 4,744, significantly decreasing problem size. Additionally, a closed-form LODF-based formulation is developed to evaluate N-2 post-contingency flows without network topology reconstruction. Two optimization models-separate and unified-are proposed and compared for generation rescheduling in SCOPF. Simulation results on the IEEE 39-bus system demonstrate that the unified model reduces the total preventive action cost (PAC) by up to 7,417 $/h and decreases computational time by 32%, while ensuring complete N-2 contingency security. INDEX TERMS N-2 contingencies, active constraint, cascading failure, preventive operational actions, corrective operational actions, generation rescheduling, demand respond. I. INTRODUCTION Despite adherence to the N-1 contingency criterion, cascading failures and large-scale blackouts continue to threaten power systems globally. These persistent events have prompted reliability organizations such as NERC to revise operational standards (e.g., PRC-023), emphasizing the importance of addressing not only single outages but also N-k contingencies with k _>_ 1 [1]. However, accounting for all possible N-k scenarios is computationally intensive and often impractical for real-time applications. As a result, efficient screening and selection of critical contingencies have become an essential preprocessing step in Security-Constrained Optimal Power Flow (SCOPF) analysis. SCOPF is a fundamental optimization tool in power system operation that aims to determine the optimal genera The associate editor coordinating the review of this manuscript and approving it for publication was Huaqing Li . tion dispatch while ensuring secure operation under both normal and post-contingency conditions. Contingency scenarios refer to the failure of system elements such as transmission lines or generators. Extensive reviews of SCOPF have been conducted in [2] and [3], classifying the problem into three main categories based on control strategies: Preventive SCOPF (PSCOPF) [4], Corrective SCOPF (CSCOPF) [5], and Preventive-Corrective SCOPF (PCSCOPF) [6]. Traditional SCOPF methods have relied on sensitivitybased models [7] and performance indices [8]. More recently, optimization-based formulations and heuristic algorithms have been explored. For example, [1], [9], [10] propose various screening methods for cascading contingencies. Recent advances in data-driven approaches have demonstrated notable speed improvements. Nakiganda et al. [11] employ topology-aware neural networks to accelerate N-k contingency analysis by up to 1000×. In another line of work, fast linear methods using PTDF and LODF matrices are TABLE 1. Comparative summary of key recent works and the proposed method. employed to evaluate post-contingency flows efficiently [12], [13]. These methods have been successfully applied in SCUC and SCED problems to reduce computational burden under N-k conditions [14], [15]. Complementary to this, a topology-based approximation method is proposed in [16] for reducing N-1 constraint modeling effort in large transmission networks. Multi-level formulations also play a vital role in SCOPF. Benders decomposition has been widely adopted for its modular structure [17], although it can be computationally burdensome due to iterative constraint checking. Robust optimization frameworks address uncertainty by modeling worst-case scenarios [18], [19], but their focus on a single extreme event may overlook other impactful contingencies. Additionally, works such as [20] and [21] extend robust SCUC formulations by incorporating uncertainty in wind generation, load, and unit commitments. Recent research has further investigated scalable models and broader sources of uncertainty. A two-stage SCOPF model that enables post-contingency corrective control on systems with up to 10,000 buses is introduced in [22]. Han et al. [23] propose a three-stage stochastic OTS model that addresses both renewable intermittency and N-k contingencies. Transient stability and multi-resource uncertainties are jointly tackled through a robust two-stage preventive strategy [24]. Meanwhile, other studies have explored auxiliary frameworks: [25] presents RAS-FUBM for wind-integrated short-term planning; [26] uses NSGA-III for multi-objective tuning of security constraints; [27] investigate hybrid metaheuristic algorithms for enhanced voltage control and cost mitigation. While the literature offers a wide range of tools for enhancing system security, several key challenges remain unresolved: - Constraint sensitivity to operating points: Many formulations evaluate constraints at a fixed pre-optimization point, ignoring that adjustments may activate new constraints and necessitate iterative updates. - Computational inefficiency in enforcing N-2 contingencies: Combinatorial growth in candidate outages hinders scalability in many classical and decomposition-based methods. - Over-reliance on worst-case robustness: Most robust optimization frameworks focus solely on extreme cases, potentially ignoring other impactful yet suboptimal scenarios. - Lack of integrated preventive-corrective coordination: Few methods unify these actions within a single optimization framework, limiting adaptability to diverse contingencies. According to NERC’s 2023 report, over 65% of cascading failures between 2010 and 2022 were triggered by N-2 events, whereas higher-order N-k (k ≥ 3) scenarios comprised less than 12%. These observations underscore the need for scalable N-2-aware frameworks. This paper addresses this gap by proposing a two-stage method that combines statistical screening with a unified preventive-corrective SCOPF model. First, statistically inactive constraints are removed to reduce the size of the optimization problem. Then, a compact and efficient formulation for N-2 contingency evaluation is introduced, enabling seamless coordination between preventive and corrective controls. The main contributions of this work are: - A compact LODF-based formulation for modeling N-1 and N-2 contingency flows, avoiding topology reconstruction. - A statistical screening algorithm that filters ineffective post-contingency constraints prior to optimization. - A unified SCOPF framework that jointly optimizes preventive and corrective actions under N-k scenarios. A structured comparison between recent works and the proposed approach is summarized in TABLE 1. The remainder of the paper is structured as follows: Section II introduces the N-2 contingency modeling approach. Section III presents the constraint screening method. Section IV details the unified optimization model. Section V presents simulation results for the IEEE 39-bus system, accompanied by a discussion and conclusion. II. PROPOSED APPROACH One of the significant threats for initiating cascading failure in power systems is N-k contingencies. Due to the low probability of their occurrence, system operators are not supposed to provide any preventive operational actions against their risk. However, despite this fact, in the real-time operation of power systems, N-k contingencies may occur due to disaster events such as flooding, earthquakes, landslides, lightning, and the hidden failure of protection relays. In the worst-case scenario, they may initiate cascading failure, leading to a blackout. In this paper, regarding the risk of cascading failure due to N-k contingency, N-2 is considered the most probable multi-contingency with the potential for causing cascading failure. It is necessary to determine the operating point of the power system at which all N-2 contingencies, or most of them, have no risk of overloading to reduce the risk of cascading failure due to N-2 contingencies. The most challenging bottleneck for performing an N-2 contingency-constrained optimization model is the vast number of N-2 constraints, which could make the optimization very time-consuming for a realistic power system. In this paper, a statistical approach is proposed to reduce the number of N-2 contingency constraints, thereby reducing the number of constraints in the size of a feasible problem. The proposed framework employs DC power flow modeling for both N-2 contingency screening and optimization processes, enabling complete execution in under 40 seconds for the IEEE 39-bus system. The linear nature of DC power flow facilitates the rapid evaluation of thousands of potential N-2 contingencies in large-scale power systems. In contrast, AC power flow analysis would be computationally prohibitive for such large-scale contingency screening. This approach is further justified by outage analyses conducted by NERC between 2019 and 2021, which revealed that over 80% of cascading failures originate from active power violations - a phenomenon effectively captured by the DC power flow model. Our multi-line outage modeling methodology extends _�PGi_ : The amount of generation rescheduling for generator i as preventive or corrective action _CGi_ : The generation cost of generation rescheduling for generator i _F_ <sup>◦</sup> : Active power flow of line k at the pre-contingency operating condition _F_ <sup>_αβ_</sup> : Post-outage active power flow of line _ω_ for N-2 contingency ( _α_ ̸ = _β_ ) and N-1 contingency( _α_ = _β_ ) _Fω_ <sup>_max_</sup> : Maximum allowable power flow of line _C_ <sup>0</sup> : Line flow matrix for normal operation _C_ <sup>_αβ_</sup> : Line flow matrix for N-k post-contingency (outage of lines _α, β_ ) _P_ <sup>_0_</sup> _inj_ : Vector of initial net injectionpowers into buses _�P_ <sup>min(max)</sup> _Gi_ : Maximum (minimum) allowable increase in generation of generator i The most challenging part of the optimization problem is handling (3) and (5), which represent overloading constraints due to N-2 contingencies. Equation (8) can be used to calculate the number of all N-2 contingencies ( _NCN_ −2 ) for a power system with _nl_ lines and the established single-line LODF framework [14] using DCbased calculations. This approach is consistent with recent advancements in contingency analysis, including: - The direct application of DC flow for post-contingency calculations [28] - PTDF/LODF-based contingency screening techniques [29] - Use of DC power flow results as training data for machine learning models [30]. _A._ _PRINCIPLE OF N-2 CONTINGENCY-CONSTRAINED_ _OPTIMISATION_ As mentioned, the proposed approach is a two-stage optimization algorithm in which all harmful N-2 contingencies can be handled in the pre-contingency stage by PAs and in the post-contingency stage by CAs. In the preventive or corrective stage of the proposed approach, the problem of finding an N-2 secure operating point can be modeled using quadratic programming, as shown in equations (1)-(7). Min : _NG_ _i_ =1 _CGi_ × _�P_ <sup>2</sup> _Gi_ (1) Subject to: _F_ <sup>◦</sup> = _C_ <sup>0</sup> - _P_ <sup>0</sup> _inj_ (2) _F_ <sup>_αβ_</sup> = _C_ <sup>_αβ_</sup> × _P_ <sup>0</sup> _inj_ <sup>_,_</sup> _α, β_ ∈ _NL_ (3) _Fω_ <sup>0</sup> _ω_ <sup>_max_</sup> _,_ _ω_ ∈ _NL_ (4) _ω_ <sup>0</sup> <sup>_< F_</sup> _ω_ <sup>_max_</sup> _Fω_ <sup>_αβ_</sup> _NG_ _i_ =1 _ω_ <sup>_αβ_</sup> _< Fω_ <sup>_max_</sup> _ω_ <sup>_max_</sup> _,_ _α, β, ω_ ∈ _NL_ (5) _�PGi_ = 0 (6) _�P_ <sup>_min_</sup> _G_ _< �PGi_ _< �P_ <sup>_max_</sup> _G_ (7) _nb_ buses. _<u>nl</u>_ ! _NCN_ −2 = (8) 2 × ( _nl_ - 2)! Regarding each N-2 contingency, NL-2 lines are at risk of overloading, and the total for all N-2 contingencies is calculated by (9), which should be considered security constraints. _NCSN_ −2 = ( _nl_ - 2) × _NCN_ −2 (9) For example, for the IEEE 39-bus network with _nl_ = 34 lines, the number of N-2 contingencies and post-outage power flow scenarios concerning all lines will be: <u>34!</u> _NCN_ −2 = = 561 2 × 32! <sup>=</sup> <sup><u>33 ×</u></sup> 2 <sup><u>34</u></sup> _NCSN_ −2 = 32 × 561 = 17952 As seen, even for a small network, the number of N-2 constraints is vast, which can make the optimization problem very difficult or time-consuming, especially for online applications. In addition, the primary challenge in solving (1) is reducing the number of N-2 contingency constraints represented by (5). For this purpose, this paper develops a fast approach for reducing the number of N-2 contingency constraints based on DC load flow and statistical analysis of power networks. _B._ _MODELING N-2 POST-CONTINGENCY LOADING BY DC_ _LOAD FLOW_ Generally, post-contingency loading of transmission lines and transformers concerning for each N-k contingency could can be evaluated by through a complete AC load flow calculation, where k elements are removed. However, increasing k dramatically increases the number of N-k contingencies and associated line overloading constraints. Considering all post-outage line flow scenarios within the optimization problem will be time-consuming and impossible for online applications. In this paper, N-2 contingencies are regarded as the most probable cause within the group of N-k for causing cascading failure. By using DC load flow, a closed-form equation for the N-2 post-contingency line flow is derived as follows. Assuming DC load flow calculations, the Power Transfer Distribution Factor (PTDF) calculations are presented in reference [1], as shown in (10). For convenience in expressing the equations in this paper, the PTDF matrix is denoted by C. _F_ = _PTDF_ × _Pinj_ = _C_ × _Pinj_ (10) where _C_ is a matrix with dimension _nl_ × _nb_, including the network topology and branch reactance, denoted as a line flow matrix. With power injection at buses, using (10), the active power flows on lines can be quickly evaluated. At normal and post-contingency conditions, (10) should satisfy the following constraints. _F_ <sup>0</sup> = _C_ <sup>0</sup> × _P_ <sup>0</sup> _inj_ <sup>_,_</sup> No outage (11) _F_ <sup>_N_</sup> <sup>−</sup> <sup>_k_</sup> = _C_ <sup>_N_</sup> <sup>−</sup> <sup>_k_</sup> × _Pinj,_ ( _N_ - _k_ )contingency (12) where _C_ <sup>0</sup> and _C_ <sup>_N_</sup> <sup>−</sup> <sup>_k_</sup> represent the line flow matrix for normal and N-k post-contingency topologies. It is worth noting that evaluating matrix C for each contingency is a time-consuming task, making it challenging to evaluate post-contingency line power flows and embed them as constraints in the optimization equation. For this purpose, a simple closed-form formulation for evaluating the post-outage power flow of lines after N-2 contingencies is derived in APPENDIX A. Supposing lines _α_ and _β_ connecting buses ( _i_, _j_ ) and ( _p_, _q_ ) are taken out as an N-2 contingency. Equation (13) shows that the post-outage power flow of each line _ω_ can be evaluated by a closed-form formula in terms of the matrix elements _C_ <sup>0</sup> . III. CONSTRAINT REDUCTION The main objective of this paper is to find a secure operating point without any risk of overloading, considering all overloading constraints due to all N-2 contingencies. As mentioned, many line overloading constraints are due to N-2 contingencies, some of which may be inactive. The post-contingency overloading constraint associated with line k is inactive if it is never violated due to all contingencies. Therefore, by identifying inactive constraints, they could be removed from the list of inequality constraints (5) in the optimization problem, and in this way, the number of constraints will be reduced severely. The proposed methodology utilizes a fixed load profile that represents forecasted system conditions to execute three core analytical processes: (1) statistical generation scenario creation within operational limits, (2) security constraint screening, and (3) preventive-corrective action optimization. The prediction horizon, ranging from 15 to 60 minutes, is dynamically determined based on the system size and available computational resources. This dynamic adjustment ensures alignment with evolving grid conditions while preserving the benefits of deterministic evaluation. The methodology is implemented periodically, ensuring its validity as long as the actual operating conditions correspond to the forecasted profile. Moreover, an adaptive time-window selection mechanism is employed to optimize the trade-off between computational efficiency and operational relevance. _A._ _IDENTIFICATION OF INACTIVE CONSTRAINTS_ A statistical approach is proposed to identify inactive constraints in which an exhaustive operating space, including a large number of operating points with different generation patterns, is constructed for a given load pattern. The statistical analysis of the results obtained from this calculation provides _Fω_ <sup>_αβ_</sup> = _nb_ �{ _C_ <sup>0</sup> ( _ω, r_ ) + _dαip.C_ <sup>0</sup> ( _α, r_ ) _r_ =1 + _dβip.C_ <sup>0</sup> ( _β, r_ )} · _P_ <sup>0</sup> _inj_ - _r_ (13) <sup>0</sup> _inj_ - _r_ <sup>is the rth entry of the vector</sup> <sup>_P_</sup> _inj_ <sup>0</sup> where, _P_ <sup>0</sup> where, _P_ <sup>0</sup> _inj_ - _r_ <sup>is the rth entry of the vector</sup> <sup>_P_</sup> _inj_ <sup>0</sup> <sup>which is the</sup> injection power at bus _r_ . Equation (13) can be easily embedded into the inequality constraint of (5) of the optimization equations for all lines ( _ω_ = 1 _, . . .,_ nl). essential information about the critical contingencies, inactive constraints, and vulnerable lines. This analysis requires a data set of operating points covering the operating space of the power system around the given load pattern. Therefore, several generation patterns within the permissible operating range of generators covering all space should be created by the rules defined by (14)-(16). _Gi_ _PGi_ = _P_ <sup>_min_</sup> _Gi_ <sup>+ rand</sup> <sup>_(_</sup> <sup>0</sup> <sup>_,_</sup> <sup>1</sup> <sup>_)_</sup> <sup>×</sup> - _P_ <sup>_max_</sup> _Gi_ <sup>_max_</sup> _Gi_ - _P_ <sup>_min_</sup> _Gi_ _,_ ∀ _i_ = 1 _, . . ., NG_ (14) _P_ Gstack = _P_ load − _ng_ −1 _j_ =1 _PGi_ (15) _P_ <sup>_min_</sup> <sup>_min_</sup> Gslack <sup>_< P_</sup> <sup>Gslack</sup> <sup>_< P_</sup> Gslack <sup>_max_</sup> Gslack <sup>_max_</sup> (16) where _P_ <sup>_min_</sup> _Gi_ <sup>_min_</sup> _Gi_ <sup>and</sup> <sup>_Pmax_</sup> _Gi_ where _P_ <sup>_min_</sup> _Gi_ <sup>and</sup> <sup>_Pmax_</sup> _Gi_ <sup>are</sup> <sup>min-max</sup> <sup>generation</sup> <sup>limits,</sup> <sup>respec-</sup> tively, for generator i, rand _(_ 0 _,_ 1 _)_ is a random value generator between 0 and 1, and _P_ Gslack is the generation of the slack unit. For some generation patterns, one, two, or three generators are randomly removed to consider the effect of generator maintenance on line flow due to the contingency effect; also, for each generation pattern, the initial pre-outage loading condition is evaluated by performing load flow calculations. If any line overloading is recognized, that generation pattern is discarded. This process will obtain enough large numbers (ns) of diverse acceptable operating points covering the entire operating space. First, for the network with basic topology and all lines in service, the basic matrix _C_ <sup>0</sup> is calculated. For each operating point having a specific injection power vector _Pinj_, by using (13), the post-outage power flow of all lines due to all N-2 contingencies is evaluated quickly. The post-outage power flow of each line ( _ω_ ) with respect to a double outage of lines ( _α, β_ ) is denoted as _Fω_ <sup>_αβ_</sup> <sup>, which constitutes a constraint</sup> denoted as a binary number _Bωαβ_ where _Bωαβ_ = 1 if _Fω_ <sup>_αβ_</sup> _>_ denoted as a binary number _Bωαβ_ where _Bωαβ_ = 1 if _Fω_ <sup>_αβ_</sup> _>_ _Fω_ <sup>_max_</sup> otherwise _Bωαβ_ = 0. Regarding all ns operating points, _Fω_ <sup>_max_</sup> otherwise _Bωαβ_ = 0. Regarding all ns operating points, the number of times the post-outage power flow _Fω_ <sup>_αβ_</sup> <sup>has been</sup> violated ( _Bωαβ_ = 1 ) is accounted by _Vω_ <sup>_αβ_</sup> <sup>,</sup> <sup>from</sup> <sup>which</sup> <sup>an</sup> active violation coefficient ( _AVCω_ <sup>_αβ_</sup> ) is defined for line ( _ω_ ) active violation coefficient ( _AVCω_ <sup>_αβ_</sup> ) is defined for line ( _ω_ ) as follows: _NVω_ <sup>_αβ_</sup> = _ns_ _r_ =1 _Bωαβ_ (17) FIGURE 1. Constraint screening flowchart. Fig.1 illustrates the proposed constraint screening for power system security assessment. The process begins with a fixed load profile and proceeds through the stages of generation scenario creation, constraint violation identification, and active constraint selection prior to performing the final security-constrained optimization step. IV. CASCADING FAILURE-BASED SECURE OPERATION POINT To find a cascading failure-based secure operating point, considering that N-2 contingencies could be the most probable cause for initiating cascading failure, it is necessary to solve the optimization problem represented by (1)-(7) concerning all active N-2 constraints. In this paper, two approaches are introduced and compared to evaluate pre-contingency PAs and post-contingency CAs. 1- Both PAs and CAs are handled as two separate problems sequentially. First, all constraints are treated by PAs, and then the remaining unalleviated constraints will be treated one by one in the post-contingency condition using CAs. 2-PAs and CAs are handled simultaneously in one problem and are used to satisfy all constraints in a single optimization. In both approaches, optimization calculations are performed under pre-contingency conditions to anticipate CAs for all potential contingencies. Once a contingency occurs, _ω_ <sup>_αβ_</sup> = <sup>_<u>NV</u>_</sup> _<u>ω</u>_ <sup>_αβ_</sup> _AVCω_ <sup>_αβ_</sup> _<u>ω</u>_ <sup>_αβ_</sup> (18) _ns_ where, _ns_ is the number of scenarios.Ideally, a constraint is defined as an inactive constraint if _Cω_ <sup>_αβ_</sup> = 0. However, a practically inactive constraint could be defined concerning a threshold _γ_ ( _AVCω_ <sup>_αβ_</sup> _< γ_ ), where the value of the threshold a threshold _γ_ ( _AVCω_ <sup>_αβ_</sup> _< γ_ ), where the value of the threshold could be determined based on risk-cost analysis for each network. As a result, those constraints that satisfy the threshold criterion ( _AVCω_ <sup>_αβ_</sup> _<_ _γ_ ) are regarded as inactive constraints criterion ( _AVCω_ <sup>_αβ_</sup> _<_ _γ_ ) are regarded as inactive constraints and removed from the list of constraints for finding a secure operating point. the pre-calculated CAs specific to that contingency are immediately implemented without requiring real-time calculations. Given time, cost, and operational restrictions for PAs, specific limits must be imposed on the optimization problem. Therefore, due to these limitations, it may not be feasible to determine an operating point for the system that ensures complete security against all N-2 contingencies. The number of unsecured contingencies depends on the restrictions imposed by PAs. However, we can identify these contingencies, make the operator aware of them, and consider additional measures to correct them. Two categories, PAs and CAs, are considered to secure the power system against contingencies. PAs (e.g., generator rescheduling) are implemented at pre-contingency, and CAs (e.g., generator rescheduling and load shedding) are implemented to eliminate any overloads at post-contingency. Therefore, the objective function of the optimization problem is the sum of the preventive action cost (PAC) and the corrective action cost (CAC), representing the additional cost for secure operation against N-2 contingencies. Regarding the evaluation of CACs, the probability of each contingency ( _pk_ ) must also be considered. Thus, the nature of CAC is an expected value. The operation cost (OC) of the units is calculated as follows: Where, _�P_ <sup>_CA_</sup> _Gi_ <sup>is</sup> <sup>the</sup> <sup>power</sup> <sup>rescheduling</sup> <sup>of</sup> <sup>unit</sup> <sup>i</sup> <sup>due</sup> <sup>to</sup> <sup>CA</sup> and _rGi_ is coefficient of generation rescheduling cost as CA. This study adopts a standard quadratic cost function for load shedding (24), consistent with common industry practice [31]. While linear or other convex formulations remain applicable, the quadratic form provides sufficient generality for our security-constrained optimization framework. The coefficients b <sup>′</sup> and c <sup>′</sup> represent the linear and quadratic costs of load shedding, respectively, and are selected based on [31] to reflect the economic impact of load curtailment while ensuring solution convexity and numerical tractability. These coefficients can be adjusted to accommodate different load priorities and types. _b_ <sup>′</sup> _�P_ <sup>_CA_</sup> _Li_ <sup>+</sup> <sup>_c_</sup> <sup>′ �</sup> <sup>_CA_</sup> _Li_ <sup>+</sup> <sup>_c_</sup> <sup>′ �</sup> �2 (24) _LSCAC_ = _i_ ∈ _SL_ _�P_ <sup>_CA_</sup> _Li_ where, _�P_ <sup>_CA_</sup> _Li_ <sup>is</sup> <sup>the</sup> <sup>load</sup> <sup>shedding</sup> <sup>power</sup> <sup>of</sup> <sup>load</sup> <sup>i</sup> <sup>due</sup> <sup>to</sup> CA and b <sup>′</sup> and c <sup>′</sup> are coefficients of load shedding cost as CA. Since CAs are applied only in the case of contingency occurrence, the cost of CAs is an expected cost considering the probability of each contingency occurrence. The expected corrective action cost (ECAC) consists of two components: the expected rescheduling corrective action cost (ERCAC) of units and the expected load shedding corrective action cost (ELSCAC). These methods are formulated in detail in the following. In both approaches, generation rescheduling is considered a PA, and load-generation shedding and generation rescheduling are regarded as CA. _A._ _FIRST APPROACH: SEPARATE HANDELING OF PAS AND_ _CAS_ This approach consists of stages 1 and 2, respectively, for finding optimum PAs and CAs separately. 1) STAGE 1 (PRE-CONTINGENCY) The economic generation pattern ( _P_ <sup>_ED_</sup> _G_ <sup>)</sup> <sup>is</sup> <sup>calculated</sup> using economic dispatch for a given load pattern. Then, by considering all active constraints associated with all N-2 contingencies, the optimization problem for finding PAs using only generation rescheduling is formulated as follows: �2 (19) _OCi_ = _ai_ + _biP_ <sup>0</sup> _Gi_ <sup>+</sup> <sup>_ci_</sup> _OCi_ = _ai_ + _biP_ <sup>0</sup> - _P_ <sup>0</sup> _Gi_ - _P_ <sup>0</sup> where ai _,_ biand ci are coefficient of operational cost function and _P_ <sup>0</sup> _Gi_ <sup>represents</sup> <sup>the</sup> <sup>output</sup> <sup>power</sup> <sup>of</sup> <sup>unit</sup> <sup>i</sup> <sup>in</sup> <sup>the</sup> <sup>initial</sup> optimal operating condition, considering the N-1 security. The cost of preventive rescheduling of unit i can be calculated as follows: _Gi_ _OCi_ <sup>_PA_</sup> = _ai_ + _bi_ × - _P_ <sup>0</sup> _Gi_ <sup>0</sup> _Gi_ <sup>+</sup> <sup>_�P_</sup> _Gi_ <sup>_PA_</sup> _Gi_ �2 (20) + _ci_ × - _P_ <sup>0</sup> <sup>0</sup> _Gi_ <sup>+</sup> <sup>_�P_</sup> _Gi_ <sup>_PA_</sup> _OCi_ <sup>_PA_</sup> _<u>G</u>_ <sup>0</sup> <sup>+</sup> <sup>_ci_</sup> <sup>(</sup> <sup>_�PP_</sup> _<u>Gi</u>_ <sup>_,_</sup> <sup>0</sup> = <sup>_ai_</sup> <sup>+</sup> <sup>_biP_</sup> _<u>G</u>_ <sup>0</sup> _OCi_ <sup>_P_</sup> _<u>Gi</u>_ <sup>_,_</sup> <sup>0)2</sup> + <sup>_bi�P_</sup> _<u>Gi</u>_ <sup>_P,_</sup> <sup>4</sup> _<u>Gi</u>_ <sup>_P,_</sup> <sup>4</sup> <sup>+ 2</sup> <sup>_CiPP_</sup> _<u>Gi</u>_ <sup>_,_</sup> <sup>1</sup> (21) _RC_ <sup>_P_</sup> _<u>Gi</u>_ <sup>_,_</sup> <sup>1</sup> <sup>+</sup> <sup>_Ci_</sup> <sup>(</sup> <sup>_�Pp_</sup> _<u>Gi</u>_ <sup>_,_</sup> <sup>4</sup> <sup>_p_</sup> _<u>Gi</u>_ <sup>_,_</sup> <sup>4)2</sup> where _�P_ <sup>_PA_</sup> _Gi_ <sup>_PA_</sup> _Gi_ <sup>is the rescheduling power of unit i and</sup> <sup>_OC_</sup> _i_ <sup>_PA_</sup> _min_ : �2 (25) where _�P_ <sup>_PA_</sup> _Gi_ <sup>is the rescheduling power of unit i and</sup> <sup>_OC_</sup> _i_ <sup>_PA_</sup> is the operation cost due to PA including additional rescheduling cost (RC). If the rescheduling of units is considered only for PA, the PAC is equal to: Subject to: _Fω_ <sup>_αβ_</sup> = _Gi_ <sup>_PA_</sup> <sup>+</sup> <sup>_ci_</sup> <sup>0</sup> _Gi_ <sup>_�P_</sup> _Gi_ <sup>_PA_</sup> _i_ ∈ _SG_ _bi�P_ <sup>_PA_</sup> _Gi_ <sup>_PA_</sup> _Gi_ <sup>+ 2</sup> <sup>_ciP_</sup> <sup>0</sup> - _�P_ <sup>_PA_</sup> _Gi_ _nb_ �{ _C_ <sup>0</sup> _(ω, j)_ + _dαip.C_ <sup>0</sup> _(α, j)_ _j_ =1 + _dβip.C_ <sup>0</sup> _(β, j)_ } · _P_ <sup>_PA_</sup> _inj_ �2 (22) <sup>_PA_</sup> _Gi_ <sup>+ 2</sup> <sup>_ciP_</sup> <sup>0</sup> _Gi_ <sup>_PA_</sup> <sup>+</sup> <sup>_ci_</sup> _PAC_ = _RC_ = _bi�P_ <sup>_PA_</sup> _Gi_ <sup>0</sup> _Gi_ <sup>_�P_</sup> _Gi_ <sup>_PA_</sup> - _�P_ <sup>_PA_</sup> _Gi_ CAC consists of two components: the units’ reschedulingcorrective action cost (RCAC) and the load shedding-corrective action cost (LSCAC). To calculate RCAC, the [7] is employed, which is shown in (23). _inj_ - _j_ _< Fω_ <sup>_max_</sup> _,_ ∀ _ω, α, β_ ∈ _NL_ _P_ <sup>_PA_</sup> _inj_ _ng_ _i_ =1 _�P_ <sup>_PA_</sup> _Gi_ <sup>= 0</sup> (28) _ω_ <sup>_max_</sup> _,_ ∀ _ω, α, β_ ∈ _NL_ (26) <sup>_PA_</sup> _inj_ <sup>=</sup> <sup>_P_</sup> <sup>0</sup> _inj_ _G_ <sup>_PA_</sup> (27) <sup>0</sup> _inj_ <sup>+</sup> <sup>_�P_</sup> _G_ <sup>_PA_</sup> _�P_ <sup>_PA_</sup> _Gi_ <sup>_,min_</sup> _< �P_ <sup>_PA_</sup> _Gi_ <sup>_PA_</sup> _Gi_ <sup>_< �PPA_</sup> _Gi_ <sup>_,max_</sup> - _�P_ <sup>_CA_</sup> _Gi_ _RCAC_ = _i_ ∈ _SG_ _rGi_ �2 (23) <sup>_PA_</sup> _Gi_ <sup>_,max_</sup> (29) where, _�_ _P_ <sup>_PA_</sup> _G_ <sup>is the vector of generation rescheduling as PA.</sup> At the end of the first stage, some of the N-2 contingency constraints are satisfied, and accordingly, the generation pattern has deviated from the economic pattern to a secure generation pattern ( _P_ <sup>_PA_</sup> _G_ <sup>).</sup> <sup>However,</sup> <sup>this</sup> <sup>stage</sup> <sup>is</sup> <sup>unable</sup> <sup>to</sup> <sup>remove</sup> <sup>all</sup> risks due to N-2 contingencies; the rest of the constraints are supposed to be alleviated at the post-contingency stage. of PA is considered zero.  � _._ <sup>2</sup> _ECAC_ = _k_ ∈ _SC_ _pk_ ∗   <sup>�</sup> _i_ ∈ _SG_ _rGi_ - _�P_ <sup>_CA_</sup> _Gi_ - _.PLi_ + _c_ <sup>′</sup> _(�PLi)_ <sup>2�</sup> (35) + _i_ ∈ _SL_ _b_ <sup>′</sup> _�_ 2) STAGE 2 (POST-CONTINGENCY) This stage is responsible for finding CAs at the postcontingency for those constraints that have not been alleviated at stage 1. These constraints and the associated contingencies are identifiable. Therefore, these events still lead to overloads on other lines despite the implementation of PAs in Stage 1, and CAs should be taken to correct the occurred overloads. Since CAs occur in post-contingency, the CA optimization is solved for each contingency requiring CAs. So, CAs are determined using an optimization problem in which the optimization variables are generation rescheduling ( _P_ <sup>_CA_</sup> _G_ <sup>)</sup> <sup>and</sup> <sup>load</sup> <sup>shedding</sup> <sup>(</sup> <sup>_�PL_</sup> <sup>),</sup> <sup>and</sup> <sup>the</sup> <sup>objective</sup> <sup>is</sup> <sup>to</sup> mitigate CAC for each contingency. The post-contingency optimization problem for each contingency k is formulated as (30)-(34): _i_ ∈ _SL_ _b_ <sup>′</sup> _�PLi_ �2 + _min CACk_ = _i_ ∈ _SG_ _rGi_ - _�P_ <sup>_CA_</sup> _Gi_ + _c_ <sup>′</sup> _(�PLi)_ <sup>2</sup> (30) Subject to : _Fω_ <sup>_αβ_</sup> = _nb_ _j_ =1 { _C_ <sup>0</sup> ( _ω, j_ ) + _dαip.C_ <sup>0</sup> ( _α, j_ ) + _dβip_ - _C_ <sup>0</sup> ( _β, j_ )} · _P_ <sup>_PA_</sup> _inj_ - <sup>∗−</sup> _j_ <sup>_CA_</sup> _inj_ - _j_ _< Fω_ <sup>max</sup> _,_ ∀ _ω, α, β_ ∈ _NL_ _ω_ <sup>max</sup> _,_ ∀ _ω, α, β_ ∈ _NL_ (31) _P_ <sup>_PA_</sup> _inj_ - <sup>∗−</sup> _j_ <sup>_CA_</sup> <sup>0</sup> _inj_ <sup>+</sup> <sup>_�P_</sup> _G_ <sup>_PA_</sup> <sup>∗</sup> _G_ <sup>_PA_</sup> <sup>∗</sup> + _�P_ <sup>_CA_</sup> _inj_ <sup>_CA_</sup> _inj_ (32) <sup>_PA_</sup> _inj_ - <sup>∗−</sup> _j_ <sup>_CA_</sup> = _P_ <sup>0</sup> where, _pk_ is the probability of contingency _k_ and _SC_ is the set of unsecured contingencies with PAs. The proposed separate approach begins with a fixed load profile, where generator outputs are first determined through economic dispatch without security constraints. The preventive optimization stage (25)-(29) computes generation adjustments (PAs) to satisfy N-1/N-2 active constraints. When generator ramping limits prevent full constraint satisfaction, contingencies that lead to optimization infeasibility or non-convergence are identified and excluded. The resulting PAs secure the system against all active constraints except those excluded. For these remaining contingencies ( _k_ ∈ _SC_ ), localized corrective optimization problems (30)-(34) are solved, incorporating both the economic dispatch baseline and computed PAs. This two-phase approach ensures comprehensive N-2 contingency coverage through PAs for most scenarios and pre-computed CAs (generation rescheduling/load shedding) for exceptional cases. The expected corrective cost (ECAC) is calculated using (35) by weighting each contingency’s CA cost by its probability ( _pk_ ). _B._ _SECOND APPROACH: HANDELING PAS AND CAS IN_ _UNIFIED OPTIMIZATION_ This approach aims to minimize the combined cost of PAs and CAs to reduce the potential for overloading after N-2 contingencies. This approach is designed to handle both CAs and PAs simultaneously. The main advantage of this approach is that it considers the potential for CAs after the occurrence of contingencies in calculating optimal PAs. Thus, it avoids extra PAs and cost imposition on the network before the event occurs. CAs are activated only after the event (which has a low probability), and the cost of CAs is also minimal compared to the continuous imposition of PAs on the network. For the fully secure operation of the power system against N-2 contingency events, it is necessary to consider all active constraints in the problem. Therefore, by incorporating CAs in the PAs optimization problem, the following PA-CA optimization problem is proposed: _nb_ - _�P_ <sup>_CA_</sup> _inj_ <sup>= 0</sup> (33) _i_ =1 _�P_ <sup>_CA_</sup> _inj_ <sup>_,min_</sup> _< �P_ <sup>_CA_</sup> _inj_ <sup>_CA_</sup> _inj_ <sup>_< �P_</sup> _inj_ <sup>_CA,max_</sup> _inj_ <sup>_CA,max_</sup> (34) where, _�P_ <sup>_CA_</sup> _inj_ <sup>is</sup> <sup>the</sup> <sup>_nb_</sup> <sup>×</sup> <sup>1</sup> <sup>vector</sup> <sup>of</sup> <sup>power</sup> <sup>injection</sup> <sup>(load</sup> shedding and generation rescheduling) after contingency k. Equations (31)-(32) represent the constraint on line flow limits after the CA (considering the PA in the previous stage ( _�P_ <sup>_PA_</sup> _G_ <sup>∗</sup> )). Additionally, the equality of the load-generation balance after the CA is expressed in (33), and (34) represents the limits for the changes in injection power as CA. This approach utilizes combinations of loads and generators that significantly reduce overloading at the lowest cost of loadgeneration shedding. Therefore, the expected cost of the corrective actions (ECAC) equals the expected costs of CAs obtained for each contingency. ECAC is calculated using (35), where the cost <sup>_PA_</sup> _inj_ - <sup>−</sup> _j_ <sup>_CA_</sup> = _P_ <sup>0</sup> �2 + _ECAC_ (36) <sup>_PA_</sup> _Gi_ <sup>+</sup> <sup>_ci_</sup> - _�P_ <sup>_PA_</sup> _Gi_ _min_ _i_ ∈ _SG_ _bi�P_ <sup>_PA_</sup> _Gi_ <sup>_PA_</sup> _Gi_ <sup>+ 2</sup> <sup>_ciPGi�PPA_</sup> _Gi_ Subject to: _Fω_ <sup>_αβ_</sup> = _nb_ �{ _C_ <sup>0</sup> ( _ω, j_ ) + _dαip.C_ <sup>0</sup> ( _α, j_ ) _j_ =1 + _dβip.C_ <sup>0</sup> ( _β, j_ )} · _P_ <sup>_PA_</sup> _ij_ - <sup>−</sup> _j_ <sup>_CA_</sup> _ij_ - _j_ _< Fω_ <sup>_max_</sup> _,_ ∀ _ω, α, β_ ∈ _ω_ <sup>_max_</sup> _,_ ∀ _ω, α, β_ ∈ _NL_ (37) _P_ <sup>_PA_</sup> _inj_ - <sup>−</sup> _j_ <sup>_CA_</sup> <sup>0</sup> _inj_ <sup>+</sup> <sup>_�P_</sup> _G_ <sup>_PA_</sup> _G_ <sup>_PA_</sup> <sup>+</sup> <sup>_�PCA_</sup> _inj_ <sup>_,k_</sup> <sup>_CA_</sup> _inj_ <sup>_,k_</sup> (38) TABLE 2. Units for magnetic properties. _ng_ _i_ =1 _nb_ _i_ =1 _�P_ <sup>_PA_</sup> _Gi_ <sup>= 0</sup> (39) _�Pinj_ <sup>_CA,k_</sup> = 0 _,_ ∀ _k_ ∈ _active_ _ _contingencies_ (40) _�P_ <sup>_PA_</sup> _G_ <sup>_,min_</sup> _< �P_ <sup>_PA_</sup> _G_ <sup>_PA_</sup> _G_ <sup>_< �PPA_</sup> _G_ <sup>_,max_</sup> <sup>_PA_</sup> _G_ <sup>_,max_</sup> (41) and double contingencies (N-1/N-2). By jointly considering load-shedding and generation rescheduling limits in both preventive and corrective stages, the integrated model ensures more robust and cost-effective solutions compared to sequential methods. Thus, our integrated methodology offers a superior strategy for identifying optimal security measures while maintaining computational feasibility. Comparative results of the two approaches are presented in terms of the number of secure contingencies, as well as the preventive and corrective action costs under identical limitations. Although the proposed framework is primarily designed to address N-2 contingencies, it inherently supports sequential double outages (N-1-1 scenarios) as well. The model considers all possible combinations of N-2 contingencies, and the preventive-corrective rescheduling model is formulated to ensure system security under each of these scenarios. Since the framework guarantees security under all N-2 contingencies, it implicitly provides protection against N-1-1 events as well. Moreover, security constraints for N-1 contingencies are also embedded in the formulation, preventing overloads that could trigger a second failure due to cascading effects. Even if the second outage in an N-1-1 event is assumed to be independent and not caused by overload, it still corresponds to one of the modeled N-2 scenarios. Therefore, the model effectively captures the impact of such sequential events, and appropriate preventive and corrective actions are already anticipated within the unified optimization structure. The proposed approach is model-based and relies on accurate network parameters obtained through state estimation combined with real-time measurements. For the 15 to 60-minute prediction horizon, we assume the system model maintains sufficient accuracy through integrated state estimation techniques. While this approximation may affect precision, the idealized system representation enables a precise evaluation of the core performance screening and optimization methodology by eliminating confounding factors. This deterministic framework lays the foundation for future _�P_ <sup>_CA_</sup> _inj_ <sup>_,min_</sup> _< �P_ <sup>_CA_</sup> _inj_ <sup>_,k_</sup> <sup>_CA_</sup> _inj_ <sup>_,k_</sup> _< �P_ <sup>_CA_</sup> _inj_ <sup>_,max_</sup> <sup>_CA_</sup> _inj_ <sup>_,max_</sup> _,_ ∀ _k_ ∈ _active_ _ _contingencies_ (42) where, _pk_ is the probability of contingency k and _SC_ is the set of unsecured contingencies with PAs. In the above optimization model, the objective function is to minimize the cost of generator rescheduling (as a PA) and load-generation shedding (as CA). The optimization model variables are denoted by _�P_ <sup>_CA_</sup> _inj_ <sup>_,_</sup> <sup>_k_</sup>, _�P_ <sup>_PA_</sup> _G_ <sup>. It should be noted</sup> that the index _k_ in _�P_ <sup>_CA_</sup> _inj_ <sup>_,_</sup> <sup>_k_</sup> indicates the event number. Equa tions (37)-(38) represent all active constraints’ line flow limits after PA and CAs. Equations (39)-(40) represent the equality constraints for load-generation balance after PA and CAs, respectively, whereas (41)-(42) represent the allowable limits for PA and CAs. Since multiple constraints may be active due to a single event with the same CA, the vector _�_ P <sup>CA</sup> inj <sup>_,_</sup> <sup>k</sup> will account for the number of events that activate all active constraints. However, the PA remains the same for all constraints since it occurs before any event. Thus, only the elements of the vector _�P_ <sup>_PA_</sup> _G_ <sup>are considered PA variables.</sup> While separate optimization methods are computationally faster and simpler to implement, they often yield suboptimal preventive action costs due to their inability to account for potential corrective actions during preventive decisionmaking. In contrast, the proposed unified optimization framework co-optimizes PAs and CAs within a single problem, as evidenced by our results. This unified approach not only reduces total operational costs but also enhances grid resilience by securing the system against a wider set of single <sup>_CA_</sup> _inj_ <sup>_,_</sup> <sup>_k_</sup>, _�P_ <sup>_PA_</sup> _G_ Since multiple constraints may be active due to a single event with the same CA, the vector _�_ P <sup>CA</sup> inj <sup>_,_</sup> <sup>k</sup> will account TABLE 3. Units for magnetic properties. extensions that incorporate stochastic models and real-time parameter adaptation. V. CASE STUDY The proposed methods are applied to the IEEE 39-bus test system. All calculations are carried out by MATPOWER 6.0 on a computer with i5-4200U CPU and 6GB RAM.Given the convex nature of the optimization problem, the ‘‘quadprog’’ solver in MATLAB is employed, which is well-suited for quadratic programming problems with linear constraints. The solver utilizes the ‘‘interior-point’’ method by default, ensuring efficient convergence to a globally optimal solution. For the IEEE 39-bus test system, which has 34 lines and two transformers, 562 double-line contingencies that do not result in network islanding are considered. Concerning each contingency, the remaining 34 lines and transformers are at risk of overloading, which should be considered a security constraint. Therefore, for 562 N-2 contingencies and 34 lines under the risk of overloading, there are 19,108 (34 × 562) potential overloading, which should be taken as constraints for optimal planning of operational preventive/corrective actions. For a given load pattern with load level 6254 MW, an initial economic generation output based on the cost functions shown in TABLE 2 is evaluated and shown in column 6 of TABLE 2. For the economic generation pattern concerning N-1 and N-2 security, 16 and 286 constraints are violated, respectively. The N-1 secure generation pattern is calculated in column 7 of TABLE 2, with no constraints for single contingencies and 86 for double contingencies. This condition represents the base state of the network, and efforts are made to secure the network against single and double contingencies by implementing appropriate PAs and CAs as much as possible. To identify active constraints for the given load pattern, (14)-(16) were used. A sufficient number of generation pattern scenarios were created to account for both the normal and maintenance conditions of the generators. For each load-generation scenario, (13) evaluates the post-contingency power flow on all lines, identifying the constraints violated FIGURE 2. The number of active constraints with respect to an allowable percentage threshold of violations. under 562 double contingency events. So, various number of generation patterns were considered, as detailed in TABLE 3. The number of violated constraints increased with the number of scenarios until it reached a plateau of 9,000 scenarios. Finally, 4744 constraints are regarded as active constraints out of 19,108 constraints. Ideally, a constraint with no violation (violation%=0) is considered inactive. However, a constraint with the number of violations below a percentage threshold could also be considered inactive. Fig.2 shows the number of active constraints concerning the allowable percentage of violation. As can be seen, by adopting an allowable percentage threshold of 0.5% and 4%, the number of active constraints has been reduced to 2,420 and 1,500 constraints, respectively. The number of violated constraints caused by the double contingency of lines _α_ and _β_ ( _DC_ _αβ_ ) is defined as a criterion for the harmfulness of _DC_ _αβ_ . TABLE 4 shows the most harmful _DC_ _αβ_ from top to bottom. For example, outages of lines 2 and 3, as well as lines 1 and 3, are identified as the most harmful double contingencies in the IEEE39-bus network, causing the highest number of constraint violations. The number of times a line flow (e.g., _ω_ ) is overloaded due to all 562 double contingencies is regarded as a sign of its vulnerability. TABLE 5 shows the top 10 most vulnerable lines in descending order, where lines 3 and 1 are vulnerable and become overloaded after the occurrence of 523 and 490 double contingencies, respectively. Identifying active constraints and incorporating them into the optimization problem aims to find an operating point where none of these constraints are violated. Hence, simulation results are presented for the following two approaches: - Approach 1: PAs followed by CAs in two separate problems. - Approach 2: Integrated PAs and CAs in a unified single problem. To evaluate the performance of the two approaches, simulations were conducted for 20 scenarios using different TABLE 4. Harmful double contingencies. TABLE 5. Vulnerability of lines with respect to double contingencies. combinations of PA and CAs, encompassing five ranges of generation rescheduling for PAs shown in TABLE 6 and four ranges for CAs shown in TABLE 7. For each defined range, sufficient time is assumed to be available to implement these actions and prevent potential line overloads following a contingency. However, these limitations may vary across power plants due to plant type, available reserves, and other system characteristics. For this conceptual study, the same ranges are assumed for all generators and loads. In the separate method (first approach), the preventive optimization problem is initially solved. The number of decision variables in this problem equals the number of generators, with 4744 inequality constraints related to active constraints and one equality constraint for load-generation balance after PA. By solving the PAs problem, contingencies and constraints that are not secured are identified, as shown in columns two and three of TABLE 8. For these contingencies, five ranges of CAs are applied, and the results are shown in columns 4 to 11 of TABLE 8. As can be seen, even by applying CA, some contingencies and constraints remain unsecured. It means that for the given load pattern with the available preventive-corrective actions, it is not possible to TABLE 6. Range of generation rescheduling for PA. TABLE 7. Range of generation rescheduling and load shedding for CA. find a fully secure operating point concerning all N-2 contingencies. It is worth noting that by increasing the range of preventive-corrective actions (higher cost) a more secure operating point could be found. In the unified method (second approach), the decision variables for PA and CA are generation rescheduling and load shedding. We have the number of decision variables equal to the number of buses in the 39-bus network, with 39 variables for PAs and 39∗562 variables for CAs. The variable range is zero for non-generator buses in PAs and zero for load-free buses in CAs. Additionally, 4770 inequality constraints related to active constraints and 563 equality constraints for load-generation balance after PA and CAs are considered. After applying PA and CA, similar to the separate method, there are still harmful contingencies and unsatisfied constraints shown in columns 2 to 9 in TABLE 9. By comparing TABLE 8 and TABLE 9, it can be understood that within the same PA and CA ranges, the unified approach performs significantly better than the separate approach. The number of harmful contingencies and insecure constraints is much lower with the application of the unified approach, and in most cases, it is zero. The PAC for five permissible ranges of PAs and ECAC for 20 scenarios of the permissible range of PA and CA using separate methods are presented in TABLE 10. Additionally, the PAC and ECAC for 20 scenarios of the permissible ranges of PAs and CAs using the unified method, are presented in TABLE 11. As observed, in each row, an increase in the range of CA results in a reduction in the PAC. This reduction in the PAC is attributed to the consideration of CA, instead of costly PA, to mitigate overloads following a contingency. For a more detailed comparison, among the 20 previously studied scenarios, two scenarios, PA4-CA2 and PA4-CA4, denoted as A and B, respectively, are selected, and the values of PAC and ECAC for each scenario are compared. The values of PAC and CAC corresponding to all contingencies TABLE 8. The performance of the separate method under different PAs and CAs. TABLE 9. The performance of the unified approach under different PAs and CAs ranges. TABLE 10. PAC and ECAC of the separate approach under different PAs and CAs ranges. TABLE 11. PAC and ECAC of the unified approach under different PAs and CAs ranges. (except those that are non-secured) and the number of non-secured contingencies after implementing PAs and CAs serve as a summary of the results for two compared scenarios using the two approaches, as shown in TABLE 12. As seen for scenario A, using the separate approach results in more non-secured contingencies than the unified approach. Additionally, the value of PAC is approximately 7417$/h higher in the separate method compared to the unified method. The higher amount of ECAC in the unified approach for scenario A is due to the correction of 1 additional contingency compared to the separate method. In scenario B, it is evident that using the unified approach secures all contingencies, and the PAC value is one-third of the PAC amount using the separate approach. It should be noted that the generator’s power rescheduling as PAs, occurring before the contingency, imposes a permanent cost to the network. In contrast, CAs, considering the low probability of contingencies, result in a lower cost than PAs. Generating 9000 scenarios for the IEEE 39-bus standard network with ten generators to cover the entire generation space for a fixed load pattern takes 3.85 sec TABLE 12. The overall results of the unified and separate approaches for scenarios A and B. TABLE 13. Comparative assessment of the separate and unified approaches. onds. Additionally, effective constraint screening requires 3.28 seconds. Problem-solving of PA in the separate approach for various limitations at the worst case equals 42.23 seconds, and solving optimization problem CAs for non-corrected contingencies for various constraints ultimately takes 0.22 seconds. Moreover, solving in the unified approach, the maximum time for combining the limitations of PAs and CAs is 26.59 seconds. As stated, since the elimination of constraints that lead to the problem being infeasible is achieved through an iterative removal method and since the number of non-corrected constraints in the separate approach and preventive problem-solving is greater than those in the unified problem, the performance time of the unified method is less than that of the separate approach. In the worst-case scenario, the time taken for all stages (generating scenarios production, identifying effective constraints, and solving optimization problems) in the separate and unified approaches will be 49.58 and 33.72 seconds, respectively. TABLE 13 presents a detailed comparison of the proposed separate and unified contingency management strategies across several evaluation criteria. FIGURE 3. Equivalent to the outage of two lines _α_ and _β_ with power injection into buses _i_, _j_, _p_ and _q_ . As a performance summary, the unified approach outperforms the separate method in terms of: - Computational efficiency (33% faster overall), - Security coverage (zero unsecured contingencies in several test cases), - Total operational cost (up to 68% lower PAC in some scenarios), - While the unified approach involves higher-dimensional optimization (due to simultaneous PAs and CAs), the efficient constraint screening and solver structure (‘interior-point’ in ‘quadprog’) enable acceptable solution times. - In terms of scalability, the unified method demonstrates better behavior as the number of active constraints increases, making it more suitable for larger systems. - The implementation complexity is moderately higher for the unified approach due to the need to integrate CAs within the same optimization problem; however, the benefit of higher robustness and cost-effectiveness justifies the effort. VI. CONCLUSION This paper presents a formulation for modeling N-k contingencies using extended LODF coefficients, allowing for efficient computation without altering the network structure. A statistical method is also proposed to screen critical constraints resulting from N-k contingencies, which effectively reduces problem dimensions and enhances optimization speed. Two methods for handling preventive (PAs) and corrective actions (CAs) are presented: a separate approach and a unified optimization model. Simulations on the IEEE 39-bus system demonstrate that the unified approach yields superior performance in terms of total cost and contingency correction. The use of line flow estimation without structural changes facilitates timely and accurate constraint identification. The proposed method ensures secure operation against all N-2 contingencies by incorporating all effective constraints for a given load pattern. It also enables minimizing expected CA costs, such as load shedding, within the objective function. Since all formulations rely on linear models, <sup>_αβ_</sup> _inj_ - _i_ <sup>+</sup> <sup>_C_</sup> <sup>(</sup> <sup>_β, j_</sup> <sup>)∗</sup> <sup>_Pαβ_</sup> _inj_ computation time scales linearly, with network size remaining reasonable even for large systems. Despite its advantages, the DC approximation neglects voltage and reactive effects, and the statistical method may miss some generation scenarios. Future work should explore hybrid AC-DC screening and the identification of deterministic constraints. Furthermore, incorporating the probabilistic nature of contingency occurrence—including higher-order events (k _>_ 2)—would improve resilience assessment and risk-informed operational planning. APPENDIX A MODELING N-2 CONTINGENCY LINE OUTAGES USING EQUIVALENT POWER INJECTIONS In this section, a method for modeling the N-2 contingency line outage without altering the pre-contingency network structure is presented using PTDF matrix coefficients. Consider the simultaneous outage of two transmission lines, _α_ and _β_, which respectively connect bus pairs ( _i,j_ ) and ( _p,q_ ), as illustrated in Fig. 3. To represent the effect of this double-line contingency, equivalent power injections are applied at buses i, j, p, and q in such a way that the power flow through lines _α_ and _β_ becomes zero. Instead of reconstructing the network topology and computing a new sensitivity matrix _C_ <sup>_N_</sup> <sup>−2</sup>, the proposed method employs the original pre-contingency PTDF matrix _C_ <sup>0</sup> to calculate the equivalent injections. This approach extends the equivalent injection concept for single line outage (as in [12]) to the N-2 case under the following conditions: = _Fβ_ <sup>0</sup> _β_ <sup>0</sup> <sup>+</sup> <sup>_C_</sup> <sup>(</sup> <sup>_β, i_</sup> <sup>)∗</sup> <sup>_Pαβ_</sup> _inj_ _inj_ −j + _C_ ( _β, p_ ) <sup>∗</sup> _P_ <sup>_αβ_</sup> _inj_ −p <sup>+</sup> <sup>_C_</sup> <sup>(</sup> <sup>_β, q_</sup> <sup>)∗</sup> <sup>_Pαβ_</sup> _inj_ −q <sup>_αβ_</sup> _inj_ −p <sup>+</sup> <sup>_C_</sup> <sup>(</sup> <sup>_β, q_</sup> <sup>)∗</sup> <sup>_Pαβ_</sup> _inj_ <sup>_αβ_</sup> _inj_ −q (50) Replacing the power injections _P_ <sup>_αβ_</sup> _inj_ equivalent injected powers − _P_ <sup>_αβ_</sup> _inj_ <sup>_αβ_</sup> _inj_ −j <sup>and</sup> <sup>_P_</sup> _inj_ <sup>_αβ_</sup> _inj_ <sup>_αβ_</sup> −p <sup>, we arrive at:</sup> <sup>_αβ_</sup> _inj_ - _i_ <sup>and −</sup> <sup>_P_</sup> _inj_ <sup>_αβ_</sup> _inj_ <sup>_αβ_</sup> −q <sup>with their</sup> _α_ <sup>new</sup> = _P_ <sup>_αβ_</sup> _inj_ _α_ <sup>0</sup> <sup>+ (</sup> <sup>_C_</sup> <sup>(</sup> <sup>_α, i_</sup> <sup>) −</sup> <sup>_C_</sup> <sup>(</sup> <sup>_α, j_</sup> <sup>))∗</sup> <sup>_Pαβ_</sup> _inj_ _Fα_ <sup>new</sup> _inj_ - _i_ + ( _C_ ( _α, p_ ) − _C_ ( _α, q_ )) <sup>∗</sup> _P_ <sup>_αβ_</sup> _inj_ −p <sup>_αβ_</sup> _inj_ −i <sup>=</sup> <sup>_F_</sup> _α_ <sup>0</sup> <sup>_αβ_</sup> _inj_ −p (51) _β_ <sup>new</sup> = _P_ <sup>_αβ_</sup> _inj_ _β_ <sup>0</sup> <sup>+ (</sup> <sup>_C_</sup> <sup>(</sup> <sup>_β, i_</sup> <sup>) −</sup> <sup>_C_</sup> <sup>(</sup> <sup>_β, j_</sup> <sup>))∗</sup> <sup>_Pαβ_</sup> _inj_ _Fβ_ <sup>new</sup> _inj_ - _i_ + ( _C_ ( _β, p_ ) − _C_ ( _β, q_ )) <sup>∗</sup> _P_ <sup>_αβ_</sup> _inj_ −p <sup>_αβ_</sup> _inj_ −p <sup>=</sup> <sup>_F_</sup> _β_ <sup>0</sup> <sup>_αβ_</sup> _inj_ −p (52) By simplifying (51) and (52), we obtain a system of two equations with two unknowns: (1 − _C_ ( _α, i_ ) − _C_ ( _α, j_ )) <sup>∗</sup> _P_ <sup>_αβ_</sup> _inj_ - _i_ <sup>+ (</sup> <sup>_C_</sup> <sup>(</sup> <sup>_α, p_</sup> <sup>)</sup> - _C_ ( _α, q_ )) <sup>∗</sup> _P_ <sup>_αβ_</sup> _inj_ _α_ <sup>0</sup> <sup>_αβ_</sup> _inj_ −p <sup>=</sup> <sup>_F_</sup> _α_ <sup>0</sup> ( _C_ ( _β, i_ ) − _C_ ( _β, j_ )) <sup>∗</sup> _P_ <sup>_αβ_</sup> _inj_ - _i_ <sup>+ (1 −</sup> <sup>_C_</sup> <sup>(</sup> <sup>_β, p_</sup> <sup>)</sup> - _C_ ( _β, q_ )) ∗ _P_ <sup>_αβ_</sup> _inj_ _β_ <sup>0</sup> (53) <sup>_αβ_</sup> _inj_ −p <sup>=</sup> <sup>_F_</sup> _β_ <sup>0</sup> The matrix form is: - (1 − _C_ ( _α, i_ ) − _C_ ( _α, j_ )) ( _C_ ( _α, p_ ) − _C_ ( _α, q_ )) ( _C_ ( _β, i_ ) − _C_ ( _β, j_ )) (1 − _C_ ( _β, p_ ) − _C_ ( _β, q_ )) = - _Fα_ 0 _Fβ_ <sup>0</sup> (54) × - _P_ <sup>_αβ_</sup> _inj_ _inj_ - _i_ _P_ <sup>_αβ_</sup> _inj_ −p _inj_ −p _α_ <sup>new</sup> = _P_ <sup>_αβ_</sup> _inj_ <sup>_αβ_</sup> _inj_ −j (43) _inj_ <sup>_αβ_</sup> −q (44) _Fα_ <sup>new</sup> <sup>_αβ_</sup> _inj_ - _i_ <sup>= −</sup> <sup>_Pαβ_</sup> _inj_ By solving the system of equations in (54), the additional power injection at buses _i, j, p_, and _q_ are evaluated by (55)(56). _P_ <sup>_αβ_</sup> _inj_ - _i_ _β_ <sup>new</sup> = _P_ <sup>_αβ_</sup> _inj_ _Fβ_ <sup>new</sup> <sup>_αβ_</sup> _inj_ −p <sup>= −</sup> <sup>_P_</sup> _inj_ <sup>_αβ_</sup> The change in flow due to these injections is: _�Fα_ = _C_ ( _α, i_ ) <sup>∗</sup> _P_ <sup>_αβ_</sup> _inj_ - _i_ <sup>+</sup> <sup>_C_</sup> <sup>(</sup> <sup>_α, j_</sup> <sup>)∗</sup> <sup>_Pαβ_</sup> _inj_ _inj_ −j + _C_ ( _α, p_ ) <sup>∗</sup> _P_ <sup>_αβ_</sup> _inj_ −p <sup>+</sup> <sup>_C_</sup> <sup>(</sup> <sup>_α, q_</sup> <sup>)∗</sup> <sup>_P_</sup> _<u>α</u>_ <sup>_<u>C</u>_</sup> <sup>0</sup> <sup>_<u>(β,</u>_</sup> <sup><u>q</u></sup> <sup>_<u>)</u>_</sup> <sup><u>) ×</u></sup> <sup>_<u>F</u>_</sup> <sup>0</sup> _�_ <sup>_αβ_</sup> _inj_ −p <sup>+</sup> <sup>_C_</sup> <sup>(</sup> <sup>_α, q_</sup> <sup>)∗</sup> <sup>_P_</sup> _inj_ <sup>_αβ_</sup> _inj_ <sup>_αβ_</sup> −q (45) = − _P_ <sup>_αβ_</sup> _inj_ <sup>_αβ_</sup> _inj_ - _j_ <sup>=</sup> <sup><u>(1 −</u></sup> <sup>_<u>C</u>_</sup> <sup>0</sup> <sup>_<u>(β, p)</u>_</sup> <sup>−</sup> <sup>_<u>C</u>_</sup> <sup>0</sup> <sup>_<u>(β,</u>_</sup> <sup><u>q</u></sup> <sup>_<u>)</u>_</sup> <sup><u>) ×</u></sup> <sup>_<u>F</u>_</sup> _<u>α</u>_ <sup>0</sup> _�_ _�Fβ_ = _C_ ( _β, i_ ) <sup>∗</sup> _P_ <sup>_αβ_</sup> _inj_ - _i_ <sup>+</sup> <sup>_C_</sup> <sup>(</sup> <sup>_β, j_</sup> <sup>)∗</sup> <sup>_Pαβ_</sup> _inj_ _inj_ −j + _C_ ( _β, p_ ) <sup>∗</sup> _P_ <sup>_αβ_</sup> _inj_ −p <sup>+</sup> <sup>_C_</sup> <sup>(</sup> <sup>_β, q_</sup> <sup>)∗</sup> <sup>_P_</sup> - _C_ <sup>0</sup> ( _α, p_ ) − _C_ <sup>0</sup> ( _α, q_ )) × _Fβ_ <sup>0</sup> (55) _�_ <sup>_αβ_</sup> _inj_ −p <sup>+</sup> <sup>_C_</sup> <sup>(</sup> <sup>_β, q_</sup> <sup>)∗</sup> <sup>_Pαβ_</sup> _inj_ + <sup>_αβ_</sup> _inj_ −q (46) _P_ <sup>_αβ_</sup> _inj_ Based on (43) and (44), in order to equivalently represent the outage of two lines _α_ and _β_, the following conditions must be satisfied: _inj_ - _p_ <sup>_αβ_</sup> _inj_ - _q_ <sup>−</sup> <sup><u>(</u></sup> <sup>_<u>C</u>_</sup> <sup>0</sup> <sup>_<u>(β, i)</u>_</sup> <sup>−</sup> <sup>_<u>C</u>_</sup> <sup>0</sup> <sup>_<u>(β, j)</u>_</sup> <sup><u>) ×</u></sup> <sup>_<u>F</u>_</sup> _<u>α</u>_ <sup>0</sup> _�_ = − _P_ <sup>_αβ_</sup> _inj_ _<u>α</u>_ <sup>0</sup> <sup>_<u>(β, j)</u>_</sup> <sup><u>) ×</u></sup> <sup>_<u>F</u>_</sup> <sup>0</sup> _�_ <sup>_αβ_</sup> _inj_ −j (47) <sup>_αβ_</sup> _inj_ −q (48) + _Fα_ <sup>new</sup> _α_ <sup>new</sup> = _Fα_ <sup>0</sup> _α_ <sup>0</sup> <sup>+</sup> <sup>_�Fα_</sup> <sup>=</sup> <sup>_Pαβ_</sup> _inj_ <sup>_αβ_</sup> _inj_ - _i_ <sup>= −</sup> <sup>_Pαβ_</sup> _inj_ where the determinant _�_ is: - _�_ = 1 − _C_ <sup>0</sup> _(α, i)_ - _C_ <sup>0</sup> _(α, j)_ × �1 − _C_ <sup>0</sup> ( _α, i_ ) − _C_ <sup>0</sup> ( _α, j_ ) × _Fβ_ <sup>0</sup> (56) _�_ _Fβ_ <sup>new</sup> _β_ <sup>new</sup> = _Fβ_ <sup>0</sup> _β_ <sup>0</sup> <sup>+</sup> <sup>_�Fβ_</sup> <sup>=</sup> <sup>_Pαβ_</sup> _inj_ <sup>_αβ_</sup> _inj_ −p <sup>= −</sup> <sup>_Pαβ_</sup> _inj_ - 1 − _C_ <sup>0</sup> _(β, p)_ _._ By substituting (45) and (46) into (47) and (48), respectively, we obtain: _α_ <sup>new</sup> = _P_ <sup>_αβ_</sup> _inj_ - _C_ <sup>0</sup> _(α, p)_ - _C_ <sup>0</sup> _(α, q)_ _Fα_ <sup>new</sup> _inj_ - _i_ = _Fα_ <sup>0</sup> <sup>+</sup> <sup>_αβ_</sup> _inj_ - _i_ <sup>+</sup> <sup>_C_</sup> <sup>(</sup> <sup>_α, j_</sup> <sup>)∗</sup> <sup>_Pαβ_</sup> _inj_ - _C_ <sup>0</sup> _(. (β, q))_ _α_ <sup>0</sup> <sup>+</sup> <sup>_C_</sup> <sup>(</sup> <sup>_α, i_</sup> <sup>)∗</sup> <sup>_Pαβ_</sup> _inj_ - _C_ <sup>0</sup> _(β, i)_ - _C_ <sup>0</sup> _(β, j)_ - (57) _inj_ −j + _C_ ( _α, p_ ) <sup>∗</sup> _P_ <sup>_αβ_</sup> _inj_ −p <sup>+</sup> <sup>_C_</sup> <sup>(</sup> <sup>_α, q_</sup> <sup>)∗</sup> <sup>_Pαβ_</sup> _inj_ −q × <sup>_αβ_</sup> _inj_ −p <sup>+</sup> <sup>_C_</sup> <sup>(</sup> <sup>_α, q_</sup> <sup>)∗</sup> <sup>_Pαβ_</sup> _inj_ <sup>_αβ_</sup> _inj_ −q (49) Using (55)-(57), the additional injection powers at buses _i,_ _j_, and _p, q_ can be represented in terms of the initial pre-outage _β_ <sup>new</sup> = _P_ <sup>_αβ_</sup> _inj_ _Fβ_ <sup>new</sup> _inj_ −p power flow of lines _α_ and _β_ and outage coefficients as shown by (58)-(59). _dβip_, the post-outage power flow of line _ω_ can be expressed as: _P_ <sup>_αβ_</sup> _ijn_ _P_ <sup>_αβ_</sup> _inj_ <sup>_αβ_</sup> _inj_ - _q_ <sup>=</sup> <sup>_dαp_</sup> <sup>×</sup> <sup>_F_</sup> _α_ <sup>0</sup> _α_ <sup>0</sup> <sup>+</sup> <sup>_dβp_</sup> <sup>×</sup> <sup>_F_</sup> _β_ <sup>0</sup> _β_ <sup>0</sup> (59) <sup>_αβ_</sup> _ijn_ - _i_ <sup>= −</sup> <sup>_Pαβ_</sup> _inj_ <sup>_αβ_</sup> _inj_ - _p_ <sup>= −</sup> <sup>_Pαβ_</sup> _inj_ <sup>_αβ_</sup> _inj_ - _j_ <sup>=</sup> <sup>_dαi_</sup> <sup>×</sup> <sup>_F_</sup> _α_ <sup>0</sup> _α_ <sup>0</sup> <sup>+</sup> <sup>_dβi_</sup> <sup>×</sup> <sup>_F_</sup> _β_ <sup>0</sup> _β_ <sup>0</sup> (58) _ω_ <sup>0</sup> <sup>+</sup> <sup>_dαip_</sup> <sup>×</sup> <sup>_F_</sup> _α_ <sup>0</sup> _α_ <sup>0</sup> <sup>+</sup> <sup>_dβip_</sup> <sup>×</sup> <sup>_F_</sup> _β_ <sup>0</sup> _β_ <sup>0</sup> (66) _Fω_ <sup>_αβ_</sup> _ω_ <sup>_αβ_</sup> = _Fω_ <sup>0</sup> where _dαi, dβi, dαp_ and _dβp_ are the outage coefficients of lines _α_ and _β_ affecting additional injection power at buses i, j, and p, q respectively. �1 − _C_ <sup>0</sup> ( _β, p_ ) − _C_ <sup>0</sup> ( _β, q_ ) (60) _�_ The values of _dαip_ and _dβip_ are determined using (67) and (68). It should be emphasized that the calculation of _dαip_ and _dβip_ solely depends on the coefficients of matrix _C_ <sup>0</sup>, which are obtained from the pre-contingency network structure. _dαip_ _dαi_ = _dβi_ = (61) _�_ _C_ <sup>0</sup> _(α, p)_ - _C_ <sup>0</sup> _(α, q)_ = <sup>(</sup> <sup>_C_</sup> <sup>0</sup> <sup>_(ω, i)_</sup> <sup>−</sup> <sup>_C_</sup> <sup>0</sup> <sup>_(ω, j)_</sup> <sup>) ×</sup> �1 − _C_ <sup>0</sup> ( _β, p_ ) − _C_ <sup>0</sup> ( _β, q_ )) _�_ _dαp_ = <sup>_<u>C</u>_</sup> <sup>0</sup> <sup>_<u>(β, i)</u>_</sup> <sup>−</sup> <sup>_<u>C</u>_</sup> <sup>0</sup> <sup>_<u>(β, j)</u>_</sup> - _C_ <sup>0</sup> ( _ω, p_ ) − _C_ <sup>0</sup> ( _ω, q_ ) (62) _�_ + _dβip_ ×( _C_ <sup>0</sup> _(β, i)_ - _C_ <sup>0</sup> _(β, j)_ ) (67) _�_ _dβp_ = <sup><u>1 −</u></sup> <sup>_<u>C</u>_</sup> <sup>0(</sup> <sup>_α, i_</sup> <sup><u>) −</u></sup> <sup>_<u>C</u>_</sup> <sup>0(</sup> <sup>_α, j_</sup> <sup><u>)</u></sup> (63) _�_ = <sup>(</sup> <sup>_C_</sup> <sup>0</sup> <sup>_(ω, i)_</sup> <sup>−</sup> <sup>_C_</sup> <sup>0</sup> <sup>_(ω, j)_</sup> <sup>) ×</sup> _�_ = <sup>(</sup> <sup>_C_</sup> <sup>0</sup> <sup>_(ω, i)_</sup> <sup>−</sup> <sup>_C_</sup> <sup>0</sup> <sup>_(ω, j)_</sup> <sup>) ×</sup> - _C_ <sup>0</sup> _(α, p)_ - _C_ <sup>0</sup> _(α, q)_ _C_ <sup>0</sup> _(α, p)_ - _C_ <sup>0</sup> _(α, q)_ So, to model the effect of the simultaneous outage of lines _α_ and _β_, the outage coefficients _dαi, dβi, dαp_, and _dβp_ can be evaluated in terms of the elements of the matrix _C_ <sup>0</sup> . The corresponding injection powers required to represent the line outages equivalently are then calculated using the pre-outage power flows of lines _α_ and _β_, along with the matrix _C_ <sup>0</sup>, as expressed in (58) and (59). APPENDIX B EVALUATION OF POST-CONTINGENCY POWER FLOW USING PTDF COEFFICIENTS Using the derived injection values in Appendix A as additional power injection at buses _i, j, p_, and _q_ and considering the validity of (11) for bus power injection changes, the power flow of another line ( _ω_ ) after the outage of lines _α_ and _β_ can be calculated as shown in (64). + - _C_ <sup>0</sup> ( _ω, p_ ) − _C_ <sup>0</sup> ( _ω, q_ )� × (1 − _C_ <sup>0</sup> ( _α, i_ ) − _C_ <sup>0</sup> ( _α, j_ )) _�_ (68) Equation (66) shows that the power flow of line _ω_ at the post-outage of lines _α_ and _β_ can be evaluated in terms of the pre-outage power flow of lines _ω_, _α_, and _β_ and the element of matrix _C_ <sup>0</sup> . Additionally, by substituting the expanded form of pre-contingency line flows from equation (11) into equation (66), the following generalized expression is obtained: _Fω_ <sup>_αβ_</sup> = _NB_ �{ _C_ <sup>0</sup> ( _ω, r_ ) _r_ =1 _iηj_ - _i_ _Fω_ <sup>_αβ_</sup> _ω_ <sup>0</sup> <sup>+</sup> _ω_ <sup>_αβ_</sup> = _Fω_ <sup>0</sup> - _C_ <sup>0</sup> ( _ω, i_ ) − _C_ <sup>0</sup> ( _ω, j_ ) - × _P_ <sup>_αβ_</sup> _iηj_ - _C_ <sup>0</sup> ( _ω, p_ ) − _C_ <sup>0</sup> ( _ω, q_ ) <sup>_αβ_</sup> _inj_ - _p_ (64) + - × _P_ <sup>_αβ_</sup> _inj_ By substituting the values of the additional injected power from (58)-(59) into (64) yields (65). _Fω_ <sup>_αβ_</sup> _ω_ <sup>0</sup> <sup>+</sup> _ω_ <sup>_αβ_</sup> = _Fω_ <sup>0</sup> - _C_ <sup>0</sup> _(ω, i)_ - _C_ <sup>0</sup> _(ω, j)_ - _dαi_ × _Fα_ <sup>0</sup> _β_ <sup>0</sup> × + × _α_ <sup>0</sup> <sup>+</sup> <sup>_dβi_</sup> <sup>×</sup> <sup>_F_</sup> _β_ <sup>0</sup> _α_ <sup>0</sup> <sup>+</sup> <sup>_dβp_</sup> <sup>×</sup> <sup>_F_</sup> _β_ <sup>0</sup> - _C_ <sup>0</sup> _(ω, p)_ - _C_ <sup>0</sup> _(ω, q)_ - _C_ <sup>0</sup> _(ω, p)_ - _C_ <sup>0</sup> _(ω, q)_ - _dαp_ × _Fα_ <sup>0</sup> _β_ <sup>0</sup> (65) + _dαip.C_ <sup>0</sup> ( _α, r_ ) + _dβip.C_ <sup>0</sup> ( _β, r_ )} · _P_ <sup>0</sup> _iηj,r_ (69) This formulation allows the post-contingency flow on line _ω_ to be calculated directly from the pre-contingency bus injection vector _P_ <sup>0</sup> _inj_ <sup>and the original PTDF matrix</sup> <sup>_C_</sup> <sup>0 without</sup> requiring PTDF recalculation for each N-2 contingency. As a result, it provides a computationally efficient approach for large-scale contingency analysis by leveraging pre-computed network sensitivities. REFERENCES [1] Y. Jia, K. Meng, and Z. Xu, ‘‘N-k induced cascading contingency screen ing,’’ _IEEE Trans. Power Syst._, vol. 30, no. 5, pp. 2824–2825, Sep. 2015. [2] S. Frank and S. Rebennack, ‘‘An introduction to optimal power flow: Theory, formulation, and examples,’’ _IIE_ _Trans._, vol. 48, no. 12, pp. 1172–1197, Dec. 2016. [3] S. Li, J. Lu, Z. Yu, Y. Dai, S. Liu, W. Tang, and Y. Guo, ‘‘A review of security-constrained optimal power flow calculation method,’’ in _Proc. 3rd_ _Int. Conf. Artif. Intell., Inf. Process. Cloud Comput._, Jun. 2022, pp. 1–6. [4] F. Capitanescu, M. Glavic, D. Ernst, and L. Wehenkel, ‘‘Contingency fil tering techniques for preventive security-constrained optimal power flow,’’ _IEEE Trans. Power Syst._, vol. 22, no. 4, pp. 1690–1697, Nov. 2007. [5] F. Capitanescu and L. Wehenkel, ‘‘A new iterative approach to the cor rective security-constrained optimal power flow problem,’’ _IEEE_ _Trans._ _Power Syst._, vol. 23, no. 4, pp. 1533–1541, Nov. 2008. As shown in (65), the post-outage power flow of line _ω_ following the outage of lines _α_ and _β_ is a linear combination of the pre-outage power flows of lines _ω_, _α_, and _β_, along with constant coefficients denoted as _dαip_ and _dβip_ . Thus, by simplifying (65) and defining the coefficients _dαip_ and [6] Y. Xu, Z. Y. Dong, R. Zhang, K. P. Wong, and M. Lai, ‘‘Solving preventive corrective SCOPF by a hybrid computational strategy,’’ _IEEE Trans. Power_ _Syst._, vol. 29, no. 3, pp. 1345–1355, May 2014. [7] T. Guler and G. Gross, ‘‘Detection of island formation and identification of causal factors under multiple line outages,’’ _IEEE_ _Trans._ _Power_ _Syst._, vol. 22, no. 2, pp. 505–513, May 2007. [8] Y. Chen and A. Bose, ‘‘Direct ranking for voltage contingency selection,’’ _IEEE Trans. Power Syst._, vol. 4, no. 4, pp. 1335–1344, Aug. 1989. [9] T. Ding, C. Li, C. Yan, F. Li, and Z. Bie, ‘‘A bilevel optimization model for risk assessment and contingency ranking in transmission system reliability evaluation,’’ _IEEE_ _Trans._ _Power_ _Syst._, vol. 32, no. 5, pp. 3803–3813, Sep. 2017. [10] L. Che, X. Liu, and Z. Li, ‘‘Fast screening of high-risk lines under false data injection attacks,’’ _IEEE Trans. Smart Grid_, vol. 10, no. 4, pp. 4003–4014, Jul. 2019. [11] A. M. Nakiganda, C. Cheylan, and S. Chatzivasileiadis, ‘‘Topology-aware neural networks for fast contingency analysis of power systems,’’ 2023, _arXiv:2310.04213_ . [12] A. J. Wood, B. F. Wollenberg, and G. B. Sheble, _Power_ _Generation,_ _Operation, and Control_ . Hoboken, NJ, USA: Wiley, 2013. [13] M. Giuntoli, V. Biagini, and K. Schönleber, ‘‘Novel formulation of PTDF and LODF matrices for security constrained optimal power flow for hybrid AC and DC grids,’’ in _Proc._ _IEEE_ _PES_ _Innov._ _Smart_ _Grid_ _Technol._ _Eur._ _(ISGT-Europe)_, Sep. 2019, pp. 1–5. [14] L. Huang, Z. Huang, C. S. Lai, G. Yang, Z. Zhao, N. Tong, X. Wu, and L. L. Lai, ‘‘Augmented power dispatch for resilient operation through controllable series compensation and N-1–1 contingency assessment,’’ _Energies_, vol. 14, no. 16, p. 4756, Aug. 2021. [15] Á. S. Xavier, F. Qiu, F. Wang, and P. R. Thimmapuram, ‘‘Transmission constraint filtering in large-scale security-constrained unit commitment,’’ _IEEE Trans. Power Syst._, vol. 34, no. 3, pp. 2457–2460, May 2019. [16] A. S. Gazafroudi and M. Abedi, ‘‘Topology-based approximations for _N_ 1 contingency constraints,’’ _Int._ _J._ _Electr._ _Power_ _Energy_ _Syst._, vol. 136, May 2022, Art. no. 107663. [17] S. Cvijic and J. Xiong, ‘‘Security constrained unit commitment and eco nomic dispatch through benders decomposition: A comparative study,’’ in _Proc. IEEE Power Energy Soc. Gen. Meeting_, Jul. 2011, pp. 1–8. [18] S. Fliscounakis, P. Panciatici, F. Capitanescu, and L. Wehenkel, ‘‘Contin gency ranking with respect to overloads in very large power systems taking into account uncertainty, preventive, and corrective actions,’’ _IEEE Trans._ _Power Syst._, vol. 28, no. 4, pp. 4909–4917, Nov. 2013. [19] Q. Wang, J.-P. Watson, and Y. Guan, ‘‘Two-stage robust optimization for N-k contingency-constrained unit commitment,’’ _IEEE Trans. Power Syst._, vol. 28, no. 3, pp. 2366–2375, Aug. 2013. [20] J. Jeong and S. Park, ‘‘A robust contingency-constrained unit commit ment with an N- _α_ k security criterion,’’ _Int. J. Electr. Power Energy Syst._, vol. 123, Dec. 2020, Art. no. 106148. [21] B. Hu and L. Wu, ‘‘Robust SCUC considering continuous/discrete uncer tainties and quick-start units: A two-stage robust optimization with mixedinteger recourse,’’ _IEEE Trans. Power Syst._, vol. 31, no. 2, pp. 1407–1419, Mar. 2016. [22] M. Vistnes, V. V. Vadlamudi, and O. Gjerde, ‘‘A fast and scalable iterative solution of a socio-economic security-constrained optimal power flow with two-stage post-contingency control,’’ _IET Generation, Transmission_ _Distribution_, vol. 19, no. 1, 2025, Art. no. e70055. [23] T. Han, D. J. Hill, and Y. Song, ‘‘Optimal transmission switching with uncertainties from both renewable energy and NK contingencies,’’ _IEEE_ _Trans. Sustainable Energy_, vol. 14, no. 4, pp. 1964–1978, 2023. [24] Q. Ni, J. Sun, X. Zha, T. Zhou, Z. Sun, and M. Zhao, ‘‘A two-stage optimal preventive control model incorporating transient stability constraints in the presence of multi-resource uncertainties,’’ _Processes_, vol. 11, no. 8, p. 2258, 2023. [25] M. H. Hamzah, S. Khadijah, B. Kazemtabrizi, and M. Shahbazi, ‘‘Min imizing the impact of contingency in multiple-period short-term operational planning with RAS-FUBM for wind integration,’’ in _Proc. 13th Int._ _Conf. Power Electronics, Machines Drives (PEMD)_, vol. 2024. IET, 2024, pp. 180–187. [26] S. Hashemi, H. Lesani, and M. R. Aghamohammadi, ‘‘Optimal adjustment of control parameters in short-term operational planning of power systems based on cost-effective security solutions,’’ _IET Generation, Transmission_ _& Distribution_, vol. 17, no. 4, pp. 962–975, 2023. [27] H. Le, T. Nghia, H. M. V. Nguyen, T. T. Hoang, and N. A. Nguyen, ‘‘Optimizing the power system operation problem towards minimizing generation and damage costs due to load shedding,’’ _Eng., Technol. Applied_ _Sci. Res._, vol. 13, no. 5, pp. 11643–11648, 2023. [28] W. Miao, Y. Yijun, S. Lue, S. Bo, and H. Haiyu, ‘‘Research on fast power flow calculation method for multiple faults based on double line outage distribution factors,’’ in _Proc._ _4th_ _Int._ _Conf._ _Power_ _Energy_ _Technol._ _(ICPET)_, Jul. 2022, pp. 493–497. [Online]. Available: https://ieeexplore.ieee.org/document/9751358 [29] H. Heidari, M. T. Hagh, and P. Salehpoor, ‘‘Accurate, simultaneous and real-time screening of N-1, N-k, and N-1-1 contingencies,’’ _Int._ _J._ _Electr._ _Power_ _Energy_ _Syst._, vol. 136, Mar. 2022, Art. no. 107592, doi: [10.1016/j.ijepes.2021.107592.](http://dx.doi.org/10.1016/j.ijepes.2021.107592) [30] P. Mundotiya, A. Koli, S. Shrimal, C. P. Naga, V. K. Sharma, and H. Tiwari, ‘‘Power system contingency analysis using improved computational techniques,’’ in _Proc._ _Int._ _Conf._ _Recent_ _Adv._ _Electr.,_ _Electron._ _Digit._ _Health-_ _care Technol. (REEDCON)_, May 2023, pp. 744–749. [Online]. Available: https://ieeexplore.ieee.org/document/10045678 [31] B. K. Talukdar, A. K. Sinha, S. Mukhopadhyay, and A. Bose, ‘‘A computa tionally simple method for cost-efficient generation rescheduling and load shedding for congestion management,’’ _Int. J. Electr. Power Energy Syst._, vol. 27, nos. 5–6, pp. 379–388, Jun. 2005. AMIRHOSSEIN RAMEZANI was born in Iran, in 1992. He received the B.Sc. degree in electrical engineering from the University of Isfahan, Isfahan, Iran, in 2014, and the M.Sc. degree in electrical engineering from Shahid Beheshti University, Tehran, Iran, in 2017, where he is currently pursuing the Ph.D. degree in electrical engineering with a specialization in power systems. His research interests include power system stability and dynamics, power system operation, and power system protection. MOHAMMAD REZA AGHAMOHAMMADI was born in Iran, in August 1955. He received the B.Sc. degree from the Sharif University of Technology, in 1985, the M.Sc. degree from Manchester University (UMIST), in 1989, and the Ph.D. degree from Tohoku University, Japan, in 1994. He is currently a Professor with the Electrical Engineering Department, Shahid Beheshti University, and the Head of Iran Dynamic Research Center. His research interests include the application of artificial intelligence techniques and non-model-based approaches for dynamic security assessment and enhancement of power systems. ALIREZA SOBBOUHI received the B.Sc. degree in electrical engineering from Shahid Beheshti University (SBU), Iran, in 2012, the M.Sc. degree in electrical engineering from the Sharif University of Technology, Iran, in 2014, and the Ph.D. degree in electrical engineering from Iran University of Science and Technology, Iran, in 2020. Since 2022, he has been an Assistant Professor with the Electrical Engineering Department, SBU. His research interests include power system stability and dynamics, the application of artificial intelligence in evaluating power grids, and power system reliability.

섹션 본문

섹션 본문이 없습니다.

참고문헌 25건

  1. N-k Induced Cascading Contingency Screening IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/tpwrs.2014.2361723
  2. An introduction to optimal power flow: Theory, formulation, and examples IIE Transactions · Taylor & Francis · 2016 10.1080/0740817x.2016.1189626
  3. Contingency Filtering Techniques for Preventive Security-Constrained Optimal Power Flow IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2007 10.1109/tpwrs.2007.907528
  4. A New Iterative Approach to the Corrective Security-Constrained Optimal Power Flow Problem IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2008 10.1109/tpwrs.2008.2002175
  5. Solving Preventive-Corrective SCOPF by a Hybrid Computational Strategy IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/tpwrs.2013.2293150
  6. Detection of Island Formation and Identification of Causal Factors Under Multiple Line Outages IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2007 10.1109/tpwrs.2006.888985
  7. Direct ranking for voltage contingency selection IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 1989 10.1109/59.41683
  8. A Bilevel Optimization Model for Risk Assessment and Contingency Ranking in Transmission System Reliability Evaluation IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2016 10.1109/tpwrs.2016.2637060
  9. Fast Screening of High-Risk Lines Under False Data Injection Attacks IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2018 10.1109/tsg.2018.2848256
  10. Novel Formulation of PTDF and LODF Matrices for Security Constrained Optimal Power Flow for Hybrid AC and DC Grids 2021 IEEE PES Innovative Smart Grid Technologies Europe (ISGT Europe) · 2019 10.1109/isgteurope.2019.8905672
  11. Augmented Power Dispatch for Resilient Operation through Controllable Series Compensation and N-1-1 Contingency Assessment Energies · Multidisciplinary Digital Publishing Institute · 2021 10.3390/en14164756
  12. Transmission Constraint Filtering in Large-Scale Security-Constrained Unit Commitment IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/tpwrs.2019.2892620
  13. Security constrained unit commitment and economic dispatch through benders decomposition: A comparative study 2011 10.1109/pes.2011.6039643
  14. Contingency Ranking With Respect to Overloads in Very Large Power Systems Taking Into Account Uncertainty, Preventive, and Corrective Actions IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2013 10.1109/tpwrs.2013.2251015
  15. Two-stage robust optimization for N-k contingency-constrained unit commitment IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2013 10.1109/tpwrs.2013.2244619
  16. A robust contingency-constrained unit commitment with an <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" altimg="si44.svg"><mml:mrow><mml:mi>N</mml:mi><mml:mo linebreak="badbreak">-</mml:mo><mml:mi>α</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:math> security criterion International Journal of Electrical Power & Energy Systems · Elsevier BV · 2020 10.1016/j.ijepes.2020.106148
  17. Robust SCUC Considering Continuous/Discrete Uncertainties and Quick-Start Units: A Two-Stage Robust Optimization With Mixed-Integer Recourse IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2015 10.1109/tpwrs.2015.2418158
  18. A Fast and Scalable Iterative Solution of a Socio‐Economic Security‐Constrained Optimal Power Flow With Two‐Stage Post‐Contingency Control IET Generation Transmission & Distribution · Institution of Engineering and Technology · 2025 10.1049/gtd2.70055
  19. Optimal Transmission Switching With Uncertainties From Both Renewable Energy and N-K Contingencies IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2023 10.1109/tste.2023.3278072
  20. A Two-Stage Optimal Preventive Control Model Incorporating Transient Stability Constraints in the Presence of Multi-Resource Uncertainties Processes · Multidisciplinary Digital Publishing Institute · 2023 10.3390/pr11082258
  21. Minimizing the impact of contingency in multiple-period short-term operational planning with RAS-FUBM for wind integration IET conference proceedings. · Institution of Engineering and Technology · 2024 10.1049/icp.2024.2155
  22. Optimal adjustment of control parameters in short‐term operational planning of power systems based on cost‐effective security solutions IET Generation Transmission & Distribution · Institution of Engineering and Technology · 2022 10.1049/gtd2.12717
  23. Optimizing the Power System Operation Problem towards minimizing Generation and Damage Costs due to Load Shedding Engineering Technology & Applied Science Research · Engineering, Technology & Applied Science Research · 2023 10.48084/etasr.6221
  24. Accurate, simultaneous and Real-Time screening of N-1, N-k, and N-1-1 contingencies International Journal of Electrical Power & Energy Systems · Elsevier BV · 2021 10.1016/j.ijepes.2021.107592
  25. A computationally simple method for cost-efficient generation rescheduling and load shedding for congestion management International Journal of Electrical Power & Energy Systems · Elsevier BV · 2005 10.1016/j.ijepes.2005.02.003