CN113743057A - Object recognition redrawing-based power grid OCS drawing conversion method - Google Patents

Object recognition redrawing-based power grid OCS drawing conversion method Download PDF

Info

Publication number
CN113743057A
CN113743057A CN202111083945.0A CN202111083945A CN113743057A CN 113743057 A CN113743057 A CN 113743057A CN 202111083945 A CN202111083945 A CN 202111083945A CN 113743057 A CN113743057 A CN 113743057A
Authority
CN
China
Prior art keywords
power grid
ocs
equipment
numbering
graphic
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.)
Granted
Application number
CN202111083945.0A
Other languages
Chinese (zh)
Other versions
CN113743057B (en
Inventor
李胜
马玮骏
韦诚
陈潇霆
陈志刚
姚文才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Jinma Intelligence Technology Co ltd
Original Assignee
Nanjing Jinshui Shangyang Information Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanjing Jinshui Shangyang Information Technology Co ltd filed Critical Nanjing Jinshui Shangyang Information Technology Co ltd
Priority to CN202111083945.0A priority Critical patent/CN113743057B/en
Publication of CN113743057A publication Critical patent/CN113743057A/en
Application granted granted Critical
Publication of CN113743057B publication Critical patent/CN113743057B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Abstract

The invention discloses a power grid OCS drawing conversion method based on object recognition redrawing, which can be used for carrying out object recognition on non-SVG drawings and automatically extracting a power grid equipment graphic object so as to reconstruct and convert the non-SVG drawings aiming at the problem that a large number of power grid OCS drawings in different periods of a power grid operation management mechanism cannot be compatible; after the new OCS drawing of the power grid is converted, the method standardizes the object hierarchy and combination relation of the power grid equipment, and automatically numbers the graphic objects of the power grid equipment according to a pre-established numbering rule database; meanwhile, the method can automatically check the correctness of the drawing, send out danger early warning and error prompt, provide an automatic means for reusing a large number of historical drawings of the power grid in different periods, and greatly improve the efficiency of converting and sharing the OCS drawing.

Description

Object recognition redrawing-based power grid OCS drawing conversion method
Technical Field
The invention relates to a method suitable for fast reconstruction and conversion of OCS drawings of a power grid.
Background
The power grid Operation Control System (OCS) provides power generation scheduling data pushing for the OCS by using a power grid device and a line special drawing (OCS drawing for short), and completes connection with other systems. The OCS drawing and management must realize the automatic judgment of the problems of equipment connection relation, virtual connection and the like, and realize the functions of checking OCS numbers, checking line capacity and the like. At present, the common formats of the power grid drawing are DWG, DWF and SVG, wherein DWG is used for editing, and DWF files are used for browsing. The drawings are drawn by adopting different graphic libraries, and when the drawings are converted from one-time drawings to OCS drawings, the association relation between the object information and the parameters of the graphics is lost. Therefore, the drawing conversion process is a process of drawing identification and parameter association reestablishment. Electronic drawings generated by drawing systems used by different departments at different periods in history cannot be shared, so that the retrieval, updating and intelligent application expansion of historical filing drawings by power grid maintenance and control are seriously hindered. In order to cancel the manual redrawing phenomenon, it becomes difficult to identify and reconstruct the device object from the history library and to supplement missing wiring relationships, numbers, and the like. Therefore, the novel power grid drawing system adopts the SVG (scalable vector graphics) drawing technology, realizes the nested combination of equipment from a minimum unit to an integrated component based on the idea of an object, and performs hierarchical automatic numbering; and an artificial intelligence technology is introduced, so that automatic verification of rules is realized, the correctness of drawings is checked, and danger early warning and error prompt are given.
Disclosure of Invention
The purpose of the invention is as follows: aiming at the prior art, the method for converting the OCS drawings of the power grid based on object recognition redrawing is provided, and the OCS drawings of the power grid at different periods are reconstructed and converted.
The technical scheme is as follows: an OCS drawing conversion method for a power grid redrawn based on object recognition comprises the following steps:
step 1: analyzing a drawing file, comprising:
step 1A: judging whether the drawing file is an SVG object, if so, performing the step 1B, otherwise, directly performing the step 2;
step 1B: scanning a drawing paper file to obtain the overall layout of the drawing, and then scanning to determine the number of outgoing lines and incoming lines;
step 1C: extracting all power grid equipment graphic objects, equipment numbers and electrical parameters in the drawing;
step 2: extracting basic graphic elements from a drawing file, combining the basic graphic elements into a power grid equipment graphic object, and adding corresponding electrical parameters;
and step 3: according to the requirements of the OCS drawing of the power grid, under the interactive operation of a drafter, adopting a guide drawing mode to select the closest drawing template, or using a drawing mode and an interactive drawing mode to convert original drawing paper into a new OCS drawing of the power grid according to the obtained graphic object of the power grid equipment;
and 4, step 4: for a new power grid OCS drawing, equipment numbering is carried out, and the two conditions are divided: firstly, directly numbering unnumbered power grid equipment graphic objects, and secondly, replacing the existing equipment numbers; when numbering, automatically numbering the power grid equipment graphic objects according to a pre-established numbering rule database;
and 5: checking and verifying correctness: checking the correctness of the repeated serial numbers, the site names and the topological structures of the drawings according to the requirements of normalization and consistency and the constraint conditions of electric power and voltage, and performing simulation verification on the starting of the equipment;
step 6: and adding mouse event dynamic information association to each power grid equipment graphic object in the power grid OCS drawing for associating electrical parameters, and finally outputting the power grid OCS drawing in an SVG format and storing the power grid OCS drawing in a file or a database.
Has the advantages that: aiming at the problem that a large number of OCS drawings of the power grid at different periods can not be compatible in a power grid operation management mechanism, the invention can identify objects of non-SVG drawings, automatically extract graphic objects of power grid equipment and further reconstruct and convert the graphic objects; after the new OCS drawing of the power grid is converted, the method standardizes the object hierarchy and combination relation of the power grid equipment, and automatically numbers the graphic objects of the power grid equipment according to a pre-established numbering rule database; meanwhile, the method can automatically check the correctness of the drawing, send out danger early warning and error prompt, provide an automatic means for reusing a large number of historical drawings of the power grid in different periods, and greatly improve the efficiency of converting and sharing the OCS drawing.
Detailed Description
The present invention is explained further below.
An OCS drawing conversion method for a power grid redrawn based on object recognition comprises the following steps:
step 1: when converting the primary power grid drawing of DWG, DWF and SVG form into the OCS drawing of SVG, need analyze and extract the object information who contains, and these information are hidden in the figure object, and the drawing file is analyzed and is included:
step 1A: judging whether the drawing file is an SVG object, if so, performing the step 1B, otherwise, directly performing the step 2, and identifying and redrawing the graph and the graphic primitive;
step 1B: scanning a drawing paper file to obtain the overall layout of the drawing, such as a single bus, a double bus and the like, and then scanning to determine the number of outgoing lines and incoming lines;
step 1C: and extracting all power grid equipment graphic objects, equipment numbers and electrical parameters in the drawing, and writing graphic elements into an SVG file or storing the graphic elements into a database by a Blob field.
Step 2: firstly, extracting basic graphic elements from a drawing file, then combining the basic graphic elements into a power grid equipment graphic object, and adding corresponding electrical parameters, wherein the method comprises the following specific steps:
step 2A: dividing a drawing into areas consisting of buses and intervals, wherein the dividing method comprises the steps of breaking vertical intersection, tracking a connecting line (a line connecting primitives moves along with the movement of the primitives), zooming at a fixed point and reconstructing topology (optimizing an organization mode of a graphic object);
and step 2B: carrying out basic graphic element identification; wherein the basic graphic elements comprise points, straight lines, circles, arcs, ellipses;
and step 2C: carrying out similarity matching on the divided and identified basic graphic elements according to standard graphic elements in a graphic library, combining the graphic elements with the best similarity to form graphic element objects of each power grid device, combining all the graphic element objects into power grid device graphic objects according to the type of a power grid drawing and the topological characteristics and the proximity relation, and judging the types of the combined power grid device graphic objects, including a loop, a disconnecting link, a breaker, a transformer and a bus; the type of the power grid drawing comprises a power grid primary side topology drawing or a power grid secondary side topology drawing;
step 2D: and automatically or manually adding the electrical parameters of the primitive objects of the power grid equipment according to the type of the obtained power grid equipment graphic object and the type of the power grid drawing.
And step 3: and according to the requirement of the OCS drawing of the power grid, under the interactive operation of a drafter, adopting a guide drawing mode to select the closest drawing template, or using a drawing mode and an interactive drawing mode to convert the original drawing paper into a new OCS power grid topology drawing according to the obtained power grid equipment graphic object. When the original drawing paper is converted into a new power grid OCS drawing, the method comprises the following specific operations:
a) drawing lines rapidly: drawing a horizontal/vertical line connecting the two points;
b) mirroring: horizontally/vertically turning the power grid equipment graphic object;
c) and (3) replacing the image blocks: replacing the picture blocks in the drawing window in a designated mode;
d) adjusting the wire: adjusting the position of the line in the drawing paper;
e) changing a dotted line: changing a solid routing line into a dotted line in the drawing;
f) and (3) label management: adjusting the font, size and color attributes of the numbering and annotation information in the drawing;
g) the entity operation is as follows: and selecting a plurality of power grid equipment graphic objects in the drawing for combination, decomposition or drawing connection splicing.
And 4, step 4: for a new power grid OCS drawing, equipment numbering is carried out, and the two conditions are divided: firstly, directly numbering unnumbered power grid equipment graphic objects, and secondly, replacing the existing equipment numbers; and when numbering, automatically numbering the power grid equipment graphic objects according to a pre-established numbering rule database.
The specific steps of directly numbering unnumbered power grid equipment graphic objects comprise:
step 4A: numbering the main devices: and numbering the bus: combining the bus voltage grade and the bus serial number; numbering the circuit breakers: according to the numbering rule of the circuit breakers, numbering the circuit breakers by three-digit Arabic numerals in a decimal, quinary or quaternary form; numbering the transformers: combining transformer naming and equipment serial numbers; numbering the motors: combining generator names and equipment serial numbers;
and step 4B: and finding out corresponding naming rules of the slave devices except the main device number in a numbering rule database table according to the device types to form a numbering character string.
And 5: checking and verifying correctness: according to the requirements of normalization and consistency and the constraint conditions of electric power and voltage, checking the correctness of the repeated serial number, the site name and the topological structure of the drawing, and performing simulation verification on the starting of the equipment, the method comprises the following specific steps:
a) and (3) number error correction: traversing a power grid equipment graphic object in a power grid OCS drawing, reading an equipment number, using the equipment number as a key value, storing by using a hash function, and when the same hash value exists in a storage list, indicating that a repeated number exists, and sending a prompt and an alarm;
b) and (3) site name checking: comparing and checking all site and line names with a naming rule base and a basic information base which are established in advance in the whole network;
c) topology checking: checking whether the site topology meets the requirements of connectivity and normalization by establishing a voltage conversion connection rule and a link graph algorithm in a graph theory;
d) and (3) equipment starting simulation, which comprises start-up simulation, line simulation, bus simulation, transformer simulation, current transformer starting simulation and voltage transformer starting simulation, and judging whether the conditions of exceeding the load or the safety range exist.
Step 6: and adding mouse event dynamic information association to each power grid equipment graphic object in the power grid OCS drawing for associating electrical parameters, so that the electrical parameters of a display can be automatically displayed when a certain primitive object is clicked, and finally outputting the power grid OCS drawing in an SVG format and storing the power grid OCS drawing in a file or a database.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (5)

