Incremental SCD and SPCD design, verification method and system under incomplete information conditions

By drawing information flow diagrams in the intelligent substation, obtaining device ports and communication parameters, generating incremental SCD and SPCD files, and performing consistency verification, the problem of inconsistent SCD file design between different design units is solved, and the intelligent station is realized The integration of incremental design and model of the renovation and expansion improves design efficiency and adaptability.

CN118780263BActive Publication Date: 2024-12-03STATE GRID JIANGSU ELECTRIC POWER CO LTD SUZHOU BRANCH +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411273021.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-12-03
Estimated Expiration
2044-09-12

AI Technical Summary

Technical Problem

During the renovation and expansion of intelligent substations, the technical architecture and information models of SCD software generation tools of different design units are not universal, which makes it difficult for the design units to obtain the process assets of the predecessor units and cannot effectively design the SCD file after renovation and expansion.

Method used

Provide an incremental SCD and SPCD design and verification method under incomplete information. By drawing information flow diagrams, obtaining occupied ports and communication parameters of cross-space devices, and instantiating the IED device information model, generating incremental SCD and SPCD and consistency check and conflict detection to generate the final SCD and SPCD files.

Benefits of technology

The incremental model design of the intelligent station under the condition of missing design process information is realized, the graphical design difficulties caused by the lack of process data is avoided, the connection relationship and port accuracy between devices are quickly checked, and the current situation of archiving different substation models is adapted to the current situation of archiving different substation models is reduced. The memory consumption of SCD file merging has been greatly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780263B_ABST
    Figure CN118780263B_ABST
Patent Text Reader

Abstract

The present invention discloses an incremental SCD, SPCD design, verification method and system under the condition of incomplete information, the method comprising: drawing an information flow diagram within an interval and configuring a virtual circuit connection relationship between a sending device and a receiving device within the interval; extracting design constraints; drawing an information flow diagram across intervals and configuring a virtual circuit connection relationship between a sending device and a receiving device across intervals; instantiating a device model and storing the model information, the information flow diagram, the virtual circuit connection relationship, and the design constraints in a memory or a database; designing virtual terminals and cable groups according to the content or information in a database and setting communication and control block parameters, generating incremental SCD files and incremental SPCD files, and performing consistency verification, conflict detection, and merging. The present invention can realize the incremental model design of intelligent stations based only on the SCD and SPCD model files archived in the project, under the condition of missing design process information / model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of intelligent substations and relates to an incremental SCD and SPCD design and verification method and system under incomplete information conditions. Background Art

[0002] Smart substations are built based on the IEC61850 standard system and use a large number of digital and network technologies. Substation Configuration Description (SCD), as the final carrier of the smart station model, plays an important role in substation operation and commissioning. SCD files can be generated by design units through tool software.

[0003] The design process of a substation is usually completed in stages. After the main project is completed, there will be a series of renovation and expansion requirements. Although the design units at different stages are generally the same, there are also cases where different design units are involved. The technical architecture and information model of the SCD software generation tools of different design units are not universal. The current design unit cannot obtain the process assets of the previous unit and can only design the SCD files after renovation and expansion based on the drawings and model materials archived in the project. Summary of the invention

[0004] In order to solve the deficiencies in the prior art, the present invention provides an incremental SCD and SPCD design and verification method and system under conditions of incomplete information, which can realize the incremental model design of the intelligent station based only on the SCD and SPCD model files archived in the project and in the absence of design process information / model.

[0005] The present invention adopts the following technical solution.

[0006] The first aspect of the present invention provides an incremental SCD and SPCD design and verification method under incomplete information conditions, comprising the following steps:

[0007] S1: According to the current design scope of the working interval group screen of the smart substation, draw the information flow diagram within the interval, determine the process layer data flow between the IED devices in the interval, and configure the virtual circuit connection relationship between the sending device and the receiving device in the interval based on this;

[0008] S2: According to the archiving status of the current smart substation model file, the occupied ports of the cross-bay devices and the communication parameters used in the original SCD file are obtained as design constraints;

[0009] S3: Draw an inter-bay information flow diagram according to the logical connection relationship between the inter-bay devices, determine the process layer data flow between the inter-bay IED devices, and configure the virtual circuit connection relationship between the inter-bay sending device and the receiving device in combination with the occupied port information of the inter-bay devices;

[0010] S4: Instantiate the information model of the IED device, and store the information model of the IED device and the information flow diagram, virtual circuit connection relationship, and design constraint conditions in a memory or a database;

[0011] S5: Generate incremental SCD files and incremental SPCD files according to the information stored in the memory or database;

[0012] S6: Perform consistency check on the incremental SCD file and the incremental SPCD file, and obtain the final SCD file and SPCD file by detecting and merging the incremental SCD file and the incremental SPCD file with the original file.

[0013] Preferably, in S1, when drawing the information flow diagram within the interval, the interaction relationship between devices with logical connection relationship within the design scope is identified in the diagram.

