CN111428322A - Transformer substation main wiring diagram interoperation method and system based on expansion - Google Patents

Transformer substation main wiring diagram interoperation method and system based on expansion Download PDF

Info

Publication number
CN111428322A
CN111428322A CN202010264248.4A CN202010264248A CN111428322A CN 111428322 A CN111428322 A CN 111428322A CN 202010264248 A CN202010264248 A CN 202010264248A CN 111428322 A CN111428322 A CN 111428322A
Authority
CN
China
Prior art keywords
primitive
standard
substation information
transformer substation
extension attribute
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
CN202010264248.4A
Other languages
Chinese (zh)
Other versions
CN111428322B (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.)
Nari Technology Co Ltd
NARI Nanjing Control System Co Ltd
Original Assignee
Nari Technology Co Ltd
NARI Nanjing Control System 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 Nari Technology Co Ltd, NARI Nanjing Control System Co Ltd filed Critical Nari Technology Co Ltd
Priority to CN202010264248.4A priority Critical patent/CN111428322B/en
Publication of CN111428322A publication Critical patent/CN111428322A/en
Application granted granted Critical
Publication of CN111428322B publication Critical patent/CN111428322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/84Mapping; Conversion
    • 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Public Health (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention discloses an expansion-based transformer station main wiring diagram interoperation method and system in the technical field of power system automation operation and maintenance, and aims to solve the technical problem that in the prior art, due to different factory primitive designs and implementation modes, an integrated configuration tool or a factory station end background cannot automatically generate main wiring diagrams of all factories according to transformer station information in an SCD (substation configuration description) or SSD (solid State disk) file. The method comprises the following steps: checking the imported model file, and judging whether the model file has errors or not; extracting an error-free model file to perform model warehousing management, and acquiring current transformer substation information; judging whether the current transformer substation information is in standard configuration or not based on the background primitive extension attribute; if the current transformer substation information is not in the standard configuration, converting the current transformer substation information into transformer substation information in the standard configuration; and drawing a main wiring diagram based on the transformer substation information configured in the standard, and interoperating the drawn main wiring diagram.

Description

Transformer substation main wiring diagram interoperation method and system based on expansion
Technical Field
The invention relates to a transformer substation main wiring diagram interoperation method and system based on expansion, and belongs to the technical field of power system automation operation and maintenance.
Background
Most of traditional plant end background and dispatching automation systems manually draw plant wiring diagrams, maintain power grid connection models, associate work and the like, and the mode obviously does not accord with the requirement of transformer substation intellectualization, so that a new field of source end maintenance is generated. The purpose of source end maintenance is to maintain data at a station end and realize the sharing of the whole network. During maintenance, substation information needs to be configured in an integrated configuration tool, a total station System Configuration (SCD) or System Specification (SSD) file is generated and imported into a plant end background system, a model, a main wiring diagram and an association relation are established, information monitoring is realized, and a plant end background uploads required data according to a master station scheduling requirement, so that the consistency of the whole data source is realized.
The source maintenance mainly refers to the maintenance of a data model, a network topology and a main wiring diagram. The main wiring diagram of the transformer substation refers to graphical representation of topological relations and operation states among elements of the transformer substation, and is widely applied to management, analysis and calculation of a power system, so that maintenance of the main wiring diagram is an important part of source end maintenance. At present, due to different factory primitive designs and implementation modes, an integrated configuration tool or a station end background cannot automatically generate main wiring diagrams of all factories according to transformer substation information in an SCD (substation configuration description) or SSD (solid State disk) file, so that manual drawing is still needed according to drawings or configuration information, a large amount of manpower and financial resources are consumed, and the consistency of data cannot be guaranteed.
In order to promote the standardization of the transformer substation information, the transformer substation information in the configuration file is subjected to detailed constraint by the technical specification of the Q/GDW 11662-2017 intelligent transformer substation system configuration description file (hereinafter referred to as enterprise label) and the technical specification of the intelligent transformer substation System Specification Description (SSD) modeling project implementation of the power industry standard of the national grid company, but the transformer substation information is not unified and standardized in the aspect of primitive definition. Although the enterprise logo expands the element attributes and introduces the length, width, rotation angle and coordinates of the primitive, the definition and naming mode of the primitive are not described in detail.
At present, each manufacturer adopts an expression mode of element attribute extension definition to realize detailed description of transformer substation information, but the interconnection and intercommunication of main wiring diagrams between manufacturers still have problems due to different primitive designs and implementation modes, so that a main wiring diagram interoperation method needs to be researched, and the method aims to overcome the defect that the main wiring diagrams cannot be automatically displayed due to different element definitions between manufacturers, so that interoperations such as automatic drawing of the main wiring diagrams, establishment of a primary and secondary equipment association relationship, generation of main station configuration and uploading are realized.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a transformer substation main wiring diagram interoperation method and a transformer substation main wiring diagram interoperation system based on expansion, so as to solve the technical problem that an integrated configuration tool or a station end background cannot automatically generate main wiring diagrams of all manufacturers according to transformer substation information in an SCD (substation configuration description) or SSD (solid State disk) file due to different manufacturer primitive designs and implementation modes in the prior art.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
an expansion-based transformer substation main wiring diagram interoperation method comprises the following steps:
checking the imported model file, and judging whether the model file has errors or not;
extracting an error-free model file to perform model warehousing management, and acquiring current transformer substation information;
judging whether the current transformer substation information is in standard configuration or not based on a background primitive extension attribute, wherein the background primitive extension attribute comprises a predefined standard primitive extension attribute and a primitive extension attribute set by a model file for a primary equipment element, and the standard primitive extension attribute is marked with a mapping relation between the primitive extension attribute and a primitive in a standard primitive library;
if the current transformer substation information is not in the standard configuration, converting the current transformer substation information into transformer substation information in the standard configuration;
and drawing a main wiring diagram based on the transformer substation information configured in the standard, and interoperating the drawn main wiring diagram.
Further, checking the imported model file includes:
extracting a model structure from the model file by adopting a VTD-XM L mode;
analyzing the model structure by adopting an SAX mode to obtain model data;
and analyzing the model structure by adopting an SAX mode, and simultaneously, carrying out grammar and semantic verification on the model data based on a grammar and semantic verification file preloaded in an SAX analysis library.
Further, before extracting the error-free model file for model warehousing management, the method further comprises the following steps: and judging the imported model file to be an SCD file or an SSD file.
Further, the method for acquiring the current substation information comprises the following steps:
and if the imported model file is judged to be the SCD file, establishing model data in a background database or updating the warehoused model data based on the analyzed and obtained model data.
Further, the method for acquiring the current substation information comprises the following steps:
if the imported model file is judged to be the SSD file, comparing the analyzed and obtained model data with the stored model data, and judging whether the model data are matched with the stored model data;
and if the model data obtained by analysis is matched with the model data which is put in storage, covering and updating the model data which is put in storage based on the model data obtained by analysis.
Further, the method for judging whether the current substation information is in the standard configuration comprises the following steps:
traversing primary equipment elements in the current transformer substation information, and extracting primitive extension attributes set for the primary equipment elements by the model file;
judging whether the primitive of the primary equipment element is the primitive in the standard primitive library or not based on the mapping relation between the primitive extension attribute marked by the standard primitive extension attribute and the primitive in the standard primitive library;
and if the primitive of at least any one primary equipment element in the current substation information is not the primitive in the standard primitive library, judging that the current substation information is not the standard configuration.
Further, a method of converting current substation information to standard configured substation information if the current substation information is not in a standard configuration, comprising:
traversing primary equipment elements in the current transformer substation information, and extracting primitive extension attributes set for the primary equipment elements by the model file;
and mapping the primitive of the primary equipment element in the current substation information into the primitive in the standard primitive library according to a preset primitive conversion strategy based on the mapping relation between the primitive extension attribute marked by the standard primitive extension attribute and the primitive in the standard primitive library.
In order to achieve the above object, the present invention further provides an expansion-based transformer substation main wiring diagram interoperation system, including:
a model file checking module: the model file verification system is used for verifying the imported model file and judging whether the model file has errors or not;
the model file extraction module: the method comprises the steps of extracting an error-free model file to perform model warehousing management, and acquiring current transformer substation information;
a standard configuration judging module: the system comprises a background primitive extension attribute module, a primary equipment element module, a model file module, a primary primitive library module and a secondary primitive extension attribute module, wherein the background primitive extension attribute module is used for judging whether current substation information is in standard configuration or not based on the background primitive extension attribute, the background primitive extension attribute comprises a predefined standard primitive extension attribute and a primitive extension attribute set for the primary equipment element by the model file, and the standard primitive extension attribute is marked with a mapping relation between the primitive extension attribute and a primitive in the;
the transformer substation information conversion module: if the current transformer substation information is not in the standard configuration, converting the current transformer substation information into transformer substation information in the standard configuration;
an interoperation module: the method is used for drawing the main wiring diagram based on the transformer substation information configured in the standard and carrying out interoperation on the drawn main wiring diagram.
Further, the standard configuration determination module includes:
and a primitive extension attribute extraction submodule: the system comprises a model file, a primary equipment element, a secondary equipment element and a primary equipment element, wherein the model file is used for setting a primary equipment element;
and a standard primitive judgment submodule: and the method is used for judging whether the primitive of the primary equipment element is the primitive in the standard primitive library or not based on the mapping relation between the primitive extension attribute marked by the standard primitive extension attribute and the primitive in the standard primitive library, and judging whether the current substation information is not standard configuration if the primitive of at least any one primary equipment element in the current substation information is not the primitive in the standard primitive library.
Further, the substation information conversion module includes:
and (3) a standard primitive mapping submodule: and the method is used for mapping the primitive of the primary equipment element in the current substation information into the primitive in the standard primitive library according to a preset primitive conversion strategy based on the mapping relation between the primitive extension attribute marked by the standard primitive extension attribute and the primitive in the standard primitive library.
In order to achieve the above object, the present invention also provides a computer processing control apparatus, comprising:
a memory: for storing instructions;
a processor: the method is used for operating according to the instruction to execute the steps of the expansion-based substation main wiring diagram interoperation method provided by the invention.
To achieve the above object, the present invention further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of an extended substation master wiring diagram based interoperation method provided by the present invention.
Compared with the prior art, the invention has the following beneficial effects: in the method and the system, the standard primitive extension attribute marked with the mapping relation between the primitive extension attribute and the primitive in the standard primitive library is predefined, and the predefined standard primitive extension attribute and the primitive extension attribute set by the model file for the primary equipment element jointly form the background primitive extension attribute. After the plant end background performs warehousing management operation on the model files, whether current substation information is in standard configuration or not is judged based on the mapping relation marked by the standard primitive expansion attribute, if the current substation information is not in standard configuration, the primitives of primary equipment elements in the current substation information are mapped into the primitives in the standard primitive library based on the mapping relation marked by the standard primitive expansion attribute, so that the standardized conversion of the substation information is completed, the automatic generation and interoperation of a substation master wiring diagram are realized, the consistency of model data, topological relation and the master wiring diagram is ensured at a data source end, and the source end maintenance of the plant end is realized.
Drawings
FIG. 1 is a schematic flow diagram of an embodiment of the method of the present invention;
FIG. 2 is a schematic flow chart of primitive conversion according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of the rotation angle processing in the embodiment of the method of the present invention;
FIG. 4 is a schematic diagram of the primitive processing flow of the primitive transformation strategies 1 and 2 in the embodiment of the method of the present invention;
FIG. 5 is a schematic diagram of the primitive processing flow of the primitive conversion strategies 3, 4, 5, and 6 according to the embodiment of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
The specific implementation mode of the invention provides an expansion-based transformer substation main wiring diagram interoperation method, as shown in fig. 1, the method is a flow diagram of an embodiment of the method, and the method mainly comprises the following steps:
step 1, a station side background (hereinafter referred to as a background) imports an SCD (System configuration description) or SSD (solid State disk) file, namely, the SCD or SSD file is imported into a station side background system, and a model file of a model, a main wiring diagram and an incidence relation is established. The substation information in the SCD or SSD file conforms to the configuration requirement of the national grid company enterprise label "Q/GDW 11662 and 2017 intelligent substation system configuration description file specification" (hereinafter referred to as enterprise label), the primitive drawing attribute is extended, specifically defined as shown in table 1, and a manufacturer sets the primitive extension attribute of a primary device element in the generated SCD or SSD file according to the defined drawing extension attribute.
Table 1: SSD drawing extension attribute definition
Figure BDA0002440636080000051
Figure BDA0002440636080000061
After the background imports the model file, analyzing the model file and checking the model file, wherein the method comprises the following steps:
(1) and extracting the model structure from the model file by adopting a VTD-XM L mode, if the imported model file is judged to be an SCD file, extracting the transformer substation model structure and the device model structure matched with the transformer substation model structure, and if the imported model file is judged to be an SSD file, extracting the transformer substation model structure.
(2) And analyzing the model structure by adopting an SAX mode to obtain model data. In order to realize the conversion of non-standardized primitives and the redefinition of primitive conversion strategies, a background predefines standard primitive extension attributes on the basis of drawing extension attributes (corresponding to the setting of the primitive extension attributes of primary equipment elements in a model file) defined in table 1, and simultaneously, all integer types are replaced by floating point types for drawing extension attribute types compatible with main wiring diagrams of various manufacturers, and the specific definition of the standard primitive extension attributes is shown in table 2. The predefined standard primitive extension attribute and the primitive extension attribute set by the model file for the primary equipment element jointly form a background primitive extension attribute. In this embodiment, the purpose of defining the standard primitive extension attribute is to mark a mapping relationship between the primitive extension attribute and a primitive in the standard primitive library by using the standard primitive extension attribute.
Table 2: standard primitive extension attribute definition table
Figure BDA0002440636080000062
Figure BDA0002440636080000071
(3) Loading a schema syntax XSD file and a semantic check rule file in an SAX analysis library, and carrying out syntax check and semantic check on the model data and printing a check report in the analysis process. The semantic verification rule file defines specific model verification items and error grades, and the error grades are divided into three grades according to the severity error grades: errors, warnings, prompts, and semantic check rule files may be configured.
And 2, performing model warehousing management based on the model file without the error level, and acquiring the current transformer substation information. The method comprises the following steps: if the imported model file is judged to be the SCD file, model data after SAX analysis is built in a background database or the put-in model data is updated; and if the imported model file is judged to be the SSD file, comparing whether the model data analyzed by the SAX is matched with the model data which is stored in the storage, and if so, updating the stored model data in a covering manner.
And 3, judging whether the primary equipment element in the current transformer substation information is in standard configuration or not by the background primitive extension attribute. Firstly, traversing primary equipment elements in current transformer substation information, and extracting a primitive extension attribute symbol _ org set for the primary equipment elements by a model file; then, based on the mapping relationship between the primitive extension attribute symbol _ org marked by the standard primitive extension attribute and the primitive in the standard primitive library, whether the primitive is the primitive in the standard primitive library is judged. If all the primitives of the primary equipment elements in the current transformer substation information are the primitives in the standard primitive library, judging that the current transformer substation information is in standard configuration, and directly performing the step 5; and (4) if the primitive of at least one primary equipment element in the current transformer substation information is not the primitive in the standard primitive library, judging that the current transformer substation information is not standard configuration, performing step 4, selecting a primitive conversion strategy, converting the transformer substation information into the standard configuration, and preparing for automatically drawing a main wiring diagram by a background.
And 4, if the current transformer substation information is in non-standard configuration, realizing the standardized conversion of the transformer substation information. The main process is as follows: firstly, traversing primary equipment elements in current transformer substation information, and extracting primitive extension attributes set for the primary equipment elements by a model file; and then, mapping the primitive of the primary equipment element in the current substation information into the primitive in the standard primitive library according to a preset primitive conversion strategy based on the mapping relation between the primitive extension attribute marked by the standard primitive extension attribute and the primitive in the standard primitive library. The specific contents are as follows:
(1) primary equipment element standardization conversion: traversing the equipment elements at intervals, mapping the non-standard primitives into standard primitives according to a primitive conversion strategy, and updating the extended attributes of the standard primitives;
(2) updating primary device element primitive relative coordinates to absolute coordinates: according to the enterprise logo definition, the upper left point coordinate in the primitive extension attribute is a coordinate relative to the original point of the upper left point coordinate system of the upper element, in the process of automatically generating the main wiring diagram, the transformer substation coordinate is defined as the original point (0, 0) of the canvas, and according to the transformer substation information structure, the voltage grade, the interval and the primary equipment element primitive coordinate are updated layer by layer as absolute coordinates relative to the transformer substation coordinate.
The primary equipment component standardization conversion method is described in detail below. In the embodiment, six primitive conversion strategies are provided, and the flow of primitive conversion in the six primitive conversion strategies is the same, as shown in fig. 2, which is a schematic flow chart of primitive conversion in the embodiment of the method of the present invention, and the specific method is as follows:
(1) and acquiring a standard primitive mapping object of the same type as the primary equipment element from a standard primitive library: if the primary equipment element belongs to a reduced equipment object, searching a corresponding standard primitive in a standard primitive library according to the type attribute type of the primary equipment element; if the primary equipment element belongs to a PowerTransformer transformer object, determining that the primary equipment element is a two-turn or 3-turn transformer or other transformers according to the number of transformerwining objects of a transformer winding, and acquiring corresponding standard primitives from a standard primitive library;
(2) when the primary equipment element belongs to the reduced equipment object, processing the primitive extension attribute rotate _ org to obtain a rotation interval flag rotate _ range and a rotation angle flag rotate _ angle. Fig. 3 is a schematic flow chart of the rotation angle processing in the embodiment of the method of the present invention, and the specific method is as follows:
1) when the rotate _ org is less than 0, circularly performing the operation of rotate _ org being equal to rotate _ org +360 until the rotate _ org being equal to 0, and converting the anticlockwise rotation angle into the clockwise rotation angle;
2) when the rotate _ org > is 360, circularly performing the rotate _ org-360 operation until the rotate _ org < 360;
3) calculating a rotation interval mark rotate _ range in which the rotation angle rotate _ org is located, wherein rotate _ range is rotate _ org/90, and acquiring a rotation angle mark rotate _ angle according to the rotation interval mark, wherein rotate _ angle is rotate _ range 90;
4) when the rotation angle is not more than 45 away from the next interval, the rotation interval flag is assigned as the next interval value, and the rotation angle flag is updated, that is, when rotate _ org% 90> is 45, rotate _ range +1 and rotate _ angle _ range 90.
(3) Processing the primitive extension attributes of the primary equipment elements and updating the values of the primitive extension attributes;
(4) and processing the endpoint of the primitive.
The six primitive conversion strategies are mainly distinguished by primitive extension attribute and endpoint processing methods:
(1) in the aspect of processing the primitive extension attributes, firstly, a factory-customized primitive is mapped to a standard primitive according to a primitive conversion strategy, and the primitive extension attributes are updated. The IEC61850 standard defines about 25 kinds of primary devices, such as circuit breakers, disconnectors, voltage/current transformers, transformer windings, etc., and each type of primary device is specifically divided into many subtypes, such as circuit breakers including standard circuit breakers, circuit breaker trolleys, etc., only the device type where the primitive is located can be located through the type attribute of the primary device element, and the primitive cannot be mapped to a specific primitive, so that the background standard primitive library covers all types of primitives, groups each type of standard primitive under the conditions of the number of non-ground terminals and the number of ground terminals, and assigns a default standard primitive for each group. Therefore, the mapping process from the factory customized primitive to the standard primitive is as follows: and searching the equipment type where the mapping standard primitive is located in the standard primitive library according to the primary equipment type, and positioning the group where the mapping standard primitive is located according to the number of non-grounding end points and the number of grounding end points of a factory customized primitive, wherein the default standard primitive of the group is the mapping standard primitive. And after the background main wiring diagram is automatically generated, checking the main wiring diagram according to the drawing, and updating the default primitive which does not conform to the design in the main wiring diagram to the correct primitive of the same sub-type group, so that the accurate mapping from the non-standardized primitive to the standard primitive is realized.
(2) In the aspect of primitive endpoint processing, primitives mostly have one or two endpoints, for a primitive with one endpoint, the problem of relative position of the endpoints does not exist, processing is not needed, and for primitives with two endpoints, the processing modes of relative positions of manufacturers are different. Thus, the processing of primitive endpoints actually refers to the processing of the relative positions of the endpoints of primitives with two endpoints (except for the transformer), and the other primitive endpoints are processed by the default endpoint method specified by the standard primitive. Primitive endpoint designations are defined as T1, T2, T3 …, based on the logo. This is true for the primitive endpoint processing that occurs below.
In this embodiment, the above six primitive transformation strategies are introduced as follows:
(1) primitive conversion strategy 1: and mapping the primitive to a standard primitive according to the primary equipment element type attribute type, the primitive extension attribute height _ org and the width _ org, and updating the primitive extension attribute, wherein the current primitive is a rotated primitive, and the endpoint of the primitive adopts a default value. FIG. 4 is a schematic diagram of the primitive processing flow of the primitive transformation strategies 1 and 2 in the embodiment of the method of the present invention, wherein widthstd、heightstd、symbolstd、rotatestdExtend attribute information, rotate, for primitives in a standard primitive librarystdDefault to 0, and the following appearance attributes all do. The specific method comprises the following steps:
1) mapping the primitive to the default primitive of the same type in the current standard primitive library according to the primary equipment element type and the primitive endpoint, and updating the primitive extension attribute symbol (symbol)std
2) And calculating the primitive extension attributes width, height and rotate, wherein the formula is as follows:
Figure BDA0002440636080000101
Figure BDA0002440636080000102
Figure BDA0002440636080000103
3) primitive coordinates xpos _ org and ypos _ org are set.
For a primitive with two endpoints, the relative position of the endpoint of the primitive adopts a default value, and the processing method comprises the following steps: the end positions are arranged left and right, the left side is T1, the right side is T2, the end positions are arranged up and down, the upper side is T1, and the lower side is T2.
(2) Primitive conversion strategy 2: and mapping the primitive to a standard primitive according to the primary equipment element type attribute type, the primitive extension attribute height _ org and the width _ org, and updating the primitive extension attribute, wherein the current primitive is a rotated primitive, and the endpoint of the primitive is changed along with the rotation interval mark rotate _ range. The primitive conversion strategy 2 and the primitive conversion strategy 1 have the same flow except that the primitive endpoint processing mode is different, and the specific method comprises the following steps:
1) the endpoint positions of the primitive after rotation are set up from top to bottom, when rotate _ range is 0 or 1, the upside is T1, the downside is T2, otherwise, the upside is T2, the downside is T1;
2) the endpoint positions of the primitive after rotation are set left and right, when rotate _ range is 0 or 3, the left side is T1, the right side is T2, otherwise, the left side is T2, and the right side is T1.
(3) Primitive conversion strategy 3: and mapping the primitive to a standard primitive according to the primary equipment element type attribute type, the primitive extension attribute height _ org, the width _ org and the rotation angle mark rotate _ angle, updating the primitive extension attribute, wherein the current primitive is a primitive before rotation, the coordinate of the upper left point of the primitive is changed along with the rotation angle mark rotate _ angle, and the endpoint of the primitive adopts a default value. As shown in fig. 5, it is a schematic diagram of primitive processing flows of primitive conversion strategies 3, 4, 5, and 6 in the embodiment of the method of the present invention, and the specific method is as follows:
1) mapping the primitive to the default primitive of the same type in the current standard primitive library according to the primary equipment element type and the primitive endpoint, and updating the primitive extension attribute symbol (symbol)std
2) Calculating primitive extension attributes width, height and rotate, wherein the width and height calculation formulas are the same as the strategy 1, and the rotate calculation formula is as follows:
Figure BDA0002440636080000111
3)and calculating the coordinates xpos and ypos of the primitive. The standard primitive after primitive mapping is used for surrounding the central point (x) of the primitive graphic element rectangle0,y0) And rotating theta (theta), and changing the coordinates of the upper left point of the mapping standard primitive after rotation, wherein the specific formula is as follows:
mapping standard primitive upper left point coordinate with central point (x)0,y0) The coordinates (x, y) after rotation by θ are:
Figure BDA0002440636080000112
the rotation interval rotate _ angle includes 4, and from the value of θ in each interval, the calculation formula of (x, y) is as follows:
when rotate _ range is 0:
Figure BDA0002440636080000113
when rotate _ range is 1:
Figure BDA0002440636080000114
when rotate _ range is 2:
Figure BDA0002440636080000121
when rotate _ range is 3:
Figure BDA0002440636080000122
from the coordinates (x, y), the coordinates (xpos, ypos) of the top left point of the standard primitive mapped after rotation can be derived, and the calculation formula is as follows:
when rotate _ range is 0:
Figure BDA0002440636080000123
when rotate _ range is 1:
Figure BDA0002440636080000124
when rotate _ range is 2:
Figure BDA0002440636080000125
when rotate _ range is 3:
Figure BDA0002440636080000126
for a primitive with two endpoints, the relative position of the endpoint of the primitive adopts a default value, and the processing method comprises the following steps: the end positions are arranged left and right, the left side is T1, the right side is T2, the end positions are arranged up and down, the upper side is T1, and the lower side is T2.
(4) Primitive conversion strategy 4: mapping the primitive to a standard primitive according to a primary equipment element type attribute type, a primitive extension attribute height _ org, a width _ org, a rotation angle mark rotate _ angle and a rotation interval mark rotate _ range, and updating the primitive extension attribute, wherein the current primitive is a primitive before rotation, and the coordinates of the upper left point of the primitive and the endpoint of the primitive are changed along with the rotation interval mark rotate _ range. The primitive conversion strategy 4 and the primitive conversion strategy 3 have the same flow except that the primitive endpoint processing mode is different, and the specific method comprises the following steps:
1) after the rotation, the endpoint positions of the primitives are set up and down, when rotate _ range is 0 or 1, the upper side is T1, the lower side is T2, otherwise, the upper side is T2, and the lower side is T1;
2) the endpoint positions of the primitives after rotation are set to left and right, when rotate _ range is 0 or 3, the left side is T1, the right side is T2, otherwise, the left side is T2, and the right side is T1.
(5) Primitive conversion strategy 5: and mapping the primitive to a standard primitive according to the primary equipment element type attribute type, the primitive extension attribute height _ org, the width _ org and the rotation angle mark rotate _ angle, updating the primitive extension attribute, wherein the current primitive is a primitive before rotation, the coordinate of the upper left point of the primitive does not change along with the rotation angle mark rotate _ angle, and the endpoint of the primitive adopts a default value. The process of the primitive conversion strategy 5 is the same as that of the primitive conversion strategy 3 except that the processing mode of the coordinates of the upper left point of the primitive is different, and the specific method comprises the following steps: primitive coordinates xpos _ org and ypos _ org are set.
(6) Primitive conversion strategy 6: mapping the primitive to a standard primitive according to a primary equipment element type attribute type, a primitive extension attribute height _ org, a width _ org, a rotation angle mark rotate _ angle and a rotation interval mark rotate _ range, and updating the primitive extension attribute, wherein the current primitive is a primitive before rotation, the coordinate of the upper left point of the primitive does not change along with the rotation angle mark rotate _ angle, and the endpoint of the primitive changes along with the rotation interval mark rotate _ range. The primitive conversion strategy 6 and the primitive conversion strategy 4 have the same flow except that the processing mode of the coordinates of the upper left point of the primitive is different, and the specific method comprises the following steps: primitive coordinates xpos _ org and ypos _ org are set.
When a primitive conversion strategy is selected, the tool sets an optimal strategy according to a primary equipment element type attribute type belonging to a connectingEquipment object, and the optimal method comprises the following steps:
1) if all primary equipment elements of the same type attribute type have the same configuration of symbol _ org corresponding to the primitive extension attribute rotate _ org, the optimal strategy is set to be 5 by default;
2) if primary equipment elements of the same type of attribute type exist, the configuration of symbol _ org corresponding to the primitive extension attribute rotate _ org is different, and a policy 1 is preferred by default.
And 5, automatically generating a main wiring diagram by the background according to element primitive information of the primary equipment of the transformer substation: automatically drawing voltage grades and intervals, wherein the voltage grades can cover all intervals in the voltage grades, and the intervals can cover all primary equipment element primitives in the intervals; drawing primary device elements within each interval: rotating rotate clockwise the standard primitive identifying the primitive as symbol at canvas origin (0, 0), moving horizontally and vertically to canvas coordinates (xpos, ypos); identifying endpoints (T1, T2, T3 …) in the primitive; and drawing the association relation between the endpoint of the primitive and the connection point. And judging whether the generated main wiring diagram is correct or not, if the conditions of disordered connection and the like exist, replacing a primitive conversion strategy, and automatically updating the main wiring diagram by a background. Because the primary equipment element primitive in the main wiring diagram is fuzzy mapping, the sub-type of the replacement primitive needs to be selected in the main wiring diagram according to the drawing, for example, the breaker A, if the breaker is a breaker trolley instead of a standard breaker, the sub-type of the replacement primitive is selected, the trolley is selected in all the primitives in the same group of popped breaker types, the updating of the primitive is completed, the background supports the batch replacement of the sub-type of the primitive, and the operation is simple.
And step 6, interoperating the main wiring diagram, wherein the points are simply introduced as follows:
(1) and automatically establishing the association relationship between the primary equipment element graphic primitive and the background database device model data in the main wiring diagram according to the association relationship between the primary equipment and the secondary equipment.
(2) And acquiring each node value in the background database according to the incidence relation between the graphic primitive and the device model data, displaying the node values in the main wiring diagram in real time, and monitoring and checking the link state of the main wiring diagram.
(3) And receiving a request of the master station, generating a corresponding configuration file according to the request and uploading the configuration file to the master station scheduling terminal.
According to the method for interoperating the main wiring diagram of the substation based on the expansion, after the back-end of the substation performs warehousing management operation on the model file, the non-standardized primitives of the primary equipment element are mapped into the standard primitives according to the primitive conversion strategy, standardized conversion of substation information is completed, automatic generation and interoperation of the main wiring diagram of the substation are achieved, consistency of model data, topological relation and the main wiring diagram is guaranteed at a data source end, and accordingly source end maintenance of the substation is achieved.
The specific implementation mode of the invention also provides an expansion-based transformer station main wiring diagram interoperation system, the system is used for realizing the method, and the system comprises:
a model file checking module: the model file verification system is used for verifying the imported model file and judging whether the model file has errors or not;
the model file extraction module: the method comprises the steps of extracting an error-free model file to perform model warehousing management, and acquiring current transformer substation information;
a standard configuration judging module: the system comprises a background primitive extension attribute module, a primary equipment element module, a model file module, a primary primitive library module and a secondary primitive extension attribute module, wherein the background primitive extension attribute module is used for judging whether current substation information is in standard configuration or not based on the background primitive extension attribute, the background primitive extension attribute comprises a predefined standard primitive extension attribute and a primitive extension attribute set for the primary equipment element by the model file, and the standard primitive extension attribute is marked with a mapping relation between the primitive extension attribute and a primitive in the;
the transformer substation information conversion module: if the current transformer substation information is not in the standard configuration, converting the current transformer substation information into transformer substation information in the standard configuration;
an interoperation module: the method is used for drawing the main wiring diagram based on the transformer substation information configured in the standard and carrying out interoperation on the drawn main wiring diagram.
More specifically, the standard configuration determination module includes:
and a primitive extension attribute extraction submodule: the system comprises a model file, a primary equipment element, a secondary equipment element and a primary equipment element, wherein the model file is used for setting a primary equipment element;
and a standard primitive judgment submodule: and the method is used for judging whether the primitive of the primary equipment element is the primitive in the standard primitive library or not based on the mapping relation between the primitive extension attribute marked by the standard primitive extension attribute and the primitive in the standard primitive library, and judging whether the current substation information is not standard configuration if the primitive of at least any one primary equipment element in the current substation information is not the primitive in the standard primitive library.
More specifically, the substation information conversion module includes:
and (3) a standard primitive mapping submodule: and the method is used for mapping the primitive of the primary equipment element in the current substation information into the primitive in the standard primitive library according to a preset primitive conversion strategy based on the mapping relation between the primitive extension attribute marked by the standard primitive extension attribute and the primitive in the standard primitive library.
The embodiment of the present invention also provides a computer processing control apparatus, including:
a memory: for storing instructions;
a processor: the method is used for operating according to the instruction to execute the steps of the expansion-based substation main wiring diagram interoperation method provided by the invention.
The specific embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, and the program is executed by a processor to realize the steps of the transformer substation main wiring diagram interoperation method based on the expansion provided by the invention.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (12)

