A kind of distribution network failure repairing process simulation and its implementation
Technical field
The present invention relates to the system of a kind of power distribution network emulation and its implementation, particularly relate to system and its implementation of a kind of distribution network failure repairing process simulation, belong to electric analog training field.
Background technology
Power distribution network is power system last link to customer power supply, connect the important tie of electrical network and user, the construction of power distribution network and management have become as one of important step of intelligent grid construction, since two thousand nine, State Grid Corporation of China has completed construction and the transformation of electrical power distribution automatization system in more than 100 cities. Improve with living standards of the people along with social economy develops rapidly, and the extensive application of the novel device such as distributed power source, electric automobile, energy storage device, distribution network systems scale is more and more huger, network also becomes increasingly complex, Supply Security, reliability, adaptive requirement is more and more higher, by strengthening training, accelerate distribution Personnel System Construction, improve technology and the level of skill of operations staff, become and promote power distribution network safety in production, improve the important means of power distribution network operation and management level.
From training angle, starting and developmental stage is at home and abroad all belonged to due to power distribution automation, and distribution network structural particularity and complexity, require that power distribution network simulation training system can not be applied mechanically the existing mode of transmission of electricity automatization and carry out, and the power distribution network simulation training system developed at present is all based on original grid simulation training system and Substation Training Simulator, focus on simulation and the prison dish of running status, the training of troubleshooting, do not account for the emulation of power distribution network repairing processing procedure, can not intactly realize the emulation training of distribution network failure repairing overall process, result of training has much room for improvement.
Summary of the invention
The invention provides a kind of distribution network failure repairing process simulation, with distribution network failure, power distribution network emulation is rushed to repair process simulation combine, it is achieved distribution network failure repairing whole process simulation, meet power distribution network production run practical situation, breakdown repair process is more true, and result of training is better.
For achieving the above object, present invention provide the technical scheme that
A kind of distribution network failure repairing process simulation, it includes distribution network failure repairing process simulation and includes distribution network failure repairing process simulation module, controller switching equipment scene simulation module, power distribution network traffic control platform emulation module, power distribution network emulation module, repairing command table emulation module, repairing teams and groups' workbench emulation module and communication service module, wherein said controller switching equipment scene simulation module, by communication service module and described distribution network failure repairing process simulation module is attached and information is mutual for power distribution network traffic control platform emulation module and power distribution network emulation module, described repairing command table emulation module be connected respectively with described repairing teams and groups workbench emulation module described distribution network failure repairing process simulation module and with its two-way communication, wherein,
Described controller switching equipment scene simulation module adopts virtual reality technology simulation controller switching equipment Run-time scenario, the running status of three-dimensional reconstruction controller switching equipment, supports controller switching equipment scene rush to repair training on operation;
The man machine interface of described power distribution network traffic control platform emulation module simulation electrical power distribution automatization system and management instrument, provide the training function of prison dish, normal operating, accident treatment for power distribution network dispatcher;
Described power distribution network emulation module realizes the modeling and simulating of power distribution network, provides power distribution network operation data for whole analogue system;
Described distribution network failure repairing process simulation module collection management distribution network failure information, generates breakdown repair flow process, simulated failure repairing process;
The working interface of described repairing command table emulation module simulation repairing command set, provides virtual working environment for repairing commanding;
Described repairing teams and groups workbench Simulation Interface realizes task reception, work order is filled in, send work and repairing to reply training function, and for repairing, teams and groups provide virtual work environment;
Described communication service module achieves the communication bus based on High Level Architecture standard, it is provided that the function of Simulation Application management, information issue, information subscribing and data distribution.
A kind of distribution network failure repairing process simulation method adopting distribution network failure repairing process simulation to realize, described in step 1., power distribution network emulation module, power distribution network traffic control platform emulation module, controller switching equipment scene simulation module and distribution network failure repairing process simulation module are registered to communication service module successively;
Step 2: described power distribution network emulation module simulation distribution network failure, issues simulation calculation information and fault message;
Step 3: described distribution network failure repairing resume module simulation calculation information and fault message, simulation generates repairing work order, sends repairing work order event;
Step 4: described controller switching equipment scene simulation module simulation execute-in-place processes, sends operation and processes event;
Step 5: described distribution network failure repairing module simulation repairing work order replys processing procedure;
Step 6: described power distribution network traffic control platform emulation module simulates the operation that restores electricity.
Further,
Described step 1 specifically includes:
Step 1.1, power distribution network emulation module is called Apply Names with the module name of oneself, registers Apply Names to communication service module; Distributing interaction class; Order interactive class,
The interactive class that described power distribution network emulation module is issued includes Distribution Network Failure class, distribution remote measurement class, distribution communication class, distribution displacement class and distribution remote signalling class,
Described power distribution network emulation module is ordered interactive class and is included scheduling operation class, scheduling inspection class, scheduler task state class, execute-in-place class, site inspection class, on-the-spot task status class and process simulation work order class,
Step 1.2, power distribution network traffic control platform emulation module registration Apply Names, distributing interaction class, order interactive class,
Described power distribution network traffic control platform emulation module distributing interaction class includes scheduling operation class, scheduling checks class, scheduler task state class,
Described power distribution network traffic control platform emulation module is ordered interactive class and is included distribution remote measurement class, distribution remote signalling class, distribution displacement class and process simulation work order class,
Step 1.3, controller switching equipment scene simulation Module registers Apply Names, distributing interaction class, order interactive class,
Described controller switching equipment scene simulation module distributing interaction class includes execute-in-place class, site inspection class, on-the-spot task status class,
Described controller switching equipment scene simulation module is ordered interactive class and is included distribution remote measurement class, distribution remote signalling class, distribution displacement class and process simulation work order class,
Step 1.4, distribution network failure repairing process simulation Module registers Apply Names, distributing interaction class, order interactive class,
Described distribution network failure repairing process simulation module distributing interaction class includes process simulation work order class,
Described distribution network failure repairing process simulation module is ordered module and is included Distribution Network Failure class, distribution remote measurement class, distribution remote signalling class, distribution displacement class and scheduler task state class and on-the-spot task status class.
Further,
Described step 2 specifically includes:
Step 2.1, power distribution network emulation module mould calls the interactive information of the interactive class that High Level Architecture codes and standards interface is ordered;
Step 2.2, power distribution network emulation module mould processes interactive information, changes equipment state, recalculates distribution power flow, produces the data such as remote measurement, remote signalling, displacement, and simulation power distribution network runs;
Step 2.3, the information such as fault, remote measurement, remote signalling, displacement are packed by power distribution network emulation module mould according to Distribution Network Failure class, distribution remote measurement class, distribution remote signalling class, distribution displacement class, then call High Level Architecture codes and standards interface and send interactive information.
Further,
Described step 3 specifically includes:
Step 3.1, distribution network failure is robbed dispatching module and is received power distribution network simulation calculation information by the distribution remote measurement class ordered, distribution remote signalling class, distribution displacement class, and storage, to data base, robs the display of dispatching module for distribution network failure;
Step 3.2, distribution network failure is robbed dispatching module and is received fault message by the Distribution Network Failure class ordered, and processes according to the following step:
Step 3.2.1, is stored in fault message data base, and fault message is shown to repairing command table emulation module;
Step 3.2.2, repairing command table emulation module generates breakdown repair flow chart according to fault message, each block diagram of this flow chart represents one and processes step, there are three kinds of states: processed, can not process, process, processed step black font gray background represents, not treatable step grey font represents, the step black font frame that processing is highlighted represent as it is shown on figure 3, and the block diagram " repairing command centre " in flow chart is shown as processing state;
Step 3.2.3, repairing command table emulation module receives the input information of command centre person on duty, including handler, handling time, accepts content, order unit and order people's information, is sent to distribution network failure and robs dispatching module;
Step 3.2.4, distribution network failure is robbed dispatching module and is generated breakdown repair work order, and the block diagram " repairing command centre " in breakdown repair flow chart is arranged to processed state; Then according to " the accepting unit " in breakdown repair work order, fault ticket is sent to corresponding repairing center, and in breakdown repair flow chart, this unit is arranged to process state;
Step 3.2.5, repairing center person on duty receives repairing task by described repairing teams and groups workbench emulation module, inputs time of received orders, expatriate personnel and sends information of vehicles, generating complete breakdown repair work order, be subsequently sent to distribution network failure and rob dispatching module;
Step 3.2.6, distribution network failure is robbed dispatching module and is preserved breakdown repair work order information, the block diagram accepting unit is arranged to processed state, is arranged to process state by " scene rush to repair " block diagram in breakdown repair flow chart; Meanwhile, send " process simulation work order class " interactive information, work order state is sent to other module.
Further,
Described step 4 specifically includes:
Step 4.1, controller switching equipment scene simulation module receives " process simulation work order class " interactive information, if work order state is " in-situ processing ", then controller switching equipment scene simulation module is arranged to " operable " state;
Step 4.2, controller switching equipment scene simulation module receives the input operation of repair personnel, simulated field operation and check operation, and is sent to other module with " execute-in-place class " and " site inspection class " and processes;
Step 4.3, after execute-in-place process terminates, work order state is arranged to " in-situ processing terminates " state by controller switching equipment scene simulation module, then sends " on-the-spot task status class " interactive information.
Further,
Described step 5 specifically includes:
Step 5.1, distribution network failure is robbed dispatching module and is received " on-the-spot task status class ", and " site examining and repairing " block diagram in breakdown repair flow chart is arranged to processed state, is arranged to process state by " repairing feedback " block diagram;
Step 5.2, repairing teams and groups are input repairing information on repairing teams and groups workbench emulation module, including the time of advent, fault type, failure cause, the position of fault and result, distribution network failure is robbed the above-mentioned input information of dispatching module reception and is inserted breakdown repair work order, " repairing feedback " block diagram in breakdown repair flow chart is arranged to processed state, " request restores electricity " block diagram is arranged to process state;
Step 5.3, by rushing to repair command table emulation module, breakdown repair command centre person on duty confirms that scene rush to repair completes, breakdown repair work order storage is put on record, then work order state is arranged to " request restores electricity ", and send " process simulation work order class " interactive information.
Further,
Described step 6 specifically includes:
Step 6.1, described power distribution network traffic control platform emulation module receives " process simulation work order class " interactive information, if work order state is " request restores electricity ", then duty is arranged to " operable " state;
Step 6.2, power distribution network traffic control platform emulation module receives the input operation of dispatcher, and operation simulation operation and inspection operate, and is sent to other module processes with " scheduling operation class " and " scheduling checks class ";
Step 6.3, after operation process terminates, work order state is arranged to " restore electricity end " state by power distribution network traffic control platform emulation module, then sends " scheduler task state class " interactive information;
Step 6.4, distribution network failure repairing process simulation module receives " scheduler task state class " interactive information, " request restores electricity " block diagram in breakdown repair flow chart is arranged to processed state, terminates the repairing process simulation of current failure.
Have employed the distribution network failure of technique scheme repairing process simulation and its implementation compared with prior art, the present invention at least has following three aspect advantages:
(1) with distribution network failure, power distribution network emulation being rushed to repair process simulation to combine, it is achieved distribution network failure repairing whole process simulation, meet power distribution network production run practical situation, breakdown repair process is more true, and result of training is better;
(2) power distribution network emulation and distribution network failure repairing process simulation are achieved, it is possible to carrying out polygonal color Combined anti-accident maneuver for distribution dispatcher, repairing commanding, repairing teams and groups etc., the range of application of analogue system is wider;
(3) architectural framework that power distribution network emulation module is separate with distribution network failure repairing emulation module is adopted, architectural framework is more flexible, flexible configuration software module can be needed according to what train, it is achieved the emulation training application of difference in functionality, use convenient.
Accompanying drawing explanation
Fig. 1 is the system architecture diagram of distribution network failure repairing process simulation;
Fig. 2 be distribution network failure repairing process simulation realize flow process;
Fig. 3 is breakdown repair flow chart.
Detailed description of the invention
The framework of the distribution network failure repairing process simulation of the present invention is as it is shown in figure 1, be described in detail system composition below in conjunction with Fig. 1.
Distribution network failure repairing process simulation includes distribution network failure repairing process simulation module, controller switching equipment scene simulation module, power distribution network traffic control platform emulation module, power distribution network emulation module, repairing command table emulation module, repairing teams and groups' workbench emulation module and communication service module, wherein said controller switching equipment scene simulation module, by communication service module and described distribution network failure repairing process simulation module is attached and information is mutual for power distribution network traffic control platform emulation module and power distribution network emulation module, described repairing command table emulation module be connected respectively with described repairing teams and groups workbench emulation module described distribution network failure repairing process simulation module and with its two-way communication.
Controller switching equipment scene simulation module adopts virtual reality technology simulation controller switching equipment Run-time scenario, the running status of three-dimensional reconstruction controller switching equipment, supports controller switching equipment scene rush to repair training on operation;
The man machine interface of power distribution network traffic control platform emulation module simulation electrical power distribution automatization system and management instrument, provide the training function of prison dish, normal operating, accident treatment for power distribution network dispatcher;
Power distribution network emulation module realizes the modeling and simulating of power distribution network, provides power distribution network operation data for whole analogue system;
Distribution network failure repairing process simulation module collection management distribution network failure information, generates breakdown repair flow process, simulated failure repairing process;
The working interface of repairing command table emulation module simulation repairing command set, provides virtual working environment for repairing commanding;
Repairing teams and groups workbench Simulation Interface realizes task reception, work order is filled in, send the training function such as work, repairing reply, and for repairing, teams and groups provide virtual work environment.
Communication service module achieves the communication bus based on High Level Architecture standard, it is provided that the functions such as Simulation Application management, information issue, information subscribing, data distribution.
Controller switching equipment scene simulation module, power distribution network traffic control platform emulation module, power distribution network emulation module, distribution network failure repairing process simulation module is attached mutual with information by communication service module, it is achieved the synthetic operation of modules.
Below in conjunction with accompanying drawing 2, that describes that distribution network failure rushed to repair process by the analogue system that have employed above-mentioned framework in detail realizes flow process.
Step 1: emulation module is registered to communication service module, comprises the following steps:
1.1 power distribution network emulation modules are registered Apply Names, distributing interaction class to communication service module, are ordered interactive class.
(1) power distribution network emulation module is called Apply Names with the module name of oneself, calls High Level Architecture codes and standards interface joinFederationExecution () and registers to communication service module.
Typical registration is accomplished by
RTI::RTIambassadorrtiAmb;
PW_FederateAmbassadorg_PWFedAmb;
RtiAmb.joinFederationExecution ((constchar*) " analogue system ", " distribution emulation module ", &g_PWFedAmb);
Wherein " analogue system " it is the title of analogue system, " distribution emulation module " it is the register name of current block, g_PWFedAmb is the communication handle obtained after Module registers.
(2) power distribution network emulation module calls High Level Architecture codes and standards interface getInteractionClassHandle () and publishInteractionClass () establishment and distributing interaction class.
The interactive class that power distribution network emulation module is issued is as shown in Table 1.
Table one
Class name |
Attribute |
Distribution Network Failure class |
Fault type, plant stand title, device name, abort situation, nature of trouble |
Distribution remote measurement class |
Remote measurement type, telemetry byte number, telemetry |
Distribution remote signalling class |
Remote signalling type, time, plant stand title, device name, state, menace level, action description |
Distribution displacement class |
Device type, plant stand title, device name, state |
What typical case's interactive class was issued is accomplished by
G_Ipwfb1=rtiAmb.getInteractionClassHandle (" pwfb1 ");
G_Ipwfb1Para=rtiAmb.getParameterHandle (" databuf ", g_Ipwfb1);
RtiAmb.publishInteractionClass (g_Ipwfb1);
Wherein g_Ipwfb1 is interactive class handle, and g_Ipwfb1Para is the handle of interactive class attribute, and databuf is the Property Name of interactive class.
(3) power distribution network emulation module calls High Level Architecture codes and standards interface getInteractionClassHandle () and subscribeInteractionClassWithRegion () establishment and orders interactive class.
The interactive class that power distribution network emulation module is ordered is as shown in Table 2.
Table two
What typical case's interactive class was ordered is accomplished by
G_Ipwfb1=rtiAmb.getInteractionClassHandle (" pwfb1 ");
G_Ipwfb1Para=rtiAmb.getParameterHandle (" databuf ", g_Ipwfb1);
RtiAmb.subscribeInteractionClass (g_Ipwfb1);
Wherein g_Ipwfb1 is interactive class handle, and g_Ipwfb1Para is the handle of interactive class attribute, and databuf is the Property Name of interactive class.
1.2 similarly, power distribution network traffic control platform emulation module registration Apply Names, distributing interaction class, order interactive class.
The interactive class that power distribution network traffic control platform emulation module is issued is as shown in Table 3.
Table three:
Class name |
Attribute |
Scheduling operation class |
Action type, plant stand title, electric pressure, device name, phase place, desired value |
Scheduling checks class |
Inspect-type, inspection result description, phase place, currency |
Scheduler task state class |
Work order number, work order state, plant stand title, task names, task description |
The interactive class that power distribution network traffic control platform emulation module is ordered is as shown in Table 4.
Table four:
1.3 similarly, controller switching equipment scene simulation Module registers Apply Names, distributing interaction class, order interactive class.
The interactive class that controller switching equipment scene simulation module is issued is as shown in Table 5.
Table five
Class name |
Attribute |
Execute-in-place class |
Action type, plant stand title, electric pressure, device name, phase place, desired value |
Site inspection class |
Inspect-type, inspection result description, phase place, currency |
On-the-spot task status class |
Work order number, work order state, plant stand title, task names, task description |
The interactive class that power distribution network traffic control platform emulation module is ordered is as shown in Table 6.
Table six:
1.4 similarly, distribution network failure repairing process simulation Module registers Apply Names, distributing interaction class, order interactive class.
The interactive class that distribution network failure repairing process simulation module is issued is as shown in Table 7.
Table seven:
Class name |
Attribute |
Process simulation work order class |
Work order number, work order state, plant stand title, task names, task description |
The interactive class that distribution network failure repairing process simulation module is ordered is as shown in Table 8.
Table eight:
Step 2: power distribution network emulation module simulation distribution network failure, issues simulation calculation information and fault message, processes step as follows:
2.1 power distribution network emulation module moulds call High Level Architecture codes and standards interface receiveInteraction () and receive the interactive information of the interactive class ordered;
The following typical case's realization being to receive interactive information:
If (theInteraction==g_Ipwfb1)
{ unsignedchartargetData [XHInteractionPacketMax];
RTI::ULonglength;
For (unsignedintp=0; P < theParams.size (); P++)
{ if (theParams.getHandle (p)==g_Ipwfb1)
{ theParams.getValue (p, (BYTE*) targetData, length); ?
2.2 power distribution network emulation module moulds process interactive information, change equipment state, recalculate distribution power flow, produce the data such as remote measurement, remote signalling, displacement, and simulation power distribution network runs.
The information such as fault, remote measurement, remote signalling, displacement are packed by 2.3 power distribution network emulation module moulds according to Distribution Network Failure class, distribution remote measurement class, distribution remote signalling class, distribution displacement class, then call High Level Architecture codes and standards interface sendInteractionWithRegion () and send interactive information.
The following typical case's realization being to send interactive information:
Chartagbuf []=" bag title ";
RTI::ParameterHandleValuePairSet*params=NULL;
Params=RTI::ParameterSetFactory::create (1);
Params-> add (g_Ipwfb1, (BYTE*) data, size);
RTIfedTimeLookahead (gdbLookAHead);
RtiAmb.queryLookahead (Lookahead);
rtiAmb.sendInteraction(g_Ipwfb1,*params,CurrentTime+gdbRealStep,tagbuf)。
Step 3: distribution network failure repairing resume module simulation calculation information and fault message, simulation generates repairing work order, sends repairing work order event, processes step as follows:
3.1 distribution network failures are robbed dispatching module and are received power distribution network simulation calculation information by the distribution remote measurement class ordered, distribution remote signalling class, distribution displacement class, and storage, to data base, robs the display of dispatching module for distribution network failure.
3.2 distribution network failures are robbed dispatching module and are received fault message by the Distribution Network Failure class ordered, and process according to the following step:
(1) fault message is stored in data base, and fault message is shown to repairing command table emulation module;
(2) repairing command table emulation module generates breakdown repair flow chart according to fault message, and " the repairing command centre " in flow chart is shown as processing state.
Fig. 3 is the flow chart of the breakdown repair of the present invention. Each block diagram of flow chart represents one and processes step, there are three kinds of states: processed, can not process, process, processed step can represent with black font gray background, not treatable step can represent by grey font, and the step processed can represent with black font frame is highlighted.
(3) repairing command table emulation module receives the input information of command centre person on duty, including handler, handling time, accepts the information such as content, order unit, order people, is sent to distribution network failure and robs dispatching module;
(4) distribution network failure is robbed dispatching module and is generated breakdown repair work order, and " the repairing command centre " in breakdown repair flow chart is arranged to processed state; Then according to " the accepting unit " in breakdown repair work order, fault ticket is sent to corresponding repairing center, and in breakdown repair flow chart, this unit is arranged to process state.
(5) repairing center person on duty receives repairing task by rushing to repair teams and groups' workbench emulation module, inputs time of received orders, expatriate personnel, sends the information such as vehicle, generates complete breakdown repair work order, be subsequently sent to distribution network failure and rob dispatching module;
(6) distribution network failure is robbed dispatching module and is preserved breakdown repair work order information, the block diagram accepting unit is arranged to processed state, is arranged to process state by " scene rush to repair " block diagram in breakdown repair flow chart; Meanwhile, will repairing process status interactive information by " process simulation work order class ".
Step 4: controller switching equipment scene simulation module simulation execute-in-place processes, sends operation and processes event, process step as follows:
(1) controller switching equipment scene simulation module receives " process simulation work order class " interactive information, if work order state is " in-situ processing ", then controller switching equipment scene simulation module is arranged to " operable " state;
(2) controller switching equipment scene simulation module receives the input operation of repair personnel, simulated field operation and check operation, and is sent to other module with " execute-in-place class " and " site inspection class " and processes;
(3) after execute-in-place process terminates, work order state is arranged to " in-situ processing terminates " state by controller switching equipment scene simulation module, then sends " on-the-spot task status class " interactive information.
Step 5: distribution network failure repairing module simulation repairing work order replys processing procedure, processes step as follows:
(1) distribution network failure is robbed dispatching module and is received " on-the-spot task status class ", and " site examining and repairing " block diagram in breakdown repair flow chart is arranged to processed state, is arranged to process state by " repairing feedback " block diagram;
(2) repairing teams and groups input repairing information on repairing teams and groups workbench emulation module, including the time of advent, fault type, failure cause, the position of fault, result etc., distribution network failure is robbed the above-mentioned input information of dispatching module reception and is inserted breakdown repair work order, " repairing feedback " block diagram in breakdown repair flow chart is arranged to processed state, " request restores electricity " block diagram is arranged to process state;
(3) by rushing to repair command table emulation module, breakdown repair command centre person on duty confirms that scene rush to repair completes, breakdown repair work order storage is put on record, then work order state is arranged to " request restores electricity ", and sends " process simulation work order class " interactive information.
Step 6: power distribution network traffic control platform emulation module simulates the operation that restores electricity, processes step as follows:
(1) power distribution network traffic control platform emulation module receives " process simulation work order class " interactive information, if work order state is " request restores electricity ", then duty is arranged to " operable " state;
(2) power distribution network traffic control platform emulation module receives the input operation of dispatcher, and operation simulation operation and inspection operate, and is sent to other module processes with " scheduling operation class " and " scheduling checks class ";
(3) after operation process terminates, work order state is arranged to " restore electricity end " state by power distribution network traffic control platform emulation module, then sends " scheduler task state class " interactive information.
(4) distribution network failure repairing process simulation module receives " scheduler task state class " interactive information, and " request restores electricity " block diagram in breakdown repair flow chart is arranged to processed state, terminates the repairing process simulation of current failure.
Embodiment described above only have expressed embodiments of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention. It should be pointed out that, for the person of ordinary skill of the art, without departing from the inventive concept of the premise, it is also possible to making some deformation and improvement, these broadly fall into protection scope of the present invention. Therefore, the protection domain of patent of the present invention should be as the criterion with claims.