Searcharxiv⌕ Search

arXiv subjects

Mohammad Rasoul Narimani

Publications and source records attributed to Mohammad Rasoul Narimani.

At least 19 recordsLinked to original sources

A Transformer-Based Mixture-of-Experts Framework for False Data Injection Attack Detection and Localization

False data injection attacks (FDIAs) threaten smart-grid operation by manipulating measurement data and misleading power system state estimation. Although recent data-driven methods have shown promising performance, many existing approaches rely on a single graph-filtering mechanism and therefore struggle to adapt to diverse cyberattack patterns. This paper proposes a topology-aware encoder-only transformer mixture-of-experts framework for joint FDIA detection and localization. The proposed model integrates Laplacian positional encoding and diffusion-biased self-attention to capture global spatial dependencies, while a densely routed mixture-of-experts module composed of Chebyshev and autoregressive moving-average graph convolutional experts adaptively applies complementary graph filters based on the current grid state. The framework is evaluated on the IEEE 118- and 300-bus systems using the New York Independent System Operator load profile. Experimental results demonstrate that the proposed approach achieves up to 93.91% detection F1 score and 84.97% localization F1 score, outperforming existing benchmark methods while maintaining low false-alarm rates.

math.OC↗

Attention-Enhanced Graph Filtering for False Data Injection Attack Detection and Localization

The increasing deployment of Internet-of-Things (IoT)-enabled measurement devices in modern power systems has expanded the cyberattack surface of the grid. As a result, this critical infrastructure is increasingly exposed to cyberattacks, including false data injection attacks (FDIAs) that compromise measurement integrity and threaten reliable system operation. Existing FDIA detection methods primarily exploit spatial correlations and network topology using graph-based learning; however, these approaches often rely on high-dimensional representations and shallow classifiers, limiting their ability to capture local structural dependencies and global contextual relationships. Moreover, naively incorporating Transformer architectures can result in overly deep models that struggle to model localized grid dynamics. This paper proposes a joint FDIA detection and localization framework that integrates auto-regressive moving average (ARMA) graph convolutional filters with an Encoder-Only Transformer architecture. The ARMA-based graph filters provide robust, topology-aware feature extraction and adaptability to abrupt spectral changes, while the Transformer encoder leverages self-attention to capture long-range dependencies among grid elements without sacrificing essential local context. The proposed method is evaluated using real-world load data from the New York Independent System Operator (NYISO) applied to the IEEE 14- and 300-bus systems. Numerical results demonstrate that the proposed model effectively exploits both the state and topology of the power grid, achieving high accuracy in detecting FDIA events and localizing compromised nodes.

cs.LG↗

Certifying the Nonexistence of Feasible Path Between Power System Operating Points

By providing the optimal operating point that satisfies both the power flow equations and engineering limits, the optimal power flow (OPF) problem is central to power systems operations. While extensive research has focused on computing high-quality OPF solutions, assessing the feasibility of transitioning between operating points remains challenging since the feasible spaces of OPF problems may consist of multiple disconnected components. It is not possible to transition between operating points in different disconnected components without violating OPF constraints. To identify such situations, this paper introduces an algorithm for certifying the infeasibility of transitioning between two operating points within an OPF feasible space. As an indication of potential disconnectedness, the algorithm first seeks an infeasible point on the line connecting a pair of feasible points. The algorithm then certifies disconnectedness by using convex relaxation and bound tightening techniques to show that all points on the plane that is normal to this line are infeasible. Using this algorithm, we provide the first certifications of disconnected feasible spaces for a variety of OPF test cases.

eess.SY↗

Demand Charge Management: Prototype Design and Testing

This paper presents the design, implementation, and validation of a smart, low-cost Energy Management System (EMS) and Demand Charge Management (DCM) prototype, developed as part of an undergraduate senior design project. The system serves as both a practical solution for reducing electricity costs and a pedagogical tool for teaching real-time energy control concepts in power and embedded systems courses. Unlike conventional EMS/DCM solutions that rely on high-cost commercial hardware or purely theoretical models, the proposed system integrates grid power, lithium-iron phosphate (LiFePO4) battery storage, and real-time control into a unified, scalable platform constructed at a fraction of the cost, approximately $1,800 compared to over $16,000 for leading commercial options. The controller dynamically optimizes energy usage by switching between grid and battery sources based on real-time measurements of electricity prices, load power, and battery state of charge (SoC). This enables peak shaving, energy arbitrage, and backup power functionality, thereby enhancing cost efficiency and grid resilience for both residential and small commercial users. The architecture features a modular three-layer design comprising a sensing layer for electrical data acquisition, a control layer executing Python-based logic on a Raspberry Pi, and an actuator layer for seamless energy switching. Data is communicated via MQTT and visualized through the Blynk IoT platform, providing an intuitive and remotely accessible user interface. The prototype's effectiveness was validated through real-world testing, confirming its capability to reduce demand charges and ensure reliable energy delivery under varying operational conditions. Its affordability, open-source control logic, and educational versatility make it an ideal candidate for both deployment and instructional use.

