CN106532963B - A kind of topology coloring method of five-preventing system figure - Google Patents
A kind of topology coloring method of five-preventing system figure Download PDFInfo
- Publication number
- CN106532963B CN106532963B CN201611226501.7A CN201611226501A CN106532963B CN 106532963 B CN106532963 B CN 106532963B CN 201611226501 A CN201611226501 A CN 201611226501A CN 106532963 B CN106532963 B CN 106532963B
- Authority
- CN
- China
- Prior art keywords
- tie point
- mapped device
- equipment
- abstract model
- mapped
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J13/00—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
- H02J13/00001—Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by the display of information or by user interaction, e.g. supervisory control and data acquisition systems [SCADA] or graphical user interfaces [GUI]
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Power Engineering (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
A kind of topology coloring method of five-preventing system figure, includes the following steps:Five-preventing system figure is converted into abstract model figure, for being matched with master pattern figure;The abstract model figure of five-preventing system is subjected to matching comparison with comprehensive from the master pattern figure on backstage, the mapping table of master pattern figure and abstract model figure is obtained, mapping table includes the equipment and equipment room of master pattern figure and abstract model figure, the correspondence between topological island and tie point;The equipment and conducting wire of original state and the five-preventing system figure operated are coloured respectively according to mapping table.The present invention quickly can obtain whether topological island is charged from comprehensive from backstage, and then the conducting wire of five-preventing system figure is made whether to the coloring of electrification, and in the case that the comprehensive master pattern figure from backstage and five-preventing system figure cannot completely corresponding realizations topology charge coloring.
Description
Technical field
The present invention relates to topology coloring treatment technology more particularly to a kind of methods for realizing five-preventing system figure topology coloring.
Background technology
The comprehensive automation control backstage (referred to as comprehensive from backstage) of electric system is usually using meeting power industry standard
Master pattern figure indicates the connection relation between equipment, and connection relation between entire power grid, such as IEC61970 moulds
Type figure.The telemetering of equipment, remote signalling situation of change can be intuitively observed in order to facilitate administrative staff or dispatcher, it is desirable that five
The topology coloring of electrification, which operates, to be made whether to all devices, conducting wire etc. on anti-system figure.Due to for the comprehensive mould from backstage
The standard of type figure only has specification generally and lacks the specification in terms of details, oneself is indifferent to so as to cause different manufacturers
Equipment (such as PT, stand with become etc.) in master pattern figure without description.When needing artwork to share, five-preventing system figure needs
Topology coloring is carried out according to the comprehensive illustraton of model from backstage, with regard to will appear the equipment in matched problem, such as master pattern figure, leading
How line matches with the equipment of five-preventing system figure, conducting wire, in the case where master pattern figure lacks equipment component, five-preventing system
How figure is made whether all devices the topology coloring operation etc. of electrification.
Invention content
The object of the present invention is to provide a kind of topology coloring method of five-preventing system figure, may be implemented to five-preventing system figure into
The topology electrification coloring of row equipment and conducting wire.
To achieve the goals above, the present invention takes following technical solution:
A kind of topology coloring method of five-preventing system figure, includes the following steps:
S100, five-preventing system figure is converted into abstract model figure, for being matched with master pattern figure;
S200, the abstract model figure of five-preventing system is subjected to matching comparison from the master pattern figure on backstage with comprehensive, is marked
The mapping table of quasi- illustraton of model and abstract model figure, the equipment that mapping table includes master pattern figure and abstract model figure
Correspondence between mapped device, between topological island and tie point;
S300, the equipment and conducting wire of the five-preventing system figure of original state are coloured respectively according to mapping table, it is right
Step S301 is executed when equipment live colours, and execution step S320 when colouring is charged to conducting wire;
S301, an equipment, and equipment remainder in recording equipment queue are taken out from the device queue of master pattern figure
N is measured, an equipment is often taken out, equipment volume residual N subtracts 1;
S302, judge whether N is less than 0, if it is equipment live state coloring is completed, and next step is otherwise executed;
S303, mapped device in the abstract model figure of corresponding five-preventing system is found out in mapping table, and
The equipment is coloured in five-preventing system figure;
S304, coupled tie point is determined according to the mapped device of the corresponding abstract model figure, obtains reflecting with this
The connected tie point queue of jet device;
S305, a tie point is taken out from tie point queue, and records tie point volume residual M in tie point queue, often
A tie point is taken out, tie point volume residual M subtracts 1;
S306, judge whether M is less than 0, if it is return to step S301, otherwise executes next step;
S307, the tie point is determined whether in mapping table, if skipping the tie point, return to step if
S305;If tie point is not in mapping table, according to the electriferous state of mapped device in the abstract model figure to connection
Whether point, which charges, is judged, even then tie point also charges for mapped device electrification, the tie point if mapped device is not charged
It is not charged, execute next step;
S308, the other mapped devices being connected with the tie point are obtained in abstract model figure, obtain and the tie point phase
Local devices even are to row;
S309, a mapped device is taken out from local devices queue, and record local devices volume residual Q, often take out
One mapped device, local devices volume residual Q subtract 1;
S310, judge whether Q is less than 0, if it is return and execute S305, otherwise execute next step;
S311, determine that the mapped device taken out from local devices queue whether in mapping table, if it is returns
Step S309 is returned, is to the mapped device taken out from local devices queue according to the electriferous state of the tie point if being not present
No electrification is judged that even then mapped device charges for tie point electrification, and mapped device is not charged if tie point is not charged, holds
Row is in next step;
S312, determine whether the mapped device taken out from local devices queue has been also connected with other tie points, such as
Otherwise fruit executes next step without then return to step S309;
If S313, the mapped device have been also connected with other tie points, according to the electriferous state of mapped device to other
Whether the mapped device on tie point, which charges, is judged, when the mapped device is not charged, is then connected with other tie points
All mapped devices and its rear end tie point and mapped device are all not charged, return to step S309, when the equipment live
Execute next step;
S314, electrification judgement is carried out according to the division state of mapped device, if mapped device is to divide, with other tie points
Connected all mapped devices and its rear end tie point and mapped device are all not charged, return to step S309;If mapping is set
Standby is to close, then all mapped devices and its rear end tie point and mapped device being connected with other tie points all charge, and return is held
Row step S309;
S320, a topological island is taken out from the topological island queue of master pattern figure, and record topological in topological island queue
Island volume residual K, often takes out a topological island, and topological island volume residual K subtracts 1;
S321, judge whether K is less than 0, if it is conducting wire electriferous state coloring is completed;Otherwise next step is executed;
S322, corresponding with topology island tie point is searched in mapping table, if in mapping table not with
The corresponding tie point in topology island, then return to step S320, if there is connection corresponding with the topology island in mapping table
Point then finds out the conducting wire being connected with the tie point, carries out electrification coloring to conducting wire in five-preventing system figure, is then back to step
S320。
Further, when there is equipment to carry out operation in five-preventing system, the step of being coloured to the equipment that operates, is such as
Under:After the remote signalling information for receiving equipment displacement, step S401 is executed when being coloured to equipment live, is executed when charging coloring to conducting wire
Step S420;
S401, the equipment state operated is changed in master pattern figure according to remote signalling information, and in mapping table
In find mapped device in corresponding abstract model figure, electrification coloring is carried out to the equipment in five-preventing system figure;
S402, coupled tie point is determined according to the mapped device of the corresponding abstract model figure, obtains reflecting with this
The connected tie point queue of jet device;
S403, a tie point is taken out from tie point queue, and records tie point volume residual M ' in tie point queue, often
A tie point is taken out, tie point volume residual M ' subtracts 1;
S404, judge whether M ' is less than 0, if it is equipment displacement coloring is completed, and next step is otherwise executed;
S405, the tie point is determined whether in mapping table, if skipping the tie point, return to step if
S403;If tie point is not in mapping table, according to the electriferous state of mapped device in the abstract model figure to connection
Whether point, which charges, is judged, even then tie point also charges for mapped device electrification, the tie point if mapped device is not charged
It is not charged;
S406, the other mapped devices being connected with the tie point are obtained in abstract model figure, obtain and the tie point phase
Local devices even are to row;
S407, a mapped device is taken out from local devices queue, and record local devices volume residual Q ', often take out
One mapped device, local devices volume residual Q ' subtract 1;
S408, judge whether Q ' is less than 0, if it is return and execute S403, otherwise execute next step;
S409, determine that the mapped device taken out from local devices queue whether in mapping table, if it is returns
Step S407 is returned, is to the mapped device taken out from local devices queue according to the electriferous state of the tie point if being not present
No electrification is judged that even then mapped device charges for tie point electrification, and mapped device is not charged if tie point is not charged;
S410, determine whether mapped device has been also connected with other tie points, if the return to step S407 without if, otherwise
Execute next step;
If S411, the mapped device that should be taken out from local devices queue have been also connected with other tie points, basis is reflected
The electriferous state of jet device judges whether the equipment on other tie points is charged, when the mapped device is not charged, then
All mapped devices and its rear end tie point and mapped device being connected with other tie points are all not charged, return to step
S407 executes next step when the mapped device charges;
S412, electrification coloring is carried out according to the division state of mapped device, if mapped device is to divide, with other tie points
Connected all mapped devices and its rear end tie point and mapped device are all not charged, return to step S407;If mapping is set
Standby is to close, then all mapped devices and its rear end tie point and mapped device being connected with other tie points all charge, and return is held
Row step S407;
S420, the shape for changing the topological island being connected with the equipment operated in master pattern figure according to remote signalling information
State, and the tie point in the abstract model figure of corresponding five-preventing system is found out in mapping table, and according to the topology
The electriferous state on island pair conducting wire being connected with the tie point in five-preventing system colours;
S421, determine that the topology island whether there is in mapping table, if without if topological island displacement coloring complete,
Otherwise next step is executed;
S422, tie point corresponding with the topology island is found according to mapping table, coupled conducting wire is determined, five
Corresponding conducting wire is subjected to electrification coloring in anti-system diagram, topological island displacement coloring is completed.
Further, when five-preventing system figure being converted to abstract model figure, the equipment in five-preventing system figure and abstract model
The mapped device of figure corresponds to, and the intersection point of each conducting wire in five-preventing system figure is defined as the tie point in abstract model figure, five anti-systems
Equipment is connected by conducting wire in system figure, and conducting wire is connected with each other at tie point, then mapped device in transformed abstract model figure
All it is connected with tie point with conducting wire.
Further, when carrying out the matching comparison generation mapping table of equipment room in step S200, standard is obtained first
Device queue in illustraton of model searches each equipment in queue in abstract model figure successively, confirms in abstract mould
It is numbered with the presence or absence of identical mapped device in type figure, if it is by device numbering in master pattern figure and its corresponding abstract
Mapped device number in illustraton of model is saved in mapping table, is set if not finding corresponding mapping in abstract model figure
It is standby then skip the equipment, it does not preserve in the equipment identity to mapping table, but next equipment is continued to search for, until standard
Equipment in the device queue of illustraton of model all traverses lookup.
Further, the matching between the topological island and the tie point of abstract model figure of master pattern figure is carried out in step S200
When comparison generates mapping table, obtain the topological island queue in master pattern figure first, by the topological island of each of queue according to
It is secondary to be matched in abstract model figure, the equipment connected on each topological island is searched in abstract model figure, really
Recognize in abstract model figure and numbered with the presence or absence of identical mapped device, if can not found in abstract model figure identical
Mapped device number, then do not add the topology island in mapping table, continue to match next topology island;If opened up with this
Corresponding mapped device can be found in abstract model figure by flutterring the connected all devices in island, then further confirms that abstract model figure
In mapped device of the same name whether be connected on the same tie point and the tie point is only connected to these mapped devices of the same name, if
It is to remain to tie point ID in topology island ID in master pattern figure and its corresponding abstract model figure in mapping table, it is no
The topology island is not added in mapping table then, continues to match next topological island, until topological island team in master pattern figure
Topological island in row all traverses lookup.
By above technical scheme it is found that the present invention quickly can obtain whether topological island is charged from comprehensive from backstage, in turn
The conducting wire of five-preventing system figure is made whether to the coloring of electrification, and in the comprehensive master pattern figure from backstage and five-preventing system figure
Cannot completely it is corresponding in the case of realize topology electrification coloring, as long as and be based on standard compliant illustraton of model, can be quick
Determine whether the equipment in five-preventing system is charged, it is applied widely to carry out the topology electrification coloring of equipment and conducting wire.
Description of the drawings
It in order to illustrate the embodiments of the present invention more clearly, below will be to required use in embodiment or description of the prior art
Attached drawing do simple introduction, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the flow chart that topology coloring is carried out to the system of original state;
Fig. 2 is the flow chart that topology coloring is carried out to the equipment operated;
Fig. 3 a and Fig. 3 b are the equipment connection diagram of five-preventing system and the abstract model of transformed five-preventing system respectively
Figure;
Fig. 4 a and Fig. 4 b are the mark of the i.e. transformed five-preventing system of schematic diagram of a normal space of five-preventing system respectively
The abstract model figure at quasi- interval;
Fig. 5 makes a living the flow chart of forming apparatus mapping table;
Fig. 6 is the flow chart for generating tie point mapping table.
The specific implementation mode of the present invention is described in more detail below in conjunction with attached drawing.
Specific implementation mode
In order to which above and other objects of the present invention, feature and advantage can be become apparent from, the embodiment of the present invention cited below particularly,
It is described below in detail.
Five-preventing system is the capital equipment that substation prevents maloperation, for ensuring that substation safety is run.Five-preventing system
Each equipment and its charged state can be shown on figure, and the shape of equipment is intuitively observed in order to facilitate administrative staff or dispatcher
State needs whether to charge carry out topology coloring to equipment, conducting wire based on the comprehensive master pattern figure from backstage.
The basic ideas of the method for the present invention are:Five-preventing system figure is converted into abstract model figure, for and it is comprehensive from backstage
Master pattern figure is matched, and the correspondence and standard of equipment and equipment in abstract model figure in master pattern figure are obtained
The correspondence on the topological island (topo) and tie point in abstract model figure, generates mapping table in illustraton of model, is closed according to corresponding
Be table in five-preventing system figure equipment and conducting wire carry out electrification coloring.
It is core of the invention thought above, the technical solution of the embodiment of the present invention is clearly and completely retouched below
It states, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on the present invention
In embodiment, all other embodiment that those of ordinary skill in the art obtain without making creative work,
It shall fall within the protection scope of the present invention.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still the present invention can be with
Implemented different from other manner described here using other, those skilled in the art can be without prejudice to intension of the present invention
In the case of do similar popularization, therefore the present invention is not limited by following public specific embodiment.
Below by system in the initial state (in the case of there is no equipment to operate) for the method for the present invention carry out
Illustrate, the step of the method for the present invention is as follows:
S100, five-preventing system figure is converted into abstract model figure, for being matched with master pattern figure;
Since five-preventing system figure cannot be matched with master pattern figure, five-preventing system figure is converted, generation can
To carry out comparing matched abstract model figure with master pattern figure, transformation rule is:Equipment in five-preventing system figure and abstract mould
The mapped device of type figure corresponds to, and the intersection point of each conducting wire in five-preventing system figure is defined as the tie point in abstract model figure, five is anti-
Equipment is connected by conducting wire in system diagram, then conducting wire is connected with each other at tie point in abstract model figure, i.e., transformed pumping
As in illustraton of model, mapped device and conducting wire are all connected with tie point.Fig. 3 a are the connection diagram of equipment component in five-preventing system,
There are tri- equipment of A, B, C in five-preventing system figure shown in Fig. 3 a, is connected respectively by conducting wire a, b, c, conducting wire a, b, c intersect at one
It is a, it is corresponding in abstract model figure to generate mapped device A, B, C when which is converted to abstract model figure, it leads
The intersection point of line a, b, c generates tie point T1, and mapped device A, B, C are connected with tie point T1, conducting wire a, b, c also with tie point T1 phases
Even, the abstract model figure of obtained band connection relationship is then as shown in Figure 3b.It is with IEC61970 master dies in the explanation of embodiment
It is illustrated for type figure.
Fig. 4 a are the schematic diagram of a normal space in five-preventing system, equipment and switch FH in five-preventing system figure,
12140,1214,121C0,121,121B0,1211, MX in abstract model figure it is corresponding generate FH, 12140,1214,121C0,
121,121B0,1211, MX, the intersection point of conducting wire a, b, c generate tie point T1 in five-preventing system figure, and the intersection point of conducting wire d, e, f generate
The intersection point of tie point T2, conducting wire g, h, i generates tie point T3, the intersection point of conducting wire j and MX generate tie point T4, FH, 12140,
1214 and conducting wire a, b, c be connected with tie point T1,1214,121C0,121 and conducting wire d, e, f are connected with tie point T2,121,
121B0,1211 and conducting wire g, h, i are connected with tie point T3, and 1211, MX and conducting wire j are connected with tie point T4, obtained band connection
The abstract model figure of relationship is as shown in Figure 4 b.
S200, matching comparison is carried out from the master pattern figure on backstage and the abstract model figure of five-preventing system by comprehensive, is marked
The mapping table of quasi- illustraton of model and abstract model figure, mapping table includes between equipment and mapped device, topological island and company
Correspondence between contact;
When abstract model figure matches comparison with master pattern figure, the mapped device and standard in abstract model figure are matched successively
The tie point in equipment and abstract model figure in illustraton of model and the topological island in master pattern figure, production Methods correspond to table,
Relationship, which corresponds to table record, each device numbering in master pattern figure and the mapped device in corresponding abstract model figure
Tie point ID in number, each of master pattern figure topology island (islands topo) ID and corresponding abstract model figure.
When generating mapping table, by matched between comparison and topological island and tie point between equipment and mapped device
Row is driven in pairing score into, is illustrated below to the step of two kinds of matching comparisons:
In conjunction with shown in Fig. 5, when carrying out the matching comparison between equipment and mapped device, the equipment team in master pattern figure is obtained
Row, each equipment in queue is searched in abstract model figure successively, is confirmed and be whether there is phase in abstract model figure
Same mapped device number, if it is sets device numbering in master pattern figure and its mapping in corresponding abstract model figure
Standby number is saved in mapping table, and the equipment is skipped if not finding corresponding mapped device in abstract model figure,
It does not preserve in the equipment identity to mapping table, but continues to search for next equipment, until the equipment team of master pattern figure
Equipment in row all traverses lookup.
In conjunction with shown in Fig. 6, when carrying out the matching comparison between the topological island and the tie point of abstract model figure of master pattern figure,
The topological island queue in master pattern figure is obtained, the topological island of each of queue is matched in abstract model figure successively,
The equipment connected on each topological island is searched in abstract model figure, is confirmed in abstract model figure with the presence or absence of identical
Mapped device number, if identical mapped device number can not be found in abstract model figure, not in correspondence
The topology island is added in relation table, continues to match next topological island;If all devices being connected with the topology island are abstract
Corresponding mapped device can be found in illustraton of model, then further confirms that whether mapped device of the same name is connected in abstract model figure
On the same tie point and the tie point is only connected to these mapped devices of the same name, if it is by topological island in master pattern figure
Tie point ID is remained in mapping table in ID and its corresponding abstract model figure, and otherwise not in mapping table, addition should
Topological island continues to match next topological island, until the topological island in topological island queue in master pattern figure all traverses lookup.
S300, the equipment and conducting wire of five-preventing system figure are coloured according to mapping table;
S301, when being coloured to equipment live, an equipment, and recording equipment are taken out from the device queue of master pattern figure
Equipment volume residual N in queue, often takes out an equipment, and equipment volume residual N subtracts 1;
S302, judge whether N is less than 0, if it is equipment live state coloring is completed;Otherwise next step is executed,
S303, mapped device in the abstract model figure of corresponding five-preventing system is found out in mapping table, and
The equipment is coloured in five-preventing system figure;
S304, coupled tie point is determined according to the mapped device of the corresponding abstract model figure, obtains reflecting with this
The connected tie point queue of jet device;
S305, a tie point is taken out from tie point queue, and records tie point volume residual M in tie point queue, often
A tie point is taken out, tie point volume residual M subtracts 1;
S306, judge whether M is less than 0, if it is return to step S301, otherwise executes next step;
S307, the tie point is determined whether in mapping table, if skipping the tie point, return to step if
S305 is repeated in above step to all tie points in tie point queue;If tie point is not in mapping table, root
Whether progress is charged to tie point (conducting wire being connected with tie point) according to the electriferous state of mapped device in the abstract model figure
Judge, even then tie point also charges for mapped device electrification, and tie point is not charged if mapped device is not charged;
S308, the other mapped devices being connected with the tie point are obtained in abstract model figure, obtain and the tie point phase
Local devices even are to row;
S309, a mapped device is taken out from local devices queue, and record local devices volume residual Q, often take out
One mapped device, local devices volume residual Q subtract 1;
S310, judge whether Q is less than 0, if it is return and execute S305, otherwise execute next step;
S311, determine that the mapped device taken out from local devices queue whether in mapping table, if it is returns
Step S309 is returned, is judged whether mapped device charges according to the electriferous state of the tie point if being not present, is even connected
Then mapped device charges for contact electrification, and mapped device is not charged if tie point is not charged;
S312, determine whether mapped device has been also connected with other tie points, if the return to step S309 without if, otherwise
Execute next step;
If S313, the mapped device have been also connected with other tie points, it is judged according to the electriferous state of mapped device
Whether the mapped device on its tie point charges, and when the mapped device is not charged, then what is be connected with other tie points all reflects
Jet device and its rear end tie point and mapped device are all not charged, return to step S309, are held when the mapped device charges
Row is in next step;
S314, electrification judgement is carried out according to the division state of mapped device, if mapped device is to divide, with other tie points
Connected all mapped devices and its rear end tie point and mapped device are all not charged, return to step S309;If mapping is set
Standby is to close, then all mapped devices and its rear end tie point and mapped device being connected with other tie points all charge, and return is held
Row step S309.
S320, conducting wire is charged when colouring, a topological island is taken out from the topological island queue of master pattern figure, and record
Topology island volume residual K in topological island queue, often takes out a topological island, and topological island volume residual K subtracts 1;
S321, judge whether K is less than 0, if it is conducting wire electriferous state coloring is completed;Otherwise next step is executed;
S322, corresponding with topology island tie point is searched in mapping table, if in mapping table not with
The corresponding tie point in topology island, then return to step S320, if there is connection corresponding with the topology island in mapping table
Point then finds out the conducting wire being connected with the tie point, carries out electrification coloring to conducting wire in five-preventing system figure, is then back to step
S320。
When there is equipment to carry out operation in five-preventing system, the state of equipment can change, and be set for what is operated
It is standby, after the remote signalling information for receiving equipment displacement, to the electriferous state of the electriferous state of equipment and topological island in master pattern figure
The step of being judged respectively, reference Fig. 2, being coloured to the equipment operated is as follows:
S401, the equipment state operated is changed in master pattern figure according to remote signalling information, and in mapping table
In find mapped device in corresponding abstract model figure, electrification coloring is carried out to the equipment in five-preventing system figure;
S402, coupled tie point is determined according to mapped device in the corresponding abstract model figure, obtains reflecting with this
The connected tie point queue of jet device;
S403, a tie point is taken out from tie point queue, and records tie point volume residual M ' in tie point queue, often
A tie point is taken out, tie point volume residual M ' subtracts 1;
S404, judge whether M ' is less than 0, if it is equipment displacement coloring is completed, and next step is otherwise executed;
S405, the tie point is determined whether in mapping table, if skipping the tie point, return to step if
S403 is repeated in above step to all tie points in tie point queue;If tie point is not in mapping table, root
Electriferous state according to mapped device in the abstract model figure judges that whether tie point charges, even the mapped device charges
Then tie point also charges, and tie point is not charged if mapped device is not charged;
S406, the other mapped devices being connected with the tie point are obtained in abstract model figure, obtain and the tie point phase
Local devices even are to row;
S407, a mapped device is taken out from local devices queue, and record local devices volume residual Q ', often take out
One mapped device, local devices volume residual Q ' subtract 1;
S408, judge whether Q ' is less than 0, if it is return and execute S403, otherwise execute next step;
S409, determine that the mapped device taken out from local devices queue whether in mapping table, if it is returns
Step S407 is returned, is judged whether mapped device charges according to the electriferous state of the tie point if being not present, is even connected
Then mapped device charges for contact electrification, and mapped device is not charged if tie point is not charged;
S410, determine whether mapped device has been also connected with other tie points, if the return to step S407 without if, otherwise
Execute next step;
If S411, the mapped device have been also connected with other tie points, according to the electriferous state of mapped device to other
Whether the equipment on tie point, which is charged, is judged, when the mapped device is not charged, then what is be connected with other tie points is all
Mapped device and its rear end tie point and mapped device are all not charged, return to step S407, when the mapped device charges
Execute next step;
S412, electrification coloring is carried out according to the division state of mapped device, if mapped device is to divide, with other tie points
Connected all mapped devices and its rear end tie point and mapped device are all not charged, return to step S407;If mapping is set
Standby is to close, then all mapped devices and its rear end tie point and mapped device being connected with other tie points all charge, and return is held
Row step S407.
S420, the shape for changing the topological island being connected with the equipment operated in master pattern figure according to remote signalling information
State, and the tie point in the abstract model figure of corresponding five-preventing system is found out in mapping table, and according to the topology
The electriferous state on island pair conducting wire being connected with the tie point in five-preventing system colours;
S421, determine that the topology island whether there is in mapping table, if without if topological island displacement coloring complete,
Otherwise next step is executed;
S422, tie point corresponding with the topology island is found according to mapping table, coupled conducting wire is determined, five
Corresponding conducting wire is subjected to electrification coloring in anti-system diagram, topological island displacement coloring is completed.
When the present invention carries out electrification coloring to the five-preventing system figure under original state, for topological island, it is only necessary to which judging should
The ID on topological island whether there is in mapping table, if it is present, then being found in the model of five-preventing system graph abstraction pair
Tie point is answered, determines the conducting wire being connected about it, these conducting wires are coloured in five-preventing system figure.For mapped device,
It needs to judge whether the tie point being connected with the mapped device has record in mapping table, it is inevitable if not recording
To be connected to the tie point for lacking equipment in master pattern figure, at this time to connection Point Coloring after, it is also necessary to continue pair and this company
The equipment of contact connection is judged, judges it whether in mapping table, the equipment if there is not connecting, to marking
Recurrence of the equipment lacked in quasi- illustraton of model after continuing coloring after carrying out division judgement judges, to being lacked in master pattern figure
Equipment carry out electrification coloring.
The above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof, although with reference to above-described embodiment pair
The present invention is described in detail, it should be understood by a person of ordinary skill in the art that still can be to the specific of the present invention
Embodiment is modified or replaced equivalently, and without departing from any modification of spirit and scope of the invention or equivalent replacement,
It should all cover among scope of the presently claimed invention.
Claims (5)
1. a kind of topology coloring method of five-preventing system figure, which is characterized in that include the following steps:
S100, five-preventing system figure is converted into abstract model figure, for being matched with master pattern figure;
S200, the abstract model figure of five-preventing system is subjected to matching comparison from the master pattern figure on backstage with comprehensive, obtains master die
The mapping table of type figure and abstract model figure, mapping table include the equipment of master pattern figure and reflecting for abstract model figure
Correspondence between jet device, between the topological island and the tie point of abstract model figure of master pattern figure;
S300, the equipment and conducting wire of the five-preventing system figure of original state are coloured respectively according to mapping table, to equipment
Step S301 is executed when electrification coloring, step S320 is executed when charging coloring to conducting wire;
S301, an equipment, and equipment volume residual N in recording equipment queue are taken out from the device queue of master pattern figure,
An equipment is often taken out, equipment volume residual N subtracts 1;
S302, judge whether N is less than 0, if it is equipment live state coloring is completed, and next step is otherwise executed;
S303, mapped device in the abstract model figure of corresponding five-preventing system is found out in mapping table, and five
The equipment is coloured in anti-system diagram;
S304, coupled tie point is determined according to the mapped device of the corresponding abstract model figure, obtains setting with the mapping
Standby connected tie point queue;
S305, a tie point is taken out from tie point queue, and records tie point volume residual M in tie point queue, often taken out
One tie point, tie point volume residual M subtract 1;
S306, judge whether M is less than 0, if it is return to step S301, otherwise executes next step;
S307, the tie point is determined whether in mapping table, if skipping the tie point, return to step S305 if;Such as
Fruit tie point not in mapping table, then according to the electriferous state of mapped device in the abstract model figure to tie point whether band
Electricity is judged that even then tie point also charges for mapped device electrification, and tie point is not charged if mapped device is not charged, holds
Row is in next step;
S308, other mapped devices for being connected with the tie point are obtained in abstract model figure, obtain being connected with the tie point
Local devices queue;
S309, a mapped device is taken out from local devices queue, and record local devices volume residual Q, often take out one
Mapped device, local devices volume residual Q subtract 1;
S310, judge whether Q is less than 0, if it is return and execute S305, otherwise execute next step;
S311, determine that the mapped device taken out from local devices queue whether in mapping table, if it is returns to step
Rapid S309, if there is no if according to the electriferous state of the tie point to the mapped device that is taken out from local devices queue whether band
Electricity is judged that even then mapped device charges for tie point electrification, and mapped device is not charged if tie point is not charged, under execution
One step;
S312, determine whether the mapped device taken out from local devices queue has been also connected with other tie points, if do not had
There is then return to step S309, otherwise executes next step;
If S313, the mapped device have been also connected with other tie points, according to the electriferous state of mapped device to other connections
Whether the mapped device on point, which charges, is judged, when the mapped device is not charged, then what is be connected with other tie points is all
Mapped device and its rear end tie point and mapped device are all not charged, return to step S309, are executed when the equipment live
In next step;
S314, electrification judgement is carried out according to the division state of mapped device, if mapped device is to divide, be connected with other tie points
All mapped devices and its rear end tie point and mapped device it is all not charged, return to step S309;If mapped device is
It closes, then all mapped devices and its rear end tie point and mapped device being connected with other tie points all charge, and return executes step
Rapid S309;
S320, a topological island is taken out from the topological island queue of master pattern figure, and it is surplus to record topological island in topological island queue
Remainder amount K, often takes out a topological island, and topological island volume residual K subtracts 1;
S321, judge whether K is less than 0, if it is conducting wire electriferous state coloring is completed;Otherwise next step is executed;
S322, tie point corresponding with the topology island is searched in mapping table, if do not opened up with this in mapping table
The corresponding tie point in island is flutterred, then return to step S320, if there is tie point corresponding with the topology island in mapping table,
The conducting wire being connected with the tie point is found out, electrification coloring is carried out to conducting wire in five-preventing system figure, is then back to step S320.
2. the topology coloring method of five-preventing system figure according to claim 1, it is characterised in that:When being set in five-preventing system
It is as follows for the step of when having carried out operation, being coloured to the equipment operated:After the remote signalling information for receiving equipment displacement, to equipment
Step S401 is executed when electrification coloring, step S420 is executed when charging coloring to conducting wire;
S401, the equipment state operated is changed in master pattern figure according to remote signalling information, and is looked in mapping table
To the mapped device in corresponding abstract model figure, electrification coloring is carried out to the equipment in five-preventing system figure;
S402, coupled tie point is determined according to the mapped device of the corresponding abstract model figure, obtains setting with the mapping
Standby connected tie point queue;
S403, a tie point is taken out from tie point queue, and records tie point volume residual M ' in tie point queue, often taken out
One tie point, tie point volume residual M ' subtract 1;
S404, judge whether M ' is less than 0, if it is equipment displacement coloring is completed, and next step is otherwise executed;
S405, the tie point is determined whether in mapping table, if skipping the tie point, return to step S403 if;Such as
Fruit tie point not in mapping table, then according to the electriferous state of mapped device in the abstract model figure to tie point whether band
Electricity is judged that even then tie point also charges for mapped device electrification, and tie point is not charged if mapped device is not charged;
S406, other mapped devices for being connected with the tie point are obtained in abstract model figure, obtain being connected with the tie point
Local devices are to row;
S407, a mapped device is taken out from local devices queue, and record local devices volume residual Q ', often take out one
Mapped device, local devices volume residual Q ' subtract 1;
S408, judge whether Q ' is less than 0, if it is return and execute S403, otherwise execute next step;
S409, determine that the mapped device taken out from local devices queue whether in mapping table, if it is returns to step
Rapid S407, if there is no if according to the electriferous state of the tie point to the mapped device that is taken out from local devices queue whether band
Electricity is judged that even then mapped device charges for tie point electrification, and mapped device is not charged if tie point is not charged;
S410, it determines whether mapped device has been also connected with other tie points, if the return to step S407 without if, otherwise executes
In next step;
If S411, the mapped device that should be taken out from local devices queue have been also connected with other tie points, set according to mapping
Standby electriferous state judges whether the equipment on other tie points is charged, when the mapped device is not charged, then with its
The connected all mapped devices of its tie point and its rear end tie point and mapped device are all not charged, return to step S407,
Next step is executed when the mapped device charges;
S412, electrification coloring is carried out according to the division state of mapped device, if mapped device is to divide, be connected with other tie points
All mapped devices and its rear end tie point and mapped device it is all not charged, return to step S407;If mapped device is
It closes, then all mapped devices and its rear end tie point and mapped device being connected with other tie points all charge, and return executes step
Rapid S407;
S420, the state for changing the topological island being connected with the equipment operated in master pattern figure according to remote signalling information, and
The tie point in the abstract model figure of corresponding five-preventing system is found out in mapping table, and according to the band on the topology island
Electricity condition pair conducting wire being connected with the tie point in five-preventing system colours;
S421, determine that the topology island whether there is in mapping table, if the topological island displacement coloring completion without if, otherwise
Execute next step;
S422, tie point corresponding with the topology island is found according to mapping table, coupled conducting wire is determined, in five anti-systems
Corresponding conducting wire is subjected to electrification coloring in system figure, topological island displacement coloring is completed.
3. the topology coloring method of five-preventing system figure according to claim 1 or 2, it is characterised in that:By five-preventing system figure
When being converted to abstract model figure, the equipment in five-preventing system figure is corresponding with the mapped device of abstract model figure, by five-preventing system figure
In the intersection point of each conducting wire be defined as the tie point in abstract model figure, equipment is connected by conducting wire in five-preventing system figure, and conducting wire exists
It is connected with each other at tie point, then mapped device and conducting wire are all connected with tie point in transformed abstract model figure.
4. the topology coloring method of five-preventing system figure according to claim 1 or 2, it is characterised in that:In step S200 into
When the matching comparison of row equipment room generates mapping table, the device queue in master pattern figure is obtained first, by device queue
In each equipment searched in abstract model figure successively, confirm in abstract model figure with the presence or absence of it is identical mapping set
Standby number if it is preserves device numbering in master pattern figure and its number of the mapped device in corresponding abstract model figure
Into mapping table, the equipment is skipped if not finding corresponding mapped device in abstract model figure, is not preserved this and is set
In standby label to mapping table, but next equipment is continued to search for, the equipment in the device queue of master pattern figure
All traversal is searched.
5. the topology coloring method of five-preventing system figure according to claim 1 or 2, it is characterised in that:In step S200 into
When matching comparison between the topological island and the tie point of abstract model figure of row master pattern figure generates mapping table, obtain first
Topological island queue in master pattern figure, by the progress in abstract model figure successively of the topological island of each of topological island queue
Match, the equipment connected on each topological island is searched in abstract model figure, confirms and whether there is in abstract model figure
Identical mapped device number does not exist if can not find identical mapped device number in abstract model figure
The topology island is added in mapping table, continues to match next topological island;If all devices being connected with the topology island exist
Corresponding mapped device can be found in abstract model figure, then further confirms that whether mapped device of the same name connects in abstract model figure
It is connected on the same tie point and the tie point is only connected to these mapped devices of the same name, will if it is be opened up in master pattern figure
It flutters tie point ID in island ID and its corresponding abstract model figure to remain in mapping table, otherwise not add in mapping table
Add the topology island, continues to match next topological island, be looked into until the topological island in topological island queue in master pattern figure all traverses
It looks for.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611226501.7A CN106532963B (en) | 2016-12-27 | 2016-12-27 | A kind of topology coloring method of five-preventing system figure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611226501.7A CN106532963B (en) | 2016-12-27 | 2016-12-27 | A kind of topology coloring method of five-preventing system figure |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106532963A CN106532963A (en) | 2017-03-22 |
CN106532963B true CN106532963B (en) | 2018-11-06 |
Family
ID=58337620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611226501.7A Active CN106532963B (en) | 2016-12-27 | 2016-12-27 | A kind of topology coloring method of five-preventing system figure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106532963B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108832519B (en) * | 2018-07-17 | 2020-04-17 | 珠海长园共创软件技术有限公司 | Management and control method and device for overhaul isolation of transformer substation |
CN116796483A (en) * | 2023-08-25 | 2023-09-22 | 北京城建智控科技股份有限公司 | Automatic topology coloring method and device for system diagram, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101414980A (en) * | 2008-11-27 | 2009-04-22 | 北京理工大学 | Method for designing and maintaining three-color loop network structure of main routing system |
CN104077438A (en) * | 2014-06-23 | 2014-10-01 | 中国能源建设集团广东省电力设计研究院 | Power grid large-scale topological structure construction method and system |
CN104537219A (en) * | 2014-12-18 | 2015-04-22 | 贵州电网公司信息通信分公司 | Electrification initialization method for power distribution network dynamic topology |
CN105140919A (en) * | 2015-09-18 | 2015-12-09 | 国网山东省电力公司菏泽供电公司 | Method for rapid topology analysis and establishment of topological island based on graph theory |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10461579B2 (en) * | 2014-08-14 | 2019-10-29 | Siemens Aktiengesellschaft | Method and system for monitoring the operating status of an energy delivery network |
-
2016
- 2016-12-27 CN CN201611226501.7A patent/CN106532963B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101414980A (en) * | 2008-11-27 | 2009-04-22 | 北京理工大学 | Method for designing and maintaining three-color loop network structure of main routing system |
CN104077438A (en) * | 2014-06-23 | 2014-10-01 | 中国能源建设集团广东省电力设计研究院 | Power grid large-scale topological structure construction method and system |
CN104537219A (en) * | 2014-12-18 | 2015-04-22 | 贵州电网公司信息通信分公司 | Electrification initialization method for power distribution network dynamic topology |
CN105140919A (en) * | 2015-09-18 | 2015-12-09 | 国网山东省电力公司菏泽供电公司 | Method for rapid topology analysis and establishment of topological island based on graph theory |
Non-Patent Citations (1)
Title |
---|
基于CIM/SVG及全面防误策略的操作票专家***研究;齐旭;《中国优秀博硕士学位论文全文数据库(硕士) 工程科技Ⅱ辑(月刊)》;20060815(第8期);正文第1-65页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106532963A (en) | 2017-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
ES2773490T3 (en) | Software-defined implementation method based on protection and control system for smart substation | |
CN105022874B (en) | A kind of power distribution network Digital Simulation method for automatic modeling and system | |
CN104734364B (en) | The method and system of relay protection device of intelligent substation SV, GOOSE input test | |
CN108549650B (en) | Intelligent substation anti-misoperation lockout logic rule source end configuration method and system | |
CN102622463A (en) | Drawing-model uniformity based method for automatic check of design drawings | |
CN103904779A (en) | Intelligent substation intelligent terminal analog device and using method thereof | |
CN104104151B (en) | The cut-in method of distribution terminal facility information | |
CN106532963B (en) | A kind of topology coloring method of five-preventing system figure | |
CN104360835B (en) | A kind of sequence operation ticket automatic generation method based on topological mode | |
CN106296467B (en) | A method of generating operation order | |
CN108152663A (en) | A kind of electrical power distribution network fault location method and device | |
CN106408207A (en) | Modeling method and system for secondary virtual loop of intelligent substation | |
CN106505532A (en) | A kind of intelligent distributed FA fault handling methods based on main website standby | |
CN106991482B (en) | Intelligent substation IED (intelligent electronic device) interchange method and device | |
CN104574204B (en) | Intelligent measuring and control device ICD models automatic identification system and method | |
CN106875086A (en) | A kind of electric network data modeling method and its system based on graphical interactive operation | |
CN108198089A (en) | A kind of grid switching operation whole process intelligence managing and control system and method | |
CN105259860B (en) | A kind of master-slave mode intelligent power device method of automatic configuration | |
CN105718656B (en) | A kind of one electrical secondary system information correlation method of intelligent substation | |
CN108388704A (en) | Intelligent distribution area extension modeling based on CIM and integrated platform construction method | |
CN108492660A (en) | Substation's peace arranges analogy method, device and system | |
CN107979085A (en) | A kind of dynamic power network topology modeling method and system | |
CN107885962A (en) | The method that power automatic system carries out measuring modeling based on CIM | |
CN104731992B (en) | Power distribution automation modeling method and device | |
CN109388903A (en) | Real-time simulation platform modeling and simulating method based on IEC61850 standard |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |