CN113536740A - Method and terminal for generating SPCD file based on SCD file - Google Patents
Method and terminal for generating SPCD file based on SCD file Download PDFInfo
- Publication number
- CN113536740A CN113536740A CN202110808364.2A CN202110808364A CN113536740A CN 113536740 A CN113536740 A CN 113536740A CN 202110808364 A CN202110808364 A CN 202110808364A CN 113536740 A CN113536740 A CN 113536740A
- Authority
- CN
- China
- Prior art keywords
- screen
- interval
- main transformer
- bus
- protection
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 208000033897 Systemic primary carnitine deficiency Diseases 0.000 title claims abstract 18
- 208000016505 systemic primary carnitine deficiency disease Diseases 0.000 title claims abstract 18
- 239000000835 fiber Substances 0.000 claims abstract description 49
- 230000003287 optical effect Effects 0.000 claims abstract description 49
- 238000004891 communication Methods 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 18
- 238000005259 measurement Methods 0.000 claims description 14
- 239000013307 optical fiber Substances 0.000 claims description 13
- 230000009467 reduction Effects 0.000 claims description 9
- 230000009191 jumping Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 6
- 238000000605 extraction Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000001174 ascending effect Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 241000272814 Anser sp. Species 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001681 protective effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
- G06F40/154—Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/80—Information 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/83—Querying
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/14—Tree-structured documents
- G06F40/143—Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Artificial Intelligence (AREA)
- Economics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- Water Supply & Treatment (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Public Health (AREA)
- Library & Information Science (AREA)
- Emergency Protection Circuit Devices (AREA)
Abstract
The invention provides a method and a terminal for generating an SPCD file based on an SCD file. The method comprises the following steps: extracting substation primary system information and substation secondary equipment physical connection information from the SCD file; constructing an area and a screen cabinet of an SPCD file according to the voltage class, the interval and secondary equipment related to the interval, and distributing IEDs in the SCD file to each screen cabinet; creating ODF equipment for each screen cabinet, and allocating ODF ports for the ODF equipment; constructing a jump fiber list in the screen cabinet and a connection optical cable between the screen cabinets according to the physical connection information of the equipment in the screen cabinet; associating each physical connection to an ODF port and a fiber optic cable core; and generating an SPCD file, and configuring the transformer substation based on the SPCD file. The invention can avoid manual configuration of engineering personnel, solve the problem of easy error caused by manual configuration and improve the efficiency.
Description
Technical Field
The invention relates to the technical field of intelligent substations, in particular to a method and a terminal for generating an SPCD file based on an SCD file.
Background
With the deep development of the intelligent substation, various configuration files are generated in order to meet the requirements of standardization, specialization, high quality and high efficiency of engineering configuration. Based on relevant technical specifications, physical loops such as an optical fiber loop and a station control layer twisted pair loop in a secondary loop of an intelligent substation are modeled, and an intelligent substation physical loop configuration description file is specified: the SPCD (Substation Physical Configuration Description) file provides a basis for sharing Physical loop Configuration among various devices and applications of the intelligent Substation and the operation and maintenance master station.
At present, a power grid company configures a physical loop by using an SCD (Substation Configuration description) file, however, the SCD file only relates to an IED (Intelligent Electronic Device), a switch, a board, a port and a physical connection, and does not have objects such as an area, a cabinet, an ODF (Optical Distribution Frame), and an Optical cable in an SPCD file, and these objects that are not related to the SCD file need to be manually configured by an engineer, which is easy to make an error and has low efficiency.
Disclosure of Invention
The embodiment of the invention provides a method and a terminal for generating an SPCD file based on an SCD file, which are used for solving the problems that objects which are not related in the SCD file need to be manually configured by engineering personnel, errors are easy to occur and the efficiency is low.
In a first aspect, an embodiment of the present invention provides a method for generating an SPCD file based on an SCD file, including:
extracting substation primary system information and substation secondary equipment physical connection information from the SCD file;
constructing an area and a screen cabinet of an SPCD file according to the voltage class, the interval and secondary equipment related to the interval, and distributing IEDs in the SCD file to each screen cabinet;
creating ODF equipment for each screen cabinet, and allocating ODF ports for the ODF equipment;
constructing a jump fiber list in the screen cabinet and a connection optical cable between the screen cabinets according to the physical connection information of the equipment in the screen cabinet;
associating each physical connection to an ODF port and a fiber optic cable core;
and generating an SPCD file, and configuring the transformer substation based on the SPCD file.
In one possible implementation manner, extracting the substation primary system information and the substation secondary device physical connection information from the SCD file includes:
extracting Substation primary system information described under a substtation element of the SCD file;
and extracting the physical connection information of the secondary equipment of the transformer substation described under the Communication element of the SCD file.
In one possible implementation manner, extracting Substation primary system information described under a substtation element of an SCD file includes:
obtaining voltage level information according to the value of a VoltageLevel sub-element under the substtation element of the SCD file;
obtaining interval information according to Bay subelements under VoltageLevel subelements;
obtaining transformer equipment information according to PowerTransformer subelements under Bay subelements;
obtaining other primary equipment information according to a reduction Equipment subelement under the Bay subelement;
respectively obtaining IED information respectively associated with the interval, the transformer equipment and other primary equipment according to the LNode sub-element under the Bay sub-element, the PowerTransformer sub-element and the reduction Equipment sub-element;
extracting physical connection information of the secondary equipment of the transformer substation described under a Communication element of the SCD file, wherein the physical connection information comprises the following steps:
obtaining Communication subnet information according to a sub network sub element under a Communication element of the SCD file;
obtaining access points of all IEDs connected to the sub-network according to the ConnectedAP sub-element under the sub-network sub-element;
obtaining a physical port of the IED according to a PhysConn sub-element under a ConnectedAP sub-element, and obtaining attributes of the physical port according to a plurality of P elements under the PhysConn sub-element;
acquiring the name of an opposite-end IED and the identification of an opposite-end Port according to two Private sub-elements of which the types are RemDev-iedName and RemDev-Port respectively under the PhysConn sub-element; or, the opposite port is looked up according to the port association Cable of the PhysConn subelement.
In one possible implementation, constructing the areas and bays of the SPCD file according to the voltage classes, the intervals, and the secondary devices associated with the intervals, and assigning the IEDs in the SCD file to the respective bays, includes:
creating a region according to the voltage class; wherein an indoor area and an outdoor area are created for each voltage class;
traversing intervals of the SCD files, and searching to obtain a main transformer interval, a bus interval and a common interval;
a main transformer interval protection screen and a main transformer interval control cubicle are created for a main transformer interval;
creating a bus protection screen and a bus control cubicle for a bus interval;
and a common interval protection screen and a common interval control cabinet are created for the common interval.
In one possible implementation, a main transformer interval protection screen and a main transformer interval control cabinet are created for a main transformer interval, including:
traversing LNode elements under main transformer equipment, searching all the LNode elements with lnClass attribute of LPHD, and obtaining IED associated with main transformer intervals from IED name attribute of the searched LNode elements;
establishing a main transformer protection screen in an indoor area with the highest voltage level, wherein the main transformer protection screen comprises a main transformer protection A screen and a main transformer protection B screen;
distributing an A set of protection device, an A set of switch and a measurement and control device in the IED associated with the main transformer interval to a main transformer protection A screen, and distributing a B set of protection device and a B set of switch in the IED associated with the main transformer interval to a main transformer protection B screen;
establishing a main transformer body control cubicle in an outdoor area with the highest voltage level, and distributing main transformer body intelligent terminals and main transformer body merging units in IEDs which are related to main transformers at intervals to the main transformer body control cubicles;
respectively creating a main transformer high-voltage side collection control cabinet, a main transformer medium-voltage side collection control cabinet and a main transformer low-voltage side collection control cabinet in an outdoor area of a first voltage level, an outdoor area of a second voltage level and an outdoor area of a third voltage level, and respectively distributing a main transformer intelligent terminal and a main transformer merging unit in IEDs which are related to main transformers at intervals to the main transformer high-voltage side collection control cabinet, the main transformer medium-voltage side collection control cabinet and the main transformer low-voltage side collection control cabinet according to the voltage levels; wherein the first voltage level is higher than the second voltage level, which is higher than the third voltage level.
In one possible implementation, creating a bus protection screen and a bus control cubicle for a bus bay includes:
for each voltage class, the following steps are performed:
traversing the bus intervals under the voltage level, searching and obtaining all bus protection devices associated with each bus interval, forming a bus protection combination, and determining the identifier of the bus protection combination;
dividing all bus intervals under the voltage level according to the identification of the bus protection combination, and determining the bus equipment group name of the bus protection combination;
creating a bus protection screen under the indoor area of the voltage class according to the bus protection combination, wherein the bus protection screen comprises a bus protection screen A and a bus protection screen B;
distributing A sets of protection devices, A sets of switches and measurement and control devices which are related to all bus intervals of a bus protection combination to a bus protection A screen, and distributing B sets of protection devices and B sets of switches which are related to all bus intervals of the bus protection combination to a bus protection B screen;
creating a bus control cubicle in the outdoor area of the voltage class according to the bus protection combination, and distributing all bus interval-associated intelligent terminals and merging units of the bus protection combination to the bus control cubicle;
for ordinary interval creates ordinary interval protection screen and ordinary interval and converges accuse cabinet, include:
a common interval protection screen is created for each common interval in each indoor area of voltage classes, and the protection device, the switch and the measurement and control device associated with each common interval are distributed to the corresponding common interval protection screen;
and establishing a common interval control cabinet for each common interval in the outdoor area of each voltage class, and distributing the intelligent terminal and the merging unit associated with each common interval to the corresponding common interval control cabinet.
In one possible implementation, creating an ODF device for each cabinet, and allocating an ODF port to the ODF device includes:
distributing the physical connection in the SCD file to each screen cabinet;
determining the minimum total port number of the ODF equipment of each screen cabinet according to the physical connection number of each screen cabinet;
determining the number of ODF ports according to the minimum total number of the ports of the ODF equipment, and creating the ODF equipment.
In a possible implementation manner, constructing a jump fiber list in a screen cabinet and a connection optical cable between the screen cabinets according to physical connection information of devices in the screen cabinet includes:
traversing physical connection under each screen cabinet, finding all related screen cabinets which are physically connected with the screen cabinet, and constructing a physical connection list of the screen cabinet and the related screen cabinets; if the associated screen cabinet of the screen cabinet is self, determining a jump fiber list according to the physical connection list; and if the associated screen cabinet of the screen cabinet is not the screen cabinet, determining the number of optical fibers of the optical cable according to the physical connection list, creating the connection optical cable between the screen cabinet and the associated screen cabinet according to the number of the optical fibers of the optical cable, and associating the physical connection list to the connection optical cable.
In one possible implementation, associating each physical connection to an ODF port and a fiber optic cable core includes:
traversing the jump fiber list of each screen cabinet, and allocating an ODF port for each jump fiber;
traversing a physical connection list associated with the connection optical cable of each screen cabinet, respectively creating in-screen jumping fibers for two sides of each physical connection, and distributing ODF ports and optical cable fiber cores of the screen cabinets on two sides.
In a second aspect, an embodiment of the present invention provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the steps of the method for generating an SPCD file based on an SCD file as described in the first aspect or any possible implementation manner of the first aspect.
The embodiment of the invention provides a method and a terminal for generating an SPCD file based on an SCD file, wherein transformer substation primary system information and transformer substation secondary equipment physical connection information are extracted from the SCD file; constructing an area and a screen cabinet of an SPCD file according to the voltage class, the interval and secondary equipment related to the interval, and distributing IEDs in the SCD file to each screen cabinet; creating ODF equipment for each screen cabinet, and allocating ODF ports for the ODF equipment; constructing a jump fiber list in the screen cabinet and a connection optical cable between the screen cabinets according to the physical connection information of the equipment in the screen cabinet; each physical connection is associated with an ODF port and an optical cable fiber core, an SPCD file can be constructed based on an SCD file, the SPCD file is automatically generated, then substation configuration can be carried out based on the SPCD file, manual configuration of engineering personnel can be avoided, the problem that errors are prone to occur due to manual configuration is solved, and efficiency can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an implementation of a method for generating an SPCD file based on an SCD file according to an embodiment of the present invention;
fig. 2 is a schematic partial structure diagram of an SCD file provided in the embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an SPCD file provided in an embodiment of the present invention;
fig. 4 is a schematic diagram of a main transformer interval creation cubicle provided by the embodiment of the present invention;
FIG. 5 is a schematic diagram of a busbar compartment creating cabinet according to an embodiment of the invention;
FIG. 6 is a schematic diagram of a common bay creation cabinet provided by an embodiment of the invention;
fig. 7 is a schematic structural diagram of an apparatus for generating an SPCD file based on an SCD file according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following description is made by way of specific embodiments with reference to the accompanying drawings.
The SPCD file is an XML file, and in the related technical specification, each physical object involved in a physical loop is modeled as an XML element, including: the Substation element represents a transformer Substation, the Region element represents regions such as a protection Cubicle and a switch yard, the Cable element represents an optical Cable, the Core element represents an optical Cable fiber Core, the Cubicle element represents a screen cabinet, the Unit element represents equipment in the screen cabinet, the Board element represents a Board card of the equipment, the Port element represents a Port on the Board card, and the IntCore element represents a fiber Core in the screen cabinet. The Unit elements include intelligent electronic equipment IED, SWITCH, optical distribution frame ODF and other types.
Currently, a power grid company only makes relevant regulations on the SCD graph and the configuration physical circuit, and the regulations only relate to IEDs, switches, boards, ports and physical connections and do not have objects such as areas, cabinets, ODFs, optical cables and the like in the SPCD file. At present, there is no efficient means for configuring and generating a complete SPCD file, physical loops in SCD files are configured in substation actual engineering by using old tools, and some new advanced applications such as an operation and maintenance master station describe the configuration of the substation physical loops by using the SPCD file, which requires that IEDs, switches, ports and physical connections in the SPCD are consistent with actual engineering, but does not require the authenticity of cabinets, ODFs and optical cables; how to convert the physical loop configuration in the SCD file into the SPCD file becomes the most urgent task at present. Based on this, the embodiment of the invention provides a method for generating an SPCD file based on an SCD file.
Referring to fig. 1, it shows a flowchart of an implementation of the method for generating an SPCD file based on an SCD file according to the embodiment of the present invention, and the detailed description is as follows:
in S101, the substation primary system information and the substation secondary device physical connection information are extracted from the SCD file.
Referring to fig. 2, fig. 2 is a schematic diagram of a partial structure of an SCD file.
In the embodiment of the invention, the SCD file can be analyzed, and the primary system information and the secondary equipment physical connection information of the transformer substation are extracted.
The substation primary system information may include voltage class information, bay information, transformer equipment information, other primary equipment information, and associated IED information. The secondary device physical connection information may include communication subnet information, an access point where the IED is connected to the subnet, a physical port and attributes of the physical port of the IED, a name of an opposite IED, an identification of the opposite port, and the like.
In some embodiments of the present invention, the S101 may include:
extracting Substation primary system information described under a substtation element of the SCD file;
and extracting the physical connection information of the secondary equipment of the transformer substation described under the Communication element of the SCD file.
In some embodiments of the present invention, extracting Substation primary system information described under a substtation element of an SCD file includes:
obtaining voltage level information according to the value of a VoltageLevel sub-element under the substtation element of the SCD file;
obtaining interval information according to Bay subelements under VoltageLevel subelements;
obtaining transformer equipment information according to PowerTransformer subelements under Bay subelements;
obtaining other primary equipment information according to a reduction Equipment subelement under the Bay subelement;
and obtaining IED information respectively associated with the interval, the transformer equipment and other primary equipment according to the LNode sub-element under the Bay sub-element, the PowerTransformer sub-element and the reduction Equipment sub-element.
Wherein, the value of the VoltageLevel sub-element is the rated voltage value of the voltage level.
The name attribute name of the Bay subelement is the interval name, and the description attribute desc of the Bay subelement is the description of the interval.
The name attribute name of the PowerTransformer sub-element is the name of the transformer device, and the description attribute desc of the PowerTransformer sub-element is the description of the transformer device.
The name attribute name of the connectingEquipment sub-element is the name of other primary devices, the description attribute desc of the connectingEquipment sub-element is the description of the corresponding device, the type attribute type of the connectingEquipment sub-element is the type of the corresponding device, and the value of the type attribute type includes: "EBUS" stands for bus equipment, "IFL" stands for line, "DIS" stands for isolation knife-switch, and so on.
Under the Bay subelement, the PowerTransformer subelement and the reduction subelement, all there is an LNode subelement to describe IED (i.e. secondary electronic device) information associated with the Bay, the transformer device and other primary devices, and the IED name attribute, idename, of the LNode subelement describes the name of the associated IED.
In some embodiments of the present invention, extracting physical connection information of the secondary device of the substation described under the Communication element of the SCD file includes:
obtaining Communication subnet information according to a sub network sub element under a Communication element of the SCD file;
obtaining access points of all IEDs connected to the sub-network according to the ConnectedAP sub-element under the sub-network sub-element;
obtaining a physical port of the IED according to a PhysConn sub-element under a ConnectedAP sub-element, and obtaining attributes of the physical port according to a plurality of P elements under the PhysConn sub-element;
acquiring the name of an opposite-end IED and the identification of an opposite-end Port according to two Private sub-elements of which the types are RemDev-iedName and RemDev-Port respectively under the PhysConn sub-element; or, the opposite port is looked up according to the port association Cable of the PhysConn subelement.
The communication subnet information comprises a station control layer MMS subnet, a process layer GOOSE subnet and a process layer SV subnet.
The IED name attribute, IEdName, of the ConnectedAP sub-element is the name of the IED, and the access point attribute, apName, of the ConnectedAP sub-element is the access point name.
The attributes of the physical Port include Port identification Port, Port Plug type Plug, and Port associated Cable.
According to the specification of the national grid company for the physical Port connection information, the name of the opposite-end IED and the identification of the opposite-end Port can be obtained according to two Private sub-elements which are respectively of the RemDev-iedName and the RemDev-Port in types under the PhysConn sub-element.
The port association Cable indicates the total station unique code of the port connection Cable, so that two ports with the same port association Cable are connected with each other. (according to the grid company's specification of physical port connection information).
In S102, the areas and bays of the SPCD file are constructed according to the voltage classes, the intervals, and the secondary devices associated with the intervals, and the IEDs in the SCD file are assigned to the respective bays.
In the embodiment of the present invention, the Region (Region) and the Cubicle (customer) of the SPCD file can be constructed according to the voltage class, the interval and the secondary device associated with the interval, and the IEDs (including the switches) in the SCD file can be reasonably allocated to the respective cubicles. The basic structure of the SPCD file can be seen in fig. 3.
In some embodiments of the present invention, the S102 may include:
creating a region according to the voltage class; wherein an indoor area and an outdoor area are created for each voltage class;
traversing intervals of the SCD files, and searching to obtain a main transformer interval, a bus interval and a common interval;
a main transformer interval protection screen and a main transformer interval control cubicle are created for a main transformer interval;
creating a bus protection screen and a bus control cubicle for a bus interval;
and a common interval protection screen and a common interval control cabinet are created for the common interval.
In this embodiment, an indoor area, which is a protection cubicle, and an outdoor area, which is a switchyard, can be created for each voltage level. The name attribute name of the protection cubicle is formatted as "ROOM + voltage class" (e.g., "ROOM 220 kV"), and the description attribute desc of the protection cubicle is formatted as "voltage class + protection cubicle" (e.g., "220 kV protection cubicle"). The name attribute name of a switch field is in the format "YARD + voltage class" (e.g., "YARD 220 kV"), and the description attribute desc of a switch field is in the format "voltage class + switch field" (e.g., "220 kV switch field").
Traversing the interval of the SCD file, and finding out the interval containing transformer equipment (namely main transformer equipment), namely the main transformer interval; finding out intervals containing bus equipment, namely bus intervals; the remaining other intervals are normal intervals.
Referring to fig. 4, the main transformer interval protection screen includes a main transformer protection a screen and a main transformer protection B screen, and the main transformer interval control cubicle includes a main transformer body control cubicle, a main transformer high-voltage side control cubicle, a main transformer medium-voltage side control cubicle and a main transformer low-voltage side control cubicle.
In some embodiments of the present invention, a main transformer interval protection screen and a main transformer interval control cabinet are created for a main transformer interval, comprising:
traversing LNode elements under main transformer equipment, searching all the LNode elements with lnClass attribute of LPHD, and obtaining IED associated with main transformer intervals from IED name attribute of the searched LNode elements;
establishing a main transformer protection screen in an indoor area with the highest voltage level, wherein the main transformer protection screen comprises a main transformer protection A screen and a main transformer protection B screen;
distributing an A set of protection device, an A set of switch and a measurement and control device in the IED associated with the main transformer interval to a main transformer protection A screen, and distributing a B set of protection device and a B set of switch in the IED associated with the main transformer interval to a main transformer protection B screen;
establishing a main transformer body control cubicle in an outdoor area with the highest voltage level, and distributing main transformer body intelligent terminals and main transformer body merging units in IEDs which are related to main transformers at intervals to the main transformer body control cubicles;
respectively creating a main transformer high-voltage side collection control cabinet, a main transformer medium-voltage side collection control cabinet and a main transformer low-voltage side collection control cabinet in an outdoor area of a first voltage level, an outdoor area of a second voltage level and an outdoor area of a third voltage level, and respectively distributing a main transformer intelligent terminal and a main transformer merging unit in IEDs which are related to main transformers at intervals to the main transformer high-voltage side collection control cabinet, the main transformer medium-voltage side collection control cabinet and the main transformer low-voltage side collection control cabinet according to the voltage levels; wherein the first voltage level is higher than the second voltage level, which is higher than the third voltage level.
In this embodiment, the LNode elements under the main substation device are traversed, all the LNode elements whose lnClass attribute is LPHD are found, and the IED associated with the main substation interval is obtained from the IED name attribute iedName of all the LNode elements whose lnClass attribute is LPHD.
As shown in fig. 4, the maximum voltage level is 220 kV. And (3) creating a main transformer protection screen under an indoor area (namely a protection cell) with the highest voltage level, wherein the main transformer protection screen comprises a main transformer protection A screen and a main transformer protection B screen. The format of the name attribute names of the main transformer protection A screen and the main transformer protection B screen is 'P + serial number' (the serial number is a unified serial number of the screen cabinet starting from 1 in the range of the whole station, so that the name attribute value of the screen cabinet is unique in the range of the whole station), and the format of the description attribute desc of the main transformer protection A screen and the main transformer protection B screen is 'main transformer equipment desc attribute value + protection A screen (or protection B screen)' (such as '# 1 main transformer protection A screen').
The main transformer body control cubicle is established in the outdoor area (namely a switch yard) with the highest voltage level. The format of the name attribute name of the main transformer body control cubicle is consistent with the requirements of the main transformer protection A screen and the main transformer protection B screen, and is a P + serial number (the serial number is a uniform serial number of the screen cubicle starting from 1 in the total station range, so that the name attribute value of the screen cubicle is unique in the total station range), and the format of the description attribute desc of the main transformer body control cubicle is a main transformer equipment desc attribute value + body control cubicle (for example, #1 main transformer body control cubicle).
The first voltage level is a high-side voltage level, the second voltage level is a medium-side voltage level, and the third voltage level is a low-side voltage level. Referring to fig. 4, the first voltage level may be 220kV, the second voltage level may be 110kV, and the third voltage level may be 66 kV.
And respectively establishing a main transformer high-voltage side control cubicle, a main transformer medium-voltage side control cubicle and a main transformer low-voltage side control cubicle in the outdoor areas of the high, medium and low-voltage side voltage grades. The formats of the name attribute names of the main transformer high-voltage side collection control cabinet, the main transformer medium-voltage side collection control cabinet and the main transformer low-voltage side collection control cabinet are consistent with the requirements of the main transformer protection A screen and the main transformer protection B screen, and are all 'P + serial numbers' (the serial numbers are unified serial numbers of the screen cabinets starting from 1 in the range of the whole station, so that the name attribute value of the screen cabinets is unique in the range of the whole station), and the format of the description desc of the main transformer high-voltage side collection control cabinet, the main transformer medium-voltage side collection control cabinet and the main transformer low-voltage side collection control cabinet is 'voltage grade + main transformer equipment desc attribute value + high (or medium or low) voltage side collection control cabinet' (for example, '220 kV #1 main transformer high-voltage side collection control cabinet').
In some embodiments of the present invention, creating a bus bar protection screen and a bus bar control cabinet for a bus bar compartment comprises:
for each voltage class, the following steps are performed:
traversing the bus intervals under the voltage level, searching and obtaining all bus protection devices associated with each bus interval, forming a bus protection combination, and determining the identifier of the bus protection combination;
dividing all bus intervals under the voltage level according to the identification of the bus protection combination, and determining the bus equipment group name of the bus protection combination;
creating a bus protection screen under the indoor area of the voltage class according to the bus protection combination, wherein the bus protection screen comprises a bus protection screen A and a bus protection screen B;
distributing A sets of protection devices, A sets of switches and measurement and control devices which are related to all bus intervals of a bus protection combination to a bus protection A screen, and distributing B sets of protection devices and B sets of switches which are related to all bus intervals of the bus protection combination to a bus protection B screen;
and creating a bus control cubicle in the outdoor area of the voltage class according to the bus protection combination, and distributing all bus interval-associated intelligent terminals and merging units of the bus protection combination to the bus control cubicle.
Referring to fig. 5, the bus bar protection screen includes a bus bar protection a screen and a bus bar protection B screen.
The names of the IEDs of the bus protection are sorted according to letters and then connected by an English half-corner dollar sign "$" as the identifier of the bus protection combination, such as "PM 2201A $ PM 2201B".
Dividing all bus intervals under the same voltage level according to the identification of the bus protection combination, and determining the bus equipment group name of the bus protection combination, namely splicing the description of all bus equipment related to the bus protection combination after removing the voltage level information to obtain the bus equipment group name of the bus protection combination, such as I bus and II bus.
The name attribute names and the description attribute desc of the bus protection A screen and the bus protection B screen are determined, the name attribute names of the bus protection A screen and the bus protection B screen are consistent with the requirements, and are both 'P + serial number' (the serial number is a unified serial number of the screen cabinet starting from 1 in the total station range, so that the name attribute value of the screen cabinet is unique in the total station range), and the format of the description attribute desc is 'voltage level + bus equipment group name + protection A (or B) screen', such as '220 kV I bus II bus protection A screen'.
The format of the name attribute name of the bus control cubicle is consistent with the requirement, and the format of the attribute desc is described as 'voltage level + bus equipment group name + control cubicle', for example '220 kV I bus II bus control cubicle'.
In some embodiments of the present invention, creating a common bay protective screen and a common bay control cabinet for a common bay includes:
a common interval protection screen is created for each common interval in each indoor area of voltage classes, and the protection device, the switch and the measurement and control device associated with each common interval are distributed to the corresponding common interval protection screen;
and establishing a common interval control cabinet for each common interval in the outdoor area of each voltage class, and distributing the intelligent terminal and the merging unit associated with each common interval to the corresponding common interval control cabinet.
Referring to fig. 6, the general space protection screen may include a general space protection a screen and a general space protection B screen. If all IEDs of a certain common interval do not distinguish the AB set, only one common interval protection screen is created.
The format of the name attribute name of the common interval protection A screen and the common interval protection B screen is consistent with the requirement, and the format of the description attribute desc of the common interval protection A screen and the common interval protection B screen is 'voltage level + interval name + protection A screen (or protection B screen and protection screen)', such as '220 kV Minghai line protection A screen'; a set of protection device, A set of switch and measurement and control device which are related at common intervals are distributed to a common interval protection A screen, B set of protection device and B set of switch are distributed to a common interval protection B screen, and if AB set is not distinguished, the protection device, the switch and the measurement and control device are all distributed to the common interval protection screen.
The format of the name attribute name of the common interval collection and control cabinet is consistent with the requirement, and the format of the description attribute desc of the common interval collection and control cabinet is 'voltage level + interval desc attribute + collection and control cabinet', such as '220 kV Minghai first line collection and control cabinet'.
In S103, ODF devices are created for the respective cabinets, and ODF ports are allocated to the ODF devices.
In some embodiments of the present invention, the S103 may include:
distributing the physical connection in the SCD file to each screen cabinet;
determining the minimum total port number of the ODF equipment of each screen cabinet according to the physical connection number of each screen cabinet;
determining the number of ODF ports according to the minimum total number of the ports of the ODF equipment, and creating the ODF equipment.
In this embodiment, based on the existing method, the minimum total port number of the ODF devices of the cubicle is determined according to the physical connection number of each cubicle, and an appropriate ODF port number is determined according to the minimum total port number of the ODF devices, and the ODF devices are created.
In S104, a jump fiber list in the screen cabinet and a connection optical cable between the screen cabinets are constructed according to the physical connection information of the equipment in the screen cabinet.
In some embodiments of the present invention, the S104 may include:
traversing physical connection under each screen cabinet, finding all related screen cabinets which are physically connected with the screen cabinet, and constructing a physical connection list of the screen cabinet and the related screen cabinets; if the associated screen cabinet of the screen cabinet is self, determining a jump fiber list according to the physical connection list; and if the associated screen cabinet of the screen cabinet is not the screen cabinet, determining the number of optical fibers of the optical cable according to the physical connection list, creating the connection optical cable between the screen cabinet and the associated screen cabinet according to the number of the optical fibers of the optical cable, and associating the physical connection list to the connection optical cable.
In this embodiment, the fiber jump list may be determined according to the physical connection list based on an existing method. The number of optical fiber cores of the optical cable may be determined from the physical connection list based on existing methods, a stub cable between the cabinet and the associated cabinet may be created from the number of optical fiber cores of the optical cable, and the physical connection list may be associated to the stub cable.
In S105, each physical connection is associated to an ODF port and a fiber optic cable core.
In some embodiments of the present invention, the S105 may include:
traversing the jump fiber list of each screen cabinet, and allocating an ODF port for each jump fiber;
traversing a physical connection list associated with the connection optical cable of each screen cabinet, respectively creating in-screen jumping fibers for two sides of each physical connection, and distributing ODF ports and optical cable fiber cores of the screen cabinets on two sides.
In this embodiment, before traversing the fiber jumper list of each cubicle and allocating an ODF port to each fiber jumper, the method may further include:
sorting the physical connection list in the step S104 according to the following principle:
(1) the equipment at the side is physically connected and arranged together, and is sorted in an ascending order according to the port identification;
(2) the equipment at the side is physically connected with different equipment and is sorted in an ascending order according to the equipment names.
Traversing the jump fiber list of each screen cabinet based on the sorted physical connection list, and allocating an ODF port for each jump fiber; traversing a physical connection list associated with each optical cable of each screen cabinet, respectively creating in-screen jumping fibers for two sides of each physical connection, and distributing ODF ports and optical cable fiber cores of the screen cabinets on two sides; therefore, the optical fiber connection from the port of the equipment of the screen cabinet at the side to the port of the equipment of the screen cabinet at the opposite side is established, and the passing intermediate elements are as follows in sequence: the system comprises a local side screen cabinet jumping fiber, a local side screen cabinet ODF port, an optical cable fiber core, an opposite side screen cabinet ODF port and an opposite side screen cabinet jumping fiber.
In S106, an SPCD file is generated, and substation configuration is performed based on the SPCD file.
Based on the above S101 to S105, after the content of the SPCD file is constructed, the SPCD file may be generated in a format required by a specification, and the substation configuration is performed based on the SPCD file, thereby avoiding manual configuration.
As can be seen from the above description, in the embodiment of the present invention, the substation primary system information and the substation secondary device physical connection information are extracted from the SCD file; constructing an area and a screen cabinet of an SPCD file according to the voltage class, the interval and secondary equipment related to the interval, and distributing IEDs in the SCD file to each screen cabinet; creating ODF equipment for each screen cabinet, and allocating ODF ports for the ODF equipment; constructing a jump fiber list in the screen cabinet and a connection optical cable between the screen cabinets according to the physical connection information of the equipment in the screen cabinet; each physical connection is associated with an ODF port and an optical cable fiber core, an SPCD file can be constructed based on an SCD file, the SPCD file is automatically generated, then substation configuration can be carried out based on the SPCD file, manual configuration of engineering personnel can be avoided, the problem that errors are prone to occur due to manual configuration is solved, and efficiency can be improved.
The embodiment of the invention constructs the SPCD model object according to the primary system model information of the SCD file: building areas according to the voltage levels, building a screen cabinet according to the intervals, and distributing IEDs to the screen cabinets according to the association between the intervals and the IEDs; and then, the optical cable and the optical fiber connection of the SPCD are constructed according to the IED physical connection information of the SCD, so that an SPCD file is generated. The embodiment of the invention solves the problem that no means for quickly and completely generating the SPCD file exists at present, greatly reduces the workload of engineering personnel for configuring physical connection, avoids errors caused by manual configuration, and can obviously improve the working efficiency of field engineering configuration; meanwhile, the physical connection information of the secondary device of the SCD can be completely and accurately converted into the SPCD file, and the accuracy and the integrity of the SPCD file are ensured.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
The following are embodiments of the apparatus of the invention, reference being made to the corresponding method embodiments described above for details which are not described in detail therein.
Fig. 7 is a schematic structural diagram of an apparatus for generating an SPCD file based on an SCD file according to an embodiment of the present invention, and for convenience of description, only parts related to the embodiment of the present invention are shown, which are detailed as follows:
as shown in fig. 7, the apparatus 30 for generating an SPCD file based on an SCD file includes: an extraction module 31, a zone and cabinet creation module 32, an ODF equipment creation module 33, a cable creation module 34, an association module 35, and a configuration module 36.
The extraction module 31 is configured to extract the transformer substation primary system information and the transformer substation secondary device physical connection information from the SCD file;
the area and screen cabinet creating module 32 is configured to create an area and a screen cabinet of an SPCD file according to the voltage class, the interval, and the secondary device associated with the interval, and allocate the IEDs in the SCD file to each screen cabinet;
the ODF equipment creating module 33 is configured to create ODF equipment for each cabinet, and allocate an ODF port to the ODF equipment;
the optical cable creating module 34 is configured to construct a jump fiber list in the screen cabinet and a connection optical cable between the screen cabinets according to the physical connection information of the devices in the screen cabinet;
an association module 35 for associating each physical connection to an ODF port and a cable core;
and the configuration module 36 is configured to generate an SPCD file, and perform substation configuration based on the SPCD file.
In one possible implementation, the extraction module 31 is further configured to:
extracting Substation primary system information described under a substtation element of the SCD file;
and extracting the physical connection information of the secondary equipment of the transformer substation described under the Communication element of the SCD file.
In one possible implementation, the extraction module 31 is further configured to:
obtaining voltage level information according to the value of a VoltageLevel sub-element under the substtation element of the SCD file;
obtaining interval information according to Bay subelements under VoltageLevel subelements;
obtaining transformer equipment information according to PowerTransformer subelements under Bay subelements;
obtaining other primary equipment information according to a reduction Equipment subelement under the Bay subelement;
and obtaining IED information respectively associated with the interval, the transformer equipment and other primary equipment according to the LNode sub-element under the Bay sub-element, the PowerTransformer sub-element and the reduction Equipment sub-element.
In one possible implementation, the extraction module 31 is further configured to:
obtaining Communication subnet information according to a sub network sub element under a Communication element of the SCD file;
obtaining access points of all IEDs connected to the sub-network according to the ConnectedAP sub-element under the sub-network sub-element;
obtaining a physical port of the IED according to a PhysConn sub-element under a ConnectedAP sub-element, and obtaining attributes of the physical port according to a plurality of P elements under the PhysConn sub-element;
acquiring the name of an opposite-end IED and the identification of an opposite-end Port according to two Private sub-elements of which the types are RemDev-iedName and RemDev-Port respectively under the PhysConn sub-element; or, the opposite port is looked up according to the port association Cable of the PhysConn subelement.
In one possible implementation, the area and cabinet creation module 32 is further configured to:
creating a region according to the voltage class; wherein an indoor area and an outdoor area are created for each voltage class;
traversing intervals of the SCD files, and searching to obtain a main transformer interval, a bus interval and a common interval;
a main transformer interval protection screen and a main transformer interval control cubicle are created for a main transformer interval;
creating a bus protection screen and a bus control cubicle for a bus interval;
and a common interval protection screen and a common interval control cabinet are created for the common interval.
In one possible implementation, the area and cabinet creation module 32 is further configured to:
traversing LNode elements under main transformer equipment, searching all the LNode elements with lnClass attribute of LPHD, and obtaining IED associated with main transformer intervals from IED name attribute of the searched LNode elements;
establishing a main transformer protection screen in an indoor area with the highest voltage level, wherein the main transformer protection screen comprises a main transformer protection A screen and a main transformer protection B screen;
distributing an A set of protection device, an A set of switch and a measurement and control device in the IED associated with the main transformer interval to a main transformer protection A screen, and distributing a B set of protection device and a B set of switch in the IED associated with the main transformer interval to a main transformer protection B screen;
establishing a main transformer body control cubicle in an outdoor area with the highest voltage level, and distributing main transformer body intelligent terminals and main transformer body merging units in IEDs which are related to main transformers at intervals to the main transformer body control cubicles;
respectively creating a main transformer high-voltage side collection control cabinet, a main transformer medium-voltage side collection control cabinet and a main transformer low-voltage side collection control cabinet in an outdoor area of a first voltage level, an outdoor area of a second voltage level and an outdoor area of a third voltage level, and respectively distributing a main transformer intelligent terminal and a main transformer merging unit in IEDs which are related to main transformers at intervals to the main transformer high-voltage side collection control cabinet, the main transformer medium-voltage side collection control cabinet and the main transformer low-voltage side collection control cabinet according to the voltage levels; wherein the first voltage level is higher than the second voltage level, which is higher than the third voltage level.
In one possible implementation, the area and cabinet creation module 32 is further configured to:
for each voltage class, the following steps are performed:
traversing the bus intervals under the voltage level, searching and obtaining all bus protection devices associated with each bus interval, forming a bus protection combination, and determining the identifier of the bus protection combination;
dividing all bus intervals under the voltage level according to the identification of the bus protection combination, and determining the bus equipment group name of the bus protection combination;
creating a bus protection screen under the indoor area of the voltage class according to the bus protection combination, wherein the bus protection screen comprises a bus protection screen A and a bus protection screen B;
distributing A sets of protection devices, A sets of switches and measurement and control devices which are related to all bus intervals of a bus protection combination to a bus protection A screen, and distributing B sets of protection devices and B sets of switches which are related to all bus intervals of the bus protection combination to a bus protection B screen;
and creating a bus control cubicle in the outdoor area of the voltage class according to the bus protection combination, and distributing all bus interval-associated intelligent terminals and merging units of the bus protection combination to the bus control cubicle.
In one possible implementation, the area and cabinet creation module 32 is further configured to:
a common interval protection screen is created for each common interval in each indoor area of voltage classes, and the protection device, the switch and the measurement and control device associated with each common interval are distributed to the corresponding common interval protection screen;
and establishing a common interval control cabinet for each common interval in the outdoor area of each voltage class, and distributing the intelligent terminal and the merging unit associated with each common interval to the corresponding common interval control cabinet.
In a possible implementation manner, the ODF device creating module 33 is further configured to:
distributing the physical connection in the SCD file to each screen cabinet;
determining the minimum total port number of the ODF equipment of each screen cabinet according to the physical connection number of each screen cabinet;
determining the number of ODF ports according to the minimum total number of the ports of the ODF equipment, and creating the ODF equipment.
In one possible implementation, the cable creation module 34 is further configured to:
traversing physical connection under each screen cabinet, finding all related screen cabinets which are physically connected with the screen cabinet, and constructing a physical connection list of the screen cabinet and the related screen cabinets; if the associated screen cabinet of the screen cabinet is self, determining a jump fiber list according to the physical connection list; and if the associated screen cabinet of the screen cabinet is not the screen cabinet, determining the number of optical fibers of the optical cable according to the physical connection list, creating the connection optical cable between the screen cabinet and the associated screen cabinet according to the number of the optical fibers of the optical cable, and associating the physical connection list to the connection optical cable.
In a possible implementation, the association module 35 is further configured to:
traversing the jump fiber list of each screen cabinet, and allocating an ODF port for each jump fiber;
traversing a physical connection list associated with the connection optical cable of each screen cabinet, respectively creating in-screen jumping fibers for two sides of each physical connection, and distributing ODF ports and optical cable fiber cores of the screen cabinets on two sides.
Fig. 8 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in fig. 8, the terminal 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40. The processor 40 executes the computer program 42 to implement the steps in each embodiment of the method for generating an SPCD file based on an SCD file, such as S101 to S106 shown in fig. 1. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the modules/units in the above-described device embodiments, such as the modules/units 31 to 36 shown in fig. 7.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the terminal 4. For example, the computer program 42 may be divided into the modules/units 31 to 36 shown in fig. 7.
The terminal 4 may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 8 is merely an example of a terminal 4 and is not intended to be limiting of terminal 4, and may include more or fewer components than those shown, or some components may be combined, or different components, e.g., the terminal may also include input-output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the terminal 4, such as a hard disk or a memory of the terminal 4. The memory 41 may also be an external storage device of the terminal 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the terminal 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the terminal 4. The memory 41 is used for storing the computer program and other programs and data required by the terminal. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described apparatus/terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of the above embodiments of the method for generating an SPCD file based on an SCD file. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
Claims (10)
1. A method for generating an SPCD file based on an SCD file is characterized by comprising the following steps:
extracting substation primary system information and substation secondary equipment physical connection information from the SCD file;
constructing an area and a screen cabinet of an SPCD file according to the voltage class, the interval and secondary equipment related to the interval, and distributing IEDs in the SCD file to each screen cabinet;
creating ODF equipment for each screen cabinet, and allocating ODF ports for the ODF equipment;
constructing a jump fiber list in the screen cabinet and a connection optical cable between the screen cabinets according to the physical connection information of the equipment in the screen cabinet;
associating each physical connection to an ODF port and a fiber optic cable core;
and generating an SPCD file, and configuring the transformer substation based on the SPCD file.
2. The method for generating the SPCD file based on the SCD file according to claim 1, wherein the extracting the substation primary system information and the substation secondary device physical connection information from the SCD file comprises:
extracting Substation primary system information described under a substtation element of the SCD file;
and extracting the physical connection information of the secondary equipment of the transformer substation described under the Communication element of the SCD file.
3. The method for generating an SPCD file based on an SCD file according to claim 2, wherein the extracting Substation primary system information described under a substtation element of the SCD file includes:
obtaining voltage level information according to the value of a VoltageLevel sub-element under the substtation element of the SCD file;
obtaining interval information according to Bay subelements under VoltageLevel subelements;
obtaining transformer equipment information according to PowerTransformer subelements under Bay subelements;
obtaining other primary equipment information according to a reduction Equipment subelement under the Bay subelement;
respectively obtaining IED information respectively associated with the interval, the transformer equipment and other primary equipment according to the LNode sub-element under the Bay sub-element, the PowerTransformer sub-element and the reduction Equipment sub-element;
the extracting of the physical connection information of the secondary equipment of the transformer substation described under the Communication element of the SCD file comprises the following steps:
obtaining Communication subnet information according to a sub network sub element under a Communication element of the SCD file;
obtaining access points of all IEDs connected to the sub-network according to the ConnectedAP sub-element under the sub-network sub-element;
obtaining a physical port of the IED according to a PhysConn sub-element under a ConnectedAP sub-element, and obtaining attributes of the physical port according to a plurality of P elements under the PhysConn sub-element;
acquiring the name of an opposite-end IED and the identification of an opposite-end Port according to two Private sub-elements of which the types are RemDev-iedName and RemDev-Port respectively under the PhysConn sub-element; or, the opposite port is looked up according to the port association Cable of the PhysConn subelement.
4. The method for generating an SPCD file based on an SCD file according to claim 1, wherein the constructing the areas and the cabinets of the SPCD file according to the secondary devices associated with the voltage classes, intervals and intervals, and assigning the IEDs in the SCD file to the respective cabinets comprises:
creating a region according to the voltage class; wherein an indoor area and an outdoor area are created for each voltage class;
traversing the interval of the SCD file, and searching to obtain a main transformer interval, a bus interval and a common interval;
creating a main transformer interval protection screen and a main transformer interval control cubicle for the main transformer interval;
creating a bus protection screen and a bus control cubicle for the bus interval;
and establishing a common interval protection screen and a common interval control cabinet for the common interval.
5. The method according to claim 4, wherein the creating a main transformer interval protection screen and a main transformer interval control cabinet for the main transformer interval comprises:
traversing LNode elements under main transformer equipment, searching all the LNode elements with lnClass attribute of LPHD, and obtaining IED associated with main transformer intervals from IED name attribute of the searched LNode elements;
establishing a main transformer protection screen in an indoor area with the highest voltage level, wherein the main transformer protection screen comprises a main transformer protection A screen and a main transformer protection B screen;
distributing the A set of protection devices, the A set of switches and the measurement and control devices in the IEDs associated with the main transformer intervals to a main transformer protection A screen, and distributing the B set of protection devices and the B set of switches in the IEDs associated with the main transformer intervals to a main transformer protection B screen;
establishing a main transformer body control cubicle in an outdoor area with the highest voltage level, and distributing a main transformer body intelligent terminal and a main transformer body merging unit in an IED associated with a main transformer interval to the main transformer body control cubicle;
respectively creating a main transformer high-voltage side collection control cabinet, a main transformer medium-voltage side collection control cabinet and a main transformer low-voltage side collection control cabinet in an outdoor area of a first voltage level, an outdoor area of a second voltage level and an outdoor area of a third voltage level, and respectively distributing a main transformer intelligent terminal and a main transformer merging unit in IEDs which are related to the main transformers at intervals to the main transformer high-voltage side collection control cabinet, the main transformer medium-voltage side collection control cabinet and the main transformer low-voltage side collection control cabinet according to the voltage levels; wherein the first voltage level is higher than the second voltage level, which is higher than the third voltage level.
6. The method for generating an SPCD file based on the SCD file according to claim 4, wherein the creating of the bus bar protection screen and the bus bar collection cabinet for the bus bar interval comprises:
for each voltage class, the following steps are performed:
traversing the bus intervals under the voltage level, searching and obtaining all bus protection devices associated with each bus interval to form a bus protection combination, and determining the identifier of the bus protection combination;
dividing all bus intervals under the voltage level according to the identification of the bus protection combination, and determining the bus equipment group name of the bus protection combination;
creating a bus protection screen under the indoor area of the voltage class according to the bus protection combination, wherein the bus protection screen comprises a bus protection screen A and a bus protection screen B;
distributing A sets of protection devices, A sets of switches and measurement and control devices which are related to all bus intervals of the bus protection combination to a bus protection A screen, and distributing B sets of protection devices and B sets of switches which are related to all bus intervals of the bus protection combination to a bus protection B screen;
creating a bus control cubicle in the outdoor area of the voltage class according to the bus protection combination, and distributing all bus interval-related intelligent terminals and merging units of the bus protection combination to the bus control cubicle;
for ordinary interval creates ordinary interval protection screen and ordinary interval and converges accuse cabinet, include:
a common interval protection screen is created for each common interval in each indoor area of voltage classes, and the protection device, the switch and the measurement and control device associated with each common interval are distributed to the corresponding common interval protection screen;
and establishing a common interval control cabinet for each common interval in the outdoor area of each voltage class, and distributing the intelligent terminal and the merging unit associated with each common interval to the corresponding common interval control cabinet.
7. The method for generating an SPCD file based on an SCD file according to claim 1, wherein the creating ODF devices for respective cabinets and allocating ODF ports to the ODF devices comprises:
distributing the physical connection in the SCD file to each screen cabinet;
determining the minimum total port number of the ODF equipment of each screen cabinet according to the physical connection number of each screen cabinet;
and determining the number of ODF ports according to the minimum total number of the ODF equipment, and creating the ODF equipment.
8. The method for generating an SPCD file based on an SCD file according to any one of claims 1 to 7, wherein said building a fiber jumper list in a cubicle and a connection cable between cubicles according to physical connection information of devices in the cubicle comprises:
traversing physical connection under each screen cabinet, finding all related screen cabinets which are physically connected with the screen cabinet, and constructing a physical connection list of the screen cabinet and the related screen cabinets; if the associated screen cabinet of the screen cabinet is self, determining a jump fiber list according to the physical connection list; and if the associated screen cabinet of the screen cabinet is not the screen cabinet, determining the number of optical fibers of the optical cable according to the physical connection list, creating the connection optical cable between the screen cabinet and the associated screen cabinet according to the number of the optical fibers of the optical cable, and associating the physical connection list to the connection optical cable.
9. The method for generating an SPCD file based on an SCD file of claim 8, wherein said associating each physical connection to an ODF port and a fiber optic cable core comprises:
traversing the jump fiber list of each screen cabinet, and allocating an ODF port for each jump fiber;
traversing a physical connection list associated with the connection optical cable of each screen cabinet, respectively creating in-screen jumping fibers for two sides of each physical connection, and distributing ODF ports and optical cable fiber cores of the screen cabinets on two sides.
10. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of the method for generating an SPCD file based on an SCD file as set forth in any one of the above claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110808364.2A CN113536740B (en) | 2021-07-16 | 2021-07-16 | Method and terminal for generating SPCD file based on SCD file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110808364.2A CN113536740B (en) | 2021-07-16 | 2021-07-16 | Method and terminal for generating SPCD file based on SCD file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113536740A true CN113536740A (en) | 2021-10-22 |
CN113536740B CN113536740B (en) | 2022-08-30 |
Family
ID=78099910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110808364.2A Active CN113536740B (en) | 2021-07-16 | 2021-07-16 | Method and terminal for generating SPCD file based on SCD file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113536740B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103779962A (en) * | 2013-12-09 | 2014-05-07 | 中国南方电网有限责任公司 | Intelligent telecontrol machine based method for converting 61850 model to CIM model |
CN104732021A (en) * | 2015-03-17 | 2015-06-24 | 国家电网公司 | Secondary system physical loop modeling and void and actuality correspondence method of intelligent substation |
CN105529831A (en) * | 2016-02-02 | 2016-04-27 | 江苏省电力公司电力科学研究院 | Auxiliary fault analysis system for secondary equipment of intelligent substation |
CN106602729A (en) * | 2017-01-16 | 2017-04-26 | 中国能源建设集团江苏省电力设计院有限公司 | Physical loop fast connection method based on template base |
CN108846214A (en) * | 2018-06-21 | 2018-11-20 | 国网冀北电力有限公司 | The complete trails optical fiber cable port node traversal search method and its equipment of substation |
CN109861860A (en) * | 2019-01-31 | 2019-06-07 | 国电南瑞科技股份有限公司 | A kind of intelligent substation establishes the method and system of actual situation link maps relationship |
CN111682444A (en) * | 2020-06-17 | 2020-09-18 | 南京太司德智能电气有限公司 | Visual system of virtual terminal of digital transformer substation measurement |
CN112311588A (en) * | 2020-09-02 | 2021-02-02 | 国网浙江省电力有限公司嘉兴供电公司 | Intelligent optical fiber identification method for transformer substation |
CN112347612A (en) * | 2020-10-19 | 2021-02-09 | 国网江苏省电力有限公司检修分公司 | Direct current converter station secondary system physical loop modeling method and system |
-
2021
- 2021-07-16 CN CN202110808364.2A patent/CN113536740B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103779962A (en) * | 2013-12-09 | 2014-05-07 | 中国南方电网有限责任公司 | Intelligent telecontrol machine based method for converting 61850 model to CIM model |
CN104732021A (en) * | 2015-03-17 | 2015-06-24 | 国家电网公司 | Secondary system physical loop modeling and void and actuality correspondence method of intelligent substation |
CN105529831A (en) * | 2016-02-02 | 2016-04-27 | 江苏省电力公司电力科学研究院 | Auxiliary fault analysis system for secondary equipment of intelligent substation |
CN106602729A (en) * | 2017-01-16 | 2017-04-26 | 中国能源建设集团江苏省电力设计院有限公司 | Physical loop fast connection method based on template base |
CN108846214A (en) * | 2018-06-21 | 2018-11-20 | 国网冀北电力有限公司 | The complete trails optical fiber cable port node traversal search method and its equipment of substation |
CN109861860A (en) * | 2019-01-31 | 2019-06-07 | 国电南瑞科技股份有限公司 | A kind of intelligent substation establishes the method and system of actual situation link maps relationship |
CN111682444A (en) * | 2020-06-17 | 2020-09-18 | 南京太司德智能电气有限公司 | Visual system of virtual terminal of digital transformer substation measurement |
CN112311588A (en) * | 2020-09-02 | 2021-02-02 | 国网浙江省电力有限公司嘉兴供电公司 | Intelligent optical fiber identification method for transformer substation |
CN112347612A (en) * | 2020-10-19 | 2021-02-09 | 国网江苏省电力有限公司检修分公司 | Direct current converter station secondary system physical loop modeling method and system |
Non-Patent Citations (4)
Title |
---|
李嘉等: "基于典型间隔模板的智能变电站虚端子自动连接方法", 《电力工程技术》 * |
李耕等: "基于SPCD的智能变电站虚实链路映射方案研究", 《电力工程技术》 * |
李鹏等: "智能变电站VLAN配置表自动生成技术的研究和应用", 《电力工程技术》 * |
田源等: "基于物理回路建模的智能标签的优化研究", 《电气技术》 * |
Also Published As
Publication number | Publication date |
---|---|
CN113536740B (en) | 2022-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20100250622A1 (en) | method of automatically generating an ssd file | |
CN104951620A (en) | Business rule based method for auditing SCD (substation configuration description) files of smart substation | |
CN108054719B (en) | Intelligent substation networked secondary circuit modeling method and fault diagnosis method | |
CN104992382A (en) | Data fusion method facing current situation assessment of power distribution network | |
CN103927698A (en) | Automatic identification method of intelligent substation virtual terminal correlated device | |
CN106602549B (en) | Electrical main wiring analysis system, analysis method and operation method | |
CN110556920A (en) | Distribution automation monitoring method, system, terminal and storage medium | |
CN116561941B (en) | SCD virtual loop template model and modeling and application method thereof | |
CN106355305A (en) | Decoupling method and device for smart substation SCD model information section | |
CN115842342A (en) | Topology identification method and device for distributed power distribution network | |
CN105045991A (en) | Auditing method for intelligent apparatus configuration scheme and virtual terminals of intelligent substation | |
CN114298859B (en) | Topology analysis method, device, storage medium and processor | |
CN105184660A (en) | Virtual secondary circuit examination method between intelligent station intelligent device configuration scheme and device | |
CN105259860A (en) | Master-slave type intelligent electric device automatic configuration method | |
CN112465956B (en) | Three-dimensional design implementation method for electrical secondary design | |
CN113536740B (en) | Method and terminal for generating SPCD file based on SCD file | |
CN116595713B (en) | SCD process layer virtual loop configuration method and system based on standard virtual loop model | |
CN110489729B (en) | Automatic conversion method and system for D5000-matpower grid multi-disaster coupling cascading failure model | |
CN105160589A (en) | Input virtual terminal and output virtual terminal check method for intelligent device of intelligent transformer station | |
CN105005941A (en) | Service rule based examining method for virtual secondary circuit between intelligent station devices | |
CN105095571A (en) | Method for checking configuration solution of intelligent transformer substation intelligent apparatus based on business rule | |
CN107480883B (en) | Transformer substation secondary system resource configuration method and system | |
CN109617025A (en) | A kind of automatic generation method and device of site conservative management unit main wiring diagram | |
CN116070379A (en) | Method and device for generating graph, storage medium and electronic device | |
CN112214859A (en) | Integrated integration method and system for main network model and distribution network model |
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 |