Automatic Generation of Topology Diagrams for Strongly-Meshed Power Transmission Systems

Jingyu Wang, Jinfu Chen, Dongyuan Shi, Xianzhong Duan · DOI

Abstract

Topology diagrams are widely seen in power system applications, but their automatic generation is often easier said than done. When facing power transmission systems with strongly-meshed structures, existing approaches can hardly produce topology diagrams catering to the aesthetics of readers. This paper proposes an integrated framework for generating aesthetically-pleasing topology diagrams for power transmission systems. Input with a rough layout, the framework first conducts visibility region analysis to reduce line crossings and then solves a mixed-integer linear programming problem to optimize the arrangement of nodes. Given that the complexity of both modules is pretty high, simplification heuristics are also proposed to enhance the efficiency of the framework. Case studies on several power transmission systems containing up to 2,046 nodes demonstrate the capability of the proposed framework in generating topology diagrams conforming to aesthetic criteria in the power system community. Compared with the widespread force-directed algorithm, the proposed framework can preserve the relative positions of nodes in the original layout to a great extent, which significantly contributes to the identification of electrical elements on the diagrams. Meanwhile, the time consumption is acceptable for practical applications.

Introduction

Power system engineers rely heavily on topology diagrams to understand grid structures and visualize critical data. Currently, these diagrams are largely drawn manually—a process that is tedious, error-prone, and difficult to maintain as grids evolve. While automatic graph-drawing algorithms exist, they frequently struggle with the "strongly-meshed" nature of power transmission systems.

Standard physics-based methods, such as force-directed algorithms, often produce layouts governed by kinematic laws that scramble the geographic or relative positions of substations. For an engineer, a diagram that fails to match their "mental map" of the grid is practically unreadable. This research introduces an automated framework designed to generate diagrams that adhere to specific aesthetic conventions: minimal line crossings, orthogonal lines, and preserved relative node positions.

Proposed Framework

The authors propose a two-module framework that refines a rough initial layout (such as raw GIS coordinates) into an optimized topology diagram. The process is divided into a line crossing reduction phase followed by a layout planning phase.

The proposed two-module framework for generating topology diagrams.

Module 1: Line Crossing Reduction

The first module employs computational geometry to greedily reposition nodes and minimize line intersections. This is achieved through visibility region analysis, which identifies areas where a node can be moved to reduce crossings with existing edges.

Visibility region analysis used to determine optimal node positions for crossing reduction.

To address the high computational cost of this analysis, the authors introduce two key heuristics:

  1. Local Search Space: Restricting the search to a local Breadth-First-Search (BFS) tree around the target node.
  2. Inflection Points: Adding virtual nodes to edges to allow for bends, rather than moving all terminal nodes, which provides more flexibility in crossing reduction.

Module 2: Layout Planning via MILP

Once crossings are minimized, the layout is refined using a Mixed-Integer Linear Programming (MILP) model. This model snaps the layout to a $K$-linear coordinate system, forcing edges to specific angles (e.g., horizontal, vertical, or diagonal). The MILP optimizes an objective function that balances line orthogonality, spatial evenness, and mental map preservation.

To maintain scalability, the framework utilizes a planarity relaxation strategy, adding non-crossing constraints iteratively only when collisions occur, and a divide-and-conquer approach using K-Means clustering for large-scale grids.

Experimental Evaluation

The framework was tested on standard IEEE cases (30, 57, and 118-bus) and real-world provincial grids in China. For large-scale validation, a 2,046-node European continental power transmission system was used.

Key Results

  • Visual Quality: The framework achieved significantly fewer line crossings (e.g., 13 vs. 25+ for the IEEE 118-bus) compared to algorithms like ForceAtlas2 and SGD$^2$.
  • Efficiency: Simplification heuristics provided a 35x speedup in crossing reduction for the IEEE 118-bus system, reducing processing time from 2.4 hours to approximately 4 minutes.
  • MILP Performance: The planarity relaxation strategy allowed the MILP solver to find solutions in under a minute for cases where standard formulations failed to solve within 60 hours.
  • Scalability: The 2,046-node European grid was processed in approximately 45 minutes using parallelized submodel optimization.

Conclusion and Future Work

By translating human aesthetic preferences into rigorous mathematical constraints, this framework successfully automates the generation of recognizable and clear power system diagrams. A primary remaining challenge is the handling of "boundary crossings" when splicing subgraphs in the divide-and-conquer approach. Future work will focus on coordinating graphic elements near cluster boundaries to prevent intersections during the final assembly phase.

Summary updated

BibTeX
@misc{wang2023automatic,
  author = {Jingyu Wang and Jinfu Chen and Dongyuan Shi and Xianzhong Duan},
  title = {{Automatic Generation of Topology Diagrams for Strongly-Meshed Power Transmission Systems}},
  year = {2023},
  eprint = {2303.09462},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.09462},
}
Figure