1. A transformer substation main wiring diagram interoperation method based on expansion is characterized by comprising the following steps:
checking the imported model file, and judging whether the model file has errors or not;
extracting an error-free model file to perform model warehousing management, and acquiring current transformer substation information;
judging whether the current transformer substation information is in standard configuration or not based on a background primitive extension attribute, wherein the background primitive extension attribute comprises a predefined standard primitive extension attribute and a primitive extension attribute set by a model file for a primary equipment element, and the standard primitive extension attribute is marked with a mapping relation between the primitive extension attribute and a primitive in a standard primitive library;
if the current transformer substation information is not in the standard configuration, converting the current transformer substation information into transformer substation information in the standard configuration;
and drawing a main wiring diagram based on the transformer substation information configured in the standard, and interoperating the drawn main wiring diagram.
2. The method for interoperating with a substation master wiring diagram based on expansion according to claim 1, wherein the verification of the imported model file comprises:
extracting a model structure from the model file by adopting a VTD-XM L mode;
analyzing the model structure by adopting an SAX mode to obtain model data;
and analyzing the model structure by adopting an SAX mode, and simultaneously, carrying out grammar and semantic verification on the model data based on a grammar and semantic verification file preloaded in an SAX analysis library.
3. The method for interoperating the substation main wiring diagram based on the expansion as claimed in claim 2, further comprising, before extracting the error-free model file and performing model warehousing management, the steps of: and judging the imported model file to be an SCD file or an SSD file.
4. The method for interoperating with the expansion-based substation main wiring diagram according to claim 3, wherein the method for acquiring the current substation information comprises:
and if the imported model file is judged to be the SCD file, establishing model data in a background database or updating the warehoused model data based on the analyzed and obtained model data.
5. The method for interoperating with the expansion-based substation main wiring diagram according to claim 3, wherein the method for acquiring the current substation information comprises:
if the imported model file is judged to be the SSD file, comparing the analyzed and obtained model data with the stored model data, and judging whether the model data are matched with the stored model data;
and if the model data obtained by analysis is matched with the model data which is put in storage, covering and updating the model data which is put in storage based on the model data obtained by analysis.
6. The method for interoperating with the extended substation main wiring diagram based on claim 1, wherein the method for determining whether the current substation information is in a standard configuration comprises:
traversing primary equipment elements in the current transformer substation information, and extracting primitive extension attributes set for the primary equipment elements by the model file;
judging whether the primitive of the primary equipment element is the primitive in the standard primitive library or not based on the mapping relation between the primitive extension attribute marked by the standard primitive extension attribute and the primitive in the standard primitive library;
and if the primitive of at least any one primary equipment element in the current substation information is not the primitive in the standard primitive library, judging that the current substation information is not the standard configuration.
7. The method of claim 1, wherein if the current substation information is not in a standard configuration, the method of converting the current substation information to the standard configuration substation information comprises:
traversing primary equipment elements in the current transformer substation information, and extracting primitive extension attributes set for the primary equipment elements by the model file;
and mapping the primitive of the primary equipment element in the current substation information into the primitive in the standard primitive library according to a preset primitive conversion strategy based on the mapping relation between the primitive extension attribute marked by the standard primitive extension attribute and the primitive in the standard primitive library.
8. An expansion-based transformer substation main wiring diagram interoperation system is characterized by comprising:
a model file checking module: the model file verification system is used for verifying the imported model file and judging whether the model file has errors or not;
the model file extraction module: the method comprises the steps of extracting an error-free model file to perform model warehousing management, and acquiring current transformer substation information;
a standard configuration judging module: the system comprises a background primitive extension attribute module, a primary equipment element module, a model file module, a primary primitive library module and a secondary primitive extension attribute module, wherein the background primitive extension attribute module is used for judging whether current substation information is in standard configuration or not based on the background primitive extension attribute, the background primitive extension attribute comprises a predefined standard primitive extension attribute and a primitive extension attribute set for the primary equipment element by the model file, and the standard primitive extension attribute is marked with a mapping relation between the primitive extension attribute and a primitive in the;
the transformer substation information conversion module: if the current transformer substation information is not in the standard configuration, converting the current transformer substation information into transformer substation information in the standard configuration;
an interoperation module: the method is used for drawing the main wiring diagram based on the transformer substation information configured in the standard and carrying out interoperation on the drawn main wiring diagram.
9. The expansion-based substation main wiring diagram interoperation system according to claim 8, wherein the standard configuration decision module comprises:
and a primitive extension attribute extraction submodule: the system comprises a model file, a primary equipment element, a secondary equipment element and a primary equipment element, wherein the model file is used for setting a primary equipment element;
and a standard primitive judgment submodule: and the method is used for judging whether the primitive of the primary equipment element is the primitive in the standard primitive library or not based on the mapping relation between the primitive extension attribute marked by the standard primitive extension attribute and the primitive in the standard primitive library, and judging whether the current substation information is not standard configuration if the primitive of at least any one primary equipment element in the current substation information is not the primitive in the standard primitive library.
10. The expansion-based substation main wiring diagram interoperation system according to claim 9, wherein the substation information conversion module comprises:
and (3) a standard primitive mapping submodule: and the method is used for mapping the primitive of the primary equipment element in the current substation information into the primitive in the standard primitive library according to a preset primitive conversion strategy based on the mapping relation between the primitive extension attribute marked by the standard primitive extension attribute and the primitive in the standard primitive library.
11. Computer processing control device, characterized by, includes:
a memory: for storing instructions;
a processor: for operating in accordance with the instructions to perform the steps of the method of any one of claims 1 to 7.
12. Computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202010264248.4A 2020-04-07 2020-04-07 Transformer substation main wiring diagram interoperation method and system based on expansion Active CN111428322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010264248.4A CN111428322B (en) 2020-04-07 2020-04-07 Transformer substation main wiring diagram interoperation method and system based on expansion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010264248.4A CN111428322B (en) 2020-04-07 2020-04-07 Transformer substation main wiring diagram interoperation method and system based on expansion