[0014] Preferably, in S2, firstly, according to the archiving status of the intelligent station model file, the working scenarios are divided into two types, including: working scenario A: including SCD files and SPCD files; working scenario B: including only SCD files.

[0015] Preferably, in S2, for working scenario A, the occupied ports of the cross-interval devices are obtained by parsing the SPCD file; for working scenario B, the occupied ports of the cross-interval devices are obtained by parsing the SCD file.

[0016] Preferably, in S5, virtual terminals and control block parameters are extracted from the information model of the IED device in the memory or database, and communication parameter configuration, virtual circuit design, physical optical fiber circuit design, and cable assembly design are performed in combination with the data flow confirmed according to the information flow diagram and the virtual circuit connection relationship and design constraints, and incremental SCD files and incremental SPCD files are generated.

[0017] Preferably, the incremental SPCD file is extended as follows to implement the description of the correspondence between the physical port and the logical port in the incremental SPCD file:

[0018] The board element extends the logical board attribute to describe the logical board corresponding to the physical board;

[0019] The port element extends the logical port attribute to describe the logical port corresponding to the physical port.

[0020] Preferably, in S6, the incremental SCD file and the incremental SPCD file are checked for consistency as follows:

[0021] 1) Extract all device elements from the incremental SCD file, obtain the value of their name attribute, and form a collection DataSet scd ;

[0022] Extract all equipment elements from the incremental SPCD file, obtain their type and device name attributes, and save the device name of the element with the type attribute value "IED" in the collection DataSet spcd middle;

[0023] Check if the DataSet is satisfied scd = DataSet spcd , to determine whether the modified secondary devices in SCD and SPCD are consistent; if not, an error message is prompted, and the names of the inconsistently modified secondary devices are visually displayed in turn;

[0024] 2) Extract all virtual circuit elements from the incremental SCD file, and obtain the external transmission device of the virtual circuit from the external device name attribute of the virtual circuit element. According to the external transmission device, obtain the connection relationship between IED devices in the incremental SCD file to form an adjacency matrix , where n is the number of IED devices, a ij =1 indicates that there is a virtual circuit from device i to device j; a ij =0 means there is no virtual circuit from device i to device j;

[0025] 3) Arrange the IED devices in descending order according to voltage level, bay name, and device name;

[0026] 4) Extract the connection relationship between all IEDs, switches and optical distribution devices from the fiber elements and internal fiber elements in the incremental SPCD file, then remove the optical distribution device nodes, logically connect the devices connected to the corresponding ends of the optical distribution device nodes directly, and then traverse the connection relationship between the devices to form an adjacency matrix and ;

[0027] Among them A spcd1 Describes a directed graph between IED devices, where the device coding order conforms to the order in 3), b ij =1 means there is a physical loop from device i to device j; b ij =0 means there is no physical loop from device i to device j, and n represents the number of IED devices;

[0028] A spcd2Describe the undirected graph between switch devices and between switch devices and IED devices, where the coding order of the devices conforms to the order in 3), c ij =1 means there is a physical loop from device i to device j; c ij =0 means there is no physical loop from device i to device j, m represents the number of switch devices and IED devices;

[0029] 5) Traverse A scd and A spcd1 For each element of ij b ij And b ij =0, it is considered that the incremental SCD file is inconsistent with the incremental SPCD file; if a ij b ij And b ij =1, then in A spcd2 Retrieve whether device i and device j belong to a connected island. If not, it is determined that the incremental SCD file and the incremental SPCD file are inconsistent; otherwise, it is determined that the incremental SCD file and the incremental SPCD file are consistent;

[0030] If the incremental SCD file is consistent with the incremental SPCD file, the complete receiving port information of the incremental SPCD file is obtained, including the physical port and the logical port. If the logical port is inconsistent with the incremental SCD file, it is considered that the incremental SCD file or the incremental SPCD file port configuration is abnormal;

[0031] 6) If the incremental SCD file and the incremental SPCD file contain multiple intervals of the same type, assuming that the number of devices in each interval is k, if a ij a (i+k)(j+k) And a ij、 a (i+k)(j+k) Belong to the same type of equipment, or b ij b (i+k)(j+k) And b ij、 b (i+k)(j+k) If they are of the same type, it will prompt that the same type of interval configuration in the incremental SCD file and the incremental SPCD file is inconsistent.

[0032] Preferably, in S6, for working scenario B, conflict detection and merging of the incremental SCD file and the original SCD file are performed to determine the final SCD file, and the incremental SPCD file is used as the final SPCD file; for working scenario A, conflict detection and merging of the original files are performed on the incremental SCD file and the incremental SPCD file respectively to determine the final SCD file and SPCD file.

[0033] Preferably, when performing conflict detection between the incremental SCD file and the original SCD file, the conflicting objects are renamed, and finally the incremental SCD file and the original SCD file are merged to generate the final SCD file, that is, the SCD file of the current design scope of the smart substation.

