首页 | 官方网站   微博 | 高级检索  
     

基于代码自动生成技术的变电站自动化系统软件开发与实现
引用本文:汪溢,余晓明,马凯,张静,单超.基于代码自动生成技术的变电站自动化系统软件开发与实现[J].电气自动化,2016(4):83-85.
作者姓名:汪溢  余晓明  马凯  张静  单超
作者单位:1. 广东电网有限责任公司电力科学研究院,广东 广州,510080;2. 国电南瑞科技股份有限公司,江苏 南京,211106
基金项目:南方电网科技项目“K-GD2014-0473变电站自动化统一化配置研究及应用”
摘    要:随着变电站自动化及其建设水平的日益提高,软件中包含的模块越来越多,各对象间信息传递更加频繁,大大增加了电力系统非计算机专业人员的开发工作难度,导致软件开发周期长、开发成本居高不下且整个过程包含大量的重复劳动。立足于使电力系统非软件专业人员能够摆脱繁琐的底层编程,集中精力到电力自动化专业核心技术学习研究,基于代码自动生成技术、编译原理中的词法分析语法分析,深入研究了模型解释器和代码生成引擎,给出了基于模型驱动框架的变电站自动化系统软件的开发和实现方案,可根据需要灵活配置模型和程序模板,将系统中有规律可循、大量重复的代码自动生成,减少代码出错率,提高软件开发的效率。

关 键 词:变电站  代码自动生成  实时数据库  模型解释器  代码生成引擎

Software Development and Implementation of the Substation Automation System Based on Automatic Code Generation Technology
Abstract:Along with increasingly improved automation and construction level of substations,software contains more and more modules and information transfer among different objects becomes more and more frequent,thus greatly increasing the difficulty of development by non-software professionals working in the electric power system and resulting in long software development cycle,high development cost and a lot of duplication of labor in the whole process.In order that these professionals may get rid of tedious basic programming and concentrate on studying core technologies in the specialty of electric power automation,based on automatic code generation technology as well as lexical analysis and syntax analysis of the compilation principle,this paper discusses in depth the model interpreter and code generation engine,and presents a software development and implementation scheme for the substation automation system based on the model-driven architecture.This scheme allows flexible configuration of models and program templates according to the need,and a large amount of regular repeated codes are generated automatically with lower code error rate and improved software development efficiency.
Keywords:substation  automatic code generation  real-time database  model interpreter  code generation engine
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号