math.OC↗

An Automated Framework for Assessing Electric Vehicle Charging Impacts on a Campus Distribution Grid

This paper introduces a unified and automated framework designed to dynamically assess the impact of electric vehicle (EV) charging on distribution feeders and transformers at California State University, Northridge (CSUN). As EV adoption accelerates, the resulting increase in charging demand imposes additional stress on local power distribution systems. Moreover, the evolving nature of EV load profiles throughout the day necessitates detailed temporal analysis to identify peak loading conditions, anticipate worst-case scenarios, and plan timely infrastructure upgrades. Our main contribution is the development of a flexible testbed that integrates Julia, a high-performance programming language for technical computing, with PowerWorld Simulator via the EasySimauto.jl package. This integration enables seamless modeling, simulation, and analysis of EV charging load profiles and their implications for campus grid infrastructure. The framework leverages a real-world dataset collected from CSUN's EV charging stations, consisting of 15-minute interval measurements over the course of one year. By coupling high-resolution data with dynamic simulations, the proposed system offers a valuable tool for evaluating transformer loading, feeder utilization, and overall system stress. The results support data-driven decision-making for EV infrastructure deployment, load forecasting, and energy management strategies. In addition, the framework allows for scenario-based studies to explore the impact of future increases in EV penetration or changes in charging behavior. Its modular architecture also makes it adaptable to other campus or urban distribution systems facing similar electrification challenges.

cs.CY↗

Assessing EV Charging Impacts on Power Distribution Systems: A Unified Co-Simulation Framework

The growing adoption of electric vehicles (EVs) is expected to significantly increase demand on electric power distribution systems, many of which are already nearing capacity. To address this, the paper presents a comprehensive framework for analyzing the impact of large-scale EV integration on distribution networks. Using the open-source simulator OpenDSS, the framework builds detailed, scalable models of electric distribution systems, incorporating high-fidelity synthetic data from the SMART-DS project. The study models three feeders from an urban substation in San Francisco down to the household level. A key contribution is the framework's ability to identify critical system components likely to require upgrades due to increased EV loads. It also incorporates advanced geospatial visualization through QGIS, which aids in understanding how charging demands affect specific grid areas, helping stakeholders target infrastructure reinforcements. To ensure realistic load modeling, the framework uses EV load profiles based on U.S. Department of Energy projections, factoring in vehicle types, charging behaviors, usage patterns, and adoption rates. By leveraging large-scale synthetic data, the model remains relevant for real-world utility planning. It supports diverse simulation scenarios, from light to heavy EV charging loads and distributed vs. centralized charging patterns, offering a practical planning tool for utilities and policymakers. Additionally, its modular design enables easy adaptation to different geographic regions, feeder setups, and adoption scenarios, making it suitable for future studies on evolving grid conditions.

math.OC↗

Scalable Global Optimization for AC-OPF via Quadratic Convex Relaxation and Branch-and-Bound

The Optimal Power Flow (OPF) problem is central to the reliable and efficient operation of power systems, yet its non-convex nature poses significant challenges for finding globally optimal solutions. While convex relaxation techniques such as Quadratic Convex (QC) relaxation have shown promise in providing tight lower bounds, they typically do not guarantee global optimality. Conversely, global optimization methods like the Branch and Bound (B\&B) algorithm can ensure optimality but often suffer from high computational costs due to the large search space involved. This paper proposes a novel B\&B-assisted QC relaxation framework for solving the AC-OPF problem that leverages the strengths of both approaches. The method systematically partitions the domains of key OPF variables, specifically, voltage magnitudes and voltage angle differences, into two equal subintervals at each iteration. The QC relaxation is then applied to each subregion to compute a valid lower bound. These bounds are compared against an upper bound obtained from a feasible AC-OPF solution identified at the outset. Subregions that yield lower bounds exceeding the upper bound are pruned from the search, eliminating non-promising portions of the feasible space. By integrating the efficiency of the QC relaxation with the global search structure of the B\&B algorithm, the proposed method significantly reduces the number of subproblems explored while preserving the potential to reach the global optimum. The algorithm is implemented using the PowerModels.jl package and evaluated on a range of PGLib-OPF benchmark cases. Results demonstrate that this hybrid strategy improves computational tractability and solution quality, particularly for large OPF instances.

