陈政, 张俊勃, 陈戈, 陈智豪. 基于RedisGraph的电网CIM/XML数据模型构建与应用[J]. 电力信息与通信技术, 2022, 20(4): 1-8. DOI: 10.16543/j.2095-641x.electric.power.ict.2022.04.001
引用本文: 陈政, 张俊勃, 陈戈, 陈智豪. 基于RedisGraph的电网CIM/XML数据模型构建与应用[J]. 电力信息与通信技术, 2022, 20(4): 1-8. DOI: 10.16543/j.2095-641x.electric.power.ict.2022.04.001
CHEN Zheng, ZHANG Junbo, CHEN Ge, CHEN Zhihao. Construction and Application of CIM/XML of Power Grid Based on RedisGraph[J]. Electric Power Information and Communication Technology, 2022, 20(4): 1-8. DOI: 10.16543/j.2095-641x.electric.power.ict.2022.04.001
Citation: CHEN Zheng, ZHANG Junbo, CHEN Ge, CHEN Zhihao. Construction and Application of CIM/XML of Power Grid Based on RedisGraph[J]. Electric Power Information and Communication Technology, 2022, 20(4): 1-8. DOI: 10.16543/j.2095-641x.electric.power.ict.2022.04.001

基于RedisGraph的电网CIM/XML数据模型构建与应用

Construction and Application of CIM/XML of Power Grid Based on RedisGraph

  • 摘要: 电网拓扑分析在电力系统运行规划中应用广泛。现有研究中,电网拓扑信息多以关系型数据库或图数据库的方式存储于磁盘,在查询速度上受限于数据库本身的特性。为了提高电网拓扑信息的查询速度,文章提出了一种基于内存型图数据库RedisGraph的电网拓扑模型构建与查询方法。首先概述了CIM/XML文件的数据结构和RedisGraph存储数据的方式,然后据此设计了将CIM/XML数据模型转换为电网拓扑图数据模型的方案,并实现了基于RedisGraph的拓扑搜索,最后基于构建的图数据模型进行拓扑搜索测试。结果表明,提出的基于RedisGraph的电网拓扑构建与查询方案能更好地满足大规模复杂电网的拓扑分析业务的性能需求。

     

    Abstract: Topology analysis of power grid is widely used in power system operation and planning. In the existing research, the topology information of power grid is mostly stored on disk in the form of relational database or graph database, and the query speed is limited by the characteristics of the database itself. In order to improve the query speed of power grid topology information, this paper proposes a method of building and querying power grid topology model based on in-memory graph database RedisGraph. Firstly, this paper summarizes the data structure of CIM/XML file and the way of storing data in RedisGraph. Then, according to this, a scheme of converting CIM/XML data model into power grid topology data model is designed, and topology search based on RedisGraph is realized. Finally, topology search test is carried out based on the built graph data model. The results show that the grid topology storage and query scheme based on RedisGraph proposed in this paper can better meet the performance requirements of large-scale complex grid topology analysis business.

     

/

返回文章
返回