Summary of the invention
The object of the invention is to overcome power distribution network data scale huge, distribution network failure inverting adopts holographic inversion can occupy more memory source, the problem taking a long time, and cannot playback feeder fault process the technological deficiency of overall process according to dispatch automated system accident inversion mode, provide the one can adaptive vehicle trouble code interpretation method.
For achieving the above object, the technical solution used in the present invention is: a kind of power distribution network accident overall process inversion method take feeder line contact group as unit is provided, and its process is:
Step a, the historical models of fault feeder contact group in read failure data, the metric data that loads inverting zero hour forms the real-time storehouse of the inverting state section take feeder line contact group as unit;
Step b, the history of accident process and dynamic data in read failure data;
Step c, the alarm event to the accident process obtaining in step b and accident treatment process event sort according to sequencing, formation accident overall process list of thing;
Steps d, loads fault message summary, and initialization the first pointer and the second pointer, points to and treats inverting event and the event stage for the treatment of inverting respectively;
Step e, from sequential inversion, single step invertion with by selecting at least one to carry out inverting three kinds of inverting modes of event procedure inverting;
Step f, inverting finishes.
In described step a and step b, described fault data is power distribution network while breaking down, and every data of accident treatment, are saved as binary file.
Described fault data is stored on historic data server, take fault contact group and the fault moment binary file different as unit is stored as.
Described metric data when described fault data comprises fault, the historical models of described fault contact group and history and the dynamic data of described accident process; The history of described accident process and dynamic data comprise described fault message summary, protection and warning information, fault detect information, fault location result, fault isolation schemes and execution result, fault recovery scheme and execution result, metric data change information.
Described in described step e, the detailed process of sequential inversion is:
Step e11, judges whether the first pointer exceedes inverting event scope, goes to step f if exceed, and finishes inverting; Otherwise go to step e12, continue inverting;
Step e12, calls alarm event interface driver by treating that inverting event reads in the alarm meter of inverting state, shows this event, and carry out phonic warning in alarm window;
Step e13, from historical dynamic data base, read the feeder line contact group profile data that the moment occurs this event, be loaded into the real-time storehouse of inverting state, in feeder line winding diagram or feeder line communication chart, show the power distribution network running status in this moment, fault section is carried out to corresponding location mark;
Step e14, next treats inverting event the first pointed, returns to step e11.
Described in described step e, the detailed process of single step invertion is:
Step e21, obtains the inverting event for the treatment of, and all time of origins in inverting list of thing are put into inverting event sets early than the event for the treatment of inverting event;
Step e22, according to inverting event sets renewal inverting state alarm meter and in real time storehouse;
Step e23, calls alarm event interface driver by treating that inverting event reads in the alarm meter of inverting state, shows this event, and carry out phonic warning in alarm window;
Step e24, from historical dynamic data base, read the feeder line contact group profile data that the moment occurs this event, be loaded into the real-time storehouse of inverting state, in feeder line winding diagram or feeder line communication chart, show the power distribution network running status in this moment, fault section is carried out to corresponding location mark;
Step e25, the first pointer points to next according to actual conditions and treats inverting event;
Step e26, judges whether to finish inverting, goes to step f, otherwise go to step e21 if finish.
Described in described step e, be that described power distribution network accident overall process is divided into the fault warning stage by event procedure inverting, fault location stage, fault isolation stage and fault recovery stage, each stage independently carried out to inverting.
Describedly by the detailed process of event procedure inverting be:
Step e31, obtains the stage of inverting event and treats the inverting event stage;
Step e32, according to the stage of inverting event, obtains inverting event sets, according to treating that the inverting event stage obtains treating inverting event sets;
Step e33, judges whether the first pointer exceedes to treat inverting event sets scope, goes to step e37, otherwise go to step e34 if exceed;
Step e34, calls alarm event interface driver by treating that inverting event reads in the alarm meter of inverting state, shows this event, and carry out phonic warning in alarm window;
Step e35, from historical dynamic data base, read the feeder line contact group profile data that the moment occurs this event, be loaded into the real-time storehouse of inverting state, in feeder line winding diagram or feeder line communication chart, show the power distribution network running status in this moment, fault section is carried out to corresponding location mark;
Step e36, next treats inverting event the first pointed, returns to step e33;
Step e37, the second pointer points to next according to actual conditions and treats the inverting event stage;
Step e38, judges whether to finish inverting, goes to step f, otherwise go to step e31 if finish.
In described sequential inversion, described single step invertion or described process of pressing event procedure inverting, call SCADA history library interface driver event and enter history library, and Automatically invoked alarm demonstration and two existing functions of phonic warning.
In described sequential inversion, described single step invertion or described process of pressing event procedure inverting, the multiple feeder line groups that break down are carried out to inverting one by one.
Beneficial effect of the present invention is compared with the prior art: a kind of power distribution network accident overall process inversion method take feeder line contact group as unit is provided, make the inverting of power distribution network accident few at the memory source occupying, the time of cost is short time, overall process that can also playback accident treatment; Realize the multiplexing of existing SCADA function and feeder automation function; Can carry out single step invertion, in more detail each event of analysis of failure processing; Can, by event procedure inverting, reduce the inverting time, can judge rapidly and study and judge fault treating procedure.
Embodiment
Below in conjunction with accompanying drawing, technical characterictic and the advantage with other above-mentioned to the present invention are described in more detail.
Described power distribution network accident is distribution network failure self-healing processing.
The scope of fault feeder contact group is guilty culprit feeder line and the feeder line that has with it communication relationship.
Refer to shown in Fig. 1 its flow chart that is a kind of power distribution network accident overall process inversion method take feeder line contact group as unit of the present invention; Wherein, the flow process of power distribution network accident overall process inversion method is:
Step a, the historical electricity distribution network model of read failure feeder line contact group, the metric data that loads inverting zero hour forms the real-time storehouse of the inverting state section take feeder line contact group as unit.
Initial section metric data when fault data comprises fault; fault contact group model; the history of fault self-recovery processing procedure and dynamic data (comprising: fault message summary; protection and warning information; fault detect information, fault location result, fault isolation schemes and execution result; fault recovery scheme and execution result, metric data change information).The number of using in this step is a part for fault data.
In the time breaking down, self-healing handling procedure is preserved binary file of these data formations.Fault data is stored on historic data server, take fault contact group and fault moment as unit storage, is eachly saved as an independently file.
When read failure data, according to feeder line group and fault moment, select corresponding fault data file, then from corresponding fault data file, read corresponding fault data as required.
Step b, reads history and the dynamic data of accident process; Comprise: fault message summary, protection and warning information, fault detect information, fault location result, fault isolation schemes and execution result, fault recovery scheme and execution result, metric data change information.
Step c, the alarm event to the accident process obtaining in step b and accident treatment process event sort according to sequencing, formation accident overall process list of thing.
Steps d, loads fault message summary, and initialization the first pointer and the second pointer, points to and treats inverting event and the event stage for the treatment of inverting respectively.
Described the first pointer, for treating inverting event pointer, points to the inverting event for the treatment of; Described the second pointer, for treating inverting event stage pointer, points to the event stage for the treatment of inverting.
Step e, from sequential inversion, single step invertion with by selecting at least one to carry out inverting three kinds of inverting modes of event procedure inverting;
Will be according to feeder line group and corresponding fault moment when inverting, select corresponding fault data file to carry out inverting, in the time that multiple feeder line groups break down simultaneously, be to carry out one by one inverting.
As shown in Figure 2, its flow chart that is power distribution network accident overall process sequential inversion of the present invention; In refutation process, call SCADA history library interface driver event and enter history library, and the existing function such as Automatically invoked alarm demonstration, phonic warning, in feeder line winding diagram or feeder line communication chart, show the power distribution network running status in corresponding moment and the location of fault section mark, realize the multiplexing of existing SCADA function and feeder automation function, so both just there were SCADA function and feeder automation function, saved again the taking of system resource, accelerated inversion speed.
Sequential inversion is that fault is finished by event, complete inverting to occur from the beginning to the end from occurring at first self-healing control processing, and the detailed process of described sequential inversion is:
Step e11, judges whether the first pointer exceedes inverting event scope, goes to step f if exceed, and finishes inverting; Otherwise go to step e12, continue inverting.
Described inverting event scope refers to the scope of the inverting event of the corresponding fault moment of the feeder line group of the first pointed, if the inverting event for the treatment of of pointed not in the scope of described inverting event, is that the first pointer exceedes inverting event scope.In described inverting event, each treats that inverting event arranges according to time sequencing, if inverting complete last after inverting event, next treats inverting event the first pointed, now the first pointer exceedes inverting event scope, need to go to step f, finishes inverting.
Step e12, calls alarm event interface driver by treating that inverting event reads in the alarm meter of inverting state, shows this event, and carry out phonic warning in alarm window.
Described phonic warning is the phonic warning carrying out when fault occurs in order to reappear.
Step e13, from historical dynamic data base, read the feeder line contact group profile data that the moment occurs this event, be loaded into the real-time storehouse of inverting state, in feeder line winding diagram or feeder line communication chart, show the power distribution network running status in this moment, fault section is carried out to corresponding location mark.
Step e14, next treats inverting event the first pointed, returns to step e11.
As shown in Figure 3, its flow chart that is power distribution network accident overall process single step invertion of the present invention; In refutation process, call SCADA history library interface driver event and enter history library, and the existing function such as Automatically invoked alarm demonstration, phonic warning, in feeder line winding diagram or feeder line communication chart, show the power distribution network running status in corresponding moment and the location of fault section mark, realize the multiplexing of existing SCADA function and feeder automation function, so both just there were SCADA function and feeder automation function, saved again the taking of system resource, accelerated inversion speed.
Single step invertion is that each step of accident process is carried out to independent inverting, and each step in accident treatment can be carried out detailed analysis by the overall process of so at length understanding accident, is convenient to follow-up various operations.
The detailed process of described single step invertion is:
Step e21, obtains the inverting event for the treatment of, and all time of origins in inverting list of thing are put into inverting event sets early than the event for the treatment of inverting event.
Describedly treat that inverting event is the inverting event for the treatment of of the corresponding fault moment of a certain feeder line group of wanting inverting, all time of origins in inverting list of thing are considered as to inverting event early than the event for the treatment of inverting event, put into inverting event sets.
Step e22, according to inverting event sets renewal inverting state alarm meter and in real time storehouse.
Step e23, calls alarm event interface driver by treating that inverting event reads in the alarm meter of inverting state, shows this event, and carry out phonic warning in alarm window.
Described phonic warning is the phonic warning carrying out when fault occurs in order to reappear.
Step e24, from historical dynamic data base, read the feeder line contact group profile data that the moment occurs this event, be loaded into the real-time storehouse of inverting state, in feeder line winding diagram or feeder line communication chart, show the power distribution network running status in this moment, fault section is carried out to corresponding location mark.
Step e25, the first pointer points to next according to actual conditions and treats inverting event.
Step e26, judges whether to finish inverting, goes to step f, otherwise go to step e21 if finish.
As shown in Figure 4, it presses the flow chart of event procedure inverting for power distribution network accident overall process of the present invention; In refutation process, call SCADA history library interface driver event and enter history library, and the existing function such as Automatically invoked alarm demonstration, phonic warning, in feeder line winding diagram or feeder line communication chart, show the power distribution network running status in corresponding moment and the location of fault section mark, realize the multiplexing of existing SCADA function and feeder automation function, so both just there were SCADA function and feeder automation function, saved again the taking of system resource, accelerated inversion speed.
Sequential inversion is that fault is finished by event, complete inverting to occur from the beginning to the end from occurring at first self-healing control processing, because fault treating procedure is relevant to troubleshooting pattern, especially may be long while adopting man-machine interactively mode, possible more than 30 minutes, therefore need to carry out inverting for some stage, whether correctly study and judge fault treating procedure.
And be that accident process is divided into (the fault warning stage in multiple stages by event procedure, fault location stage, fault isolation stage, fault recovery stage), each stage is independently carried out inverting, has so just reduced the inverting time, and whether failure judgement processing procedure is correct rapidly.
Describedly by the detailed process of event procedure inverting be:
Step e31, obtains the stage of inverting event and treats the inverting event stage.
Accident process is divided into the fault warning stage, fault location stage, fault isolation stage, fault recovery stage, is in the light of actual conditions divided into the stage of inverting event and treats the inverting event stage.
Step e32, according to the stage of inverting event, obtains inverting event sets, according to treating that the inverting event stage obtains treating inverting event sets.
Step e33, judges whether the first pointer exceedes to treat inverting event sets scope, goes to step 37 if exceed; Otherwise go to step e34.
Described inverting event sets scope refers to the scope for the treatment of inverting event sets of the corresponding fault moment of the feeder line group of the first pointed, if the inverting event for the treatment of of pointed not in the described scope for the treatment of inverting event sets, is that the first pointer exceedes inverting event sets scope.
Step e34, calls alarm event interface driver by treating that inverting event reads in the alarm meter of inverting state, shows this event, and carry out phonic warning in alarm window.
Described phonic warning is the phonic warning carrying out when fault occurs in order to reappear.
Step e35, from historical dynamic data base, read the feeder line contact group profile data that the moment occurs this event, be loaded into the real-time storehouse of inverting state, in feeder line winding diagram or feeder line communication chart, show the power distribution network running status in this moment, fault section is carried out to corresponding location mark.
Step e36, next treats inverting event the first pointed, returns to step e33.
Step e37, the second pointer points to next according to actual conditions and treats the inverting event stage.
Step e38, judges whether to finish inverting, goes to step f, otherwise go to step e31 if finish.
Step f, inverting finishes.
Whole refutation process is carried out inverting take the data of a fault feeder group as basis, like this in carrying out overall process inverting, because the scope of inverting is little, make memory source that the inverting of power distribution network accident occupies still less, and the time of cost is shorter.Multiple feeder line groups break down, inverting one by one when inverting.
Further describe technical scheme of the present invention by three embodiment below.
Embodiment mono-:
Step a, the historical electricity distribution network model of read failure feeder line contact group, the metric data that loads inverting zero hour forms the real-time storehouse of the inverting state section take feeder line contact group as unit.
Initial section metric data when fault data comprises fault; fault contact group model; the history of fault self-recovery processing procedure and dynamic data (comprising: fault message summary; protection and warning information; fault detect information, fault location result, fault isolation schemes and execution result; fault recovery scheme and execution result, metric data change information).The number of using in this step is a part for fault data.
In the time breaking down, self-healing handling procedure is preserved binary file of these data formations.Fault data is stored on historic data server, take fault contact group and fault moment as unit storage, is eachly saved as an independently file.
When read failure data, according to feeder line group and fault moment, select corresponding fault data file, then from corresponding fault data file, read corresponding fault data as required.
Step b, reads history and the dynamic data of accident process; Comprise: fault message summary, protection and warning information, fault detect information, fault location result, fault isolation schemes and execution result, fault recovery scheme and execution result, metric data change information.
Step c, the alarm event to the accident process obtaining in step b and accident treatment process event sort according to sequencing, formation accident overall process list of thing.
Steps d, loads fault message summary, and initialization the first pointer and the second pointer, points to and treats inverting event and the event stage for the treatment of inverting respectively.
Described the first pointer, for treating inverting event pointer, points to the inverting event for the treatment of; Described the second pointer, for treating inverting event stage pointer, points to the event stage for the treatment of inverting.
Step e, carries out sequential inversion to accident.
Step e11, judges whether the first pointer exceedes inverting event scope, goes to step f if exceed, and finishes inverting; Otherwise go to step e12, continue inverting.
Described inverting event scope refers to the inverting event of the corresponding fault moment of the feeder line group of the first pointed, if the inverting event for the treatment of of pointed not in the scope of described inverting event, is that the first pointer exceedes inverting event scope.In described inverting event, each treats that inverting event arranges according to time sequencing, if inverting complete last after inverting event, next treats inverting event the first pointed, now the first pointer exceedes inverting event scope, need to go to step f, finishes inverting.
Step e12, calls alarm event interface driver by treating that inverting event reads in the alarm meter of inverting state, shows this event, and carry out phonic warning in alarm window.
Described phonic warning is the phonic warning carrying out when fault occurs in order to reappear.
Step e13, from historical dynamic data base, read the feeder line contact group profile data that the moment occurs this event, be loaded into the real-time storehouse of inverting state, in feeder line winding diagram or feeder line communication chart, show the power distribution network running status in this moment, fault section is carried out to corresponding location mark.
Step e14, next treats inverting event the first pointed, returns to step e11.
Step f, inverting finishes.
Embodiment bis-:
Step a, the historical electricity distribution network model of read failure feeder line contact group, the metric data that loads inverting zero hour forms the real-time storehouse of the inverting state section take feeder line contact group as unit.
Initial section metric data when fault data comprises fault; fault contact group model; the history of fault self-recovery processing procedure and dynamic data (comprising: fault message summary; protection and warning information; fault detect information, fault location result, fault isolation schemes and execution result; fault recovery scheme and execution result, metric data change information).The number of using in this step is a part for fault data.
In the time breaking down, self-healing handling procedure is preserved binary file of these data formations.Fault data is stored on historic data server, take fault contact group and fault moment as unit storage, is eachly saved as an independently file.
When read failure data, according to feeder line group and fault moment, select corresponding fault data file, then from corresponding fault data file, read corresponding fault data as required.
Step b, reads history and the dynamic data of accident process; Comprise: fault message summary, protection and warning information, fault detect information, fault location result, fault isolation schemes and execution result, fault recovery scheme and execution result, metric data change information.
Step c, the alarm event to the accident process obtaining in step b and accident treatment process event sort according to sequencing, formation accident overall process list of thing.
Steps d, loads fault message summary, and initialization the first pointer and the second pointer, points to and treats inverting event and the event stage for the treatment of inverting respectively.
Described the first pointer, for treating inverting event pointer, points to the inverting event for the treatment of; Described the second pointer, for treating inverting event stage pointer, points to the event stage for the treatment of inverting.
Step e, carries out single step invertion to accident.
Step e21, obtains the inverting event for the treatment of, and all time of origins in inverting list of thing are put into inverting event sets early than the event for the treatment of inverting event.
Describedly treat that inverting event is the inverting event for the treatment of of the corresponding fault moment of a certain feeder line group of wanting inverting, all time of origins in inverting list of thing are considered as to inverting event early than the event for the treatment of inverting event, put into inverting event sets.
Step e22, according to inverting event sets renewal inverting state alarm meter and in real time storehouse.
Step e23, calls alarm event interface driver by treating that inverting event reads in the alarm meter of inverting state, shows this event, and carry out phonic warning in alarm window.
Described phonic warning is the phonic warning carrying out when fault occurs in order to reappear.
Step e24, from historical dynamic data base, read the feeder line contact group profile data that the moment occurs this event, be loaded into the real-time storehouse of inverting state, in feeder line winding diagram or feeder line communication chart, show the power distribution network running status in this moment, fault section is carried out to corresponding location mark.
Step e25, the first pointer points to next according to actual conditions and treats inverting event.
Step e26, judges whether to finish inverting, goes to step f, otherwise go to step e21 if finish.
Step f, inverting finishes.
Embodiment tri-:
Step a, the historical electricity distribution network model of read failure feeder line contact group, the metric data that loads inverting zero hour forms the real-time storehouse of the inverting state section take feeder line contact group as unit.
Initial section metric data when fault data comprises fault; fault contact group model; the history of fault self-recovery processing procedure and dynamic data (comprising: fault message summary; protection and warning information; fault detect information, fault location result, fault isolation schemes and execution result; fault recovery scheme and execution result, metric data change information).The number of using in this step is a part for fault data.
In the time breaking down, self-healing handling procedure is preserved binary file of these data formations.Fault data is stored on historic data server, take fault contact group and fault moment as unit storage, is eachly saved as an independently file.
When read failure data, according to feeder line group and fault moment, select corresponding fault data file, then from corresponding fault data file, read corresponding fault data as required.
Step b, reads history and the dynamic data of accident process; Comprise: fault message summary, protection and warning information, fault detect information, fault location result, fault isolation schemes and execution result, fault recovery scheme and execution result, metric data change information.
Step c, the alarm event to the accident process obtaining in step b and accident treatment process event sort according to sequencing, formation accident overall process list of thing.
Steps d, loads fault message summary, and initialization the first pointer and the second pointer, points to and treats inverting event and the event stage for the treatment of inverting respectively.
Described the first pointer, for treating inverting event pointer, points to the inverting event for the treatment of; Described the second pointer, for treating inverting event stage pointer, points to the event stage for the treatment of inverting.
Step e, carries out inverting to accident by event procedure.
Step e31, obtains the stage of inverting event and treats the inverting event stage.
Accident process is divided into the fault warning stage, fault location stage, fault isolation stage, fault recovery stage, is in the light of actual conditions divided into the stage of inverting event and treats the inverting event stage.
Step e32, according to the stage of inverting event, obtains inverting event sets, according to treating that the inverting event stage obtains treating inverting event sets.
Step e33, judges whether the first pointer exceedes to treat inverting event sets scope, goes to step 37 if exceed; Otherwise go to step e34.
Described inverting event sets scope refers to the scope for the treatment of inverting event sets of the corresponding fault moment of the feeder line group of the first pointed, if the inverting event for the treatment of of pointed not in the described scope for the treatment of inverting event sets, is that the first pointer exceedes inverting event sets scope.
Step e34, calls alarm event interface driver by treating that inverting event reads in the alarm meter of inverting state, shows this event, and carry out phonic warning in alarm window.
Described phonic warning is the phonic warning carrying out when fault occurs in order to reappear.
Step e35, from historical dynamic data base, read the feeder line contact group profile data that the moment occurs this event, be loaded into the real-time storehouse of inverting state, in feeder line winding diagram or feeder line communication chart, show the power distribution network running status in this moment, fault section is carried out to corresponding location mark.
Step e36, next treats inverting event the first pointed, returns to step e33.
Step e37, the second pointer points to next according to actual conditions and treats the inverting event stage.
Step e38, judges whether to finish inverting, goes to step f, otherwise go to step e31 if finish.
Step f, inverting finishes.
The foregoing is only preferred embodiment of the present invention, is only illustrative for the purpose of the present invention, and nonrestrictive.Those skilled in the art is understood, and in the spirit and scope that limit, can carry out many changes to it in the claims in the present invention, revise, and even equivalence, but all will fall within the scope of protection of the present invention.