math.OC↗

Leveraging Convex Relaxation to Identify the Feasibility of Conducting AC False Data Injection Attack in Power Systems

FDI (False Data Injection) attacks are critical to address as they can compromise the integrity and reliability of data in cyber-physical systems, leading to potentially severe consequences in sectors such as power systems. The feasibility of FDI attacks has been extensively studied from various perspectives, including access to measurements and sensors, knowledge of the system, and design considerations using residual-based detection methods. Most research has focused on DC-based FDI attacks; however, designing AC FDI attacks involves solving a nonlinear optimization problem, presenting additional challenges in assessing their feasibility. Specifically, it is often unclear whether the infeasibility of some designed AC FDI attacks is due to the nonconvexity and nonlinearity inherent to AC power flows or if it stems from inherent infeasibility in specific cases, with local solvers returning infeasibility. This paper addresses this issue by leveraging the principle that if a convexified AC FDI attack design problem is infeasible, the attack design itself is infeasible, irrespective of nonlinear solution challenges. We propose an AC FDI attack design based on convexified power flow equations and assess the feasibility of the proposed attack by examining the extent of the attackable region. This approach utilizes a Quadratic Convex (QC) relaxation technique to convexify AC power flows. To evaluate the proposed method, we implement it on the IEEE 118-bus test system and assess the feasibility of an AC FDI attack across various attack zones.

eess.SY↗

Analyzing the Impact of AC False Data Injection Attacks on Power System Operation

False Data Injection (FDI) attacks are a significant threat to modern power systems. Although numerous research studies have focused on FDI attacks on power systems, these studies have primarily concentrated on designing or detecting DC FDI attacks, with less attention given to the impact analysis of AC FDI attacks. AC FDI attacks are potentially more harmful as they can easily bypass bad data detection (BDD) algorithms. In this paper, we present a unified approach to investigate the impact of AC FDI attacks on power transmission lines using the PowerWorld simulator. We also investigate the impact of different FDI attack designs, including those optimally designed to evade BDD algorithms and compare them accordingly. Our findings demonstrate that in designing optimal AC FDI attacks, a trade-off between the residuals of state variables and the corresponding impacts of the proposed attack should be considered. This is because optimal attacks result in fewer changes in the attacked variable states and their estimated residuals compared to arbitrary AC FDI attacks. Moreover, the impacts of optimal AC FDI attacks can be less severe than those of arbitrary attacks. We implement and analyze the proposed approach on the IEEE 39-bus test system using PowerWorld simulator.

math.OC↗

Designing Sparse AC False Data Injection Attack

False Data Injection (FDI) attacks pose significant threats by manipulating measurement data, leading to incorrect state estimation. Although numerous studies have focused on designing DC FDI attacks, few have addressed AC FDI attacks due to the complexity of incorporating non-linear AC power flows in the design process. Additionally, designing a sparse AC FDI attack presents another challenge because it involves solving a mixed-integer nonlinear programming problem with nonconvex constraints, which is inherently difficult. This paper explores the design and implementation of a sparse AC FDI attack, where the attacker strategically selects a minimal set of measurements to manipulate while maintaining the nonlinearity and interdependence of AC power flow equations. The objective is to minimize the number of altered measurements, thereby reducing the attack's detectability while achieving the desired state estimation error. The problem is formulated as a Mixed Integer Nonlinear Programming (MINLP) problem. Binary variables indicate the selection of measurements to be manipulated, and continuous variables represent the measurement values. An optimization problem is designed to minimize the number of binary variables, translating into a sparse attack, while ensuring the attack remains efficient and hard to detect. The big-M method and conditional constraints are utilized to handle the fixed and variable measurement parameters effectively. Simulation results on the standard IEEE 57-bus test system demonstrate the efficacy of the sparse AC FDI attack in terms of its impact on state estimation and the minimal number of measurements required for successful implementation.

math.OC↗

Investigating the Impact of Electric Vehicle Charging Loads on CSUN's Electric Grid

