Background technology
The dynamic process of extensive AC and DC power system generally can be divided three classes according to simulation time length: electromagnetic transient, electromechanical transient process and medium-term and long-term dynamic process.Both are closely connected the back, do not have clear and definite boundary.After electromechanical transient simulation research electric power system was subjected to large disturbance, each synchronous generator kept synchronous operation and carries out the transition to ability new or that return to original steady operation mode.The system dynamic course of long period after medium-term and long-term dynamic simulation research electric power system is disturbed comprises dynamic processes such as automatic generation control, relaying protection, stable control, boiler steam turbine and nuclear reaction system.Digital dynamic simulation in the electric power system has the two function concurrently, and can simulate the dynamic process digital simulation software of actions such as transformer station's operation, relaying protection, stable device for a long time in detail.Shang Ye simulation software lays particular emphasis on the high accuracy simulation analysis calculating of model in the market, as electric power system comprehensive stability program (PSASP), package used for power system analysis (PSD) etc.; And the simulation software that engineering is used lays particular emphasis on scheduling training or relaying protection emulation, operation simulation person's day-to-day operation scheduling operation.These simulation softwares are very powerful in a certain specific application function, but the precision of emulation and authenticity often can not be taken into account.For example, can simulate transformer substation switch action and relaying protection in detail and move the through engineering approaches simulation software of mated condition often computational accuracy is low, simulation result does not meet the actual physics phenomenon; And the simulation software that can carry out the calculating of high accuracy simulation analysis does not have the power network wiring analytic function, can not simulate the action of transformer substation switch disconnecting link in detail, can not simulate the action mated condition of relaying protection etc.
The technical staff knows, and bus is a kind of version of describing the electronic signal transmission circuit, is the set of holding wire, the public passage of transmission signals between subsystem.And in computer system, bus then is the public passage of CPU, internal memory, Input/Output Device transmission information, and each parts of main frame are connected by bus, and external equipment is connected with bus by corresponding interface circuits again.With bussing technique be incorporated into software systems integrated in, be referred to as flexible bus.Flexible bus is the core of handling each assembly intercommunication in the software systems, coordinating and control, and any application program that meets certain standard can obtain the support of flexible bus by adapter in the plug-in unit mode.The communication middleware technology is the basis that flexible bus is realized.The communication middleware technological frame provides an environment, allows to set up between two or more application programs session and mutual swap data, and the residing operating system environment of limits application not.Generally speaking, exchanges data will trigger one or more affairs.Only pay close attention to the exploitation of application function but communication middleware technological frame application programs developer hides the details of procotol, reach the purpose that improves development efficiency.Adopt communication middleware technique construction system flexible bus to be applied in the dispatching automation of electric power systems field at present, effect is very good.
The present application people is by function and inputoutput data structures thereof such as the topological program of all kinds of power system analysis softwares such as the power system network of analysing in depth mature and reliable, relaying protection emulation, electromechanical transient simulation programs; proposed to adopt the communication middleware technology to erect data exchange channel between each program; make and the coordinated operation mutually of these programs can realize the digital dynamic simulation of electric power system.The digital dynamic simulation system of new electric power system that adopts middleware Technology to make up not only possesses the inherent function of original program; and make simulated program can simulate transformer station's main electrical scheme switch motion and relaying protection interoperation situation and automatics action etc. in detail, can further expand the function of original electric system simulation program.
Term related among the application is defined as follows respectively:
The software of communication middleware between application system and systems soft ware, the function that using system software is provided connects different application software, reaches the purpose of resource-sharing and function sharing.
The communication system of the OO managing distributed object dynamic set of flexible bus, the application of use flexible bus object can be by network and other process shared data and functions of operating on the different system.
The application service object is based on the exploitation of communication intermediate technology, the application program of moving under the flexible bus environment with object-oriented feature.
The power system network topology is according to the state of circuit breaker, disconnecting link or equipment the electrical network such as connection such as generator, load, shunt capacitance reactance, power transmission line, transformers to be converted to be used for bus-branch road model that power system analysis is calculated, and the power system analysis function of the electrical subsystem that isolates mutually of identification.
Relaying protection emulation is according to operation of power networks state information and network topology structure information, the power system analysis program of simulation power system relay protection device action behavior.
Real-time data base is to move the main memory database that can satisfy data sharing fast and require in real time, stores to comprise basic electric network element parameter, network configuration, the electric network model of information such as dynamic model parameter.
The various commercial data base management systems of disk database are as oracle, sybase, mysql etc.
After electric power system electromechanical transient simulation research electric power system was subjected to large disturbance, each synchronous generator kept synchronous operation and carries out the transition to ability new or that return to original steady operation mode.
Summary of the invention
The purpose of this invention is to provide a kind of flexible bus technological frame based on communication middleware; realize the coordinated operation of functional modules such as power system network topology, relaying protection emulation, electromechanical transient simulation; expand the application function of traditional simulation program; finish the task of the digital dynamic simulation of electric power system jointly, for aspects such as power system planning, production, research, training provide multiple functional and emulation tool efficiently.
The digital dynamic simulation system of electric power system provided by the invention is achieved through the following technical solutions:
The digital dynamic simulation system of a kind of electric power system, comprise by the interconnected parallel computer group system of Ethernet, Ethernet switch and some servers, be respectively equipped with each application service object and supervisory console in described each server based on the communication middleware interface, described each application service object links to each other with industry ethernet by corresponding communication middleware interface respectively, it is characterized in that this analogue system specifically comprises:
1) parallel computer group system comprises:
Parallel computer group, it comprises each parallel computing node, be used for the emulation power network object is carried out electric power system electromechanical transient parallel artificial, receive and calculate data and the instruction of submitting to real time data server, and warning and the calculation result data returned in the simulation process are extremely calculated and real time data server; With
The supercomputing network switch is used for connecting each computing node of parallel computer group, realizes the high-speed data exchange in the simulation process;
2) calculating and real time data server comprise:
The calculation services object, be used for obtaining electromechanical transient parallel artificial result from each computing node of parallel computer group, and this result is saved among the real-time data base service object, send among the PERCOM peripheral communication service object of system and PERCOM peripheral communication server by configuration requirement simultaneously; With
The real-time data base service object, be used to finish the preparation of initialization emulated data, and be submitted to each computing node of parallel computer group, and in simulation process, finish the exchange of simulation result information and real-time data base, show and the PERCOM peripheral communication service object inquires about for supervisory console;
3) event scheduling server comprises:
The event scheduling service object, being used for converting incident to the calculation services object can the recognition data form and send to the calculation services object and finish the conversion of analogue system incident; Far call calculating is finished the simulation calculation scheduling with the workflow that the simulation step length of copying communication middleware interface realization electrical network on the real time data server is calculated; And in simulation process, carry out speed control and finish computational speed control according to the setting of supervisory console;
4) Ethernet switch is used for connecting portion and is deployed in each application service object based on the communication middleware interface on each server of the digital dynamic simulation system of electric power system;
5) system and PERCOM peripheral communication server comprise:
The system service object is used for user login management, system configuration information service, starts at first in the analogue system start-up course, is called by the respective service object in other application service object start-up courses; With
PERCOM peripheral communication service object is used to receive the simulation result from the calculation services object, and with the exchanges data of external system; And
6) monitor control and disk database server, comprising:
Supervisory console is used for electrical network being monitored by the electrical network of emulation and control, and the state that monitors each application service object in the digital dynamic simulation system of electric power system; With
The disk database service object comprises basic database, calculated data storehouse and result database, is used to realize the storage and the service of communication middleware interface accessing of electrical network basic data, calculated data and result data.
More preferably, the digital dynamic simulation system of this electric power system also comprises: some monitor stations are used for the state that the user checks each application service object of analogue system, and monitor electric network swim section and emulation monitoring amount curve.
Wherein, described calculation services object adopts Socket interface and the parallel computer group communication based on TCP communication protocol.
Wherein, described calculation services object and real-time data base service object are deployed on same calculating and the real time data server, and described real-time data base service object provides the big capacity real-time data base access interface that is used to improve big capacity electric network data read-write efficiency.
Wherein, carry out mutual between described parallel computer group, calculating and real time data server and the event scheduling server as follows: at first, call by the calculating scheduling thread of the communication middleware interface on described calculating and the real time data server for the event scheduling server; The calculation services object of described calculating and real time data server is prepared the required calculation document of parallel artificial calculating and starts script to be submitted on the parallel computer group; Then, the electromechanical transient parallel simulation program that drives on the parallel computer group by communication middleware interface on the described event scheduling server is moved; Communication middleware interface on described calculating and the real time data server comprises network topology analysis interface, relaying protection emulation interface, electromechanical transient parallel artificial interface and automatics service of simulation interface, and the communication middleware interface on the described event scheduling server comprises that calculating scheduling thread dispatches book server interface and calculation services object interface.
Wherein, the operational mode of described system and PERCOM peripheral communication server is: the digital dynamic simulation system of electric power system starts the system service object of described system and PERCOM peripheral communication server earlier, is written into the deployed position at user login information, all Simulation Engineering information and each application service object place; After treating the selected Simulation Engineering of user, described system service object is registered the title of the position of this Simulation Engineering, used real-time data base and disk database, and starts application service object on other server according to the deployed position of each application service object;
Described PERCOM peripheral communication service object obtains the position of calculating and real time data server from described system service object, call the communication middleware interface that calculates with real time data server and obtain simulation result, and send to external system according to standard traffic stipulations establishment tcp data bag; The communication middleware interface of described this calculating and real time data server is a simulation calculation result data interface.
Wherein, the standard traffic stipulations are DL476-92 agreement, IEC104 agreement or IEEE1344 agreement.
Wherein, described external system is SCADA or WAMS system.
Wherein, described event scheduling service object's simulation step length is calculated and is adopted following workflow:
At first, check whether the Simulation Engineering that the user operates at present is the recurrence pattern, and judge whether current emulation constantly equals to recur the zero hour, if, then inquire about this warning and incident that takes place before reaching constantly and issue supervisory console, reappear event and warning message before this recurrence zero hour; Otherwise, handle the ground connection of switch, bus and circuit etc. earlier and cancel ground connection, and switch synchronous operation, reclosing, switch malfunction and tripping incident, convert thereof into switch motion and fault data form that topological analysis, relaying protection emulation and electromechanical transient parallel artificial can be discerned; And then following successively execution: treatment facility is thrown and is moved back, and carries out topological analysis; For being provided with switch press plate, relaying protection emulation throws state, sideband line switching state and the sideband transformer switch state of moving back; Generated output is regulated; Payload is regulated; Transformer tapping information is regulated; Automatics is thrown and is moved back processing; Form the fault collection; Relaying protection emulation; The electromechanical transient parallel artificial; Last output alarm information and result of calculation.
The digital dynamic simulation system of electric power system provided by the invention, system is made up by each application service object and the message flexible bus based on the communication middleware technological development, comprise parallel computer group, the supercomputing network switch, form the high performance parallel computation network, finish the electromechanical transient parallel artificial and calculate; Calculate and real time data server, form by real-time data base service object and calculation services object.The real-time data base service object provides functions such as real-time data access interface service.The calculation services object set has suffered most computational analysis function in the system, as network topology, relaying protection emulation, automatics emulation, electromechanical transient parallel artificial interface etc.; The event scheduling server is disposed the event scheduling service object, is used for the calculating scheduling of analogue system.The scheduling content comprises real-time data base service object, calculation services object etc.; Monitor control and data in magnetic disk server, form by supervisory console and disk database service object.Supervisory console is used for the electrical network modeling, submits the simulation calculation data to, controls the analogue system operation, shows analogue system result etc.The disk service object is used to deposit electrical network basic data, calculated data and result data etc.; System and PERCOM peripheral communication server are made up of system service object and PERCOM peripheral communication service object.The system service object is responsible for process status supervision, the service of engineering configuration information and log-on message management etc.PERCOM peripheral communication service object provides the data communication services between analogue system and the outside other system.Several monitor stations are used to show analogue system service object running status, simulation result etc.
Beneficial effect compared with prior art is; the digital dynamic simulation system of electric power system provided by the invention; can simulate the inner detailed wiring of transformer station changes; can simulate the course of action of relaying protection; can on a high-performance calculation group of planes, carry out the digital dynamic simulation of extensive alternating current-direct current electrical network etc.; its simulation model and computational accuracy and power system analysis synthesizer (PSASP) are equal to; and copying and system extension are better than the power system analysis synthesizer, are applicable to that electric power enterprise carries out electrical network analysis and calculates; electric power system fault reproduces and analyzes; the cascading failure repercussion study; the analog electrical network operation is as electric power scheduling automatization system data source etc.
Embodiment
At present, common electric system simulation analysis software function singleness often solves a certain specific problem in the electric power system both at home and abroad.Finish the conversion of electric power system physics wiring model to bus-branch road computation model as the network topology program, the responsivesubstation on off state changes, the input of equipment with withdraw from etc.; The relaying protection simulated program is finished the simulation of relaying protection action logic, and responsive electricity grid wiring variation or fault and electric parameters change, output switch motion information etc.; Electromechanical transient or medium-term and long-term Dynamic Simulation Software are then finished on the network topology basis time domain of electrical network circuit are found the solution etc.The digital dynamic simulation system of electric power system according to the present invention adopts the communication middleware technology, and the electric power system application program of each dispersion is coordinated mutually by flexible bus, finishes the digital dynamic simulation task of electric power system jointly.In the past single electromechanical transient or medium-term and long-term Dynamic Simulation Software are compared; the digital dynamic simulation system of electric power system according to the present invention in detail the Simulation Substation internal wiring change, can emulation relaying protection and automatics action situation, the electromechanical transient process of emulation electric power system for a long time or medium-term and long-term dynamic process, thereby improved the function of original electric power system application program greatly.
For the digital dynamic simulation requirement of the large scale electric network that satisfies the electric power system enterprise-level, the present invention has considered the measure of some raising simulation efficiencies in system design process, comprise application service object deployment optimization, adopt a high-performance group of planes that the parallel computation service is provided, adopt supercomputing dedicated network etc.Analogue system is deployed in real-time data base service object and calculation services object on the same station server, and provides real-time data base access interface efficiently to the Large Volume Data Fabric Interface, to improve the efficient of system initialization and exchanges data.Big for amount of calculation, calculate high electromechanical transient of frequency or medium-term and long-term dynamic simulation and calculate, use a high performance parallel group of planes, and adopt the supercomputing private network to calculate; The event scheduling service object is responsible for the total system event queue and handles and calculate and coordinate, and to information such as total system issue alarms, is deployed in separately on the event scheduling server; The system service object is responsible for the application that inserts flexible bus system configuration information is provided, login safety management etc., communication overhead is less, PERCOM peripheral communication service object provides data communication between native system and the external system according to domestic and international standard traffic stipulations, communication overhead is bigger, and the two is deployed on system and the PERCOM peripheral communication server; Analogue system is little to the storage demand of historical data, and visiting frequency is less, therefore disk database service object and supervisory console is deployed on the same server.
Fig. 1 is the digital dynamic simulation system hardware system of an electric power system according to the present invention connection diagram, has represented according to the annexation between the various piece of the digital dynamic simulation system of electric power system of the present invention.As shown in Figure 1, the digital dynamic simulation system of electric power system according to the present invention is comprising parallel computer group 10, supercomputing network switch 20, calculating and real-time data base server 30, event scheduling server 40, gigabit ethernet switch 50, system and PERCOM peripheral communication server 60, supervision control and data in magnetic disk server 70 and monitor station 80.
Parallel computer group 10 is born electrical network electromechanical transient parallel artificial tasks, is analogue system core calculations function place.During the analogue system initialization, select simulating scheme by supervisory console and disk database service object interface, information such as definition scheme calculated data, output variable and monitoring amount, computational accuracy and total time, parallel computation subnetting scheme and computational speed control strategy, the real-time data base service object calls disk database service object interface, the storage extracted in real-time data base, is submitted the data to by the calculation services object then and begins parallel artificial on the parallel computer group.
Supercomputing network switch 20 is responsible for parallel computer group 10 the supercomputing dedicated network is provided, and the MPI interface uses during only for parallel computation, to improve the speed of parallel artificial.The supercomputing specialized network can be selected Myrinet network or other supercomputing private network for use.The transmission medium of network adopts optical fiber, can guarantee that the analogue system computational efficiency reaches real-time.
Calculate and real time data server 30 deploy real-time data base service objects and calculation services object.The real-time data base service object provides real-time data base access interface, database importing/export function and data reasonability and conforming verification, and as a data buffer memory container, information such as storage trend section are for other service access with it for the permission user.The calculation services object encapsulation network topology, relaying protection, automatics emulation, with the functions such as interface of parallel group of planes simulation calculation program, the calculation services object also provides the interface of preparation of parallel computation data and incident translation function in addition, be responsible for reading in data from the real-time data base service interface, and convert parallel computation data available file to, comprise subnetting message file, Task Distribution file, calculated data, trend result data, dynamic model Parameter File etc.; Be responsible for will be commonly used electric grid operating incident such as ground connection, tripping, switch motion etc. convert fault that simulated program can discern or equipment bus numbering to and change etc.The communication middleware interface that real-time data base service object and calculation services object provide only is responsible for the logical order of interface function inside, is the set of interfaces that the data that analogue system provides are stored, changed and calculate.
Event scheduling server 40 is deployed with the event scheduling service object, is responsible for the realization of total system emulation logic function, is the event scheduling hinge of analogue system.In the event scheduling service object, defined one and calculated scheduling thread.When the user starts emulation, the event scheduling service object will start the calculating scheduling thread, and according to the single step simulation calculation function among the computational speed recursive call event scheduling service object of supervisory console setting, advance thereby drive emulation.In single step emulation invoked procedure, the event scheduling service object receives the event information from supervisory console, comprise equipment ground operation, switch motion, continue and protect information such as the tripping malfunction is provided with, call the calculation services object interface then and convert thereof into information such as fault that parallel simulation program can discern, the variation of equipment bus numbering and send to parallel computer group; In simulation process, will whether call network topology according to whether having switch motion or equipment to throw to move back decision, according to whether existing the fault decision whether to call relaying protection emulation.Warning and log information that emulation generates will offer supervisory console or monitor station demonstration by the event scheduling service object.
Ethernet switch 50 can adopt gigabit ethernet switch or 100 m ethernet switch etc., is good with gigabit.Ethernet switch 50 is job networks of analogue system, and the data of transmission are by the interface decision of definition such as various application service objects such as calculation services object, event scheduling service object.As system configuration information, emulation output variable and monitoring amount, simulation velocity control information, warning message, event information, fault message, change in topology incident, trend section information or the like.
System and PERCOM peripheral communication server 60 are deployed with system service object and PERCOM peripheral communication service object.The system service object storage current simulating scheme title, real-time information such as library name, data in magnetic disk library name, also stored positional information that application service objects such as calculation services object, Event Service object, disk database service object, real-time data base service object dispose etc.The system service object is except storage system configuration information, deployment function to each service object position of analogue system also is provided, not necessarily leave no choice but be deployed on the server 40 as the event scheduling service object, enough as server 30 resources, also can be deployed on the server 30.PERCOM peripheral communication service object provides the standard traffic stipulations to realize function, and the trend section that the calculation services object is generated, on off state etc. convert the TCP communications packets of standard agreement form to, issue external system, as SCADA system, WAMS system etc.
Monitoring that control and data in magnetic disk server 70 deploy have supervisory console and disk database service object, is analogue system data maintenance and man-machine interface operating terminal.Supervisory console also has the incorporate modeling function of artwork except checking the simulation result in simulation process, be used for the structure of emulation electric network model.Supervisory console can calculate initial trend in addition, and the parallel subnetting program of operation is divided into separate subnet and contacted system with large scale electric network, carries out Task Distribution etc.The disk database service object provides the middleware access interface of disk database, can hide the visit details of different disk Database Systems.
Monitor station 80 is used to monitor the state of emulation electrical network, comprises the demonstration of line chart trend, simulation curve demonstration, alarm indication etc., also can be used for monitoring each application service object activity state of analogue system.Monitor station 80 can not have more than one yet.Monitor that control and the supervisory console in the data in magnetic disk server 70 possess all functions of monitor station, when not having monitor station 80 in this dynamic simulation system, finish state that monitors the emulation electrical network and the function that monitors analogue system service object active state by monitoring control and the supervisory console in the data in magnetic disk server 70, promptly be used for finishing the state that the user checks each application service object of analogue system, and be used to monitor electric network swim section and emulation monitoring amount curve.
Can be deployed on the different calculation servers based on the service object of communication middleware among the present invention or on the different operating system, dispose the technical advantage of flexible bus on the communication middleware technical foundation just under this isomerous environment flexibly.
Fig. 2 is the digital dynamic simulation system software systems of an electric power system according to the present invention interactive structure schematic diagram.Each service object connects by the flexible bus that makes up based on middleware Technology in the whole simulation system.Service object based on middleware can be not limited to a certain operating system in distributed deployment under the isomerous environment, also is not limited to be deployed in a certain specific server.The benefit of bringing thus is can make full use of the application program of developing and reduce the development amount under different platform.
Flexible bus is realized two class interface services based on the communication middleware technique construction among Fig. 2.One class interface service is the remote function calls of customer-oriented request/answer mechanism.The interface parameters of remote function and return value can be original data types, as integer, floating number etc., also can be collection class data such as array, even can not be with any parameter.Therefore they both can be used as data channel, also can be used as control channel.For example the event scheduling service object finds to have power network switch state variation incident when doing calculation control, and to the far call of calculation services object initiation topological analysis, the Returning equipment bus was numbered change information after the calculation services object was finished topological analysis.In the flexible bus technological frame of analogue system, most of interface provides this class service.Another kind of interface service is based on the information broadcast service of subscription/publication mechanism.Each service object of analogue system not only can send message by flexible bus, can also subscribe to own interested message.They needn't be concerned about that the message that it is subscribed to is which service sends, and when the message of its subscription was arranged on the flexible bus, it will receive this message.Each service can not be subjected to not having the harassing and wrecking of subscribe message.The interface function of this class service is not with return value, but function parameters can receive simple data type, also can accept array and set.Information such as the alarm indication in supervisory console or the monitor station, curve supervision all realize by this class interface service.
Calculation services object basic function is made up of topological analysis, electromechanical transient parallel artificial interface, the functions such as protecting emulation, automatics emulation that continues.The network topology analysis has the full mesh topology analytic function and changes the topological analysis function.The full mesh topology analytic function only moves once when simulation initialisation.If in simulation process, have on off state to change or equipment is thrown to move back and waited operation, all can call the topological interface of variation automatically.Electromechanical transient parallel artificial interface is based on the Socket communication interface of TCP between calculation services and parallel computer group, take long type of attachment, guarantee the communication reliability, so in fact the computing function of electromechanical transient parallel artificial realizes on parallel computer group.Relaying protection emulation is by the electric network fault Event triggered; trigger condition is operated automatic judgement by the calculation services object according to topological analysis result and user, relevant service data and guarantor's action logic decision that continues that its output result is returned by electromechanical transient parallel artificial interface.The automatics simulation calculation is responsible for by the electromechanical transient parallel simulation program, and the calculation services object is responsible for the transmission of model parameter.The calculation services object also has a lot of other assistant services, comprises and the preparation of real-time data base service object's information interaction, parallel computation data and submission etc.
The event scheduling service object is made up of functions such as warning processing, event queue, calculation control and emulation outputs.Warning message can be generated by the calculation services object, also can be that event scheduling service itself generates, and a large amount of remote measurement amounts is reported to the police or even the electromechanical transient parallel simulation program generates, and depends on which side the critical parameter of judging alarm generation is stored in.In the easier faster acquisition of electromechanical transient parallel artificial side, this type of warning sends to the calculation services object by parallel computer group by interface as busbar voltage limit value and line current limit value etc.; The event scheduling service object finds that the user is provided with irrational parameter, provides system alarm; The calculation services object is found to continue and is protected emulation and exported switching manipulation, also produces warning message etc.The event scheduling service object compiles all warning messages, sends to supervisory console or monitor station and shows.The event scheduling service object has safeguarded the event queue of several different types, comprise that switching manipulation and equipment are thrown the class incident of moving back, fault is provided with incident, ground connection class of operation, switch press plate class, generation load adjusting class etc., the time step storage according to emulation of these incidents, taking out and convert to the calculation services object in calculation control module as required can the recognition data form.Calculation control module has defined one and has calculated scheduling thread.The computational speed recursive call single step simulation calculation function that this thread is set according to supervisory console advances thereby drive emulation.Illustrate about single step simulation calculation function being defined among description Fig. 3 of the present invention in the event scheduling service object.The emulation output function adopts the information issuing interface of middleware to distribute in network.
Supervisory console is the human-computer interaction interface of analogue system, is made up of functions such as the integrated modeling function of artwork, trend calculating, network division, mark demonstration, alarm indication, curve supervision, process status supervision, list of thing and simulation velocity controls.Wherein the integrated function of artwork realizes the modeling of electric network data, the foundation of initial trend etc.; Network division realizes the parallel computation subnet of large scale electric network is divided; Speed is provided with the control of realization to simulation calculation speed, can so that simulation calculation in real time, be slower than in real time or the Faster Than Real Time operation.
Be example with once complete simulation process below, the specific implementation process of the digital dynamic simulation of electric power system provided by the invention is described.The whole simulation system operation is divided into two big processes: 1) analogue system starts; 2) digital dynamic parallel simulation calculation.Process 1) finishes the structure of flexible bus, and load the basic data of emulation electrical network.Process 2) the trend calculated data and the result data of loading simulating scheme are according to the simulation parameters such as subnetting scheme that the user is provided with, beginning emulation and control, supervision etc. in simulation process.
The analogue system setting up procedure is as follows: 1) start-up system service object, and the Load System configuration parameter comprises deployed position, service name of each service object etc.; 2) start supervisory console, checking user security log-on message is selected Simulation Engineering, and system enters supervisory console master interface.Enter in the control desk master interface process in system, will call disk database service object interface, real-time data base service object interface etc., finish the electrical network basic data imports to real-time data base from disk process according to the Simulation Engineering name; Entered trend job information importing trend calculated data and the result data that system keeps last time according to system simultaneously, and, loaded first automatically and calculate successful trend operation if never moved.In this step, real-time data base service object, disk database service object, calculated data service object, event scheduling service object start in succession and finish, and whether according to the needs decision of communicating by letter with external system starts PERCOM peripheral communication service object.
Digital dynamic parallel simulation calculation step provided by the invention is as follows: 1) supervisory console is finished the electrical network modeling, and forms the initial trend of convergence; In the process of electrical network modeling and calculating trend, will call disk database service object interface and repeatedly read calculated data, and result of calculation will be stored in the database.2) supervisory console is finished the network division; Before dividing network, set bus number error between subnetting number and each subnet, as to 10000 node electrical networks, can be divided into 5 subnets, bus is counted error desirable 20% between net.3) supervisory console is set simulation parameter, as the interval of calculating total time, precision, computational speed, output monitor message, trend section refresh interval etc., definition output variable and monitoring amount etc.; 4) supervisory console carries out Task Distribution, subnet is assigned on the CPU of parallel computer group appointment; 5) click the simulation calculation initialization on the supervisory console, refresh trend operation calculated data and result data in the real-time storehouse with calling disk database service object interface, real-time data base service object interface etc., and import dynamic model parameter, parallel subnetting information, Task Distribution, simulation parameter and wait until in the real-time storehouse; Supervisory console calls event scheduling service object interface the incident of user preset such as switch motion, fault setting, generation load adjusting etc. is sent to the event scheduling service object; Call the calculation services object interface form parallel computer group can with calculation document and start script and upload on the group of planes; Parallel simulation program on the parallel group of planes of calculation services object remote activation is finished simulation initialisation work; 6) in the startup emulation interface of supervisory console rise, start the calculating scheduling thread in the event scheduling service object with incident dispatch service object; Calculate scheduling thread according to the time step take out grid event, call the calculation services object and convert the information such as fault that simulated program can be explained to, and send to a parallel group of planes, beginning electromechanical transient parallel artificial by the dynamic parallel emulation interface; This process describes in detail in accompanying drawing 3 of the present invention; 7) supervisory console is provided with fault, switch motion, disturbance etc. or simulation process is done operations such as time-out, continuation, termination; 8) information such as the monitoring amount in the simulation process, trend section, warning will send to the user according to each supervisory console or monitor station subscription situation, check for user's displaying live view; 10) in the simulation process, PERCOM peripheral communication service object can call the calculation services object interface and obtain the emulation output variable, calls the data message that the disk database service object explains output variable according to electric network data and forms Standards Code, issues the designated external system.
Accompanying drawing 3 is that the present invention is the workflow diagram that simulation step length of event scheduling service object is calculated in the digital dynamic simulation system of electric power system provided by the invention.The recurrence of digital dynamic parallel analogue system refers to the zero hour by the given recurrence of user, system based on last time simulation result simulation status is returned to this moment, the simulation calculation process of remaining from this moment time then.Whether whether accompanying drawing 3 shows following simulation step length calculation procedure: 1. recur: in event scheduling service object single step emulation interface function, at first check and recur; 2. judge that current emulation equals to recur the zero hour constantly, if then 3. inquire about this and reach former warning and incident constantly and issue supervisory console; Otherwise 4. begin the incident conversion process, as the ground connection of switch, bus and circuit with cancel the ground connection incident, convert three-phase shortcircuit earth fault or cancellation fault to; Switch synchronous operation command conversion becomes switch motion etc.And then following successively execution: 5. handle reclosing, as state refresh, tripping etc.; This function is provided with the interface realization by calling calculation services object relaying protection emulation module reclosing state; 6. handle switch malfunction and tripping, this function is provided with switch malfunction and tripping information by calling the calculation services object interface.For full phase malfunction or tripping, convert the on off state change events to, by network change topology routine processes in the calculation services object; Malfunction or tripping information for phase shortage convert network failure in the calculation services object, give parallel group of planes simulation calculation routine processes; 7. treatment facility is thrown and is moved back, and finishes the incident conversion, carries out topological analysis.This function is a parameter with the event sets of finishing collecting among the event scheduling service object, call the variation network topology interface of calculation services object interface, determine current network live state and calculate bus-branch road model, and the electric network fault due to the outgoing event generation; 8. for relaying protection emulation be provided with switch press plate throw move back, sideband line switching, sideband transformer switch state etc.This funcall calculation services object interface is provided with the switch press plate throwing and moves back state, sideband line switching and sideband transformer switch state etc., and is kept in the relaying protection emulation module; 9. generated output is regulated.Call the calculation services object interface generator output adjusting information is set; 10. payload is regulated.Call the calculation services object interface payload adjusting information is set;
Transformer tapping information is regulated.Call the calculation services object interface transformer tapping adjusting information is set;
Automatics is thrown and is moved back.Calling the throwing of calculation services object interface processing automatics moves back.9. 10.
The middle data that generate will be saved in the electromechanical transient parallel artificial calculation procedure by the Socket communication interface notice parallel computer group of TCP.
Form the fault collection.The finishing collecting above-mentioned steps forms fault in the event scheduling service object, and extracts all faults in this moment;
Relaying protection emulation.With this moment fault collection is parameter, calls the relaying protection emulation interface of calculation services object, and output switch motion sequence also deposits in the event queue;
The electromechanical transient parallel artificial.Call the TCPSocket communication interface that is connected with parallel computer group in the calculation services object, transmitting apparatus bus numbering change information and this moment fault message are finished the electromechanical transient parallel artificial in this moment;
Output alarm information and result of calculation etc.Compile the warning message and the result of calculation information that produce in the above step, send to supervisory console or monitor station.
Should be noted that at last: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; in conjunction with the foregoing description the present invention is had been described in detail; those of ordinary skill in the field are to be understood that: those skilled in the art still can make amendment or are equal to replacement the specific embodiment of the present invention, but these modifications or change are all among the claim protection range that application is awaited the reply.