[0034] Preferably, when the incremental SPCD file and the original SPCD are subjected to conflict detection, the problem location of the object that fails the detection is prompted for verification and modification; the incremental SPCD file that passes each detection is merged with the original SPCD file to generate the final SPCD file, that is, the SPCD file of the current design range of the smart substation.

[0035] Preferably, the conflict detection between the incremental SCD file and the original SCD file includes: address information of the SV control block and the GOOSE control block of the IED, publishing and subscription information of the SV and GOOSE, logical node type, data object type, and data attribute type detection;

[0036] The conflict detection between the incremental SPCD file and the original SPCD includes: region and cable detection.

[0037] Preferably, the incremental SCD file is merged with the original SCD file to generate the final SCD file in the following manner:

[0038] In the process of generating incremental SCD files, the data type and device template of the newly added IED device are updated based on the data type template of the original SCD file when designing the virtual circuit;

[0039] After the incremental SCD file is generated, it is used as the overall stream data to overwrite the index position of the original SCD file data type template, and the incremental SCD file is directly merged with the original SCD file in the form of data blocks to generate the final SCD file.

[0040] The second aspect of the present invention provides an incremental SCD and SPCD design and verification system under incomplete information conditions, comprising:

[0041] A design information acquisition module is used to configure the virtual circuit connection relationship between the sending device and the receiving device within the interval, obtain the design constraint conditions, and configure the virtual circuit connection relationship between the sending device and the receiving device across the interval;

[0042] A design information storage module is used to instantiate the information model of the IED device and store the information model of the IED device and the information flow diagram, virtual circuit connection relationship, and design constraint conditions in a memory or a database;

[0043] The design and verification module is used to generate incremental SCD files and incremental SPCD files according to the information stored in the memory or database; perform consistency verification on the incremental SCD files and incremental SPCD files, and obtain the final SCD files and SPCD files by detecting and merging the conflicts between the incremental SCD files and incremental SPCD files and the original files.

[0044] A terminal comprises a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the method.

[0045] A computer-readable storage medium stores a computer program, which implements the steps of the method when executed by a processor.

[0046] Compared with the prior art, the beneficial effects of the present invention include at least:

[0047] The present invention uses the model files archived in the project as the constraints and input sources of the graphical design, obtains the substation model, carries out incremental design and integrates the original model to generate the final product; it avoids the problem that the graphical design cannot be carried out due to the lack of process data, and realizes the incremental design of the model when the intelligent station is renovated and expanded under the condition of missing design process information.

[0048] The invention has high practicability and strong adaptability, and can be implemented for different current situations of substation model archiving.

[0049] The present invention also expands the port definition of the incremental SPCD file, can realize the description of the correspondence between the physical port and the logical port in the incremental SPCD file, and solves the problem that the optical fiber physical circuit and the virtual circuit cannot correspond.

[0050] The present invention can quickly check the connection relationship between devices, port correctness, and configuration correctness of similar intervals.

[0051] The present invention also proposes a method for quickly merging an incremental SCD and an original SCD, which can realize a quick merge of the incremental SCD and the original SCD only by loading and partially parsing the data type template, thereby avoiding the memory resources consumed by loading the entire SCD file, greatly reducing the repeated memory consumption when merging SCD files, and significantly improving the merging speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 This is a flow chart of the incremental SCD and SPCD design and verification method of the present invention;

[0053] Figure 2 It is the principle diagram of the incremental SCD and SPCD design and verification method of the present invention;

[0054] Figure 3 An example of an information flow diagram for intervals;

[0055] Figure 4 It is a schematic diagram of the virtual circuit configuration interface;

[0056] Figure 5 Detailed steps for generating SCD and SPCD files;

[0057] Figure 6 (a) shows the communication information conflict detection steps of SCD;

[0058] Figure 6 (b) shows the device information conflict detection step of SCD;

[0059] Figure 6 (c) shows the data type template conflict detection step of SCD;

[0060] Figure 7 It is the process of mutual verification between incremental SCD and SPCD files. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only embodiments of a part of the present invention, rather than all embodiments. Based on the spirit of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the protection scope of the present invention.

[0062] like Figure 1-Figure 2 As shown, Embodiment 1 of the present invention provides an incremental SCD and SPCD design and verification method under incomplete information conditions, which is used for the phased design of an intelligent station, and includes the following steps:

[0063] S1: According to the current design scope of the working interval group screen of the smart substation, draw the information flow diagram within the interval, determine the process layer data flow between the IED devices in the interval, and configure the virtual circuit connection relationship between the sending device and the receiving device in the interval based on this;

[0064] This step draws the information flow diagram of the reconstruction and expansion interval according to the design scope of the current intelligent station. Figure 3 The information flow diagram shown includes the interactive relationship between devices with logical connection relationships. For example, a directed data flow diagram can be constructed using a graphical tool or a dedicated software interface.

[0065] Configure the virtual circuit connection relationship between the sending device and the receiving device within the interval according to the information flow diagram. These virtual circuits represent the logical connection between the devices, not the physical connection. The virtual circuit configuration interface is as follows Figure 4 shown.

