SCL文件逐级自动更新算法设计与实现

本软件可以对符合IEC61850标准的智能变电站配置文件进行解析、对运行维护中变化的智能变电站的SCD文件进行更新、对SCD文件进行优化。


摘要:SCL文件是IEC61850标准的重要内容,对于文件的配置、建模、修改是智能变电站建设的基础工作之一。集成调试和现场投运中的装置,由于需求变化或功能调整,需要升级,升级前后的SCD、ICD等SCL类型文件会发生变化。此时集成配置软件需要重新关联虚端子、后台需要更新画面中的信号层次索引名,可见升级带来了巨大的工作量。SCL文件采用XML层级结构描述,不适合直接进行文本对比然后手动修改,需要分析其语义,提供自动比较、增量更新的方法,降低实际工程升级所带来的工作量。本课题先是介绍了SCL文件更新的相关背景,然后在深入学习和掌握C#语言及XML语言的基础上,对软件进行了需求分析,然后在学习了VS语言编程环境后,利用VS开发工具设计出可以实现SCL文件逐级自动更新的软件,这个软件包括了加载SCD文件、显示SCD文件主要IED节点的基本信息、以及比较更新SCD文件、和添加IED节点等多个功能,最后对软件进行了验证,论文结尾提出总结与展望。

关键词SCLC#VS智能变电站

Title      The Design and Achievement of Algorithm for SCL File Upgrade by Step.            

Abstract:SCL is an important part of standard of the IEC61850, the configuration,modeling, modification of the file are the basic work of intelligent substation construction. Due to changes in demand or function adjustment, the devices on-site operation need to upgrade. After the upgrade, SCD and ICD and other SCL files are usually changed. And this point the integrated configuration software needs to re-associate the virtual terminal, and the background needs to update the screen in the signal hierarchy index name, which bring much work. SCL is descripted in XML hierarchical structure, which is not suitable to use manual to direct comparison with the text. So we need to analyze its semantics, provide automatic comparison, incremental update method to reduce the actual project implementation of the upgrade work. First of all, this paper introduces the relevant background of SCL file, secondly analyzes the requirements of the software. Based on the study of C# language and XML language, we use VS language programming environment to design the program of SCL file to update automatically step by step. And this software includes loading SCD files, displaying basic information of main IED nodes of SCD files, comparing and updating SCD files, and adding IED node and other functions. At the end of this paper, we verified the software and make a summary and outlook.

Keywords SCL C# Intelligent Substation Visual Studio

目次

1绪论 1

1.1课题背景 1

1.2智能变电站 2

1.3发展现状 3

1.4本文所做的主要工作 3

2软件总体设计 4

2.1需求分析 4

2.2C#编程语言 6

2.3SCD文件更新原理 8

2.4面向对象编程 9

2.5本章小结 10

3SCL文件逐级自动更新算法 11

3.1登录界面 11

3.2SCD加载界面 12

3.3比较SCD文件界面 16

3.4确认界面 17

3.5更新界面 18

3.6添加IED节点界面 21

3.7本章小结 22

4软件仿真 23

4.1登录加载SCD文件 23

4.2比较更新SCD文件 25

4.3添加IED节点 27

4.4本章小结 28

5研究过程中的问题及解决方法 29

5.1问题及解决方法 29

5.2本章小结 30

结论 31

致谢 32

参考文献 33

1绪论

1.1课题背景

现如今,人类生活的方方面面都离不开电能,电的使用需要大量的一次传统能源来维持。但是传统能源日渐短缺,并且传统能源的使用造成的环境污染越来越严重,人类需要找到低碳的清洁能源来应对目前的能源危机和环境问题。太阳能、风能等清洁能源以分布式电源的形式接入电力系统时会造成电力系统的不稳定,使得发电侧和用户侧的特性发生了重大的改变。这给配电网的发展和稳定运行带来的巨大的挑战。这些挑战是无法仅靠人工调整就可以应对的,因此为了维持供电的稳定性、快速性和经济性,智能电网应运而生。