Intelligent substation reconstruction and extension method and system based on SCD
By automatically parsing and generating SCD files, the problems of low efficiency, error-proneness, and poor consistency in the renovation and expansion of SCD files in smart substations have been solved, realizing the automation and standardization of smart substation renovation and expansion, and improving work efficiency and reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-02
- Publication Date
- 2026-03-27
AI Technical Summary
In existing technologies, the modification and expansion of SCD files for intelligent substations rely on manual operation, which is inefficient, error-prone, experience-dependent, and inconsistent, making it difficult to achieve automation and standardization.
By parsing the SCD file, IED information is automatically extracted to construct a hierarchical structure of the substation, virtual loop connections are analyzed, the status of upgraded and expanded equipment is identified, and virtual loop connections are automatically generated based on predefined virtual loop templates and engineering parameters, outputting the final SCD file.
The entire process of SCD upgrade and expansion configuration has been automated, improving work efficiency and accuracy, avoiding manual configuration errors, and ensuring the reliability and standardization of smart substations.
Smart Images

Figure CN121744558A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of intelligent substation engineering configuration, and particularly relates to an intelligent substation reconstruction and expansion method and system based on SCD. BACKGROUND
[0002] The reconstruction and expansion engineering of an intelligent substation is a common work in the operation and maintenance of a power system. In the intelligent substation, an SCD file, as a core configuration of a system level, describes intelligent electronic devices (IEDs), a communication system and a virtual loop logical connection relationship therebetween of the whole station. Any reconstruction and expansion, whether adding a bay, replacing an IED device or changing a system topology, must be accurately modified on the SCD file.
[0003] At present, the modification of the SCD file mainly depends on manual operation. An engineer needs to manually analyze the structure of an existing SCD, understand a complex virtual loop connection, and according to the reconstruction and expansion demand, add, modify or delete IED instances and virtual connections in a special configuration tool. This method has the following significant disadvantages:
[0004] Low efficiency: manual operation is tedious, especially for a large substation, the SCD file structure is complex, and it takes a long time.
[0005] Easily make mistakes: the virtual loop connection relationship is complex, manual modification is easy to miss or misconfigure, and may cause serious secondary system failure.
[0006] Depend on experience: the configuration quality is highly dependent on the personal experience of the engineer and the familiarity with the SCD file of a specific station, and it is difficult to standardize and inherit.
[0007] Consistency is difficult to guarantee: the configuration style and rules of different engineers or different periods of reconstruction and expansion may not be uniform, which brings difficulties to subsequent maintenance.
[0008] Therefore, there is an urgent need in the field for a technical solution capable of automatically and standardizing the reconstruction and expansion configuration of an intelligent substation SCD file to overcome the above-mentioned defects in the prior art. SUMMARY
[0009] The purpose of the present application is to provide an intelligent substation reconstruction and expansion method and system based on SCD to solve the problems of low efficiency, easy to make mistakes, dependent on experience and poor consistency in manual modification of the SCD file in the prior art. The present application aims to realize the full-process automation from analyzing the original SCD, identifying the reconstruction intention to automatically generating the target SCD.
[0010] In a first aspect, the present application provides an intelligent substation reconstruction and expansion method based on SCD, comprising:
[0011] The SCD file is imported, the name and description information of each IED in the SCD file are analyzed, the IED type, interval type, voltage level, interval number, sleeve type and branch information are extracted, the IEDs are divided into corresponding intervals based on the extracted information, and the intervals are classified into corresponding voltage level nodes, so that a complete hierarchical structure of the substation is constructed;
[0012] The virtual loop connection relationship between the IEDs in the SCD is analyzed, the connection relationship between the bus interval and other intervals is determined by identifying the virtual loop of the bus protection IED, and / or the connection relationship between the circuit breaker interval and other intervals is determined by identifying the virtual loop of the circuit breaker protection IED, so as to construct the topology of the substation; meanwhile, the information containing the "branch X" keyword is extracted from the internal virtual terminal description of the bus protection IED virtual loop to obtain the branch number of the corresponding interval;
[0013] On the basis of the constructed substation structure, the IED devices to be newly added, reconstructed or deleted are identified; a hash state table of the SCD nodes is established, the node state corresponding to the newly added IED is marked as "newly added", the node state of the original IED involved in the reconstruction is marked as "deleted" and the node state of the new IED replacing it is marked as "changed", and the node state corresponding to the deleted IED is marked as "deleted"; and the states of the virtual loop nodes and the communication access point nodes associated with the IED nodes with the state of "deleted" are also marked as "deleted" by traversing the SCD;
[0014] A predefined virtual loop template is matched for each IED, the virtual loop template is predefined based on the IED type, interval type, voltage level and wiring mode; for each virtual loop defined in the template, the validity strategy logical expression thereof is calculated according to the engineering parameters associated with the IED, and if the result is true, it is determined that the virtual loop meets the generation condition; for the virtual loop meeting the generation condition, if the states of the IED nodes at both ends of the virtual loop in the hash state table are not "deleted", and at least one end is in the state of "newly added" or "changed", the virtual loop is generated in the SCD; after all the virtual loops are generated, all the nodes with the state of "deleted" are deleted from the SCD, and the name of the IED node with the state of "changed" is restored, and the final SCD file after the reconstruction and expansion is output.
[0015] In a second aspect, the present application provides an intelligent substation reconstruction and expansion system based on SCD, comprising:
[0016] The construction module is configured to import the SCD file, analyze the name and description information of each IED in the SCD file, extract the IED type, interval type, voltage level, interval number, sleeve type and branch information; based on the extracted information, divide the IEDs into corresponding intervals, and classify the intervals into corresponding voltage level nodes, so as to construct a complete hierarchical structure of the substation;
[0017] The analysis module is configured to analyze the virtual loop connection relationship between IEDs in the SCD, determine the connection relationship between bus intervals and other intervals by identifying the virtual loop of the bus protection IED, and / or determine the connection relationship between circuit breaker intervals and other intervals by identifying the virtual loop of the circuit breaker protection IED, to construct the topology of the substation; meanwhile, information containing the "branch X" keyword is extracted from the internal virtual terminal description of the bus protection IED virtual loop to obtain the branch number of the corresponding interval.
[0018] The marking module is configured to identify the IED devices to be added, reconstructed or deleted on the basis of the constructed substation structure; establish a hash state table of SCD nodes, mark the node state corresponding to the added IED as "added", mark the node state of the original IED involved in reconstruction as "deleted" and mark the node state of the new IED replacing the original IED as "changed", and mark the node state corresponding to the deleted IED as "deleted"; and traverse the SCD to also mark the states of the virtual loop nodes and the communication access point nodes associated with the IED nodes with the state of "deleted" as "deleted".
[0019] The output module is configured to match each IED with a predefined virtual loop template, and the virtual loop template is predefined based on the IED type, interval type, voltage level and wiring mode; for each virtual loop defined in the template, the effective strategy logic expression thereof is calculated according to the engineering parameters associated with the IED, and if the result is true, it is determined that the virtual loop meets the generation condition; for the virtual loop meeting the generation condition, if the states of the IED nodes at both ends thereof in the hash state table are not "deleted" and at least one end is in the state of "added" or "changed", the virtual loop is generated in the SCD; after all the virtual loops are generated, all the nodes with the state of "deleted" are deleted from the SCD, and the names of the IED nodes with the state of "changed" are restored, and the final SCD file after reconstruction and expansion is output.
[0020] In a third aspect, an electronic device is provided, which includes at least one processor, and a memory connected with the at least one processor in communication, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the SCD-based intelligent substation reconstruction and expansion method of any embodiment of the present application.
[0021] In a fourth aspect, the present application further provides a computer readable storage medium having a computer program stored thereon, and the program instructions are executed by a processor to enable the processor to perform the steps of the SCD-based intelligent substation reconstruction and expansion method of any embodiment of the present application.
[0022] The SCD-based intelligent substation reconstruction and expansion method and system of the application first imports and analyzes the SCD file of the substation to be reconstructed, automatically extracts the IED device information to construct the hierarchical structure of the substation, and analyzes the virtual loop connection to determine the internal topology relationship and key engineering parameters. Then, according to the reconstruction and expansion requirements, the devices to be newly added, reconstructed or deleted are identified, and their states are recorded. The core is to automatically generate a virtual loop connection that meets the rules based on the pre-defined virtual loop standard template, actual engineering parameters and device states, to ensure that only the reconstruction and expansion devices and their associated parts are updated. Finally, all generated contents are integrated and the to-be-deleted nodes are cleaned up, and the final target SCD file is output. The application realizes the full-process automation of SCD reconstruction and expansion configuration, significantly improves the work efficiency and accuracy, effectively avoids manual configuration errors, and ensures the reliability and standardization level of the secondary system of the intelligent substation. BRIEF DESCRIPTION OF DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are some embodiments of the application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0024] Figure 1 A flow chart of a SCD-based intelligent substation reconstruction and expansion method provided by an embodiment of the application;
[0025] Figure 2 A structural block diagram of a SCD-based intelligent substation reconstruction and expansion system provided by an embodiment of the application;
[0026] Figure 3 A structural schematic diagram of an electronic device provided by an embodiment of the application. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solutions and advantages of the embodiments of the application clearer, the following will combine the drawings in the embodiments of the application to clearly and completely describe the technical solutions in the embodiments of the application. Obviously, the described embodiments are some embodiments of the application, not all embodiments. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the application.
[0028] Please refer to Figure 1 , which shows a flow chart of a SCD-based intelligent substation reconstruction and expansion method provided by an embodiment of the application.
[0029] As shown in Figure 1 , the SCD-based intelligent substation reconstruction and expansion method specifically includes the following steps:
[0030] Step S101, import the SCD file, parse the name and description information of each IED therein, extract the IED type, interval type, voltage level, interval number, set number and branch information; based on the extracted information, divide the IEDs to the corresponding intervals, and classify the intervals to the corresponding voltage level nodes, thereby constructing a complete substation hierarchical structure.
[0031] In this step, the key attributes are extracted from the text based on a name priority or description priority strategy.
[0032] Name priority: suitable for SCD with naming specification. Assuming that the IED name format is "C T66 01A", by parsing the fixed position characters, the IED type is "C" (measurement and control), the interval type is "T" (main transformer), the voltage level is "66" (66kV), the interval number is "01", and the set number is "A" (first set).
[0033] Description priority: suitable for SCD with description specification. For example, from the description "1st main transformer 66kV side measurement and control PCS-9705-GA-1", by keyword matching and removing model information, the key description word "1st main transformer" can be obtained, and the IED type, voltage level, etc. are identified.
[0034] According to the extracted information, a tree hierarchical structure of "substation -> voltage level -> interval -> IED" is constructed. For example, all IEDs with the key description word "1st main transformer" are classified into the same main transformer interval, and according to their voltage levels (such as 66kV, 220kV), they are divided into different voltage level sub-intervals under the main transformer interval. At the same time, according to the number of busbars, bus couplers and circuit breakers under each voltage level, the wiring mode (such as single busbar, double busbar, 3 / 2 wiring, etc.) is automatically determined.
[0035] Step S102, analyze the virtual loop connection relationship between IEDs in the SCD, determine the connection relationship between the busbar interval and other intervals by identifying the virtual loop of the busbar protection IED, and / or determine the connection relationship between the circuit breaker interval and other intervals by identifying the virtual loop of the circuit breaker protection IED, to construct the topology of the substation; at the same time, the information containing the "branch X" keyword is extracted from the internal virtual terminal description of the busbar protection IED virtual loop, to obtain the branch number of the corresponding interval.
[0036] In this step, all virtual loops of the busbar protection IED are traversed, and when the opposite end IED of a virtual loop is not in the busbar interval, and the internal virtual terminal description of the virtual loop contains "branch X", the branch number of the interval where the opposite end IED is located is determined as X.
[0037] Specifically, the virtual loop information under the ConnectedAP (Connected Access Point) in the SCD is analyzed. For example, find the bus protection IED (such as PM2212A) of the 220kV voltage level, traverse the virtual loop under all Inputs (inputs) thereof. If the bus protection PM2212A subscribes to a certain virtual terminal of the line protection PL2258A, a connection relationship between the "220kV bus bay" and the "line bay to which the PL2258A is connected" is established.
[0038] In the above process, the desc (description) attribute of the internal terminal of the virtual loop is parsed. If the description contains the words such as "branch 6_A phase start failure input", the branch number "6" is extracted, and is assigned to the line bay to which the PL2258A is connected. The branch number is the key engineering parameter for subsequent template matching and loop generation.
[0039] In step S103, on the basis of the substation structure that has been constructed, the IED devices to be newly added, reconstructed or deleted are identified; a hash state table of the SCD nodes is established, the node state corresponding to the newly added IED is marked as ENUM NEW (newly added), the node state of the original IED involved in the reconstruction is marked as ENUM DELETE (deleted) and the node state of the new IED replacing it is marked as ENUM CHANGE (changed), the node state corresponding to the deleted IED is marked as ENUM DELETE (deleted); and the states of the virtual loop nodes and the communication access point nodes associated with the IED nodes in the state of ENUM DELETE are also marked as ENUM DELETE (deleted) by traversing the SCD.
[0040] In this step, in the graphical interface or through the list import mode, the user specifies the new line bay (such as L2203) to be expanded this time, and the bus protection (such as PM2212) to be reconstructed. The system accordingly:
[0041] For all new IEDs (protection, measurement and control, intelligent terminal, etc.) under the newly added bay L2203, nodes are created in the SCD, and the states thereof are set to ENUM NEW (newly added) in the hash state table.
[0042] For the reconstructed device PM2212, find the corresponding node in the original SCD, set the state thereof to ENUM DELETE (deleted) in the hash state table; at the same time, add the ICD model of the new version of the device to the SCD, generate a new IED node (such as PM2212_C), and set the state thereof to ENUM CHANGE (changed).
[0043] The system automatically traverses the SCD, finds all virtual loops with the opposite end being the IED in the state of ENUM DELETE, and the access points of these IEDs, and marks the states thereof as ENUM DELETE.
[0044] Step S104, match each IED with a predefined virtual circuit template, which is predefined based on IED type, bay type, voltage level and wiring mode; for each virtual circuit defined in the template, calculate its active strategy logic expression according to the engineering parameters associated with the IED, and if the result is true, determine that the virtual circuit meets the generation condition; for the virtual circuit meeting the generation condition, if the IED nodes at both ends of the virtual circuit are in the state of "deletion" in the hash state table, and at least one end is in the state of "addition" or "change", then generate the virtual circuit in the SCD; after all virtual circuits are generated, delete all nodes in the SCD whose state is "deletion", and restore the name of the IED node whose state is "change", and output the final SCD file after the expansion.
[0045] In this step, the system maintains a virtual circuit standard template library. Each template is associated with a specific IED type, bay type, voltage level, and wiring mode. For example, the busbar protection IED under double busbar wiring will match the template P_M_0_A.
[0046] Circuit generation: for each IED matched to the template, traverse all virtual circuits defined in its template.
[0047] Condition one (parameter activation): check the "activation strategy" of the virtual circuit. The strategy is a logic expression composed of engineering parameters (such as branch number, high resistance configuration). For example, a "branch 7 startup failure" circuit in the template P_M_0_A points to the line protection, and its activation strategy is (x15!= 0), where x15 represents the interval number parameter of "branch 7". If the parameter value is not 0 (i.e. the branch exists), the condition is met.
[0048] Condition two (range control): check the state of the IED at both ends of the virtual circuit in the hash state table. It is required that both ends of the IED are not ENUM_DELETE, and at least one end is ENUM_NEW or ENUM_CHANGE. This ensures that only the circuits related to the expansion are generated, and the existing devices unrelated to the expansion are not affected.
[0049] If the above two conditions are met at the same time, the virtual circuit connection is created in the SCD.
[0050] In summary, the method of the present application can strictly follow the established rules to generate virtual circuits by using predefined virtual circuit standard templates and logical implementation strategies based on engineering parameters, thereby fundamentally avoiding the omission, misconfiguration and consistency errors that are difficult to eliminate in manual operation. This significantly reduces the risk of secondary system failure caused by configuration errors, greatly improves the operation reliability and safety of the smart substation after commissioning; by introducing a reconstruction range identifier and state management mechanism (such as a hash state table), the system can intelligently identify the impact range of the expansion project, accurately generate virtual circuits related only to the newly added or modified equipment, and at the same time ensure that the configuration of the unchanged part remains absolutely stable. This fine control strategy ensures the safety of the system in operation, enabling the expansion project to be intelligently and controllably carried out with minimal impact.
[0051] Referring to Figure 2 , a structure block diagram of a smart substation reconstruction system based on SCD is shown.
[0052] As Figure 2 shown, the smart substation reconstruction system 200 includes a construction module 210, an analysis module 220, a marking module 230, and an output module 240.
[0053] The construction module 210 is configured to import the SCD file, parse the name and description information of each IED in the SCD file, extract the IED type, interval type, voltage level, interval number, set type and branch information, divide the IEDs into corresponding intervals based on the extracted information, and classify the intervals into corresponding voltage level nodes, so as to construct a complete substation hierarchical structure. The analysis module 220 is configured to analyze the virtual loop connection relationship between the IEDs in the SCD, determine the connection relationship between the bus interval and other intervals by identifying the virtual loop of the bus protection IED, and / or determine the connection relationship between the circuit breaker interval and other intervals by identifying the virtual loop of the circuit breaker protection IED, so as to construct the topology of the substation. Meanwhile, the information containing the keyword "branch X" is extracted from the internal virtual terminal description of the bus protection IED virtual loop, so as to obtain the branch number of the corresponding interval. The marking module 230 is configured to mark the IED devices to be newly added, reconstructed or deleted based on the constructed substation structure, establish a hash state table of the SCD nodes, mark the node state of the newly added IED as "newly added", mark the node state of the original IED involved in the reconstruction as "deleted" and mark the node state of the new IED replacing the original IED as "changed", and mark the node state of the deleted IED as "deleted". Then, the state of the virtual loop node and the communication access point node associated with the IED node with the state of "deleted" is also marked as "deleted" by traversing the SCD. The output module 240 is configured to match a predefined virtual loop template for each IED, and the virtual loop template is predefined based on the IED type, interval type, voltage level and wiring mode. For each virtual loop defined in the template, the validity strategy logic expression is calculated according to the engineering parameters associated with the IED, and if the result is true, it is determined that the virtual loop meets the generation condition. For the virtual loop meeting the generation condition, if the states of the IED nodes at both ends of the virtual loop in the hash state table are not "deleted", and at least one end is in the state of "newly added" or "changed", the virtual loop is generated in the SCD. After all the virtual loops are generated, all the nodes with the state of "deleted" are deleted from the SCD, and the name of the IED node with the state of "changed" is restored, and the final reconstructed SCD file is output.
[0054] It should be understood that Figure 2 the modules described in the Figure 1 above correspond to the respective steps in the method described in the Figure 2 above. Thus, the operations and features described above for the method and the corresponding technical effects apply equally to the modules in the
[0055] In some other embodiments, the present application also provides a computer readable storage medium having stored thereon a computer program, which instructs a processor to execute the SCD-based intelligent substation reconstruction method in any of the method embodiments described above when the program is executed by the processor.
[0056] As an implementation, the computer readable storage medium of the present application stores computer executable instructions, which are configured to:
[0057] Import the SCD file, parse the name and description information of each IED therein, extract the IED type, interval type, voltage level, interval number, set type and branch information; based on the extracted information, divide the IEDs to the corresponding intervals and classify the intervals to the corresponding voltage level nodes, thereby constructing a complete substation hierarchical structure;
[0058] Analyze the virtual loop connection relationship between the IEDs in the SCD, determine the connection relationship between the bus interval and other intervals through the virtual loop of the bus protection IED, and / or determine the connection relationship between the circuit breaker interval and other intervals through the virtual loop of the circuit breaker protection IED, to construct the topology structure of the substation; at the same time, extract the information containing the "branch X" keyword from the internal virtual terminal description of the bus protection IED virtual loop, to obtain the branch number of the corresponding interval;
[0059] On the basis of the constructed substation structure, identify the IED devices to be newly added, reconstructed or deleted; establish a hash state table of the SCD nodes, mark the node state corresponding to the newly added IED as "newly added", mark the node state of the original IED involved in the reconstruction as "deleted" and the node state of the new IED replacing it as "changed", and mark the node state corresponding to the deleted IED as "deleted"; and traverse the SCD, mark the states of the virtual loop nodes and the communication access point nodes associated with the IED nodes with the state of "deleted" as "deleted" as well;
[0060] Match a predefined virtual loop template for each IED, which is predefined based on the IED type, interval type, voltage level and wiring mode; for each virtual loop defined in the template, calculate its effective strategy logic expression according to the engineering parameters associated with the IED, and if the result is true, determine that the virtual loop meets the generation condition; for the virtual loop meeting the generation condition, if the states of the IED nodes at both ends in the hash state table are neither "deleted", and at least one end is in the state of "newly added" or "changed", generate the virtual loop in the SCD; after all the virtual loops are generated, delete all the nodes with the state of "deleted" from the SCD, and restore the name of the IED node with the state of "changed", and output the final reconstruction and expansion SCD file.
[0061] Computer-readable storage media may include a stored program area and a stored data area, wherein the stored program area may store an operating system and an application program required for at least one function; the stored data area may store data created based on the use of the SCD-based smart substation renovation and expansion system, etc. Furthermore, the computer-readable storage medium may include high-speed random access memory, and may also include memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the computer-readable storage medium may optionally include memory remotely configured relative to a processor, and these remote memories can be connected to the SCD-based smart substation renovation and expansion system via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0062] Figure 3 This is a schematic diagram of the structure of the electronic device provided in the embodiment of the present invention, such as... Figure 3 As shown, the device includes a processor 310 and a memory 320. The electronic device may also include an input device 330 and an output device 340. The processor 310, memory 320, input device 330, and output device 340 can be connected via a bus or other means. Figure 3 Taking a bus connection as an example, the memory 320 is the computer-readable storage medium described above. The processor 310 executes various server functions and data processing by running non-volatile software programs, instructions, and modules stored in the memory 320, thereby realizing the SCD-based intelligent substation renovation and expansion method described in the above embodiment. The input device 330 can receive input digital or character information and generate key signal inputs related to user settings and function control of the SCD-based intelligent substation renovation and expansion system. The output device 340 may include a display screen or other display device.
[0063] The aforementioned electronic device can execute the method provided in the embodiments of the present invention, and has the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in this embodiment can be found in the method provided in the embodiments of the present invention.
[0064] In one implementation, the above-mentioned electronic device is applied to an SCD-based intelligent substation renovation and expansion system for a client, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0065] The SCD file is imported, the name and description information of each IED in the SCD file are analyzed, the IED type, interval type, voltage level, interval number, set type and branch information are extracted, the IEDs are divided into corresponding intervals based on the extracted information, and the intervals are classified into corresponding voltage level nodes, so as to construct a complete substation hierarchical structure;
[0066] The virtual loop connection relationship between the IEDs in the SCD is analyzed, the connection relationship between the bus interval and other intervals is determined by identifying the virtual loop of the bus protection IED, and / or the connection relationship between the circuit breaker interval and other intervals is determined by identifying the virtual loop of the circuit breaker protection IED, so as to construct the topology of the substation; at the same time, the information containing the "branch X" keyword is extracted from the internal virtual terminal description of the bus protection IED virtual loop to obtain the branch number of the corresponding interval;
[0067] On the basis of the constructed substation structure, the IED devices to be newly added, reconstructed or deleted are identified; a hash state table of the SCD nodes is established, the node state corresponding to the newly added IED is marked as "newly added", the node state of the original IED involved in the reconstruction is marked as "deleted" and the node state of the new IED replacing it is marked as "changed", and the node state corresponding to the deleted IED is marked as "deleted"; and the states of the virtual loop nodes and the communication access point nodes associated with the IED nodes with the state of "deleted" are also marked as "deleted" by traversing the SCD;
[0068] A predefined virtual loop template is matched for each IED, the virtual loop template is predefined based on the IED type, interval type, voltage level and wiring mode; for each virtual loop defined in the template, the validity strategy logical expression thereof is calculated according to the engineering parameters associated with the IED, and if the result is true, it is determined that the virtual loop meets the generation condition; for the virtual loop meeting the generation condition, if the states of the IED nodes at both ends thereof in the hash state table are not "deleted", and at least one end is in the state of "newly added" or "changed", the virtual loop is generated in the SCD; after all the virtual loops are generated, all the nodes with the state of "deleted" are deleted from the SCD, and the name of the IED node with the state of "changed" is restored, and the final reconstruction and expansion SCD file is output.
[0069] Those skilled in the art can clearly understand the technical solutions of the various embodiments from the above description of the embodiments, and the various embodiments can be implemented by means of software with the necessary general hardware platforms, and of course can also be implemented by hardware. Based on such understanding, the above technical solutions, essentially or in other words, the part of the prior art that makes a contribution, can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, and the like, and includes a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods of the various embodiments or some parts of the embodiments.
[0070] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for some technical features therein; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for upgrading and expanding a smart substation based on SCD, characterized in that, include: Import the SCD file, parse the name and description information of each IED, and extract the IED type, bay type, voltage level, bay number, set type and branch information; based on the extracted information, divide the IEDs into the corresponding bays, and classify the bays into the corresponding voltage level nodes, thereby constructing a complete substation hierarchical structure. The virtual loop connection relationship between IEDs in the SCD is analyzed. The connection relationship between the bus bay and other bays is determined by identifying the virtual loop of the bus protection IED, and / or the connection relationship between the circuit breaker bay and other bays is determined by identifying the virtual loop of the circuit breaker protection IED, so as to construct the substation topology. At the same time, information containing the keyword "branch X" is extracted from the internal virtual terminal description of the bus protection IED virtual loop to obtain the branch number of the corresponding bay. Based on the existing substation structure, identify the IED devices to be added, renovated, or deleted; establish a hash status table for SCD nodes, mark the node status corresponding to the newly added IED as "added", mark the status of the original IED node involved in the renovation as "deleted" and mark the status of the new IED node that it replaces as "changed", mark the node status corresponding to the deleted IED as "deleted"; and traverse the SCD, also mark the status of the virtual loop nodes and communication access point nodes associated with the IED node with the status of "deleted" as "deleted". Each IED is matched with a predefined virtual loop template, which is predefined based on IED type, bay type, voltage level, and wiring method. For each virtual loop defined in the template, its effective strategy logic expression is calculated based on the engineering parameters associated with the IED. If the result is true, the virtual loop is determined to meet the generation conditions. For a virtual loop that meets the generation conditions, if the status of the IED nodes at both ends in the hash status table is not "deleted" and at least one end is in the "added" or "changed" status, then the virtual loop is generated in the SCD. After all virtual loops are generated, all nodes in the "deleted" status are deleted from the SCD, and the names of the IED nodes in the "changed" status are restored. The final modified and expanded SCD file is then output.
2. The method for upgrading and expanding a smart substation based on SCD according to claim 1, characterized in that, After constructing the voltage level node, the process further includes a wiring method determination sub-step: counting the number of bus bays, bus tie bays, section bays and circuit breaker bays under the voltage level node, and automatically determining and setting the wiring method for the voltage level based on preset quantity rules.
3. The method for upgrading and expanding a smart substation based on SCD according to claim 1, characterized in that, The step of extracting information containing the keyword "branch X" from the internal virtual terminal description of the bus protection IED virtual circuit specifically includes: traversing all virtual circuits of the bus protection IED, and when the counterpart IED of a certain virtual circuit is not in the bus bay, and the internal virtual terminal description of the virtual circuit contains "branch X", then the branch number of the bay where the counterpart IED is located is determined as X.
4. The method for upgrading and expanding a smart substation based on SCD according to claim 1, characterized in that, The traversal of the SCD also marks the virtual loop nodes and communication access point nodes associated with the IED node in the "deleted" state as "deleted". Specifically, this includes: finding all virtual loop nodes in the virtual loop whose peer IED is in the "deleted" state, and access point nodes in the communication subnet whose access point belongs to the IED in the "deleted" state, and marking the state of these nodes as "deleted".
5. The method for upgrading and expanding a smart substation based on SCD according to claim 1, characterized in that, The engineering parameters include: parameters automatically generated from the substation topology, which at least include branch number and high-resistance configuration mode.
6. The method for upgrading and expanding a smart substation based on SCD according to claim 1, characterized in that, The "extraction of IED information" adopts an extraction strategy based on IED name priority. Specifically, it parses the fixed format of the IED name, locates the position n of the first number in the name, and extracts the voltage level, interval type, IED type, interval number, set type and branch information based on the position n and the characters before and after it.
7. The method for upgrading and expanding a smart substation based on SCD according to claim 1, characterized in that, The process of importing the SCD file, parsing the name and description information of each IED, and extracting IED type, bay type, voltage level, bay number, set type, and branch information specifically includes: Parse the fixed format of the IED name, locate the position n of the first number in the name, and extract the voltage level, interval type, IED type, interval number, set type and branch information based on the position n and the characters before and after it; Remove the kit type, voltage level, IED type, and ICD model information from the IED description, define the remaining part as key descriptors, and divide the data into intervals based on the key descriptors.
8. A smart substation renovation and expansion system based on SCD, characterized in that, include: The module is configured to import SCD files, parse the names and descriptions of each IED, and extract IED type, bay type, voltage level, bay number, set type, and branch information. Based on the extracted information, the IEDs are assigned to the corresponding bays, and the bays are classified to the corresponding voltage level nodes, thereby constructing a complete hierarchical structure of the substation. The analysis module is configured to analyze the virtual loop connection relationship between IEDs in the SCD, determine the connection relationship between the bus bay and other bays by identifying the virtual loops of the bus protection IEDs, and / or determine the connection relationship between the circuit breaker bay and other bays by identifying the virtual loops of the circuit breaker protection IEDs, so as to construct the substation topology; at the same time, it extracts information containing the keyword "branch X" from the internal virtual terminal description of the bus protection IED virtual loops to obtain the branch number of the corresponding bay; The marking module is configured to identify IED devices to be added, modified, or deleted based on the existing substation structure; establish a hash status table for SCD nodes, mark the node status corresponding to the newly added IED as "added", mark the status of the original IED node involved in the modification as "deleted" and mark the status of the new IED node that it replaces as "modified", mark the node status corresponding to the deleted IED as "deleted"; and traverse the SCD to mark the status of the virtual loop nodes and communication access point nodes associated with the IED node with the status of "deleted" as "deleted". The output module is configured to match a predefined virtual loop template for each IED. The virtual loop template is predefined based on IED type, bay type, voltage level, and wiring method. For each virtual loop defined in the template, the logic expression of its effective strategy is calculated according to the engineering parameters associated with the IED. If the result is true, the virtual loop is determined to meet the generation conditions. For a virtual loop that meets the generation conditions, if the status of the IED nodes at both ends in the hash status table is not "deleted" and at least one end is in the "added" or "changed" status, then the virtual loop is generated in the SCD. After all virtual loops are generated, all nodes in the "deleted" status are deleted from the SCD, and the names of the IED nodes in the "changed" status are restored. The final modified and expanded SCD file is then output.
9. An electronic device, characterized in that, include: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method according to any one of claims 1 to 7.