摘要
随着变电站自动化及其建设水平的日益提高,软件中包含的模块越来越多,各对象间信息传递更加频繁,大大增加了电力系统非计算机专业人员的开发工作难度,导致软件开发周期长、开发成本居高不下且整个过程包含大量的重复劳动。立足于使电力系统非软件专业人员能够摆脱繁琐的底层编程,集中精力到电力自动化专业核心技术学习研究,基于代码自动生成技术、编译原理中的词法分析语法分析,深入研究了模型解释器和代码生成引擎,给出了基于模型驱动框架的变电站自动化系统软件的开发和实现方案,可根据需要灵活配置模型和程序模板,将系统中有规律可循、大量重复的代码自动生成,减少代码出错率,提高软件开发的效率。
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.
出处
《电气自动化》
2016年第4期83-85,共3页
Electrical Automation
基金
南方电网科技项目"K-GD2014-0473变电站自动化统一化配置研究及应用"
关键词
变电站
代码自动生成
实时数据库
模型解释器
代码生成引擎
substation
automatic code generation
real-time database
model interpreter
code generation engine