[0066] Handling intervals outside the design scope: For intervals that are not within the current design scope, skip this step to ensure efficient use of resources and time.

[0067] S2: According to the archiving status of the current smart substation model file, the occupied ports of the cross-bay devices and the communication parameters used in the original SCD file are extracted as design constraints; the details are as follows:

[0068] According to the archiving status of the current smart substation model file, the occupied ports of cross-interval devices are extracted (the intervals involved in the incremental design are newly added intervals or modified intervals, so the problem of device port occupation within the interval is not involved). As design constraints, they can avoid duplication of switch ports or IED device ports (protection, smart terminals, measurement and control, and merging units) in the newly added optical fiber loop; the communication parameters used in the original SCD file are extracted, including IP, MAC, APPID, appID, smvID, etc. as design constraints (only the communication parameters used in the original SCD file are extracted, and there are no communication parameters in the SPCD file).

[0069] For the extraction of occupied ports of cross-interval devices, the working scenarios are first divided into two types according to the archiving status of the smart station model files: scenario A and scenario B. Scenario A includes SCD files and SPCD files (optical fiber physical loop files), and scenario B only includes SCD files.

[0070] 1) For scenario A, parse the SPCD file, extract the optical fiber physical connections between substation equipment, and construct the optical fiber physical topology relationship to obtain the occupied ports of the cross-bay equipment. It extracts the optical fiber connection information from specific elements in the SPCD file and describes these connection relationships as a physical topology tree. The specific operations are as follows:

[0071] Extract the information of the sending physical port and receiving physical port from the portA and portB attributes of the fiber element "Substation / Region / Cubicle / IntCore" in the SPCD file, and from the "Substation / Cable" element and its child Core element to form the fiber physical topology. The connection relationship of the fiber is described in a tree format.

[0072] 2) For scenario B, directly parse the SCD file. If the SCD file configures the IED physical connection relationship, you can directly build the physical topology from the file: The value of the element is used to construct the connection topology of the physical ports of the device and the switch and various optical cables, and obtain the occupied ports of the cross-interval device. The connection relationship of the optical fiber is described in the form of a tree.

[0073] If the SCD file does not configure the IED physical connection relationship, the physical connection is obtained based on the address information in the Inputs area of ​​the IED: Specifically, the intAddr field in the Inputs area of ​​the receiving device IED is used to lock the data set item that matches its external address and obtain the physical port on the receiving side of the data stream. The sending port needs to be determined by actual survey. Finally, the occupied port of the cross-bay device is obtained.

[0074] S3: Draw an inter-bay information flow diagram based on the logical connection relationship between inter-bay devices such as busbar protection and main transformer protection, determine the process layer data flow between inter-bay IED devices, and configure the virtual circuit connection relationship between the inter-bay sending device and the receiving device in combination with the occupied port information of the inter-bay devices;

[0075] This step draws a cross-interval information flow diagram based on the logical relationship between cross-interval protections such as bus protection and main transformer protection. Based on the cross-interval information flow diagram, the virtual circuit relationship between cross-interval sending devices and receiving devices such as bus and main transformer, as well as the bus / main transformer optical fiber physical ports are configured.

[0076] Considering that the ports of busbars, main transformers and other equipment may have been used, it is necessary to ensure that the new configuration will not conflict with the existing configuration. That is, the above S2 can obtain the port occupancy of busbars and main transformers, S2 can only obtain the receiving port, and the sending port needs to be determined by actual survey. For point-to-point networks, according to the obtained port occupancy, effectively avoid the disconnection of the used ports and configure the physical ports of the busbar / main transformer fiber.

[0077] Processing existing bays: For other bays that already exist in the busbar / main transformer bay but are not within the scope of this work, skip this step and there is no need to draw the information flow diagram.

[0078] S4: Instantiate the device model through the ICD file, and store the model information, the information flow diagram of S1 and S3, the virtual circuit connection relationship, and the design constraint conditions of S2 in the memory or database;

[0079] This step stores graphics and model information: During the design process, all graphics and model information such as information flow diagrams and virtual circuits are stored in memory or database to ensure data persistence and smooth progress of subsequent steps.

[0080] Generate information flow drawings. Use the data and relationships obtained in the previous steps to generate detailed information flow drawings, providing an intuitive view of the device interaction relationship.

[0081] S5: Design virtual terminals and cable assembly according to the information in the content or database, set communication and control block parameters, and generate incremental SCD files and incremental SPCD files; extract virtual terminals and control block parameters from the information model of the IED device in the memory or database, and configure communication parameters, virtual circuit design, physical optical fiber circuit design, and cable assembly design in combination with the data flow confirmed according to the information flow diagram, the virtual circuit connection relationship of S1 and S3, and the design constraints of S2, and generate incremental SCD files and incremental SPCD files; further, the present invention also expands the port definition of the incremental SPCD file:

[0082] The Board element extends the logic_slot attribute to describe the logical board corresponding to the physical board.

[0083] The Port element extends the logic_no attribute to describe the logical port corresponding to the physical port.

