摘要
由于电力控制系统需要利用广域网络进行实时通信,提出将电力控制程序与通信仿真软件OPNET进行联合仿真,以使电力控制系统同步地获得广域通信报文的网络延迟。构造了一个由电力控制系统程序、联盟模块Cosim、OPNET组成的仿真联盟平台。在扩展OPNET中的通信协议时,保留了已有的应用层和UDP/IP协议等模块,增加了负责打通OPNET与Cosim交互的外部模块esys和虚拟应用层UDP_bridge,后者负责连接UDP协议模块和esys。关键技术是对Cosim、esys和扩展进程的设计,其中扩展进程采用基于事件的有限状态机进行建模和设计。Cosim采用同步方式,以2组输入/输出及其标志文件传递电力控制程序索取报文延迟的请求和返回的延迟结果。采用C++语言实现了仿真联盟平台。在一个简单的广域通信网上进行了多组仿真实验,实验表明电力控制程序能够获得OPNET模拟的通信延迟,OPNET中背景流量的大小改变可影响电力控制程序获得的报文延迟。
As the power control system needs the wide-area network in real-time communication,the co-simulation of power control program and communication simulation software OPNET is proposed,so that the power control system synchronously obtains the network delay of wide-area communication message.A co-simulation platform composed of the power control system program,co-simulation module(Cosim) and OPENT is constructed.When the communication protocol in OPNET is extended,its application layer and UDP/IP modules are reserved while the external module esys,which is responsible for the interaction between OPNET and Cosim,and the virtual application layer UDP_bridge,which is responsible for the connection of UDP module and esys,are added.The key technologies are the design of Cosim,esys module and procedure extending module.The procedure extending module is modeled and designed with the event-based finite state machine.Cosim transfers the packet delay request message of the power control program and the return message by two groups of input-output files and their flag files in a synchronous mode.The co-simulation is programmed with C++ and the results of some experiments for a simple wide-area communication network show that,the power control program obtains the communication delay simulated by OPNET and the background flow in OPNET has influence on the packet delay of power control program.
出处
《电力自动化设备》
EI
CSCD
北大核心
2010年第8期134-138,共5页
Electric Power Automation Equipment
基金
中央高校基本科研业务费专项资金资助(SWJTU09ZT10)~~