引用本文: | 王雷,徐治皋,司风琪,崔彦锋.基于XML和Script组件的指标在线计算模型研究[J].电力自动化设备,2006,(1):33-37 |
| .Study of on-line index calculation model based on XML and Script component[J].Electric Power Automation Equipment,2006,(1):33-37 |
|
|
摘要: |
针对目前电站指标在线计算系统在灵活性、可扩展性等方面的不足,建立了一种新的指标在线计算模型。利用文档对象模型DOM(DocumentObjectModel)建立指标算法文档,将复杂的指标算法从实时运算程序中分离,当指标算法改动时,只需对指标算法文档重新组态,而不需对实时运算程序代码进行改动,实现了复杂算法与计算过程的分离,提高了算法可移植性和灵活性。算法更新过程采用“非重启模式”,实现了算法文件集的在线更新,避免了程序重启过程所带来的数据损失,提高了运算的精确度。同时,基于Microsoft(R)Script组件建立了具有“黑箱”特性的指标在线运算模块,作为与算法无关的纯计算程序,其在线计算量小,提高了对数据的分析能力和可操作性。 |
关键词: 指标,算法,XML文档对象模型,Script组件 |
DOI: |
分类号:TM744 |
基金项目: |
|
Study of on-line index calculation model based on XML and Script component |
WANG Lei XU Zhi-gao SI Feng-qi CUI Yan-feng
|
Abstract: |
An on-line index calculation model is put forward to improve the flexibility and expandability of current power plant on-line index calculation system.It creates index algorithm document using DOM(Document Object Model)and separates the complex index algorithm routine from real-time running program.When index algorithm changed,only index algorithm document needs reconfiguration,and there is no real-time running program code modification.It separates the complex index algorithm from the index calculation process to improve the flexibility and transportability of algorithm.The"non-restart mode" is adopted for on-line renewing of algorithm library to avoid data loss during restarting and improve algorithm accuracy.Based on Microsoft(R)Script component,an on-line index calculation module is created as a black box,which is a single calculation procedure with a little on-line calculation to improve analysis ability and maneuverability. |
Key words: index,algorithm,XML,document object model,Script component |