[0084] Through the above extension, the description of the correspondence between the physical port and the logical port in the incremental SPCD file is realized, and the problem that the optical fiber physical circuit and the virtual circuit cannot correspond is solved.

[0085] For example: <board slot="B01" type(板卡类型)="" desc(板卡描述)="" logic_slot="11">

[0086] <port no(编号)="1" direction(方向)="Tx" plug(插口样式)="ST" desc(描述)="TX01" usage(备用)="" logic_no="A" / >

[0087] It can be understood that both working scenario A and scenario B need to generate two files.

[0088] For example, when designing a virtual circuit or a physical optical fiber circuit, when the physical ports of the device are involved, the occupied ports in the SCD file are automatically avoided; when configuring communication parameters, when the control block parameters are involved, the control block parameters already in use in the SCD file are automatically avoided.

[0089] The detailed steps for generating SCD and SPCD files are as follows Figure 5 As shown;

[0090] This step generates the design model for this stage (renovation and expansion), and the product is in the form of SCD1, which only contains the model of this stage.

[0091] Take the expansion line 1 as an example to configure the SCD model of the expansion interval. The specific steps are as follows:

[0092] 1) Import the SCD file. The software automatically matches the IEDname in the SCD file with the newly created device to see if they are consistent. If they are consistent, the newly created device is used. If they are inconsistent, a new device is created.

[0093] 2) Import the ICD file of the line 1 bay equipment.

[0094] 3) Automatically draw the device connection diagram based on the SCD connection relationship.

[0095] 4) Manually add the connection of the modified and expanded equipment, and add the virtual terminal connection of the modified and expanded part.

[0096] Generate SPCD file: configure the area / room / panel / equipment / connection relationship of the expansion and renovation interval, integrate it with the results of S3 (the virtual circuit relationship between the busbar, main transformer and other sending devices and receiving devices across the interval, and the busbar / main transformer optical fiber physical port), and generate the SPCD file of this stage, referred to as SPCD1.

[0097] Specifically, for the intervals involved, configure the relevant areas, rooms, cabinets, equipment and connection relationships. Then, integrate this information to generate the SPCD file (SPCD1) for this stage. Taking the expansion line 1 as an example, the specific steps are as follows:

[0098] 1) Construct equipment model for renovation and expansion project intervals:

[0099] a create line 1 interval;

[0100] b. Create line 1 room, cabinet, equipment, board, and port (support IPCD import);

[0101] c. Create a bay connected to the line 1 bay, such as a bus bay;

[0102] d. Create small rooms, cabinets, equipment, boards, and ports connected to line 1 (support IPCD import);

[0103] 2) Refresh and adjust the cabinet connections of the renovated and expanded parts;

[0104] 3) Refresh and adjust the cable connections of the renovated and expanded parts;

[0105] 4) Output the SPCD1 of the modified and expanded part.

[0106] S6: Conflict detection is performed on the incremental SCD file and the original SCD file to determine the final SCD file, and conflict detection is performed on the incremental SPCD file and the original SPCD file for the working scene including the SCD file and the SPCD file to determine the final SPCD file.

[0107] Further preferably, the physical optical circuits and logical virtual circuits of the incremental SCD file and the incremental SPCD file are checked for conflicts and correctness by virtual-real verification, such as Figure 7 The specific verification method is as follows:

[0108] 1) Extract all IED (device) elements from the incremental SCD file, obtain the value of their name attribute, and form a collection DataSet scd ;

[0109] Extract all Unit (equipment) elements from the incremental SPCD file, obtain their class (type) and iedName (device name) attributes, and save the iedName of the element with the class attribute value "IED" in the collection DataSet spcd middle;

[0110] Check if the DataSet is satisfied scd = DataSet spcd , to determine whether the modified secondary devices in SCD and SPCD are consistent; if not, an error message is prompted, and the names of the inconsistently modified secondary devices are visually displayed in turn;

[0111] 2) Retrieve the IED elements of all protection devices from the incremental SCD file, extract all virtual circuit ExtRef elements through the XML path SCL / IED / LD / LN0 / Inputs of the incremental SCD file; obtain the external sending device of the virtual circuit from the iedName (external device name) attribute of the ExtRef element, and obtain the connection relationship between the IED devices in the incremental SCD file based on the external sending device; construct an adjacency matrix , where n is the number of IED devices, a ij =1 indicates that there is a virtual circuit from device i to device j; a ij =0 means there is no virtual circuit from device i to device j;

[0112] 3) The coding sequence of the devices should be arranged according to the following requirements, and the IED devices should be arranged in descending order according to voltage level, bay name, and device name;

[0113] 4) Extract the connection relationship between all devices from the Core (fiber) element and IntCore (internal fiber) element in the incremental SPCD file, then remove the ODF (optical distribution) node, logically connect the devices connected to the corresponding end of the ODF directly, and then traverse the connection relationship between the devices to form an adjacency matrix and ;

[0114] in

