CN107492278B - More supervisory control simulation implementation methods and analogue system for grid simulation training system - Google Patents

More supervisory control simulation implementation methods and analogue system for grid simulation training system Download PDF

Info

Publication number
CN107492278B
CN107492278B CN201710728031.2A CN201710728031A CN107492278B CN 107492278 B CN107492278 B CN 107492278B CN 201710728031 A CN201710728031 A CN 201710728031A CN 107492278 B CN107492278 B CN 107492278B
Authority
CN
China
Prior art keywords
event
simulation
menu
supervisory control
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710728031.2A
Other languages
Chinese (zh)
Other versions
CN107492278A (en
Inventor
杨选怀
林昌年
徐正清
王金行
高峰
李国庆
蒋越梅
张成军
鄢发齐
薛凯
李群山
焦日升
贾新梅
王振浩
杨超
张俊丰
江保锋
苏仁斌
李鑫
秦科源
李淼
王菁
李刚
曹盛楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Center China Grid Company Limited
TRAINING CENTER OF STATE GRID JILIN ELECTRIC POWER COMPANY LIMITED
Beijing Kedong Electric Power Control System Co Ltd
State Grid Jilin Electric Power Corp
Northeast Electric Power University
Original Assignee
STATE GRID CENTER CHINA GRID Co Ltd
TRAINING CENTER OF STATE GRID JILIN ELECTRIC POWER Co Ltd
Beijing Kedong Electric Power Control System Co Ltd
Northeast Dianli University
State Grid Jilin Electric Power Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by STATE GRID CENTER CHINA GRID Co Ltd, TRAINING CENTER OF STATE GRID JILIN ELECTRIC POWER Co Ltd, Beijing Kedong Electric Power Control System Co Ltd, Northeast Dianli University, State Grid Jilin Electric Power Corp filed Critical STATE GRID CENTER CHINA GRID Co Ltd
Priority to CN201710728031.2A priority Critical patent/CN107492278B/en
Publication of CN107492278A publication Critical patent/CN107492278A/en
Application granted granted Critical
Publication of CN107492278B publication Critical patent/CN107492278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B9/00Simulators for teaching or training purposes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to dispatching of power netwoks control field more particularly to a kind of more supervisory control simulation implementation methods and analogue system for grid simulation training system.The system comprises monitoring interface emulation module, monitoring logic emulation module, front-end system emulation module and supervisory control simulation picture collection and supervisory control simulation databases.The present invention supports to realize more set monitoring systems emulation on a set of Power System Simulator, mutually indepedent between monitoring system emulation module, do not interfere with each other, the abilities with good more monitoring associative simulation trainings.

Description

More supervisory control simulation implementation methods and analogue system for grid simulation training system
Technical field
The present invention relates to dispatching of power netwoks control field more particularly to a kind of more monitoring for grid simulation training system are imitative True implementation method and analogue system.
Background technique
With the continuous development and progress of computer technology and power system automation technology, grid monitoring system is in power grid It produces each link to be widely applied, the diversified electricity adaptable with the period technical level and application requirement occurs Net monitoring system, e.g., integrated automation of transformation stations monitoring system, concentrator station monitoring system, Dispatching monitor and control system, regulation integration Monitoring system etc., these monitoring systems are different majors, different stage power grid producers provide convenience flexible power grid The means such as monitoring, regulation, management provide technology for power grid security, stable operation and guarantee.
Grid monitoring system is the main tool that power grid producers carry out power grid monitoring, regulation, management, is power grid production The main working environment of personnel reinforces the training of power grid producers, skillfully grasps the application method of all kinds of grid monitoring systems And the means of administration of power networks, regulation, it raises labour productivity to power grid manufacturing enterprise, reduce operating accident with important meaning Justice, therefore, monitoring system emulation are the critical function modules of grid simulation training system, are realized on a set of Power System Simulator A variety of supervisory control simulations, can construct the Training Environment with production scene height one kind, and grid simulation training system has higher Authenticity, consistency and better result of training.
There are two types of methods for monitoring system emulation:
(1) advocate approach
Using the function of realizing supervisory control simulation with the consistent true monitoring system in scene, according to the implementation of automated system Process constructs monitoring system database, draws monitoring system picture, establishes remote control remote regulating remote signalling information table, then, exploitation monitoring The communication interface of system and analogue system, communication interface generally use the communication protocol of standard to be communicated.
The disadvantage is that: true monitoring system is purchased, it is at high cost;Construct system according to automated system implementation process, picture, Very poor, the maintainable difference of compatibility of the modules such as database, platform;The management of homologous ray is not difficult to be integrated into one, and system opens Dynamic, monitoring difficulty, availability be not high;Different monitoring systems using different communication protocols, specification content description there is also Difference, debugging are difficult.
(2) simulation
Based on Power System Simulator support platform, using with the consistent database of Power System Simulator, model data, Then picture format, communication format emulate the man-machine interface of monitoring system using man-machine interface emulation technology, including draw The emulation of face style, Dynamic data display mode, look & feel, interface menu and operational instrument etc. is realized and actual monitored system The monitoring system Simulation Interface for uniting almost the same.
The disadvantage is that: monitoring system emulation is realized using analog form, only to monitoring interface style, display mode and operation side Formula is emulated, it is difficult to be accomplished completely the same with actual monitored system;More set monitoring system emulation share a set of simulation data base, It is interfered with each other between monitoring system emulation module, influences result of training, without really realizing the purpose of more set monitoring system emulation, In mostly set monitoring system associative simulation training, effect is poor.
Summary of the invention
For the problems in background technique, the purpose of the present invention is to provide a kind of for the more of grid simulation training system Supervisory control simulation implementation method and analogue system are supported to realize more set monitoring system emulation, monitoring on a set of Power System Simulator It is mutually indepedent between system simulation module, do not interfere with each other, the abilities with good more monitoring associative simulation trainings.
To achieve the goals above, technical scheme is as follows:
A kind of more supervisory control simulation implementation methods for grid simulation training system, which is characterized in that the method includes Following steps:
(1) monitoring interface and picture display styles of simulation object are carried out using dynamic icon, dynamic menu technology complete Face emulation, including picture style, look & feel, main menu, actions menu and operating process, realize virtual supervisory control simulation training Environment;
(2) supervisory control simulation database is initialized, building remote signalling merges table;
(3) monitoring logic emulation module receives and processes the action event of monitoring interface emulation module transmission;
(4) judge whether to be grid simulation event;
(5) if it is, building grid simulation event communication packet, is inserted into grid simulation event down queue, executes later Step (6);If it is not, then directly executing step (6);
(6) judge whether grid simulation event upstream queue has event;
(7) if it is, event in processing grid simulation event upstream queue, later return step (6);If not, Then return step (3);
(8) front-end system emulation module sub thread receives and processes the uplink event of Power System Simulator;
(9) judge whether grid simulation event down queue has event;
(10) event in front-end system emulation module sub thread processing grid simulation event down queue.
Further, in step (1), dynamic icon emulation technology realizes that process is as follows:
(1.1.1) establishes icon library: using analogue system icon editing machine generation represent certain power equipment, telemetering amount, The graphic element of remote signalling amount, and store into an individual icon file;Then, icon file is numbered, each number A corresponding icon file, forms icon library;
(1.1.2) needs some database fields to be shown from the selection of supervisory control simulation database, is mapped to certain in icon library A icon establishes the incidence relation of the database fields and icon by icon number, and monitoring interface emulation module is according to database The value in domain shows the corresponding state of icon, with the graphic representation of the value of the realization database fields of icon state;
Various icons constitute monitored picture together with line, text, realize that monitored picture shows the imitative of content and display styles Very.
Further, in step (1), dynamic menu emulation technology realizes that process is as follows:
The function of monitoring system is defined as event by (1.2.1), establishes the monitoring system for being suitble to whole monitoring system emulation Function and event correlation table;
The function of the currently simulated monitoring system of (1.2.2) analysis establishes the menu of the monitoring system, actions menu Configuration file, including main menu configuration file and actions menu configuration file;
(1.2.3) monitoring interface emulation module reads main menu configuration file, and simulation generates the main menu of monitoring interface;
(1.2.4) generates actions menu according to action type read operation Menu Profile, simulation.
Further, detailed process is as follows for step (1.2.3):
The menu handle at monitoring interface emulation module GetMenu () first acquisition interface;
Then main menu configuration file is read, the information of menus at different levels is obtained, and InsertMenu () is called to generate monitoring Interface main menu;
Public menu event is set for each menu item and handles function MainMenu_Proc () function, MainMenu_ Proc () is that keyword searches main menu configuration file with " pad name ", the Case Number of menu is obtained, to from main menu Operation handled.
Further, detailed process is as follows for step (1.2.4):
Monitoring interface emulation module obtains action type keyword according to the operating point chosen;
Menu.GetSubMenu () is called to obtain the handle of pop-up menu;
Then read operation Menu Profile, obtains the information of menus at different levels, and InsertMenu () is called to generate bullet Formula actions menu out, finally calls TrackPopupMenu () to show the menu, and simulation generates actions menu;
Public menu event is set for each menu item and handles function ControlMenu_Proc () function, ControlMenu_Proc () with " pad name " for keyword search operation Menu Profile, compile by the event for obtaining menu Number, the operation from actions menu is handled.
Further, in step (2), it includes plant stand in table that the remote signalling, which merges, remote signalling title, remote signalling state, is merged Remote signalling number and remote signalling serial number owner pointer;
The combined remote signalling number indicates the remote signalling number that the merging remote signalling merges;
The remote signalling serial number owner pointer indicates serial number of the remote signalling of first merging in remote signalling table.
Further, step (3) includes the following steps:
(3.1) monitoring logic emulation module monitors network communication interface, what reception was sent from monitoring interface emulation module Action event sends communication data packet according to certain format;
(3.2) monitoring logic emulation module action event is handled:
(3.2.1) selects the process of event handling according to command word;
(3.2.2) determines object to be treated in event according to the plant stand title in data packet, keyword, imitative from monitoring Acquisition in true data library is handled, and supervisory control simulation database is written in processing result;
The image content that (3.2.3) is shown according to monitoring interface emulation module reads number from supervisory control simulation database again According to the display content of refreshing monitoring interface emulation module.
Further, in step (4), the type in packet header is that 1 table indicates that event is grid simulation event, needs power grid imitative True system is handled.
Further, in step (7), monitoring logic emulation module is periodically read from grid simulation event upstream queue It takes event and is handled, detailed process is as follows:
(7.1) process of event handling is selected according to command word;
(7.2) object to be treated in event is determined according to the plant stand title in data packet, keyword, from supervisory control simulation It obtains and is handled in database, and supervisory control simulation database is written in processing result;
(7.3) image content shown according to monitoring interface emulation module reads data from supervisory control simulation database again, Refresh the display content of monitoring interface emulation module.
Further, step (8) includes the following steps:
(8.1) network communication interface for monitoring Power System Simulator, receives on the grid simulation from Power System Simulator Act part;
(8.2) grid simulation event upstream queue is constructed, grid simulation uplink event is inserted into grid simulation event uplink Queue.
Further, in step (9), front-end system emulation module obtains grid simulation event down queue according to queue heads Event, if the pointer of queue heads be sky, then it represents that without event in queue.
A kind of more supervisory control simulation systems for grid simulation training system, the system comprises monitoring interfaces to emulate mould Block, monitoring logic emulation module, front-end system emulation module and supervisory control simulation picture collection and supervisory control simulation database, it is special Sign is:
The monitoring interface emulation module is for imitating the monitoring interface and picture display styles of simulation object comprehensively Very, virtual supervisory control simulation Training Environment is realized;
The monitoring logic emulation module is used to handle the action event from monitoring interface emulation module and comes from preposition The grid simulation event of system simulation module, the data handling procedure of simulated monitoring system realize the function of monitoring system emulation;
The front-end system emulation module is realized as a sub thread of monitoring logic emulation module, imitative by power grid Real event part upstream queue and grid simulation event down queue and monitoring logic emulation module interaction data, with the shape of network communication Formula exchanges data, the data acquisition of simulated monitoring system and distant place control function with Power System Simulator;
The supervisory control simulation picture collection is used to store the graphic picture file of entire monitoring system emulation module, for simulation prison The menu display function of control system provides support.The supervisory control simulation database is for storing entire monitoring system emulation module Power grid, substation equipment, monitoring device operating status, provided in real time for the dynamic surveillance and operating function of simulated monitoring system Data.
Further, the supervisory control simulation database includes remote signalling table and remote signalling merging table;
The remote signalling table is constructed by Power System Simulator, is established according to the most detailed remote signalling classification method of substation entire imitative The characteristics of whole remote signals of true system, supervisory control simulation logic module is according to supervisory control simulation, the signal in remote signalling table is carried out Classification merges, and forms the remote signalling needed suitable for this supervisory control simulation and merges table, the treatment process for analog remote signaling signal.
The beneficial effect of the present invention compared with the existing technology is:
(1) using picture, database, the platform etc. emulated with the consistent support platform of Power System Simulator, monitoring system Good compatibility, the maintainability of module are good.
(2) integrated design is carried out using identical support platform, starting, monitoring, management of system etc. are easy, availability It is good.
(3) front-end system emulation module has been designed and developed, monitoring system emulation module has been realized and Power System Simulator is logical Communication protocol, Power System Simulator can be communicated with different monitoring system simulation module, are easy to expand and be debugged.
(4) monitoring system emulation module event to be treated is decomposed into supervisory control simulation event and grid simulation event, It is handled by supervisory control simulation module and Power System Simulator classification, entire analogue system has better scalability.
(5) each monitoring system emulation module possesses independent picture collection, database, can support that multiple monitoring systems are imitative True module interference-free operation has the ability of more monitoring associative simulation trainings.
Detailed description of the invention
Fig. 1 is the structural block diagram of more supervisory control simulation systems of the invention.
Fig. 2 is the event handler procedure schematic diagram of monitoring logic emulation module of the invention.
Fig. 3 is the structural schematic diagram of grid simulation event down queue of the invention.
Fig. 4 is the event handler procedure schematic diagram of front-end system emulation module of the invention.
Specific embodiment
With reference to the accompanying drawings and detailed description, detailed elaboration is made to specific embodiments of the present invention.These tools Body embodiment is only not supposed to be a limitation to the present invention for narration or implementation principle, and protection scope of the present invention is still with power Subject to benefit requires, including obvious changes or variations etc. made on this basis.
The present invention relates to a kind of more supervisory control simulation implementation methods, this method realizes monitoring system emulation using " simulation ", Wherein each monitoring system emulation module is all based on Power System Simulator support platform, and monitoring system emulates the picture lattice being related to Formula, database table, management tool etc. are all consistent with Power System Simulator, but each monitoring system emulation module has independent picture Face collection, database, monitoring system emulation module handle picture collection, the database administered, monitor for simulated implementation The function of system;Event to be treated is decomposed into supervisory control simulation event and grid simulation event by monitoring system emulation module, Supervisory control simulation event is handled by monitoring system emulation module, the event handler procedure of simulated monitoring system, and grid simulation event It is sent to Power System Simulator by communication interface, processing is carried out by Power System Simulator and processing result is sent to monitoring system System emulation module realizes the information exchange and coordinated operation of Power System Simulator and supervisory control simulation module, simulated implementation monitoring system Monitoring, adjusting, control function of the system emulation module to simulated grid.
As shown in Figure 1, each monitoring system emulation module is imitative including a monitoring interface emulation module, a monitoring logic True module, a front-end system emulation module and supervisory control simulation picture collection and supervisory control simulation database.Monitoring system emulates mould Block is connect by front-end system emulation module with Power System Simulator, and information exchange is carried out, and realizing has more supervisory control simulation trainings The grid simulation training system of function.
(1) monitoring interface emulation module
The monitoring interface and picture display styles of simulation object are imitated comprehensively using dynamic icon, dynamic menu technology Very, including picture style, look & feel, main menu, actions menu, operating process etc., virtual supervisory control simulation training ring is realized Border.
1.1 dynamic icon emulation technologies realize that process is as follows:
1.1.1 establishing icon library
The graphic element for representing certain power equipment, telemetering amount, remote signalling amount is generated using analogue system icon editing machine, and Store into an individual icon file;Then, icon file is numbered, the corresponding icon file of each number, shape At icon library.
Typical icon library is as follows:
1.1.2 monitored picture is drawn using icon library
From supervisory control simulation database selection need some database fields to be shown, some icon being mapped in icon library, The incidence relation of the database fields and icon is established by icon number, monitoring interface emulation module is aobvious according to the value of database fields The corresponding state of diagram symbol, with the graphic representation of the value of the realization database fields of icon state.
Together with the pels such as various icons and line, text, monitored picture is constituted, realizes that monitored picture shows content and display wind The emulation of lattice.
The icon of breaker apparatus is drawn as follows:
1.2 dynamic menu emulation technologies realize that process is as follows:
1.2.1 the function of monitoring system is defined as event, establishes the monitoring system function for being suitble to whole monitoring system emulation Energy and event correlation table.
Typical monitoring system function and event correlation table are as follows:
Wherein: monitoring interface processing indicates to be handled by monitoring interface emulation module;
Supervisory control simulation processing indicates to be handled by monitoring logic emulation module;
Grid simulation processing indicates that needing to be sent to Power System Simulator is handled.
1.2.2 the function of analyzing currently simulated monitoring system establishes the menu of the monitoring system, actions menu is matched Set file, including main menu configuration file and actions menu configuration file.
Typical main menu configuration file is as follows:
Serial number Pad name and level Monitoring function Case Number
1 File
2 File/opening Adjust picture file 001
3 Documents per minute secant
4 File/closing It exits 002
5 Management
6 Management/amplification 00101 Monitoring interface processing
7 Management/diminution 00101 Monitoring interface processing
8 Management/cut-off rule
9 Management/figure layer switching The switching of picture figure layer 00102
……
Typical operation Menu Profile is as follows:
1.2.3 monitoring interface emulation module reads main menu configuration file, and simulation generates the main menu of monitoring interface.
The menu handle at monitoring interface emulation module GetMenu () first acquisition interface;
Then main menu configuration file is read, the information of menus at different levels is obtained, and InsertMenu () is called to generate monitoring Interface main menu.
Public menu event is set for each menu item and handles function MainMenu_Proc () function, MainMenu_ Proc () is that keyword searches main menu configuration file with " pad name ", the Case Number of menu is obtained, to from main menu Operation handled.
1.2.4 according to action type read operation Menu Profile, simulation generates actions menu.
Monitoring interface emulation module obtains action type keyword according to the operating point chosen;
Menu.GetSubMenu () is called to obtain the handle of pop-up menu;
Then read operation Menu Profile, obtains the information of menus at different levels, and InsertMenu () is called to generate bullet Formula actions menu out, finally calls TrackPopupMenu () to show the menu, and simulation generates actions menu;
Public menu event is set for each menu item and handles function ControlMenu_Proc () function, ControlMenu_Proc () with " pad name " for keyword search operation Menu Profile, compile by the event for obtaining menu Number, the operation from actions menu is handled.
(2) monitoring logic emulation module
Monitoring logic emulation module handles the action event from monitoring interface emulation module and emulates from front-end system The grid simulation event of module, the data handling procedure of simulated monitoring system realize the function of monitoring system emulation.Monitoring logic Emulation module action event resolves into supervisory control simulation event and grid simulation event, and first processing supervisory control simulation event will be handled As a result supervisory control simulation database is written and pushes display data to monitoring interface emulation module, it is logical then to construct grid simulation event Letter packet, is inserted into grid simulation event down queue, sends grid simulation for grid simulation event by front-end system emulation module System.
Meanwhile monitoring logic emulation module periodically search grid simulation event upstream queue, processing come from front-end system Supervisory control simulation database is written, to monitoring interface emulation module in processing result by the grid simulation uplink event of emulation module Push display data.
The event handler procedure of monitoring logic emulation module is as shown in Figure 2.
2.1 initialization supervisory control simulation databases, building remote signalling merge table
Supervisory control simulation database includes remote signalling table and remote signalling merging table, and wherein remote signalling table is constructed by Power System Simulator, is pressed Whole remote signals of entire analogue system, supervisory control simulation logic module root are established according to the most detailed remote signalling classification method of substation Signal in remote signalling table is carried out classification merging by the characteristics of according to supervisory control simulation, is formed and is suitable for the remote signalling that this supervisory control simulation needs Merge table, the treatment process for analog remote signaling signal.
Remote signalling table:
Wherein, the value " whether merged " is " merging ", indicates that signal needs merge with other signals;
The recording mechanism for the upper signal that " merging pointer 1 " storage merges with current demand signal, 0 indicates a supreme signal;
The recording mechanism for the next signal that " merging pointer 2 " storage merges with current demand signal, 0 indicates no next signal;
" serial number of remote signalling merging table " storage remote signalling merges the remote signalling serial number in table, and the remote signalling is by multiple distant in remote signalling table Letter merges.
3 remote signalling of content representation in above table are merged into a merging remote signalling, and the remote signalling generated after merging stores Merge the 1st row in remote signalling table.
Remote signalling merges table:
Wherein: " combined remote signalling number " describes the remote signalling number of merging remote signalling merging;
" remote signalling serial number owner pointer " describes serial number of the remote signalling of first merging in remote signalling table;
" 500kV5011 switchs the movement of first set trip protection " in upper table is from 3 remote signalling merging, first remote signalling Remote signalling table the 1st row record.
2.2 receive and process the action event of monitoring interface emulation module transmission
2.2.1 monitoring logic emulation module monitors network communication interface, what reception was sent from monitoring interface emulation module Action event, communication data packet are sent according to lower column format:
Packet header:
Intcmd;// command word
Int size;The byte number of // data packet
Int type;// event type
Data packet:
Char st[24];// plant stand title
Chanr key [64] // keyword
Int value;// value
Char ext[];// extended byte number
2.2.2 monitoring logic emulation module action event is handled
2.2.2.1 the process of event handling is selected according to command word;
2.2.2.2 object to be treated in event is determined according to the plant stand title in data packet, keyword, it is imitative from monitoring Acquisition in true data library is handled, and supervisory control simulation database is written in processing result;
2.2.2.3 the image content shown according to monitoring interface emulation module reads number from supervisory control simulation database again According to the display content of refreshing monitoring interface emulation module.
2.3 judge whether it is grid simulation event
Type in packet header is that 1 table indicates that event is grid simulation event, and Power System Simulator is needed to be handled.
2.4 building grid simulation event communication packets, are inserted into grid simulation event down queue
According to the communication bag of the format building grid simulation data of 2.2.1, it is inserted into grid simulation event down queue, the team The structure of column is as shown in Figure 3.
Whether 2.5 grid simulation event upstream queues have event
Grid simulation event upstream queue is similar to the grid simulation event down queue in 2.3, and monitoring logic emulates mould Root tuber obtains the event of grid simulation event upstream queue according to queue heads, if the pointer of queue heads is sky, then it represents that in queue Without event.
Event in 2.6 processing grid simulation event upstream queues
Monitoring logic emulation module periodically reads event and is handled from grid simulation event upstream queue, has Body process is as follows:
2.6.1 the process of event handling is selected according to command word;
2.6.2 object to be treated in event is determined according to the plant stand title in data packet, keyword, from supervisory control simulation Acquisition in database is handled, and supervisory control simulation database is written in processing result;
2.6.3 the image content shown according to monitoring interface emulation module reads data from supervisory control simulation database again, Refresh the display content of monitoring interface emulation module.
(3) front-end system emulation module
Pervious supervisory control simulation uses following manner: each supervisory control simulation does not have special supervisory control simulation database, they Data be stored in simulation data base, when leading to multiple supervisory control simulation application modules while running, their state is mutually concerned with It disturbs, cannot support more supervisory control simulations.
Front-end system emulation module realizes that it passes through grid simulation as a sub thread of monitoring logic emulation module Event upstream queue and grid simulation event down queue and monitoring logic emulation module interaction data, in the form of network communication Data, the data acquisition of simulated monitoring system and distant place control function are exchanged with Power System Simulator.
The event handler procedure of front-end system emulation module is as shown in Figure 4.
3.1 receive and process the uplink event of Power System Simulator
3.1.1 the network communication interface for monitoring Power System Simulator, receives on the grid simulation from Power System Simulator Act part.
The format of communication bag is similar to the communication data packet format in 2.2.1.
3.1.2 grid simulation event upstream queue is constructed, grid simulation uplink event is inserted into grid simulation event uplink Queue.
Grid simulation event upstream queue is similar to the grid simulation event down queue in 2.3.
Whether 3.2 grid simulation event down queues have event
Front-end system emulation module obtains the event of grid simulation event down queue according to queue heads, if queue heads Pointer is sky, then it represents that without event in queue.
Event in 3.3 processing grid simulation event down queues
Communication bag packet header and data packet are extracted from grid simulation event downlink event, call network communication interface function The packet header of event, data packet are sent Power System Simulator by writeSocket () function.
(4) supervisory control simulation picture collection
It is drawn using picture editing's tool that Power System Simulator platform provides, the picture format one with Power System Simulator It causes, the picture of supervisory control simulation picture and Power System Simulator can call mutually.
(5) supervisory control simulation database
The database management tools creation that supervisory control simulation database is provided using Power System Simulator platform, with grid simulation The structure of system database, table, attribute are identical, can be beaten using the database management tools that Power System Simulator platform provides It opens, edit, management and monitoring simulation data base;
The grid model data of supervisory control simulation database is identical with the grid model data of grid simulation database, prison Control simulation data base has only expanded the model data of remote signalling merging table, and the association for establishing remote signalling table and remote signalling merging table is closed System, specific implementation are shown in " 2.1 initialization supervisory control simulation databases, building remote signalling merge table ".

Claims (11)

1. a kind of more supervisory control simulation implementation methods for grid simulation training system, which is characterized in that the method includes such as Lower step:
(1) monitoring interface and picture display styles of simulation object are imitated comprehensively using dynamic icon, dynamic menu technology Very, including picture style, look & feel, main menu, actions menu and operating process, virtual supervisory control simulation training ring is realized Border;
(2) supervisory control simulation database is initialized, building remote signalling merges table;
(3) monitoring logic emulation module receives and processes the action event of monitoring interface emulation module transmission;
(4) judge whether to be grid simulation event;
(5) if it is, building grid simulation event communication packet, is inserted into grid simulation event down queue, executes step later (6);If it is not, then directly executing step (6);
(6) judge whether grid simulation event upstream queue has event;
(7) if it is, event in processing grid simulation event upstream queue, later return step (6);If it is not, then returning It returns step (3);
(8) front-end system emulation module sub thread receives and processes the uplink event of Power System Simulator;
(9) judge whether grid simulation event down queue has event;
(10) event in front-end system emulation module sub thread processing grid simulation event down queue.
2. a kind of more supervisory control simulation implementation methods for grid simulation training system according to claim 1, feature It is,
In step (1), dynamic icon technology realizes that process is as follows:
(1.1.1) establishes icon library: representing certain power equipment, telemetering amount, remote signalling using the generation of analogue system icon editing machine The graphic element of amount, and store into an individual icon file;Then, icon file is numbered, each number corresponds to One icon file forms icon library;
(1.1.2) needs some database fields to be shown, some figure being mapped in icon library from the selection of supervisory control simulation database Symbol establishes the incidence relation of the database fields and icon by icon number, and monitoring interface emulation module is according to database fields The corresponding state of value display icon, with the graphic representation of the value of the realization database fields of icon state;
Various icons constitute monitored picture together with line, text, realize that monitored picture shows the emulation of content and display styles.
3. a kind of more supervisory control simulation implementation methods for grid simulation training system according to claim 1, feature It is,
In step (1), dynamic menu technology realizes that process is as follows:
The function of monitoring system is defined as event by (1.2.1), establishes the monitoring system function of being suitble to whole monitoring system emulation And event correlation table;
The function of the currently simulated monitoring system of (1.2.2) analysis, establishes the configuration of the menu, actions menu of the monitoring system File, including main menu configuration file and actions menu configuration file;
(1.2.3) monitoring interface emulation module reads main menu configuration file, and simulation generates the main menu of monitoring interface;
(1.2.4) generates actions menu according to action type read operation Menu Profile, simulation.
4. a kind of more supervisory control simulation implementation methods for grid simulation training system according to claim 3, feature It is,
Detailed process is as follows for step (1.2.3):
The menu handle at monitoring interface emulation module GetMenu () first acquisition interface;
Then main menu configuration file is read, the information of menus at different levels is obtained, and InsertMenu () is called to generate monitoring interface Main menu;
Public menu event is set for each menu item and handles function MainMenu_Proc () function, MainMenu_Proc () is that keyword searches main menu configuration file with " pad name ", the Case Number of menu is obtained, to the behaviour from main menu It is handled.
5. a kind of more supervisory control simulation implementation methods for grid simulation training system according to claim 3, feature It is,
Detailed process is as follows for step (1.2.4):
Monitoring interface emulation module obtains action type keyword according to the operating point chosen;
Menu.GetSubMenu () is called to obtain the handle of pop-up menu;
Then read operation Menu Profile, obtains the information of menus at different levels, and InsertMenu () is called to generate Pop-up Actions menu, finally calls TrackPopupMenu () to show the menu, and simulation generates actions menu;
Public menu event is set for each menu item and handles function ControlMenu_Proc () function, ControlMenu_ Proc () for keyword search operation Menu Profile, obtains the Case Number of menu with " pad name ", to from operation The operation of menu is handled.
6. a kind of more supervisory control simulation implementation methods for grid simulation training system according to claim 1, feature It is,
In step (2), it includes plant stand, remote signalling title, remote signalling state, the remote signalling number of merging and remote signalling in table that the remote signalling, which merges, Serial number owner pointer;
The combined remote signalling number indicates the remote signalling number that the merging remote signalling merges;
The remote signalling serial number owner pointer indicates serial number of the remote signalling of first merging in remote signalling table.
7. a kind of more supervisory control simulation implementation methods for grid simulation training system according to claim 1, feature It is,
Step (3) includes the following steps:
(3.1) monitoring logic emulation module monitors network communication interface, receives the operation sent from monitoring interface emulation module Event sends communication data packet according to certain format;
(3.2) monitoring logic emulation module action event is handled:
(3.2.1) selects the process of event handling according to command word;
(3.2.2) determines object to be treated in event according to the plant stand title in data packet, keyword, from supervisory control simulation number It is handled according to the acquisition in library, and supervisory control simulation database is written in processing result;
The image content that (3.2.3) is shown according to monitoring interface emulation module reads data, brush from supervisory control simulation database again The display content of new monitoring interface emulation module.
8. a kind of more supervisory control simulation implementation methods for grid simulation training system according to claim 1, feature It is,
In step (4), the type in packet header is that 1 table indicates that event is grid simulation event, is needed at Power System Simulator Reason.
9. a kind of more supervisory control simulation implementation methods for grid simulation training system according to claim 1, feature It is,
In step (7), monitoring logic emulation module periodically reads event and is carried out from grid simulation event upstream queue Processing, detailed process is as follows:
(7.1) process of event handling is selected according to command word;
(7.2) object to be treated in event is determined according to the plant stand title in data packet, keyword, from supervisory control simulation data It obtains and is handled in library, and supervisory control simulation database is written in processing result;
(7.3) image content shown according to monitoring interface emulation module reads data from supervisory control simulation database again, refreshes The display content of monitoring interface emulation module.
10. a kind of more supervisory control simulation implementation methods for grid simulation training system according to claim 1, feature It is,
Step (8) includes the following steps:
(8.1) network communication interface for monitoring Power System Simulator, receives and acts on the grid simulation from Power System Simulator Part;
(8.2) grid simulation event upstream queue is constructed, grid simulation uplink event is inserted into grid simulation event upstream queue.
11. a kind of more supervisory control simulation implementation methods for grid simulation training system according to claim 1, feature It is,
In step (9), front-end system emulation module obtains the event of grid simulation event down queue according to queue heads, if team The pointer of column head is sky, then it represents that without event in queue.
CN201710728031.2A 2017-08-23 2017-08-23 More supervisory control simulation implementation methods and analogue system for grid simulation training system Active CN107492278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710728031.2A CN107492278B (en) 2017-08-23 2017-08-23 More supervisory control simulation implementation methods and analogue system for grid simulation training system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710728031.2A CN107492278B (en) 2017-08-23 2017-08-23 More supervisory control simulation implementation methods and analogue system for grid simulation training system

Publications (2)

Publication Number Publication Date
CN107492278A CN107492278A (en) 2017-12-19
CN107492278B true CN107492278B (en) 2019-03-29

Family

ID=60646736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710728031.2A Active CN107492278B (en) 2017-08-23 2017-08-23 More supervisory control simulation implementation methods and analogue system for grid simulation training system

Country Status (1)

Country Link
CN (1) CN107492278B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108347345B (en) * 2017-12-25 2020-12-04 南京丰道电力科技有限公司 Configurable control method for energy management system
CN109301938B (en) * 2018-11-05 2020-08-11 积成电子股份有限公司 Method for combining remote signaling information of telecontrol system of transformer substation
CN109765451A (en) * 2019-03-27 2019-05-17 山东磐诚电子科技有限公司 A kind of intelligent distribution network terminal simulation test platform, system and method
CN114066187B (en) * 2021-11-05 2024-05-17 广西电网有限责任公司钦州供电局 Simulation method of power grid real-time data simulator

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136976B (en) * 2013-02-09 2015-12-02 国家电网公司 A kind of method realizing electricity grid substation integrative simulation
CN105718686B (en) * 2016-01-26 2018-09-21 云南电网有限责任公司电力科学研究院 One kind being based on event driven power distribution network analogue system and its emulation mode

Also Published As

Publication number Publication date
CN107492278A (en) 2017-12-19

Similar Documents

Publication Publication Date Title
CN107492278B (en) More supervisory control simulation implementation methods and analogue system for grid simulation training system
CN105931132B (en) Secondary system of intelligent substation physical loop file fullpath analytic method
CN108345709A (en) The safety measure demonstration emulation methods of exhibiting and device of substation's current loop operation
CN107025344B (en) Power distribution automation simulation system and simulation method for power distribution DTS
CN105958642B (en) A kind of electric substation automation system real-time simulation apparatus and test system
CN105404757B (en) A kind of method of calibration of intelligent substation SCD file standardization level
CN106406266B (en) A method of the equipment that simulation is controlled by nuclear power station DCS system
CN108520365A (en) Education decision system based on big data analysis
CN101808109B (en) Model conversion and formalization verification method of semantic Web service combination
CN105279144B (en) A kind of composition method and device of wind tunnel test data text file
CN103645716B (en) Data processing method in a kind of transformer station back brake system and device
CN110378061B (en) Multi-simulation tool collaborative simulation method and device for extra-high voltage direct current converter station
CN105958644A (en) Pressing plate information management system for intelligent transformer station
CN109857261A (en) A kind of multi-screen interactive VR teaching and training method, system, terminal and storage medium
CN106780719A (en) The three-dimensional scenic methods of exhibiting and platform of the confined space
CN210006245U (en) augmented reality multi-person collaborative simulation system for power equipment training
CN102157037B (en) Automatic test method and system for software and module
CN109215432A (en) A kind of power plant's operation training system based on VR virtual technology
CN105426350B (en) The method that voltage class, interval and IED information are extracted in SCD file
CN107247827A (en) Empty terminal model modeling and automatic connecting method based on machine learning
CN103488697A (en) System and mobile terminal capable of automatically collecting and exchanging fragmented commercial information
CN108319593A (en) A kind of secondary equipment of intelligent converting station modeling method for simulation training system
CN106845766A (en) Information collecting method
CN103544338B (en) A kind of technique information modeling method assembling instruction issue towards three-dimensional
CN113312924A (en) Risk rule classification method and device based on NLP high-precision analysis label

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20180823

Address after: 100192 Beijing Haidian District Qinghe East Road 15, China Electric Academy

Applicant after: Beijing Kedong Power Control System Co., Ltd.

Applicant after: Guo Wang Jilin Electric Power Co., Ltd.

Applicant after: TRAINING CENTER OF STATE GRID JILIN ELECTRIC POWER COMPANY LIMITED

Applicant after: Northeast Dianli University

Applicant after: State Grid Center China Grid Company Limited

Address before: 100031 West Chang'an Avenue, Xicheng District, Xicheng District, Beijing

Applicant before: State Grid Corporation of China

Applicant before: Beijing Kedong Power Control System Co., Ltd.

Applicant before: Guo Wang Jilin Electric Power Co., Ltd.

Applicant before: TRAINING CENTER OF STATE GRID JILIN ELECTRIC POWER COMPANY LIMITED

Applicant before: Northeast Dianli University

Applicant before: State Grid Center China Grid Company Limited

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant