基于UML活动图的安全稳定控制装置策略代码自动实现方法
CSTR:
作者:
作者单位:

(1.国家电网有限公司华北分部,北京 100053;2.南瑞集团有限公司(国网电力科学研究院有限公司), 江苏 南京 210003;3.智能电网保护和运行控制国家重点实验室,江苏 南京 211006)

作者简介:

刘一民(1981—),男,博士,教授级高工,研究方向为继电保护运行和管理;E-mail: hbdwjdbh@163.com 颜云松(1981—),男,博士在读,高级工程师,研究方向为电网安全稳定控制;E-mail: yanyunsong@ sgepri.sgcc.com. cn 许高阳(1983—),男,通信作者,硕士,高级工程师,研究方向为电网安全稳定控制。E-mail: xugaoyang@ sgepri.sgcc.com.cn

通讯作者:

中图分类号:

基金项目:

国家电网公司总部科技项目资助“策略灵活组态的安全稳定控制系统研究”(5100-202055019A-0-0-00)


A method of automatic realization of security and stability control strategy code based on a UML activity diagram
Author:
Affiliation:

(1. North China Branch of State Grid Corporation of China, Beijing 100053, China; 2. NARI Group Corporation/State Grid Electric Power Research Institute, Nanjing 210003, China; 3. State Key Laboratory of Smart Grid Protection and Control, Nanjing 211106, China)

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    为提高和保障电网安全稳定控制系统控制策略(简称稳控策略)的实现效率和可靠性,研制了一种基于UML活动图的稳控策略的自动编程实现方法和基础平台。首先,抽象稳控策略的最小元素和动态行为元素,提出稳控策略动态行为描述方法,建立基于UML活动图的稳控策略模型和抽象语法树。然后,规范稳控策略模型的存储标准及格式,制定模型到代码的映射规则,基于抽象语法树使用深度优先搜索算法将模型自动转化为嵌入式系统可执行代码。最后,构建稳控策略模型至主体代码自动生成和辅助代码自动补全的软件技术框架并研发实现。结合4个大型稳控系统的新建和改造的编程案例及其成效,验证了所提代码自动生成方法和平台工具的可行性、高效性和可靠性。

    Abstract:

    To improve and ensure the efficiency and reliability of control strategy for power grid security and stability control system (SSC), an automatic programming realization method using a UML activity diagram for the SSC strategy is proposed and the corresponding basic platform is developed. First, the least dynamic behaviors elements of the SSC strategy are extracted to propose stability control strategies dynamic behavior description methods. The stability control model and an abstract syntax tree based on UML activity diagrams are thus established. After that, the storage standard and format of the SSC strategy model is regulated, the model-to-code mapping rules are formulated, and the model is automatically converted into embedded system executable code using depth first search based on the abstract syntax tree. Finally, a technical software framework which automatically generates the main body of code from the SSC strategy model and automatically completes auxiliary code is constructed, developed, and realized. The results of the programming cases for 4 large-scale power grid stability control system construction and renovation projects have proven the feasibility, efficiency and reliability of the proposed code automatic generation method and platform tools. This work is supported by the Science and Technology Project of the Headquarters of State Grid Corporation of China (No. 5100-202055019A-0-0-00).

    参考文献
    相似文献
    引证文献
引用本文

刘一民,颜云松,许高阳,等.基于UML活动图的安全稳定控制装置策略代码自动实现方法[J].电力系统保护与控制,2022,50(5):154-161.[LIU Yimin, YAN Yunsong, XU Gaoyang, et al. A method of automatic realization of security and stability control strategy code based on a UML activity diagram[J]. Power System Protection and Control,2022,V50(5):154-161]

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2021-03-31
  • 最后修改日期:2021-12-07
  • 录用日期:
  • 在线发布日期: 2022-03-01
  • 出版日期:
文章二维码
关闭
关闭