[0115] A spcd1 Describe the directed graph between IED devices (the coding order of the devices conforms to 3), b ij =1 means there is a physical loop from device i to device j; b ij =0 means there is no physical loop from device i to device j, and n represents the number of devices;

[0116] A spcd2 Describe the undirected graph between switch devices and between switch and IED devices, where the coding order of the devices conforms to the order in 3), c ij =1 means there is a physical loop from device (or switch) i to device (or switch) j; c ij =0 means there is no physical loop from device (or switch) i to device (or switch) j;

[0117] 5) Traverse A scd and A spcd1 For each element of ij b ij And b ij =0, it is considered as inconsistent between virtual and real; if a ij b ij And b ij =1, then in A spcd2 Search whether device i and device j belong to a connected island. If not, it is determined that the virtual and the real are inconsistent; otherwise, it is determined that the virtual and the real are consistent;

[0118] If the virtual and real are consistent, the complete receiving port information, including physical ports and logical ports, is obtained through the port definition in the incremental SPCD file. If the logical port is inconsistent with that in the incremental SCD file, the port configuration is considered abnormal.

[0119] 6) If the incremental file contains multiple intervals of the same type, assuming that the number of devices in each interval is k, if a ij a (i+k)(j+k) And a ij、 a (i+k)(j+k) Belong to the same type of equipment, or b ij b (i+k)(j+k) And b ij、 b (i+k)(j+k) If they are of the same type, it will prompt that the configuration of the same type of intervals is inconsistent.

[0120] After generating the SCD file (SCD1) of this stage, it is necessary to perform conflict detection on SCD1 and the original SCD file, including communication information conflict detection, device information conflict detection, and data type template conflict detection, and merge the SCD1 that passes the conflict detection with the original SCD file to generate the final SCD file. The steps of communication information conflict detection, device information conflict detection, and data type template conflict detection of SCD are shown in Figure 6 (a), Figure 6 (b), and Figure 6 (c), respectively. The communication information part describes the address information of the SV control block and GOOSE control block of each IED. The specific content of each intelligent electronic device in the device information part, the publishing and subscription of SV and GOOSE are all described here. The data type template part defines data type templates such as logical node type LNodeType, data object type DOType, and data attribute type DAType.

[0121] For scenario A, SPCD1 and the original SPCD are also tested for conflicts, including Region and Cable tests. If the test fails, the problem location is indicated. Manual verification and modification are performed to merge the SPCD1 that passed the test with the original SPCD to generate the final SPCD file. If the original SPCD file cannot be obtained (i.e., scenario B), the incremental SPCD file is the final SPCD file.

[0122] Further preferably, the present invention proposes a method for quickly merging the incremental SCD and the original SCD, specifically:

[0123] 1) Before generating the incremental SCD file, read the index position of the data type template (DataTypeTemplates) of the original SCD file by indexing, and parse the relevant content;

[0124] 2) Before generating the incremental SCD file, preload the data type template described in step 1), then design the virtual and real circuits in a graphical manner, and when finally associating the device (incremental) model, update the data type and template of the newly added IED device based on the original SCD data template;

[0125] 3) The generated incremental SCD file is used as the overall stream data to overwrite the index position of the original SCD file data type template, and is directly merged in blocks to generate the final SCD file.

[0126] The present invention proposes a method for quickly merging an incremental SCD and an original SCD. The incremental SCD and the original SCD can be quickly merged only by loading and partially parsing a data type template. The memory resources consumed by loading the entire SCD file can be avoided, the repeated memory consumption when merging SCD files is greatly reduced, and the merging speed is significantly improved.

[0127] Embodiment 2 of the present invention provides an incremental SCD and SPCD design and verification system under incomplete information conditions, including:

[0128] A design information acquisition module is used to configure the virtual circuit connection relationship between the sending device and the receiving device within the interval, obtain the design constraint conditions, and configure the virtual circuit connection relationship between the sending device and the receiving device across the interval;

[0129] A design information storage module is used to instantiate the information model of the IED device and store the information model of the IED device and the information flow diagram, virtual circuit connection relationship, and design constraint conditions in a memory or a database;

[0130] The design and verification module is used to generate incremental SCD files and incremental SPCD files based on the information stored in the memory or database; perform consistency verification on the incremental SCD files and incremental SPCD files, and perform conflict detection between the incremental SCD files and the original SCD files to determine the final SCD file; and perform conflict detection between the incremental SPCD files and the original SPCD for the working scenarios containing the SCD files and the SPCD files to determine the final SPCD file.

[0131] A terminal comprises a processor and a storage medium; the storage medium is used to store instructions;

[0132] The processor is configured to operate according to the instructions to execute the steps of the method.

[0133] A computer-readable storage medium stores a computer program, which implements the steps of the method when executed by a processor.

[0134] Compared with the prior art, the beneficial effects of the present invention include at least:

[0135] The present invention uses the model files archived in the project as the constraints and input sources of the graphical design, obtains the substation model, carries out incremental design and integrates the original model to generate the final product; it avoids the problem that the graphical design cannot be carried out due to the lack of process data, and realizes the incremental design of the model when the intelligent station is renovated and expanded under the condition of missing design process information.

[0136] The invention has high practicability and strong adaptability, and can be implemented for different current situations of substation model archiving.

[0137] The present invention also expands the port definition of the incremental SPCD file, can realize the description of the correspondence between the physical port and the logical port in the incremental SPCD file, and solves the problem that the optical fiber physical circuit and the virtual circuit cannot correspond.

[0138] The present invention can quickly verify the connection relationship between devices, port correctness, and configuration correctness of similar intervals.

[0139] The present invention also proposes a method for quickly merging an incremental SCD and an original SCD, which can realize a quick merge of the incremental SCD and the original SCD only by loading and partially parsing the data type template, thereby avoiding the memory resources consumed by loading the entire SCD file, greatly reducing the repeated memory consumption when merging SCD files, and significantly improving the merging speed.

[0140] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0141] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the above. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0142] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0143] The computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of the computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit may execute the computer-readable program instructions, thereby implementing various aspects of the present disclosure.

[0144] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.< / board>

Claims

1. A design and verification method for incremental SCD and SPCD under incomplete information conditions, characterized in that: The method comprises the following steps: S1: According to the current design scope of the working interval group screen of the smart substation, draw the information flow diagram within the interval, determine the process layer data flow between the IED devices in the interval, and configure the virtual circuit connection relationship between the sending device and the receiving device in the interval based on this; S2: According to the archiving status of the current smart substation model file, the occupied ports of the cross-bay devices and the communication parameters used in the original SCD file are obtained as design constraints; S3: Draw an inter-bay information flow diagram according to the logical connection relationship between the inter-bay devices, determine the process layer data flow between the inter-bay IED devices, and configure the virtual circuit connection relationship between the inter-bay sending device and the receiving device in combination with the occupied port information of the inter-bay devices; S4: Instantiate the information model of the IED device, and store the information model of the IED device and the information flow diagram, virtual circuit connection relationship, and design constraint conditions in a memory or a database; S5: Generate incremental SCD files and incremental SPCD files according to the information stored in the memory or database; S6: Perform consistency check on the incremental SCD file and the incremental SPCD file, and obtain the final SCD file and SPCD file by detecting and merging the conflicts between the incremental SCD file and the incremental SPCD file and the original file. Specifically, perform the following consistency check on the incremental SCD file and the incremental SPCD file: 1) Extract all device elements from the incremental SCD file, obtain the value of their name attribute, and form a collection DataSet scd ; Extract all equipment elements from the incremental SPCD file, obtain their type and device name attributes, and save the device name of the element with the type attribute value "IED" in the collection DataSet spcd middle; Check if the DataSet is satisfied scd = DataSet spcd , to determine whether the modified secondary devices in SCD and SPCD are consistent; if not, an error message is prompted, and the names of the inconsistently modified secondary devices are displayed visually in turn; 2) Extract all virtual circuit elements from the incremental SCD file, and obtain the external transmission device of the virtual circuit from the external device name attribute of the virtual circuit element. According to the external transmission device, obtain the connection relationship between IED devices in the incremental SCD file to form an adjacency matrix , where n is the number of IED devices, a ij =1 indicates that there is a virtual circuit from device i to device j; a ij =0 means there is no virtual circuit from device i to device j; 3) Arrange the IED devices in descending order according to voltage level, bay name, and device name; 4) Extract the connection relationship between all IEDs, switches and optical distribution devices from the fiber elements and internal fiber elements in the incremental SPCD file, then remove the optical distribution device nodes, logically connect the devices connected to the corresponding ends of the optical distribution device nodes directly, and then traverse the connection relationship between the devices to form an adjacency matrix and ; Among them A spcd1 Describes a directed graph between IED devices, where the device coding order conforms to the order in 3), b ij =1 means there is a physical loop from device i to device j; b ij =0 means there is no physical loop from device i to device j, and n represents the number of IED devices; A spcd2 Describe the undirected graph between switch devices and between switch devices and IED devices, where the coding order of the devices conforms to the order in 3), c ij =1 means there is a physical loop from device i to device j; c ij =0 means there is no physical loop from device i to device j, m represents the number of switch devices and IED devices; 5) Traverse A scd and A spcd1 For each element of ij b ij And b ij =0, it is considered that the incremental SCD file is inconsistent with the incremental SPCD file; if a ij b ij And b ij =1, then in A spcd2 Retrieve whether device i and device j belong to a connected island. If not, it is determined that the incremental SCD file and the incremental SPCD file are inconsistent; otherwise, it is determined that the incremental SCD file and the incremental SPCD file are consistent; If the incremental SCD file is consistent with the incremental SPCD file, the complete receiving port information of the incremental SPCD file is obtained, including the physical port and the logical port. If the logical port is inconsistent with the incremental SCD file, it is considered that the incremental SCD file or the incremental SPCD file port configuration is abnormal; 6) If the incremental SCD file and the incremental SPCD file contain multiple intervals of the same type, assuming that the number of devices in each interval is k, if a ij a (i+k)(j+k) And a ij 、 a (i+k)(j+k) Belong to the same type of equipment, or b ij b (i+k)(j+k) And b ij 、 b (i+k)(j+k) If they are of the same type, it will prompt that the same type of interval configuration in the incremental SCD file and the incremental SPCD file is inconsistent.

