Message treatment method between a kind of power scheduling training system and core application thereof
Technical field
The present invention relates to Automation of Electric Systems scheduling field, be specifically related to the management of each core application of production system in training system and coordination approach.
Background technology
Along with the continuous propelling that intelligent grid is built, deepening constantly of person property's intensive management, intelligent power grid technology back-up system and related system development, former management and running training system DTS can not meet the demand of dispatcher training completely.Its reason has: training system with each core application being integrated with production system, but does not also realize unified in training clock, and what each core application still adopted is machine clock, inconsistent with training clock; Each core application has just accomplished the operation in training system, cannot realize the unified management of training system to it, so each core application also cannot be consistent in step; Each core application does not realize the unified management mechanism of data interaction, process in training system, more cannot realize sharing between emulation platform and each core application in core business data.
In order to solve the problem, have at present about the coordination processing method of each core application in training system.Its main method is that the mode that manually arranges makes respectively to be applied in clock and data encasement aspect is consistent, thus realizes training system in the unification of different operation phase each core application in process step.But, the Coordinating Bureau of each core application in training system is limited to manually-operated prerequisite, complex operation step, does not possess very strong practicality, and manual operation is one-way data transfer, the operation with closed ring of core application in training system and unified management pattern can not be formed.
Summary of the invention
The present invention propose in training system between core application the management of message and disposal route practical, there is extremely strong dirigibility and feasibility, effectively can improve the integrated and management level of each core application in training system.
For achieving the above object, the technical solution used in the present invention is:
A kind of power scheduling training system, comprises core application, core application message sink and sends engine, messaging bus, emulation platform message sink and send the core calculations engine of engine and emulation platform.
Core application is connected with messaging bus by core application message sink and transmission engine; The core calculations engine of emulation platform is connected with messaging bus by emulation platform message sink and transmission engine;
Core application comprises Automatic Generation Control (AGC) application, operation plan application, comprehensive intelligent alarm application, network analysis (PAS) application, automatism voltage control (AVC) application and in-service monitoring (SCADA) application;
The core calculations engine of emulation platform comprises the unified control of training clock engine, training system operational management engine, message instruction handling engines, Load flow calculation engine and Protection simulation engine;
Between the core application that the core calculations engine of emulation platform and scheduling training system are disposed by emulation platform message sink and send engine, messaging bus, core application message sink and send that engine implementation training platform clock is unified, the control of the operational management of core application in training system and core application and alarm command process.
Training platform clock is unified specifically to be comprised the following steps,
(1-1) train the unified engine that controls of clock and read initial mode, enter teaching notes and make the adjusting stage; Wherein, initial mode comprises the initial mode of Historic preservation and real-time initial mode; What the initial mode of Historic preservation read is electrical network Historic Section, and real-time initial mode reads real-time section;
(1-2) train clock unification and control engine according to the initial mode generation training starting clock read, if reading is Historic Section, then train the preservation moment that starting clock is Historic Section; If what read is real-time section, then training starting clock is machine clock, i.e. chronometer time;
(1-3) user is according to Simulated training needs, amendment training starting clock, and confirms that training starting clock has been revised;
(1-4) train the unified engine that controls of clock and detect that training starting clock has been revised, training starting clock is sent to emulation platform message sink in the mode of clock information message and sends engine, clock information message is sent to core application message sink by messaging bus and sends engine, clock information message is sent to core application by core application message sink and transmission engine, each core application is carried out each core application and is prepared accordingly and evaluation work after receiving the clock information message of training initial clock;
(1-5), after training system operational management engine detects that each core application has completed preparation and evaluation work all, training system enters training stage; In training process, the unified engine that controls of training clock is according to initial training clock, foundation and the current training clock of simulation step length cycle calculations, and current training clock is sent to core application in the mode of clock information by emulation platform message sink and transmission engine, messaging bus, core application message sink and transmission engine, core application calculates progress according to the current training Clock management received.
The operational management of core application in training system comprises the following steps,
(2-1) training system operational management engine accepts changes running status instruction to training system; The running status of training system comprises teaching notes production phase, training stage and exits the stage; Changing the input of running status Dictating user, is the set condition of training system running status;
As system enters training stage by the teaching notes production phase, be sent to each core application with the message of operational management message;
(2-2) training system operational management engine running status is changed instruction with the form of operational management message packet send to emulation platform message sink and send engine, be sent to core application message sink by messaging bus and send engine, core application receives core application message sink and sends the operational management message packet of engine transmission, parsing operation administrative messag message, and the running status of Content Management core application according to operational management message packet.The operational management message instruction received as certain application enters training instruction, and this application will be automatically set as running status, and carry out the work of the aspects such as corresponding initialization calculating parameter; When training instruction is exited in the operational management message instruction received, this application will be automatically set as exit status, and stop relevant core calculations program.
(2-3) training system operational management engine cycle detects core application and whether completes command operating, and after all core application all complete, training system running status is changed to user's set condition by training system operational management engine.
Control and the alarm command process of core application comprise the following steps,
(3-1), after training system enters the operation phase, core application receives operational management message packet, and core application enters running status simultaneously.
(3-2) in training process, the operation information of teacher student, accident information and warning information are sent to core application by emulation platform message sink and transmission engine, messaging bus, core application message sink and transmission engine by message instruction handling engines;
(3-3) operation information, accident information and the warning information that send of core application receiving step (3-2), realizes the function of corresponding core application; Comprehensive intelligent alarm application, line monitor that application receives the remote signalling message of relay protection signal message and switch changed position, according to the size of current electric grid trend, navigate to faulty equipment, are shown faulty equipment positioning result in visual mode;
Automatic Generation Control application, operation plan application, network analysis (PAS) application, automatism voltage control (AVC) application are according to the flow data of current electric grid and electrical network planning data, calculate the adjustable strategies for current electric grid, send to Load flow calculation engine in the mode of regulating command message.
(3-4) Load flow calculation engine cycle receives adjustment, the control class message of core application transmission, resolves rear and carries out simulation operations by command request, carrying out Load flow calculation, and upgrade flow data after simulation operations terminates.
To sum up, the management of message and disposal route between core application in training system, the type for message management is different, is divided into 3 classes:
1, the clock of training platform is unified: each core application in training system, as stable state supervision, Automatic Generation Control, automatism voltage control, operation plan, comprehensive intelligent alarm etc., all adopts training system clock, but not machine clock.In training process, the training initial time that clock calculation device is specified according to user calculates, calculates current training clock, and training clock is sent to each core application in training system in the mode of message.Each core application in training system calculates or co-ordination after receiving training clock accordingly.
2, the operational management of core application in training system: training system is in the different operation phase, as exited training stage, teaching notes production phase, training and carry out stage and Training Evaluation stage, in the mode of training system operational management message, emulation platform notifies that each core application carries out the operation preliminary work of being correlated with.
3, the instruction process such as control alarm of core application: in training process, the instruction message of the control that each core application calculates and sends or alarm, and undertaken unifying to coordinate and process by emulation platform.
Based on power scheduling training system of the present invention, the corresponding message treatment method provided between a kind of power scheduling training system core application of the present invention.
A message treatment method between power scheduling training system core application, comprises that training platform clock is unified, the control of the operational management of core application in training system and core application and alarm command process.
Training platform clock is unified specifically to be comprised the following steps,
(1-1) train the unified engine that controls of clock and read initial mode, enter teaching notes and make the adjusting stage; Wherein, initial mode comprises the initial mode of Historic preservation and real-time initial mode; What the initial mode of Historic preservation read is electrical network Historic Section, and real-time initial mode reads real-time section;
(1-2) train clock unification and control engine according to the initial mode generation training starting clock read, if reading is Historic Section, then train the preservation moment that starting clock is this section; If what read is real-time section, then training starting clock is machine clock, i.e. chronometer time;
(1-3) user is according to Simulated training needs, amendment training starting clock, and confirms that training starting clock has been revised;
(1-4) train the unified engine that controls of clock and detect that training starting clock has been revised, training starting clock is sent to emulation platform message sink in the mode of clock information message and sends engine, clock information is sent to core application message sink by messaging bus and sends engine, clock information message is sent to core application by core application message sink and transmission engine, each core application is carried out each core application and is prepared accordingly and evaluation work after receiving the clock information message of training initial clock;
(1-5), after training system operational management engine detects that each core application has completed preparation and evaluation work all, training system enters training stage; In training process, the unified engine that controls of training clock is according to initial training clock, according to the current training clock of simulation step length cycle calculations, and current training clock is sent to core application in the mode of clock information message by emulation platform message sink and transmission engine, messaging bus, core application message sink and transmission engine, core application calculates progress according to the current training Clock management received.
The operational management of core application in training system comprises the following steps,
(2-1) training system operational management engine accepts changes running status instruction to training system; The running status of training system comprises teaching notes production phase, training stage and exits the stage;
As system enters training stage by the teaching notes production phase, be sent to each core application with the message of operational management message;
(2-2) training system operational management engine running status is changed instruction with the form of operational management message packet send to emulation platform message sink and send engine, be sent to core application message sink by messaging bus and send engine, core application receives core application message sink and sends the operational management message packet of engine transmission, parsing operation administrative messag message, and the running status of Content Management core application according to operational management message packet.The operational management message instruction received as certain application enters training stage instruction, and this application will be automatically set as running status, and carry out the work of the aspects such as corresponding initialization calculating parameter; When training instruction is exited in the operational management message instruction received, this application will be automatically set as exit status, and stop relevant core calculations program;
(2-3) training system operational management engine cycle detects core application and whether completes command operating, and after all core application all complete, training system running status is changed to setting value by training system operational management engine.
Control and the alarm command process of core application comprise the following steps,
(3-1), after training system enters the operation phase, core application receives operational management message packet, and core application enters running status simultaneously.
(3-2) in training process, the operation information of teacher student, accident information and warning information are sent to core application by emulation platform message sink and transmission engine, messaging bus, core application message sink and transmission engine by message instruction handling engines;
(3-3) operation information, accident information and the warning information that send of core application receiving step (3-2), realizes the function of corresponding core application; Comprehensive intelligent alarm application, line monitor that application receives the remote signalling message of relay protection signal message and switch changed position, according to the size of current electric grid trend, navigate to faulty equipment, are shown faulty equipment positioning result in visual mode;
Automatic Generation Control application, operation plan application, network analysis (PAS) application, automatism voltage control (AVC) application are according to the flow data of current electric grid and electrical network planning data, calculate the adjustable strategies for current electric grid, send to Load flow calculation engine in the mode of regulating command message.
(3-4) Load flow calculation engine cycle receives adjustment, the control class message of core application transmission, resolves rear and carries out simulation operations by command request, carrying out Load flow calculation, and upgrade flow data after simulation operations terminates.
Compared with prior art, the present invention includes following beneficial effect:
(1), the present invention is by the message management in training system between all kinds of simulation engine and core application and process, achieve the operation with closed ring of core application in training system and unified management pattern, realize each core application simulated environment and applied environment integrated in training system, practical, there is extremely strong dirigibility and feasibility, better promote authenticity, validity that training system uses.
(2), train clock aspect and unify configuration management by the unified engine implementation that controls of training clock, keep the training clock synchronous of all application of core application, the unified engine that controls of training clock is according to initial training clock, according to the current training clock of simulation step length cycle calculations, core application calculates progress according to the current training Clock management received, the training clock synchronous of all core application, calculates progress synchronous, simulated environment can be kept consistent with applied environment.
(3), training system operational management engine of the present invention is according to the running status of the Content Management core application of operational management message packet, whether cycle detection core application completes command operating, realize the unified management of the operation in training system, so each core application is consistent in step, better promote authenticity that training system uses, effectively.
(4), the control of core application of the present invention and alarm command process Load flow calculation engine cycle receive adjustment that core application sends, control class message, resolve rear and carry out simulation operations by command request, carry out Load flow calculation after simulation operations terminates, and upgrade flow data.Each core application does not realize the unified management mechanism of data interaction, process in training system, realizes sharing between emulation platform and each core application in core business data, realizes the closed-loop control of core application.
Accompanying drawing explanation
The full application deployment structural drawing of Fig. 1 power scheduling of the present invention training system;
The clock unified flow figure of Fig. 2 power scheduling training system of the present invention;
Fig. 3 core application of the present invention operational management process flow diagram in training system;
The control that in Fig. 4 training system of the present invention, core application sends, the processing flow chart of alarm command.
Embodiment
For ease of understanding the present invention, below set accompanying drawing is set forth.
First the scheduling application distribution of training system and the data interaction structure between core application and emulation platform to be described shown in Fig. 1.
A kind of power scheduling training system, is characterized in that, comprises core application, core application message sink and sends engine, messaging bus, emulation platform message sink and send the core calculations engine of engine and emulation platform;
Core application is connected with messaging bus by core application message sink and transmission engine; The core calculations engine of emulation platform is connected with messaging bus by emulation platform message sink and transmission engine;
Core application comprises Automatic Generation Control (AGC) application, operation plan application, comprehensive intelligent alarm application, network analysis (PAS) application, automatism voltage control (AVC) application and in-service monitoring (SCADA) application;
The core calculations engine of emulation platform comprises the unified control of training clock engine, training system operational management engine, message instruction handling engines, Load flow calculation engine and Protection simulation engine;
Between the core application that the core calculations engine of emulation platform and scheduling training system are disposed by core application message sink and send engine, messaging bus, emulation platform message sink and send that engine implementation training platform clock is unified, the control of the operational management of core application in training system and core application and alarm command process.
The core application of the core application that scheduling training system is disposed and production system is consistent, and comprises Automatic Generation Control (AGC), operation plan, comprehensive intelligent alarm, network analysis (PAS), automatism voltage control (AVC) and on-line operation and monitors (SCADA).The data bus that each core application passes through independently core application message sink and transmission engine and training system realizes interconnecting.
The core calculations engine of emulation platform; as trained clock calculation engine, training system unified management engine, message instruction handling engines, Load flow calculation engine and Protection simulation engine, being sent by independently emulation platform message and realizing interconnecting with the data bus of receiving interface and training system.
Based on above-mentioned core application, data interaction pattern between emulation platform and training system data bus, then achieve the data such as steering order, clock information, training operational management information between the core application that the core calculations engine of emulation platform and scheduling training system are disposed mutually to transmit, namely achieve emulation platform to control the overall progress of core application, state, also achieve the process of the data such as control, alarm that emulation platform sends for core application.
For the implementation method that Simulated training platform clock is unified, be described in detail shown in the clock unified flow figure of Fig. 2 training platform.
Training system enters between training stage, first will carry out the making of teaching notes, and teaching notes make training contentss such as comprising in the selection of section, adjustment and training process equipment failure, and user needs according to the training of oneself starting clock setting training stage simultaneously.
After user selects teaching notes to enter training, based on the starting clock that training clock calculation engine is preserved by teaching notes, cycle carries out the calculating of clock, and by result of calculation, namely current training clock, utilizes training platform message to send engine in the mode of clock information message and is sent to training system messaging bus.Core application message sink engine receives network message in training system messaging bus, is clock information message, and is write in each core application by the clock in message after resolving.Each core application is according to current training clock the calculating progress drawn oneself up and the information display etc. of being correlated with.
Concrete, as shown in Figure 2, training platform clock is unified specifically to be comprised the following steps,
(1-1) train the unified engine that controls of clock and read initial mode, enter teaching notes and make the adjusting stage; Wherein, initial mode comprises the initial mode of Historic preservation and real-time initial mode;
(1-2) train clock unification and control engine according to the initial mode generation training starting clock read, if reading is Historic Section, then train the preservation moment that starting clock is this section; If what read is real-time section, then training starting clock is machine clock, i.e. chronometer time.
(1-3) user is according to Simulated training needs, amendment training starting clock, and confirms that training starting clock has been revised.
(1-4) train the unified engine that controls of clock and detect that training starting clock has been revised, training starting clock is sent to emulation platform message sink in the mode of clock information message and sends engine, clock information is sent to core application message sink by messaging bus and sends engine, clock information is sent to core application by core application message sink and transmission engine, each core application is carried out each core application and is prepared accordingly and evaluation work after receiving training initial clock message packet;
(1-5), after training system operational management engine detects that each core application has completed preparation and evaluation work all, training system enters training stage; In training process, the unified engine that controls of training clock is according to initial training clock, foundation and the current training clock of simulation step length cycle calculations, and current training clock is sent to core application in the mode of clock information by emulation platform message sink and transmission engine, messaging bus, core application message sink and transmission engine, core application calculates progress according to the current training Clock management received.
As shown in Figure 3, the operational management of core application in training system comprises the following steps,
(2-1) training system operational management engine accepts changes running status instruction to training system; The running status of training system comprises teaching notes production phase, training stage and exits the stage;
As system enters training stage by the teaching notes production phase, be sent to each core application with the message of operational management message.
(2-2) training system operational management engine running status is changed instruction with the form of operational management message packet send to emulation platform message sink and send engine, be sent to core application message sink by messaging bus and send engine, core application receives core application message sink and sends the operational management message packet of engine transmission, parsing operation administrative messag message, and the running status of Content Management core application according to operational management message packet.The operational management message instruction received as certain application enters training instruction, and this application will be automatically set as running status, and carry out the work of the aspects such as corresponding initialization calculating parameter; When training instruction is exited in the operational management message instruction received, this application will be automatically set as exit status, and stop relevant core calculations program.
(2-3) training system operational management engine cycle detects core application and whether completes command operating, and after all core application all complete, training system running status is changed to setting value by training system operational management engine.
The present embodiment, for the implementation method of the operational management of core application in training system, is described in detail shown in operational management process flow diagram in training system with Fig. 3 core application.
For realizing being consistent in operation step between Simulated training and core application, namely Simulated training and each core application must enter initial phase, training stage or stage out of service simultaneously, need emulation platform to send progress monitoring instruction to each core application.After each core application receives instruction message, carry out the data encasement of being correlated with on the one hand, change the running status of oneself on the other hand according to command request.
Here, we are changed to by " shut down condition " " init state/teaching notes make state " for Training Simulation System, and the coordination flow process of Simulated training and core application is described.
First, user arranges Simulated training running status, and it is sent to training system messaging bus in the mode of message by emulation platform message transmission engine.
Secondly, each core application receives training operational management message packet by core application message sink engine in training system messaging bus, the running status of change oneself after resolving, is about to " shut down condition " and changes into " initialization standby condition ", carry out the data encasement of being correlated with simultaneously.Such as, after Automatic Generation Control application receives instruction, first in history library, read the data messages such as the control strategy of corresponding training time, and then the core calculations process of oneself is started, finally this application is set to " initialization standby condition ", and " being ready to complete " information is sent in training system messaging bus in the mode of message.
Again, after emulation platform receives " being ready to complete " instruction message of each application transmission in training system messaging bus, the standby condition of this application of Lookup protocol is " completing " state.
Finally, emulation platform (default time section is 30 seconds) circulation receipt message judge whether all core application are all ready to complete in official hour, if be all ready to complete, then the running status of emulation platform will be automatically set as " being ready to complete state ".If each core application does not all complete preparation in official hour, then provide information and can select to continue to wait for.
As shown in Figure 4, control and the alarm command process of core application comprise the following steps,
(3-1) after training system enters the operation phase, core application receives operational management message packet, and core application enters running status simultaneously, and all application of core application enter running status simultaneously;
(3-2) in training process, the operation information of teacher student, accident information and warning information are sent to core application by emulation platform message sink and transmission engine, messaging bus, core application message sink and transmission engine by message instruction handling engines;
(3-3) operation information, accident information and the warning information that send of core application receiving step (3-2), realizes the function of corresponding core application; Comprehensive intelligent alarm application, line monitor that application receives the remote signalling message of relay protection signal message and switch changed position, according to the size of current electric grid trend, navigate to faulty equipment, are shown faulty equipment positioning result in visual mode;
Automatic Generation Control application, operation plan application, network analysis (PAS) application, automatism voltage control (AVC) application are according to the flow data of current electric grid and electrical network planning data, calculate the adjustable strategies for current electric grid, send to Load flow calculation engine in the mode of regulating command message.
(3-4) Load flow calculation engine cycle receives adjustment, the control class message of core application transmission, resolves rear and carries out simulation operations by command request, carrying out Load flow calculation, and upgrade flow data after simulation operations terminates.
For the disposal route of the instruction such as control, alarm that core application sends, be described in detail shown in the processing flow chart of the instruction such as control, alarm sent with core application in Fig. 4 training system.
Training stage is entered in Training Simulation System, each core application reads real-time flow data, emulation secondary singal information, remote measurement will believe that the information such as change carry out the core calculations of oneself, and provide corresponding adjustable strategies to make operation of power networks within the scope of safe and reasonable, as Automatic Generation Control, automatism voltage control and operation plan etc.In order to each core application realizes operation with closed ring in training system, the adjustable strategies that each core application calculates transmits in the mode of data message (operational management message packet), emulation platform receives the data message that each core application sends, and resolves rear and carries out automatic operation by the command request of this application.
Here, we operate to example with Automatic Generation Control in training system, illustrate that Simulated training platform and the message of core application in metric data and director data circulate and disposal route.
First; by the requirement of training teaching notes; assuming that training system there occurs equipment failure sometime in stable operation; now Protection simulation engine starts at once; calculate and start the protective device and switchgear that need action, and guard signal information and switch changed position information are sent in training system messaging bus in the mode of signal message and remote signalling change message respectively.
Secondly, after Power flow simulation engine detects that power network topology there occurs change, carry out Load flow calculation at once, and result of calculation is write in the database of training system.
Again, Automatic Generation Control application (AGC) utilizes core application message sink engine accepts to the signal message in training system messaging bus and remote signalling change message, and the change of power network topology and trend detected, now Automatic Generation Control applies start-up simulation at once, the ACE calculated is write training system database, and the adjustable strategies of generator is sent to training system messaging bus in the mode of Generation Control message.
Finally, after emulation platform message sink engine accepts to Generation Control message, resolve and automatically carry out the adjustment of generator output by the requirement of instruction.Now, the change of generator output starts Load flow calculation engine again, and after above-mentioned steps is carried out in circulation, electrical network has got back to again a stable operating point after the adjustment of several times.
Above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.