1. A power grid OCS drawing conversion method based on object recognition redrawing is characterized by comprising the following steps:
step 1: analyzing a drawing file, comprising:
step 1A: judging whether the drawing file is an SVG object, if so, performing the step 1B, otherwise, directly performing the step 2;
step 1B: scanning a drawing paper file to obtain the overall layout of the drawing, and then scanning to determine the number of outgoing lines and incoming lines;
step 1C: extracting all power grid equipment graphic objects, equipment numbers and electrical parameters in the drawing;
step 2: extracting basic graphic elements from a drawing file, combining the basic graphic elements into a power grid equipment graphic object, and adding corresponding electrical parameters;
and step 3: according to the requirements of the OCS drawing of the power grid, under the interactive operation of a drafter, adopting a guide drawing mode to select the closest drawing template, or using a drawing mode and an interactive drawing mode to convert original drawing paper into a new OCS drawing of the power grid according to the obtained graphic object of the power grid equipment;
and 4, step 4: for a new power grid OCS drawing, equipment numbering is carried out, and the two conditions are divided: firstly, directly numbering unnumbered power grid equipment graphic objects, and secondly, replacing the existing equipment numbers; when numbering, automatically numbering the power grid equipment graphic objects according to a pre-established numbering rule database;
and 5: checking and verifying correctness: checking the correctness of the repeated serial numbers, the site names and the topological structures of the drawings according to the requirements of normalization and consistency and the constraint conditions of electric power and voltage, and performing simulation verification on the starting of the equipment;
step 6: and adding mouse event dynamic information association to each power grid equipment graphic object in the power grid OCS drawing for associating electrical parameters, and finally outputting the power grid OCS drawing in an SVG format and storing the power grid OCS drawing in a file or a database.
2. The object identification redrawing-based power grid OCS drawing conversion method of claim 1, wherein the step 2 comprises the following specific steps:
step 2A: dividing a drawing into areas formed by buses and intervals, wherein the dividing method comprises breaking vertical intersection, tracking connecting lines, zooming at fixed points and reconstructing topology;
and step 2B: carrying out basic graphic element identification; wherein the basic graphic elements comprise points, straight lines, circles, arcs, ellipses;
and step 2C: carrying out similarity matching on the divided and identified basic graphic elements according to standard graphic elements in a graphic library, combining the graphic elements with the best similarity to form graphic element objects of each power grid device, combining all the graphic element objects into power grid device graphic objects according to the type of a power grid drawing and the topological characteristics and the proximity relation, and judging the types of the combined power grid device graphic objects, including a loop, a disconnecting link, a breaker, a transformer and a bus; the type of the power grid drawing comprises a power grid primary side topology drawing or a power grid secondary side topology drawing;
step 2D: and automatically or manually adding the electrical parameters of the primitive objects of the power grid equipment according to the type of the obtained power grid equipment graphic object and the type of the power grid drawing.
3. The method for converting OCS drawings of power grid redrawn based on object recognition as claimed in claim 1, wherein in step 3, when converting the original drawing into the new OCS drawing of power grid, the following specific operations are included:
a) drawing lines rapidly: drawing a horizontal/vertical line connecting the two points;
b) mirroring: horizontally/vertically turning the power grid equipment graphic object;
c) and (3) replacing the image blocks: replacing the picture blocks in the drawing window in a designated mode;
d) adjusting the wire: adjusting the position of the line in the drawing paper;
e) changing a dotted line: changing a solid routing line into a dotted line in the drawing;
f) and (3) label management: adjusting the font, size and color attributes of the numbering and annotation information in the drawing;
g) the entity operation is as follows: and selecting a plurality of power grid equipment graphic objects in the drawing for combination, decomposition or drawing connection splicing.
4. The object identification redrawing-based power grid OCS drawing conversion method as claimed in claim 1, wherein in the step 4, the specific step of directly numbering unnumbered power grid equipment graphic objects comprises:
step 4A: numbering the main devices: and numbering the bus: combining the bus voltage grade and the bus serial number; numbering the circuit breakers: according to the numbering rule of the circuit breakers, numbering the circuit breakers by three-digit Arabic numerals in a decimal, quinary or quaternary form; numbering the transformers: combining transformer naming and equipment serial numbers; numbering the motors: combining generator names and equipment serial numbers;
and step 4B: and finding out corresponding naming rules of the slave devices except the main device number in a numbering rule database table according to the device types to form a numbering character string.
5. The object identification redrawing-based power grid OCS drawing conversion method as claimed in claim 1, wherein the step 5 comprises the following specific steps:
a) and (3) number error correction: traversing a power grid equipment graphic object in a power grid OCS drawing, reading an equipment number, using the equipment number as a key value, storing by using a hash function, and when the same hash value exists in a storage list, indicating that a repeated number exists, and sending a prompt and an alarm;
b) and (3) site name checking: comparing and checking all site and line names with a naming rule base and a basic information base which are established in advance in the whole network;
c) topology checking: checking whether the site topology meets the requirements of connectivity and normalization by establishing a voltage conversion connection rule and a link graph algorithm in a graph theory;
d) and (3) equipment starting simulation, which comprises start-up simulation, line simulation, bus simulation, transformer simulation, current transformer starting simulation and voltage transformer starting simulation, and judging whether the conditions of exceeding the load or the safety range exist.
CN202111083945.0A 2021-09-16 2021-09-16 Power grid OCS drawing conversion method based on object recognition redrawing Active CN113743057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111083945.0A CN113743057B (en) 2021-09-16 2021-09-16 Power grid OCS drawing conversion method based on object recognition redrawing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111083945.0A CN113743057B (en) 2021-09-16 2021-09-16 Power grid OCS drawing conversion method based on object recognition redrawing

