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 long term dynamics process.Both are closely connected afterwards, there is no clear and definite boundary.Electromechanical transient simulation research electric power system is subject to after large interference, and each synchronous generator keeps synchronous operation and is transitioned into ability new or that return to original steady operation mode.The system dynamic course of long period after long term dynamics simulation study electric power system is disturbed, comprises the dynamic processes such as automatic generation control, relaying protection, stable control, boiler steam turbine and nuclear reaction system.Digital dynamic simulation in electric power system has the two function concurrently, and can be for a long time the dynamic process digital simulation software of the action such as imitating substation operation in detail, relaying protection, stability control equipment.The simulation software of business lays particular emphasis on the High Precision Simulation analytical calculation 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 of engineering application lays particular emphasis on scheduling training or Protection simulation, 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, often computational accuracy is low in the through engineering approaches simulation software of imitating substation switch motion and relaying protection action mated condition in detail, and simulation result does not meet actual physics phenomenon; And the simulation software that can carry out High Precision Simulation analytical calculation is without power network wiring analytic function, imitating substation switch tool action in detail, can not simulate the action mated condition of relaying protection etc.
Technical staff knows, and bus is a kind of version of describing electronic signal transmission circuit, is the set of holding wire, the public passage of signal transmission between subsystem.And in computer system, bus is the public passage of CPU, internal memory, Input/Output Device transmission of information, all parts of main frame is connected by bus, and external equipment is connected with bus by corresponding interface circuit again.Bussing technique is incorporated in software system integration, is referred to as flexible bus.Flexible bus is the core of processing each assembly intercommunication, coordination and control in software systems, and any application program that meets certain standard can obtain by adapter the support of flexible bus in plug-in unit mode.Communication middleware technology is the basis that flexible bus is realized.Communication middleware technological frame provides an environment, allows to set up between two or more application programs session swap data mutually, and the residing operating system environment of limits application not.Generally speaking, exchanges data will trigger one or more affairs.Communication middleware technological frame can application programs developer be hidden the details of procotol and is only paid close attention to the exploitation of application function, reaches the object that improves development efficiency.Adopt communication middleware technique construction system flexible bus to be applied in dispatching automation of electric power systems field at present, effect is very good.
Present inventor is by analysing in depth function and the inputoutput data structure thereof such as all kinds of power system analysis softwares such as power system network topology program, Protection simulation, electromechanical transient simulation program of mature and reliable; propose to adopt communication middleware technology to erect the data exchange channel between each program; make the coordinated operation mutually of these programs, can realize the digital dynamic simulation of electric power system.The new all-digital dynamic simulation system of power system that adopts middleware Technology to build not only possesses the inherent function of original program; and make the simulated program switch motion of imitating substation main electrical scheme and Cooperation with Relay action situation and automatics action etc. in detail, can further expand the function of original electric system simulation program.
Term related in the application is defined as follows respectively:
The software of communication middleware between application system and systems soft ware, the function that uses systems soft ware to provide, connects different application software, reaches the object of resource-sharing and function sharing.
The communication system of the OO managing distributed object dynamic set of flexible bus, is used the application of flexible bus object to share data and function by network and other processes that operate in different system.
Application service object is based on the exploitation of communication intermediate technology, the application program with Object-oriented Features of moving under flexible bus environment.
Power system network topology is according to the state of circuit breaker, disconnecting link or equipment, electrical network connections such as generator, load, shunt capacitance reactance, power transmission line, transformer to be converted to and can be used for bus-branch road model that power system analysis is calculated, and the identification power system analysis function of isolated electrical subsystem mutually.
Protection simulation is according to operation of power networks state information and network topology structure information, the power system analysis program of simulation relay protection of power system device action behavior.
Real-time data base is to move the main memory database that can meet fast data sharing and requirement of real time, stores and comprises basic electric network element parameter, network configuration, the electric network model of the information such as dynamic model parameter.
The various commercial data base management systems of disk database, as oracle, sybase, mysql etc.
Electrical-Machanical Transient Simulation of Power System research electric power system is subject to after large interference, and each synchronous generator keeps synchronous operation and is transitioned into ability new or that return to original steady operation mode.
Summary of the invention
The object of this invention is to provide a kind of flexible bus technological frame based on communication middleware; realize the coordinated operation of the functional modules such as power system network topology, Protection simulation, electromechanical transient simulation; expand the application function of traditional simulation program; jointly complete the task of the digital dynamic simulation of electric power system, for the aspects such as power system planning, production, research, training provide multiple functional and efficient emulation tool.
All-digital dynamic simulation system of power system provided by the invention is achieved through the following technical solutions:
A kind of all-digital dynamic simulation system of power system, comprise the parallel computer group system interconnected by Ethernet, Ethernet switch and some servers, in described each server, be respectively equipped with each application service object and supervisory console based on communication middleware interface, described each application service object is connected with industry ethernet by corresponding communication middleware interface respectively, it is characterized in that, this analogue system specifically comprises:
1) parallel computer group system, comprising:
Parallel computer group, it comprises parallel each computing node, for emulation power network object is carried out to electric power system electromechanical transient parallel artificial, receive and calculate data and the instruction submitted to real time data server, and warning and the calculation result data returned in simulation process are extremely calculated and real time data server; With
Supercomputing network switch, for connecting each computing node of parallel computer group, realizes the high-speed data exchange in simulation process;
2) calculating and real time data server, comprising:
Calculation services object, for obtaining electromechanical transient parallel artificial result from each computing node of parallel computer group, and this result is saved in real-time data base service object, send in the PERCOM peripheral communication service object of system and PERCOM peripheral communication server by configuration requirement simultaneously; With
Real-time data base service object, be used for the preparation of initialization emulated data, and be submitted to each computing node of parallel computer group, and in simulation process, complete the exchange of simulation result information and real-time data base, show and PERCOM peripheral communication service object inquires about for supervisory console;
3) event scheduling server, comprising:
Event scheduling service object, for converting event to the data format that calculation services object can identify and sending to calculation services object to complete the conversion of analogue system event; Far call calculating completes simulation calculation scheduling with the workflow that the simulation step length of copying communication middleware Interface realization electrical network on real time data server is calculated; And in simulation process, carry out speed control according to the setting of supervisory console and complete computational speed control;
4) Ethernet switch, is deployed in the each application service object based on communication middleware interface on the each server of all-digital dynamic simulation system of power system for connecting portion;
5) system and PERCOM peripheral communication server, comprising:
System service object for user login management, system configuration information service, starts at first in analogue system start-up course, in other application service object start-up courses, is called by respective service object; With
PERCOM peripheral communication service object, for receiving the simulation result from calculation services object, and with the exchanges data of external system; And
6) monitor and control and disk database server, comprising:
Supervisory console, for electrical network is carried out to monitoring and controlling to simulated electrical network, and monitors the state of each application service object in all-digital dynamic simulation system of power system; With
Disk database service object, comprises basic database, calculated data storehouse and result database, for realizing storage and the service of communication middleware interface accessing of electrical network basic data, calculated data and result data.
More preferably, this all-digital dynamic simulation system of power system also comprises: some monitor stations, and check the state of the each application service object of analogue system for user, 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 real time data server, and described real-time data base service object provides the large capacity real-time data base access interface for improving large capacity electric network data read-write efficiency.
Wherein, between described parallel computer group, calculating and real time data server and event scheduling server, carry out as follows mutual: first, call for the calculating scheduling thread of event scheduling server by the communication middleware interface on described calculating and real time data server; The calculation services object preparation parallel artificial of described calculating and real time data server calculates required calculation document and booting script is submitted on parallel computer group; Then, drive the electromechanical transient parallel simulation program operation on parallel computer group by communication middleware interface on described event scheduling server; Communication middleware interface on described calculating and real time data server comprises network topology analysis interface, Protection simulation interface, electromechanical transient parallel artificial interface and automatics service of simulation interface, and the communication middleware interface on 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: all-digital dynamic simulation system of power system first starts the system service object of described system and PERCOM peripheral communication server, is written into the deployed position at user login information, all Simulation Engineering information and each application service object place; After the selected Simulation Engineering of user, the title of position, used real-time data base and the disk database of described system service object to this Simulation Engineering is registered, and starts the 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 with real time data server from described system service object, call the communication middleware interface calculating 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 simulation result data-interface.
Wherein, 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:
First, check whether the Simulation Engineering that user operates is at present recurrence pattern, and judge whether the current emulation moment equals to recur the zero hour, if, inquire about this moment and the warning and the event that occurred in the past and issue supervisory console, reappearing event and warning message before this recurrence zero hour; Otherwise, first process the ground connection of switch, bus and circuit etc. and cancel ground connection, and switch synchronous operation, reclosing, switch mistake action and rejecting action event, convert thereof into switch motion and fault data form that topological analysis, Protection simulation and electromechanical transient parallel artificial can be identified; And then carry out as follows successively: treatment facility is thrown and moved back, and carries out topological analysis; For arranging switch press plate, Protection simulation throws state, sideband line switching state and the sideband transformer switch state of moving back; Generated output regulates; Payload regulates; Transformer tapping information regulates; Automatics is thrown and is moved back processing; Form fault collection; Protection simulation; Electromechanical transient parallel artificial; Last output alarm information and result of calculation.
All-digital dynamic simulation system of power system provided by the invention, system is built by each application service object and message flexible bus based on communication middleware technological development, comprise parallel computer group, supercomputing network switch, composition high performance parallel computation network, completes electromechanical transient parallel artificial and calculates; Calculate and real time data server, formed by real-time data base service object and calculation services object.Real-time data base service object provides the functions such as real-time data access interface service.Calculation services object set has suffered most computational analysis function in system, as network topology, Protection simulation, automatics emulation, electromechanical transient parallel artificial interface etc.; Event scheduling server, disposes event scheduling service object, for the calculating scheduling of analogue system.Scheduling content comprises real-time data base service object, calculation services object etc.; Monitor and control and data in magnetic disk server, formed by supervisory console and disk database service object.Supervisory console is for power network modeling, submission simulation calculation data, the operation of control analogue system, demonstration analogue system result etc.Disk service object is used for depositing electrical network basic data, calculated data and result data etc.; System and PERCOM peripheral communication server, be made up of system service object and PERCOM peripheral communication service object.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 outside other system.Several monitor stations, for showing analogue system service object running status, simulation result etc.
Beneficial effect is compared with prior art, all-digital dynamic simulation system of power system provided by the invention, can the inner detailed wiring of imitating substation change, 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 Based on Power System Analysis Software Package (PSASP) are equal to, and copying and system extension are better than Based on Power System Analysis Software Package, be applicable to electric power enterprise and carry out electrical network analysis calculating, electric power system fault reproduces and analyzes, cascading failure repercussion study, simulating grid operation is as electric power scheduling automatization system data source etc.
At present, common electric system simulation analysis software function singleness both at home and abroad, often solves a certain specific problem in electric power system.As network topology program completes the conversion of electric power system physics connection mode to bus-branch road computation model, responsivesubstation on off state changes, the input of equipment with exit etc.; Protection simulation program completes the simulation of relaying protection action logic, and responsive electricity grid wiring variation or fault and electric parameters change, output switch action message etc.; Electromechanical transient or long term dynamics simulation software complete and the time domain of electrical network circuit are solved etc. on network topology basis.Adopt communication middleware technology according to all-digital dynamic simulation system of power system of the present invention, the electric power system application program of each dispersion is coordinated mutually by flexible bus, jointly complete the digital dynamic simulation task of electric power system.Single electromechanical transient or long term dynamics simulation software in the past compare; according to all-digital dynamic simulation system of power system of the present invention in detail 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 long term dynamics process, thereby greatly improved the function of original electric power system application program.
In order to meet the digital dynamic simulation requirement of large scale electric network of 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 High Performance Cluster that 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 same station server, and provides efficient real-time data base access interface to Large Volume Data Fabric Interface, to improve the efficiency of system initialization and exchanges data.Large for amount of calculation, calculate high electromechanical transient or the long term dynamics simulation calculation of frequency, use a high performance parallel group of planes, and adopt supercomputing private network to calculate; Event scheduling service object is responsible for total system event queue and processes and calculate and coordinate, and issues the information such as alarm to total system, is deployed in separately on event scheduling server; The application that system service object is responsible for access flexible bus provides system configuration information, login safety management etc., communication overhead is less, PERCOM peripheral communication service object provides the data communication between native system and external system according to national and foreign standards communication protocol, communication overhead is larger, and the two is deployed on system and 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 same server.
Fig. 1 is according to all-digital dynamic simulation system of power system hardware system connection diagram of the present invention, has represented according to the annexation between the various piece of all-digital dynamic simulation system of power system of the present invention.As shown in Figure 1, according to all-digital dynamic simulation system of power system of the present invention, control and data in magnetic disk server 70 and monitor station 80 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.
Parallel computer group 10 is born electrical network electromechanical transient parallel artificial tasks, is analogue system core calculations function place.When analogue system initialization, select simulating scheme by supervisory console and disk database service object interface, the 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, real-time data base service object calls disk database service object interface, the data of extraction are stored in real-time data base, then submit the data to and on parallel computer group, start parallel artificial by calculation services object.
Supercomputing network switch 20 is responsible for parallel computer group 10 supercomputing dedicated network is provided, and MPI interface during only for parallel computation, to improve the speed of parallel artificial.Supercomputing specialized network can be selected Myrinet network or other supercomputing private network.The transmission medium of network adopts optical fiber, can ensure that 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 information such as real-time data base service object provides real-time data base access interface, database importing/export function and data reasonability and conforming verification, allows user to set it as a data caching container, storage trend section, for other service access.Calculation services object encapsulation network topology, relaying protection, automatics emulation, with the function such as the interface of techniques for parallel cluster computing system simulation calculation program, calculation services object also provides the interface of the preparation of parallel computation data and event translation function in addition, be responsible for from real-time data base service interface reading data, and convert parallel computation data available file to, comprise subnetting message file, task allocate file, calculated data, trend result data, dynamic model Parameter File etc.; Be responsible for conventional electric grid operating event to change etc. as ground connection, tripping, switch motion etc. convert fault that simulated program can identify or equipment bus numbering to.The communication middleware interface that real-time data base service object and calculation services object provide is only responsible for the logical order of interface function inside, is a data storage, the conversion that analogue system is provided and the set of interfaces of calculating.
Event scheduling server 40 is deployed with event scheduling service object, is responsible for the realization of total system emulation logic function, is the event scheduling hinge of analogue system.In event scheduling service object, define one and calculated scheduling thread.When user starts emulation, event scheduling service object will start calculating scheduling thread, and according to the single step simulation calculation function in the computational speed recursive call event scheduling service object of supervisory console setting, thereby driving simulation advances.In single step emulation invoked procedure, event scheduling service object receives the event information from supervisory console, comprise the information such as equipment ground operation, switch motion, relay protection tripping malfunction arrange, then call calculation services object interface and convert thereof into the information such as fault, the variation of equipment bus numbering that parallel simulation program can identify 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 fault to determine whether to call Protection simulation.Warning and log information that emulation generates, will offer supervisory console or monitor station shows by event scheduling service object.
Ethernet switch 50 can adopt gigabit ethernet switch or 100 m ethernet switch etc., taking gigabit as good.Ethernet switch 50 is job networks of analogue system, and the data of transmission are determined as the interface of the definition such as calculation services object, event scheduling service object by various application service objects.As system configuration information, simulation data amount and monitoring amount, simulation velocity control information, warning message, event information, fault message, change in topology event, trend section information etc.
System and PERCOM peripheral communication server 60 are deployed with system service object and PERCOM peripheral communication service object.System service object stored current simulating scheme title, the real-time information such as library name, data in magnetic disk library name, also stored positional information that the application service objects such as calculation services object, Event Service object, disk database service object, real-time data base service object dispose etc.System service object is except storage system configuration information, deployment function to each service object position of analogue system is also provided, as event scheduling service object not necessarily leaves no choice but be deployed on server 40, as enough in server 30 resources, also can be deployed on server 30.PERCOM peripheral communication service object provides standard traffic stipulations practical function, and trend section, the on off state etc. that calculation services object is generated converts the TCP communications packets of standard agreement form to, issues external system, as SCADA system, WAMS system etc.
Monitoring to control with data in magnetic disk server 70 deploy has supervisory console and disk database service object, is analogue system data maintenance and man-machine interface operating terminal.Supervisory console, except checking in simulation process simulation result, also has the integrated modeling function of artwork, for the structure of emulation electric network model.Supervisory console can calculate initial trend in addition, and large scale electric network is divided into separate subnet and contacted system by the parallel subnetting program of operation, carries out task distribution etc.Disk database service object provides the middleware access interface of disk database, can hide the access details of different disk Database Systems.
Monitor station 80, for monitoring the state of emulation electrical network, comprises the demonstration of line chart trend, simulation curve demonstration, alarm indication etc., also can be for monitoring each application service object activity state in analogue system.Monitor station 80 can, more than one, can not have yet.Monitor that control and the supervisory console in data in magnetic disk server 70 possess all functions of monitor station, in the time there is no monitor station 80 in this dynamic simulation system, by monitoring that control and the supervisory console in data in magnetic disk server 70 complete the state that monitors emulation electrical network and the function that monitors analogue system service object active state, check the state of the each application service object of analogue system for completing user, and for monitoring electric network swim section and emulation monitoring amount curve.
Service object based on communication middleware in the present invention can be deployed on different calculation servers or in different operating system, disposes flexibly the technical advantage of flexible bus in communication middleware technical foundation just under this isomerous environment.
Fig. 2 is according to all-digital dynamic simulation system of power system software systems interactive structure schematic diagram of the present invention.In whole analogue system, each service object connects by the flexible bus building based on middleware Technology.Service object based on middleware can, in distributed deployment under isomerous environment, be not limited to a certain operating system, is also not limited to be deployed in a certain specific server.The benefit of bringing is thus can make full use of the application program of developing and reduce development amount under different platform.
In Fig. 2, flexible bus, based on communication middleware technique construction, is realized two class interface services.One class interface service is the machine-processed remote function calls of customer-oriented request/answer.The interface parameters of remote function and return value can be original data types, as integer, floating number etc., can be also the 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 event scheduling service object, in the time doing calculating control, finds that there is power network switch state variation event, initiates the far call of topological analysis to calculation services object, and after calculation services object completes topological analysis, Returning equipment bus is numbered change information.In the flexible bus technological frame of analogue system, most of interface provides this class service.Another kind of interface service is the information broadcast service based on subscription/publication mechanism.The 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 in the time having the message of its subscription on flexible bus, it will receive this message.Each service can not be subject to not having the harassing and wrecking of subscribe message.The interface function of this class service is not with return value, but the parameter of function can receive simple data type, also can accept array and set.The information such as alarm indication, curve supervision in supervisory console or monitor station all realizes by this class interface service.
Calculation services object basic function is by function compositions such as topological analysis, electromechanical transient parallel artificial interface, relay protection emulation, automatics emulation.Network topology analysis has full mesh topology analytic function and changes topological analysis function.Full mesh topology analytic function only moves once in the time of simulation initialisation.If have on off state to change or equipment is thrown and the operation such as moved back, all can change topological interface by Automatically invoked in simulation process.Electromechanical transient parallel artificial interface is the Socket communication interface based on TCP between calculation services and parallel computer group, take long type of attachment, ensure communication reliability, therefore in fact the computing function of electromechanical transient parallel artificial realizes on parallel computer group.Protection simulation is by electric network fault Event triggered; trigger condition operates automatic decision by calculation services object according to topological analysis result and user, and relevant service data and relay protection action logic that its Output rusults is returned by electromechanical transient parallel artificial interface determine.Automatics simulation calculation is responsible for by electromechanical transient parallel simulation program, and calculation services object is responsible for the transmission of model parameter.Calculation services object also has a lot of other assistant services, comprises and real-time data base service object's information interaction, preparation and the submission etc. of parallel computation data.
Event scheduling service object is by function compositions such as the processing of reporting to the police, event queue, the outputs of calculating control and simulation.Warning message can be generated by calculation services object, can be also that event scheduling service itself generates, and a large amount of remote measurement amounts is reported to the police or even electromechanical transient parallel simulation program generates, and depends on which side the critical parameter that judges alarm generation is stored in.As busbar voltage limit value and line current limit value etc. more easily obtain sooner in electromechanical transient parallel artificial side, this type of warning sends to calculation services object by parallel computer group by interface; Event scheduling service object finds that user is provided with irrational parameter, provides system alarm; Calculation services object discovery relay protection simulation data switching manipulation, also produce warning message etc.Event scheduling service object compiles all warning messages, sends to supervisory console or monitor station to show.Event scheduling service object has safeguarded several dissimilar event queues, comprise that switching manipulation and equipment are thrown the class event of moving back, fault arranges event, ground connection class of operation, switch press plate class, generation load adjusting class etc., the data format that calculation services object can be identified is taken out as required and converts in the time step storage according to emulation of these events in calculation control module.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, thus driving simulation advances.Being defined in about single step simulation calculation function in event scheduling service object described in Fig. 3 of the present invention and illustrated.Simulation data function adopts the information issuing interface of middleware to distribute in network.
Supervisory console is the human-computer interaction interface of analogue system, cuts apart, marks the function compositions such as demonstration, alarm indication, curve supervision, process status supervision, list of thing and simulation velocity control by the integrated modeling function of artwork, trend calculating, network.Wherein artwork integrated function is realized the modeling of electric network data, the foundation of initial trend etc.; Network is cut apart the parallel computation subnet division realizing large scale electric network; Speed arranges and realizes control to simulation calculation speed, can make simulation calculation in real time, be slower than in real time or faster than real time execution.
Taking once complete simulation process as example, the specific implementation process of the digital dynamic simulation of electric power system provided by the invention is described below.Whole analogue system operation is divided into two large processes: 1) analogue system starts; 2) digital dynamic parallel simulation calculation.Process 1) complete the structure of flexible bus, and load the basic data of emulation electrical network.Process 2) load the simulation parameters such as trend calculated data and the result data of simulating scheme, the subnetting scheme arranging according to user, start emulation control, supervision etc. in simulation process.
Analogue system setting up procedure is as follows: 1) start system service object, Load System configuration parameter, comprises each service object's deployed position, service name etc.; 2) start supervisory console, authentication of users secure log information, selects Simulation Engineering, and system enters the main interface of supervisory console.Enter in the main interface process of control desk in system, will call disk database service object interface, real-time data base service object interface etc. according to Simulation Engineering name, complete electrical network basic data and import to from disk the process of real-time data base; According to system trend job information importing trend calculated data and result data that last time, the system that enters retained, if never moved, first calculates successful trend operation automatic loading simultaneously.In this step, real-time data base service object, disk database service object, calculated data service object, event scheduling service object have started in succession, and whether PERCOM peripheral communication service object determines to start according to needing to communicate by letter with external system.
Digital dynamic parallel simulation calculation step provided by the invention is as follows: 1) supervisory console completes power network modeling, and forms the initial trend of convergence; In the process of power 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 database.2) supervisory console completes network division; Divide before network, set bus number error between subnetting number and each subnet, as to 10000 node electrical networks, can be divided into 5 subnets, between net, bus is counted error desirable 20%.3) supervisory console is set simulation parameter, as calculated interval, the trend section refresh interval etc. of total time, precision, computational speed, output monitor message, 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) on supervisory console, click simulation calculation initialization, refresh trend Activity Calculation data and the result data in real-time storehouse by calling disk database service object interface, real-time data base service object interface etc., and import that dynamic model parameter, parallel subnetting information, task are distributed, simulation parameter is waited until in real-time storehouse; Supervisory console calls event scheduling service object interface the event of user preset is sent to event scheduling service object as switch motion, fault setting, generation load adjusting etc.; Call calculation services object interface form parallel computer group can with calculation document and booting script and upload on a group of planes; Parallel simulation program on calculation services object remote activation techniques for parallel cluster computing system, completes simulation initialisation work; 6) raise the startup emulation interface with event dispatch service object at supervisory console, start the calculating scheduling thread in event scheduling service object; Calculate scheduling thread and take out grid event according to time step, call calculation services object and convert the information such as fault that simulated program can explain to, and send to techniques for parallel cluster computing system by dynamic parallel emulation interface, start electromechanical transient parallel artificial; This process describes in detail in accompanying drawing 3 of the present invention; 7) supervisory console arrange fault, switch motion, disturbance etc. or to simulation process do to suspend, the operation such as continuation, termination; 8) information such as the monitoring amount in simulation process, trend section, warning will send to user according to each supervisory console or monitor station subscription situation, check for user's displaying live view; 10) in simulation process, PERCOM peripheral communication service object can call calculation services object interface and obtain simulation data amount, call the data message that disk database service object explains output variable according to electric network data and forms Standards Code, issue designated external system.
Accompanying drawing 3 is that the present invention is the workflow diagram that in all-digital dynamic simulation system of power system provided by the invention, simulation step length of event scheduling service object is calculated.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 then simulation calculation process of remaining time from this moment.Whether whether accompanying drawing 3 shows following simulation step length calculation procedure: 1. recur: in event scheduling service object single step emulation interface function, first check and recur; 2. judge that the current emulation moment equals to recur the zero hour, if so, 3. inquire about this moment and former warning and event issued supervisory console; Otherwise 4. start event conversion process, as the ground connection of switch, bus and circuit with cancel ground connection event, convert to three-phase shortcircuit earth fault or cancel fault; The order of switch synchronous operation converts switch motion etc. to.And then carry out as follows successively: 5. process reclosing, as state refresh, tripping etc.; This function arranges Interface realization by calling calculation services object Protection simulation module reclosing state; 6. process switch malfunction and tripping, this function arranges switch malfunction and tripping information by calling calculation services object interface.For full phase malfunction or tripping, convert on off state change events to, by network change topology routine processes in calculation services object; For malfunction or the tripping information of phase shortage, in calculation services object, convert network failure to, give techniques for parallel cluster computing system simulation calculation routine processes; 7. treatment facility is thrown and is moved back, and completes event conversion, carries out topological analysis.This function is taking the event sets of finishing collecting in event scheduling service object as parameter, 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 of outgoing event due to occurring; 8. for Protection simulation arrange switch press plate throw move back, sideband line switching, sideband transformer switch state etc.This funcall calculation services object interface arranges switch press plate throwing and moves back state, sideband line switching and sideband transformer switch state etc., and is kept in Protection simulation module; 9. generated output regulates.Call calculation services object interface generator output adjusting information is set; 10. payload regulates.Call calculation services object interface payload adjusting information is set;
transformer tapping information regulates.Call 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 data of middle generation, by the Socket communication interface notice parallel computer group by TCP, are saved in electromechanical transient parallel artificial calculation procedure.
form fault collection.In event scheduling service object, finishing collecting above-mentioned steps forms fault, and extracts all faults in this moment;
protection simulation.Integrate as parameter with this moment fault, call the Protection simulation interface of calculation services object, output switch action sequence also deposits in event queue;
electromechanical transient parallel artificial.Call the TCPSocket communication interface being connected with parallel computer group in calculation services object, transmitting apparatus bus numbering change information and this moment fault message, complete 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 in above step, produce, send to supervisory console or monitor station.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; in conjunction with above-described embodiment, 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 modify or be equal to replacement the specific embodiment of the present invention, but among the claim protection range that these amendments or change are all awaited the reply in application.