Publications (2)

Publication Number Publication Date
CN111428322A true CN111428322A (en) 2020-07-17
CN111428322B CN111428322B (en) 2022-09-30

Family

ID=71557510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010264248.4A Active CN111428322B (en) 2020-04-07 2020-04-07 Transformer substation main wiring diagram interoperation method and system based on expansion

Country Status (1)

Country Link
CN (1) CN111428322B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102270261A (en) * 2011-08-09 2011-12-07 山东电力工程咨询院有限公司 Design method for intelligent transformer station model based on CAD (Computer-Aided Design) graph and model integration
CN103927332A (en) * 2014-03-24 2014-07-16 河海大学 IEC (international electrotechnical commission) 61850-based visual graphics configuration method and IEC61850-based visual graphics configuration system
CN105095600A (en) * 2015-09-01 2015-11-25 国网天津市电力公司 Intelligent substation and regulation and control center coordinative modeling method
CN109086515A (en) * 2018-07-25 2018-12-25 西南交通大学 The modeling method of primary equipment pictorial information in intelligent substation SSD based on SVG

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102270261A (en) * 2011-08-09 2011-12-07 山东电力工程咨询院有限公司 Design method for intelligent transformer station model based on CAD (Computer-Aided Design) graph and model integration
CN103927332A (en) * 2014-03-24 2014-07-16 河海大学 IEC (international electrotechnical commission) 61850-based visual graphics configuration method and IEC61850-based visual graphics configuration system
CN105095600A (en) * 2015-09-01 2015-11-25 国网天津市电力公司 Intelligent substation and regulation and control center coordinative modeling method
CN109086515A (en) * 2018-07-25 2018-12-25 西南交通大学 The modeling method of primary equipment pictorial information in intelligent substation SSD based on SVG