Publications (2)

Publication Number Publication Date
CN113743057A true CN113743057A (en) 2021-12-03
CN113743057B CN113743057B (en) 2024-04-09

Family

ID=78739220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111083945.0A Active CN113743057B (en) 2021-09-16 2021-09-16 Power grid OCS drawing conversion method based on object recognition redrawing

Country Status (1)

Country Link
CN (1) CN113743057B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114694165A (en) * 2022-06-01 2022-07-01 济南大学 Intelligent PID drawing identification and redrawing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016078474A1 (en) * 2014-11-17 2016-05-26 国家电网公司 Method for graphics interaction between grid production management system and scheduling automation system
CN105760603A (en) * 2016-02-19 2016-07-13 云南电网有限责任公司电力科学研究院 Power gird model data conversion method and device
CN106156397A (en) * 2015-11-16 2016-11-23 云南电网有限责任公司 A kind of method meeting IEC61970 specification SVG/CIM graphical model file based on the generation of Oracle Spatial spatial data
CN110428123A (en) * 2019-06-04 2019-11-08 广西电网有限责任公司 A kind of operation of power networks state is checked and accident prediction dynamic generating system
CN112395721A (en) * 2020-12-09 2021-02-23 南京四方亿能电力自动化有限公司 Rapid drawing modeling method suitable for power distribution network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016078474A1 (en) * 2014-11-17 2016-05-26 国家电网公司 Method for graphics interaction between grid production management system and scheduling automation system
CN106156397A (en) * 2015-11-16 2016-11-23 云南电网有限责任公司 A kind of method meeting IEC61970 specification SVG/CIM graphical model file based on the generation of Oracle Spatial spatial data
CN105760603A (en) * 2016-02-19 2016-07-13 云南电网有限责任公司电力科学研究院 Power gird model data conversion method and device
CN110428123A (en) * 2019-06-04 2019-11-08 广西电网有限责任公司 A kind of operation of power networks state is checked and accident prediction dynamic generating system
CN112395721A (en) * 2020-12-09 2021-02-23 南京四方亿能电力自动化有限公司 Rapid drawing modeling method suitable for power distribution network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114694165A (en) * 2022-06-01 2022-07-01 济南大学 Intelligent PID drawing identification and redrawing method

