摘要: 传统水电仿真系统的故障处理程序中充斥着大量的因果逻辑,程序内部关系复杂,较难维护和修改.基于上述情况,提出了将规则引擎技术引入水电仿真系统的故障处理中,利用Drools开源规则引擎技术,将水电仿真系统故障设置程序按规则引擎形式改写,简化了故障设置程序的逻辑结构.通过对教练员系统及学员培训系统的故障处理相关模块进行的一系列测试表明,与丰满水电仿真系统1.0版本相比,加入了规则引擎技术的仿真系统2.0版本的故障执行时间与代码量均得到减少,代码易于专业技术人员维护,节省了开发成本.
中图分类号:
赵海;韩叙东;宋纯贺;朱鹏;. 水电仿真系统中故障处理的规则引擎实现[J]. 东北大学学报(自然科学版), 2008, 29(6): 811-814.
Zhao, Hai (1); Han, Xu-Dong (1); Song, Chun-He (1); Zhu, Peng (2) . Implementation of trouble-shooting in hydropower simulation system by rule engine[J]. Journal of Northeastern University, 2008, 29(6): 811-814.