This paper examines the impact of electric vehicle (EV) charging stations on the capacity of distribution feeders and transformers within the electric grid at California State University Northridge (CSUN). With the increasing adoption of both residential and commercial EVs and the rapid expansion of EV charging infrastructure, it is critical to evaluate the potential overloading effects of intensive EV charging on power distribution systems. This research assesses the impact of EV charging on the operation of CSUN's electric grid, identifying potential overload risks under projected EV adoption scenarios. Detailed simulations and analyses are conducted to quantify the extent of these impacts, focusing on various levels of EV penetration and charging patterns. The study also explores the impact of distributed generation on reducing the stress incurred by EV loads. The findings provide essential insights for utility companies, highlighting the need for strategic upgrades to distribution systems. These insights will help in developing robust strategies for both current operations and future planning to accommodate growing EV charging demands, ensuring grid stability and reliability in the face of increasing electrification of the transportation sector. The modeled CSUN electric grid can be used as a benchmark to study the impact of EV loads in dense areas on various parameters of the grid.

math.OC↗

AC False Data Injection Attacks in Power Systems: Design and Optimization

False Data Injection (FDI) attacks are one of the challenges that the modern power system, as a cyber-physical system, is encountering. Designing AC FDI attacks that accurately address the physics of the power systems could jeopardize the security of power systems as they can easily bypass the traditional Bad Data Detection (BDD) algorithm. Knowing the essence of the AC FDI attack and how they can be designed gives insight about detecting the system again these attacks. Moreover, recognition of the nature of these attacks, especially when they are designed optimally, is essential for benchmarking various defensive approaches to increase the resilience of power systems. This paper presents a unified approach to demonstrate the process of designing optimal AC FDI attack. In this connection, we first define the process of designing an AC-based FDI attack that satisfies AC power flow equations. We then formulate an optimization problem to design an optimal AC FDI attack that both satisfies AC power flow equations and overloads a specific line in the system. The objective function is defined to optimize the magnitude of the attack vector in such a way that it can evade residue-based BDD approaches. The proposed approach for designing AC FDI attacks is applied to the IEEE 118-bus test case system. Various comparisons are conducted to elaborate on the impact of optimally designing AC FDI attacks on the residual for the AC state estimation algorithm. Comparing the results of optimal and non-optimal AC FDI attacks demonstrates the impact on the difficulty of detecting FDI attacks and the importance of optimally designing these attacks.

math.OC↗

Tightening QC Relaxations of AC Optimal Power Flow through Improved Linear Convex Envelopes

AC optimal power flow (AC OPF) is a fundamental problem in power system operations. Accurately modeling the network physics via the AC power flow equations makes AC OPF a challenging nonconvex problem. To search for global optima, recent research has developed a variety of convex relaxations that bound the optimal objective values of AC OPF problems. The well-known QC relaxation convexifies the AC OPF problem by enclosing the non-convex terms (trigonometric functions and products) within convex envelopes. The accuracy of this method strongly depends on the tightness of these envelopes. This paper proposes two improvements for tightening QC relaxations of OPF problems. We first consider a particular nonlinear function whose projections are the nonlinear expressions appearing in the polar representation of the power flow equations. We construct a convex envelope around this nonlinear function that takes the form of a polytope and then use projections of this envelope to obtain convex expressions for the nonlinear terms. Second, we use certain characteristics of the sine and cosine expressions along with the changes in their curvature to tighten this convex envelope. We also propose a coordinate transformation that rotates the power flow equations by an angle specific to each bus in order to obtain a tighter envelope. We demonstrate these improvements relative to a state-of-the-art QC relaxation implementation using the PGLib-OPF test cases. The results show improved optimality gaps in 68% of these cases.

math.OC↗

Assessing the impact of Higher Order Network Structure on Tightness of OPF Relaxation

AC optimal power flow (AC OPF) is a fundamental problem in power system operation and control. Accurately modeling the network physics via the AC power flow equations makes AC OPF a challenging nonconvex problem that results in significant computational challenges. To search for global optima, recent research has developed a variety of convex relaxations to bound the optimal objective values of AC OPF problems. However, the quality of these bounds varies for different test cases, suggesting that OPF problems exhibit a range of difficulties. Understanding this range of difficulty is helpful for improving relaxation algorithms. Power grids are naturally represented as graphs, with buses as nodes and power lines as edges. Graph theory offers various methods to measure power grid graphs, enabling researchers to characterize system structure and optimize algorithms. Leveraging graph theory-based algorithms, this paper presents an empirical study aiming to find correlations between optimality gaps and local structures in the underlying test case's graph. Network graphlets, which are induced subgraphs of a network, are used to investigate the correlation between power system topology and OPF relaxation tightness. Specifically, this paper examines how the existence of particular graphlets that are either too frequent or infrequent in the power system graph affects the tightness of the OPF convex relaxation. Numerous test cases are analyzed from a local structural perspective to establish a correlation between their topology and their OPF convex relaxation tightness.

math.OC↗