2. The incremental SCD and SPCD design and verification method under incomplete information conditions according to claim 1, characterized in that: In S1, when drawing the information flow diagram within the interval, the interactive relationship between the devices with logical connection relationships within the design scope is identified in the diagram.

3. The incremental SCD and SPCD design and verification method under incomplete information conditions according to claim 1, characterized in that: In S2, firstly, according to the archiving status of the intelligent station model files, the working scenarios are divided into two types, including: working scenario A: including SCD files and SPCD files; working scenario B: including only SCD files.

4. The incremental SCD and SPCD design and verification method under incomplete information conditions according to claim 3, characterized in that: In S2, for working scenario A, the occupied ports of cross-interval devices are obtained by parsing the SPCD file; for working scenario B, the occupied ports of cross-interval devices are obtained by parsing the SCD file.

5. The incremental SCD and SPCD design and verification method under incomplete information conditions according to claim 1 or 3, characterized in that: In S5, the virtual terminals and control block parameters are extracted from the information model of the IED device in the memory or database, and the communication parameters are configured, the virtual circuit design, the physical fiber circuit design, and the cable group design are performed in combination with the data flow confirmed according to the information flow diagram and the virtual circuit connection relationship and design constraints, and the incremental SCD file and incremental SPCD file are generated.

6. The incremental SCD and SPCD design and verification method under incomplete information conditions according to claim 5, characterized in that: The following extensions are made to the incremental SPCD file to implement the description of the correspondence between the physical port and the logical port in the incremental SPCD file: The board element extends the logical board attribute to describe the logical board corresponding to the physical board; The port element extends the logical port attribute to describe the logical port corresponding to the physical port.

7. The incremental SCD and SPCD design and verification method under incomplete information conditions according to claim 3, characterized in that: In S6, for working scenario B, the incremental SCD file is conflict-checked and merged with the original SCD file to determine the final SCD file, and the incremental SPCD file is used as the final SPCD file; For work scenario A, conflict detection and merging of original files are performed on the incremental SCD file and incremental SPCD file respectively to determine the final SCD file and SPCD file.

8. The incremental SCD and SPCD design and verification method under incomplete information conditions according to claim 7, characterized in that: When performing conflict detection between the incremental SCD file and the original SCD file, the conflicting objects are renamed, and finally the incremental SCD file and the original SCD file are merged to generate the final SCD file, that is, the SCD file of the current design scope of the smart substation.

9. The incremental SCD and SPCD design and verification method under incomplete information conditions according to claim 7, characterized in that: When the incremental SPCD file and the original SPCD are subjected to conflict detection, the problem location of the object that fails the detection is prompted for verification and modification; the incremental SPCD file that passes each detection is merged with the original SPCD file to generate the final SPCD file, that is, the SPCD file of the current design scope of the smart substation.

10. The incremental SCD and SPCD design and verification method under incomplete information conditions according to claim 7, characterized in that: The conflict detection between the incremental SCD file and the original SCD file includes: the address information of the SV control block and the GOOSE control block of the IED, the publishing and subscription information of the SV and GOOSE, the logical node type, the data object type, and the data attribute type detection; The conflict detection between the incremental SPCD file and the original SPCD includes: region and cable detection.

11. The incremental SCD and SPCD design and verification method under incomplete information conditions according to claim 1, characterized in that: The method to merge the incremental SCD file with the original SCD file to generate the final SCD file is as follows: In the process of generating incremental SCD files, the data type and device template of the newly added IED device are updated based on the data type template of the original SCD file when designing the virtual circuit; After the incremental SCD file is generated, it is used as the overall stream data to overwrite the index position of the original SCD file data type template, and the incremental SCD file is directly merged with the original SCD file in the form of data blocks to generate the final SCD file.

12. An incremental SCD and SPCD design and verification system under incomplete information conditions, using the method according to any one of claims 1 to 11, characterized in that: The system comprises: A design information acquisition module is used to configure the virtual circuit connection relationship between the sending device and the receiving device within the interval, obtain the design constraint conditions, and configure the virtual circuit connection relationship between the sending device and the receiving device across the interval; A design information storage module is used to instantiate the information model of the IED device and store the information model of the IED device and the information flow diagram, virtual circuit connection relationship, and design constraint conditions in a memory or a database; The design and verification module is used to generate incremental SCD files and incremental SPCD files according to the information stored in the memory or database; perform consistency verification on the incremental SCD files and incremental SPCD files, and obtain the final SCD files and SPCD files by detecting and merging the conflicts between the incremental SCD files and incremental SPCD files and the original files.

13. A terminal comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to any one of claims 1-11.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.