Also Published As

Publication number Publication date
CN111428322B (en) 2022-09-30

Similar Documents

Publication Publication Date Title
CN107292003B (en) Automatic generation method of power grid station wiring diagram
CN110113220B (en) Plug and play method for electric power Internet of things end equipment
CN104133953B (en) Intelligent substation secondary design system
CN104951997B (en) Various dimensions artwork mass analysis method towards power distribution network
CN106021203B (en) Intelligent substation anti-misoperation lockout logic graphical expression method
CN106383958A (en) Intelligent check and acceptance system of substation anti-misoperation locking logic
CN102609520A (en) Method for exporting model data of substation by filtering
CN116579116B (en) Method and system for integrated maintenance of distribution line diagram module
CN108490282B (en) Method and system for presetting alarm test data of intelligent substation
CN103208087A (en) Power distribution network data checking method based on international electrotechnical commission (IEC) 61968 standard
CN115510842A (en) Transformer substation model full-data verification method based on new-generation secondary system
CN104201779A (en) Online monitor data automatic integration monitor method based on SVG
CN111428322B (en) Transformer substation main wiring diagram interoperation method and system based on expansion
CN109767056A (en) Boss station integrative graph management method, system and storage medium
CN105914732A (en) High-voltage power grid theoretical line loss evaluation system
CN111625944B (en) Normalization verification method for G file of transformer substation main wiring diagram
CN109710669B (en) Method for improving accuracy of full power grid model data based on check rule base
CN109271350B (en) Database and information point table automatic comparison and synchronization method based on telecontrol communication
CN114936442B (en) System and method for accurately positioning power distribution network equipment and forming topological graph
CN111475559A (en) Multi-directional conversion method for urban and rural planning result data
CN111830918B (en) EPLAN platform-based nuclear power DCS control cabinet complete drawing upgrading method and system
CN114676959A (en) Distribution network graph model management method and device
CN112328538A (en) PMS2.0 graph model file importing method
CN102496882B (en) Acquisition system and acquisition method for monitoring point foreground of substation chart
CN111914376B (en) Automatic construction method and device for power grid bus mode diagram and storage medium

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
GR01 Patent grant
GR01 Patent grant