Impact of Higher-Order Structures in Power Grids' Graph on Line Outage Distribution Factor

Power systems often include a specific set of lines that are crucial for the regular operations of the grid. Identifying the reasons behind the criticality of these lines is an important challenge in power system studies. When a line fails, the line outage distribution factor (LODF) quantifies the changes in power flow on the remaining lines. This paper proposes a network analysis from a local structural perspective to investigate the impact of local structural patterns in the underlying graph of power systems on the LODF of individual lines. In particular, we focus on graphlet analysis to determine the local structural properties of each line. This research analyzes potential connections between specific graphlets and the most critical lines based on their LODF. In this regard, we investigate N-1 and N-2 contingency analysis for various test cases and identifies the lines that have the greatest impact on the LODFs of other lines. We then determine which subgraphs contain the most significant lines. Our findings reveal that the most critical lines often belong to subgraphs with a less meshed but more radial structure. These findings are further validated through various test cases. Particularly, it is observed that networks with a higher percentage of ring or meshed subgraphs on their most important line (based on LODF) experience a lower LODF when that critical line is subject to an outage. Additionally, we investigate how the LODF of the most critical line varies among different test cases and examine the subgraph characteristics of those critical lines.

math.OC↗

Cyberattack Detection in Large-Scale Smart Grids using Chebyshev Graph Convolutional Networks

As a highly complex and integrated cyber-physical system, modern power grids are exposed to cyberattacks. False data injection attacks (FDIAs), specifically, represent a major class of cyber threats to smart grids by targeting the measurement data's integrity. Although various solutions have been proposed to detect those cyberattacks, the vast majority of the works have ignored the inherent graph structure of the power grid measurements and validated their detectors only for small test systems with less than a few hundred buses. To better exploit the spatial correlations of smart grid measurements, this paper proposes a deep learning model for cyberattack detection in large-scale AC power grids using Chebyshev Graph Convolutional Networks (CGCN). By reducing the complexity of spectral graph filters and making them localized, CGCN provides a fast and efficient convolution operation to model the graph structural smart grid data. We numerically verify that the proposed CGCN based detector surpasses the state-of-the-art model by 7.86 in detection rate and 9.67 in false alarm rate for a large-scale power grid with 2848 buses. It is notable that the proposed approach detects cyberattacks under 4 milliseconds for a 2848-bus system, which makes it a good candidate for real-time detection of cyberattacks in large systems.

cs.CR↗

Graph Neural Networks Based Detection of Stealth False Data Injection Attacks in Smart Grids

False data injection attacks (FDIAs) represent a major class of attacks that aim to break the integrity of measurements by injecting false data into the smart metering devices in power grids. To the best of authors' knowledge, no study has attempted to design a detector that automatically models the underlying graph topology and spatially correlated measurement data of the smart grids to better detect cyber attacks. The contributions of this paper to detect and mitigate FDIAs are twofold. First, we present a generic, localized, and stealth (unobservable) attack generation methodology and publicly accessible datasets for researchers to develop and test their algorithms. Second, we propose a Graph Neural Network (GNN) based, scalable and real-time detector of FDIAs that efficiently combines model-driven and data-driven approaches by incorporating the inherent physical connections of modern AC power grids and exploiting the spatial correlations of the measurement. It is experimentally verified by comparing the proposed GNN based detector with the currently available FDIA detectors in the literature that our algorithm outperforms the best available solutions by 3.14%, 4.25%, and 4.41% in F1 score for standard IEEE testbeds with 14, 118, and 300 buses, respectively.

eess.SP↗

Joint Detection and Localization of Stealth False Data Injection Attacks in Smart Grids using Graph Neural Networks

False data injection attacks (FDIA) are a main category of cyber-attacks threatening the security of power systems. Contrary to the detection of these attacks, less attention has been paid to identifying the attacked units of the grid. To this end, this work jointly studies detecting and localizing the stealth FDIA in power grids. Exploiting the inherent graph topology of power systems as well as the spatial correlations of measurement data, this paper proposes an approach based on the graph neural network (GNN) to identify the presence and location of the FDIA. The proposed approach leverages the auto-regressive moving average (ARMA) type graph filters (GFs) which can better adapt to sharp changes in the spectral domain due to their rational type filter composition compared to the polynomial type GFs such as Chebyshev. To the best of our knowledge, this is the first work based on GNN that automatically detects and localizes FDIA in power systems. Extensive simulations and visualizations show that the proposed approach outperforms the available methods in both detection and localization of FDIA for different IEEE test systems. Thus, the targeted areas can be identified and preventive actions can be taken before the attack impacts the grid.

cs.LG↗