Also Published As

Publication number Publication date
CN113743057B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
CN107729682B (en) Electrical system for thermal power engineering electrical plant and design method
CN108549650B (en) Intelligent substation anti-misoperation lockout logic rule source end configuration method and system
CN102611199B (en) Design and configuration integrated system for intelligent substation
WO2023115842A1 (en) Data-driven offline and online integrated simulation system and method for power distribution network
CN103970887B (en) A kind of information flow display system and method based on GIS power distribution network figures
CN104133953B (en) Intelligent substation secondary design system
KR101354627B1 (en) Engineering topology generating method of the digital substation and the apparatus thereof
CN104123271B (en) Intelligent substation secondary design system based on Excel
CN106021203B (en) Intelligent substation anti-misoperation lockout logic graphical expression method
CN106933942B (en) Primary system wiring automatic mapping method based on transformer substation standard description
CN106446431B (en) The electrical secondary system method for visualizing of extra-high voltage direct-current transmission control protection equipment
CN103500249A (en) Visual relay protection setting calculation system and method
CN104504485A (en) Integrative power system relay protection setting calculation method
CN101821750A (en) Method of automatically generating an SSD file
CN110046391B (en) Automatic transformer substation primary wiring diagram generation method based on monitoring information table
CN111625964B (en) Method, system and equipment for constructing transformer substation graph model based on logical relationship
CN101510076A (en) Method for auto-generating safety describing statement of electronic operation order
CN113743057A (en) Object recognition redrawing-based power grid OCS drawing conversion method
CN103647279A (en) Plant wiring information based anticipatory fault set generation method
CN114676959A (en) Distribution network graph model management method and device
CN115563341A (en) Spatial video field for electric power operation violation identification and intelligent data processing system and method thereof
CN113762724A (en) Method for collaborative design and management of power transmission and transformation project based on BIM technology
CN103092462A (en) Graphic interaction method for forming electric power setting calculation system
CN112328538A (en) PMS2.0 graph model file importing method
CN109829612A (en) A kind of dispatching automation device information check method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20240307

Address after: Room 410, No. 10 Shishi Road, Maqun Street, Qixia District, Nanjing City, Jiangsu Province, 210000

Applicant after: NANJING JINMA INTELLIGENCE TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 210046 floor 6, building C, Maqun scientific innovation center, No. 18 Xianlin Avenue, Qixia District, Nanjing, Jiangsu Province

Applicant before: NANJING JINSHUI SHANGYANG INFORMATION TECHNOLOGY CO.,LTD.

Country or region before: China

TA01 Transfer of patent application right
GR01 Patent grant