湖南电力 ›› 2025, Vol. 45 ›› Issue (2): 104-109.doi: 10.3969/j.issn.1008-0198.2025.02.014

• 配电网与用能技术 • 上一篇    下一篇

基于有向无环图的电源追溯自动成图技术研究

孙祺1,2, 程伟1,2, 张天宇1,2, 高斌1,2, 何浩奇1,2   

  1. 1.国网电力科学研究院有限公司,江苏 南京 210000;
    2.南京南瑞信息通信科技有限公司,江苏 南京 210000
  • 收稿日期:2024-12-25 修回日期:2025-02-06 发布日期:2025-04-30
  • 通信作者: 程伟(1983),男,高级工程师,硕士,从事电网数字化、电网图形研究工作。
  • 作者简介:孙祺(2000),男,助理工程师,本科,从事电网图形化研究工作。
  • 基金资助:
    国家电网有限公司总部科技项目(5700-202340667A-3-3-JC)

Research on Automatic Mapping Technology of Power Traceability Diagram Based on Directed Acyclic Graph

SUN Qi1,2, CHENG Wei1,2, ZHANG Tianyu1,2, GAO Bin1,2, HE Haoqi1,2   

  1. 1. State Grid Electric Power Research Institute Co., Ltd., Nanjing 210000, China;
    2. Nanjing Nari Information and Communication Technology Co., Ltd., Nanjing 210000, China
  • Received:2024-12-25 Revised:2025-02-06 Published:2025-04-30

摘要: 针对电源追溯图成图需求,提出一种基于有向无环图的电源追溯自动成图技术。在获取电网设备、连接关系数据的前提下,设计电源追溯图自动成图的核心方法,即电网设备的布局算法,主要包括层级划分、节点排序、水平坐标计算等步骤。以某重要电力负荷为例开展电源追溯自动成图实验,发现图中节点分布均匀,连接线交叉少,成图结果整体较为合理、美观。

关键词: 有向无环图, 电源追溯, 自动成图, 广度优先搜索, 重心法

Abstract: Aiming at the demand for power traceability mapping, a power traceability automatic mapping technology based on directed acyclic graphs is proposed. The layout algorithm of power grid equipment which is the core method for automatic mapping of power traceability diagrams has been designed based on on power grid equipment and connection relationships data, which mainly includes node layering, node sorting and horizontal coordinate calculation steps. An important power load is taken as an example to carry out power traceability automatic mapping experiment and it is found that the nodes in the graph are evenly distributed, with few intersecting connecting lines. The mapping results are overall reasonable and aesthetically pleasing.

Key words: directed acyclic graph, power traceability, automatic mapping, breadth-first search, centre of gravity method

中图分类号: