Rapid electrification and decarbonization are increasing the complexity of distribution grid (DG) operation and planning, necessitating advanced computational analyses to ensure reliability and resilience. These analyses depend on disparate workflows comprising complex models, function calls, and data pipelines that require substantial expert knowledge and remain difficult to automate. Workforce and budget constraints further limit utilities' ability to apply such analyses at scale. To address this gap, we built an agentic system, PowerChain, which is capable of autonomously performing complex grid analyses. Existing agentic AI systems are typically developed in a bottom-up manner with a customized context for predefined analysis tasks; therefore, they do not generalize to tasks that the agent has never seen. In comparison, to generalize to unseen DG analysis tasks, PowerChain dynamically generates structured context by leveraging supervisory signals from self-contained power systems tools (e.g., GridLAB-D) and an optimized set of expert-annotated and verified reasoning trajectories. For complex DG tasks defined in natural language, empirical results on real utility data demonstrate that PowerChain achieves up to a similar to 144% improvement in performance over baselines.
This paper presents a novel structure-preserving, Kron-based reduction framework for unbalanced distribution feeders. The method aggregates electrically similar nodes within a mixed-integer optimization (MIP) problem to engender reduced networks that optimally reproduce the voltage profiles of the original full network. To overcome computational bottlenecks of MIP formulations, we motivate an exhaustive-search formulation to identify optimal aggregation decisions, while enforcing voltage margin limits. The proposed exhaustive network reduction algorithm is parallelizable on GPUs, which enables scalable network reduction. The resulting reduced networks approximate the full system’s voltage profiles with low errors, and are suitable for steady-state analysis and optimal power flow studies. The framework is validated on two real utility distribution feeders with 5, 991 and 8, 381 nodes. The reduced models achieve up to 90% and 80% network reduction, respectively, while the maximum voltage-magnitude error remains below 0.003 p.u. Furthermore, on a 1000-node version of the network, the GPU-accelerated reduction algorithm runs up to 15x faster than its CPU-based counterpart.
Solving for globally optimal line switching decisions in AC transmission grids can be intractably slow. Machine learning (ML) models, meanwhile, can be trained to predict near-optimal decisions at a fraction of the speed. Verifying the performance and impact of these ML models on network operation, however, is a critically important step prior to their actual deployment. In this paper, we train a Neural Network (NN) to solve the optimal power shutoff line switching problem. To assess the worst-case load shedding induced by this model, we propose a bilevel attacker-defender verification approach that finds the NN line switching decisions that cause the highest quantity of network load shedding. Solving this problem to global optimality is challenging (due to AC power flow and NN nonconvexities), so our approach exploits a convex relaxation of the AC physics, combined with a local NN search, to find a guaranteed lower bound on worst-case load shedding. These under-approximation bounds are solved via MathOptAI.jl. We benchmark against a random sampling approach, and we find that our optimization-based approach always finds larger load shedding, by an average margin of 33% in the largest test case. Test results are collected on multiple PGLib test cases and on trained NN models which contain more than 10 million model parameters.
The high penetration of distributed energy resources, resulting in backfeed of power at the transmission and distribution interface, is causing conventional underfrequency load shedding (UFLS) schemes to become nonconforming. Adaptive schemes that update UFLS relay settings recursively in time offer a solution, but existing adaptive techniques that obtain UFLS relay settings with linearized or reduced-order model formulations fail to capture AC nonlinear network behavior. In practice, this will result in relays unable to restore system frequency during adverse disturbances. We formulate an adaptive UFLS problem as a trajectory optimization and include the full AC nonlinear network dynamics to ensure AC feasibility and time-coordinated control actions. We include binary decisions to model relay switching action and time-delayed multi-stage load-shedding. However, this formulation results in an intractable MINLP problem. To enforce model tractability, we relax these binary variables into continuous surrogates and reformulate the MINLP as a sequence of NLPs. We solve the NLPs with a homotopy-driven method that enforces near-integer-feasible solutions. We evaluate the framework on multiple synthetic transmission systems and demonstrate that it scales efficiently to networks exceeding 1500+ nodes with over 170k+ continuous and 73k+ binary decision variables, while successfully recovering binary-feasible solutions that arrest the frequency decline during worst-case disturbance.
Although a significant number of studies have focused on urban growth patterns in Dhaka, the spatial structure of employment and its roles in shaping polycentric urban development is poorly understood. Specifically, how employment subcenters (ESCs) emerge and organize under conditions of informal and infrastructure-led urban growth typical of Global South megacities remains unclear. Hence, this study poses the question of how ESC formation is related with the construction and development of a polycentric urban employment structure in the city and how their hierarchical spatial organization shapes intra-urban agglomeration. To answer this question, the spatial distribution of employment in the Greater Dhaka Region during the 2011-2013 study period was analyzed based on fine-scale employment data from the 2013 economic census together with Local Moran's I (LMI) within a grid-based framework. An optimal grid size and shape were used to detect ESCs, including their location, hierarchy, spatial extent, geographical distribution, spatial characteristics and processes. The study found 59 ESCs, including one rank 1 center, four rank 2 centers, 18 rank 3 centers, and 36 rank four centers. The findings reveal a core-dominant but dispersed polycentric employment structure, in which high-ranked ESCs concentrated within approximately 20 km of Dhaka's historical core and low-ranked ESCs developed along major transportation corridors in peripheral areas. The findings suggest that the employment structure observed during the study period reflected a hierarchical, corridor-oriented pattern influenced by market forces and infrastructure-led urban processes rather than by planned decentralization, with weak metropolitan coordination strengthening the continued dominance of the historical core. These findings refine polycentricity theory for Global South contexts and provide evidence to support data-driven spatial planning and more balanced urban development in rapidly urbanizing regions.