Five-prevention locking test method for bay level of transformer substation, storage medium and electronic equipment
By building a model database and a collection of logical rules, and generating and processing logical task sequences, the problem of tedious and inaccurate existing five-proof lockout testing methods is solved, and the systematic and efficient automated testing is achieved.
Patent Information
- Application Number
- CN202411170772.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2025-01-21
AI Technical Summary
The existing five-proof lock-up test methods rely on manual operations, which are cumbersome and prone to errors. The automated test methods lack flexibility and adaptability, making it difficult to fully cover and accurately simulate complex situations in actual operation.
By constructing a primary and secondary model database and a set of five anti-locking logic rules at the bay level, forward and reverse logic task sequences are generated, logical operation results are generated through virtual value setting batch processing task sequences, and the station control layer network services are used to obtain and evaluate the results. .
It realizes the systematization and automation of the test process, reduces manual operation errors, and improves the reliability and accuracy of test results.
Smart Images

Figure CN119335373A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of power system automation, in particular to a transformer substation bay layer five-protection locking test method, a storage medium and electronic equipment. Background Art
[0002] After decades of development, substation automation technology has been widely used in power systems. Modern substation automation systems usually include three levels: station control layer, bay layer and process layer. The bay layer, as the intermediate link between the station control layer and the process layer, plays a vital role. Monitoring and controlling electrical equipment through intelligent devices in the bay layer has become one of the important trends in current technological development. Against this background, the five-protection interlocking technology of the substation bay layer has gradually received attention. The five-protection interlocking technology mainly includes functions such as preventing mis-separation, mis-closing, mis-operation, mis-entering live bays, and preventing load-carrying disconnectors from being pulled or closed, aiming to improve the safety and reliability of substation operation.
[0003] Although the existing five-protection interlocking technology has been applied to a certain extent in practice, it still has some shortcomings. The traditional five-protection interlocking test method usually relies on manual operation, and the testing process is cumbersome and error-prone. The existing automated testing methods mostly rely on pre-set test scenarios, lack flexibility and adaptability, and are difficult to fully cover and accurately simulate complex situations in actual operation. Especially in the generation of test task sequences, the existing methods often lack systematic and intelligent solutions, which makes it difficult to ensure the reliability and accuracy of the test results. Summary of the invention
[0004] The object of the present invention is to provide a substation bay level five-protection locking test method, storage medium and electronic equipment to solve the above-mentioned problems.
[0005] The present invention is achieved through the following technical solutions:
[0006] A substation bay layer five-protection locking test method, comprising:
[0007] Construct the primary and secondary model database and the set of logic rules for bay level five anti-locking;
[0008] Generate forward and reverse logical task sequences based on a set of logical rules;
[0009] Generate logical operation results by batch processing forward and reverse logic task sequences through virtual setting;
[0010] Use the station control layer network service to obtain and evaluate the results of logical operations.
[0011] As a preferred solution of the five-layer anti-lockout test method for a substation bay described in the present invention, wherein: the construction of the primary and secondary model databases includes:
[0012] According to the actual configuration of the substation, determine the types of primary and secondary equipment, define the state variables of each device, and assign a unique ID to each device;
[0013] Converting primary equipment state variables and secondary equipment state variables into corresponding models;
[0014] Associating the primary equipment model with the secondary equipment model to form a primary and secondary model database;
[0015] Set the initial parameters of the device model, and import the device model, state variables and associated relationships into the SCD file, which includes the index R of the logical nodes, associated semaphores and operation results.
[0016] As a preferred solution of the five-protection interlocking test method for the substation interval layer described in the present invention, wherein: the construction of the interval layer five-protection interlocking logic rule set refers to using the `pandas` library in Python to extract the five-protection interlocking logic rule data from the EXCEL file, and the EXCEL file content includes the operating device number, the interlocking conditions of each device under different circumstances and their specific descriptions, and the five-protection interlocking logic rule data is imported after creating tables in the primary and secondary model databases.
[0017] As a preferred solution of the five-protection interlocking test method of a substation bay layer described in the present invention, wherein: the generating of the forward and reverse logic task sequence based on the logic rule set refers to obtaining the configuration of the primary equipment model and the secondary equipment model in the substation by parsing the SCD file, including the equipment name, type and association relationship, and identifying the key equipment related to the five-protection interlocking logic from the primary and secondary model databases, including circuit breakers, disconnectors and transformers;
[0018] According to the unique ID of the device, obtain the specific information of the state variables from the SCD file, including voltage, current and switch status, determine the value range of each device state variable, and create a state combination S according to the state variables. i ,The state combination includes the value range of the device voltage, current and switch state;
[0019] According to the five-protection locking logic rules, calculate each state combination S i The expected blocking value B i , the formula is:
[0020] B i =C·P+H I (II max )+HV (V min -V)
[0021] Among them, B i is the expected blocking value, C is the device status, P is the switch status, closed is 1, open is 0, H I (II max ) and H V (V min -V) is a step function, I is the current, I max is the maximum allowable value of current, V is the voltage, V min is the minimum permissible voltage value;
[0022] Define the corresponding expected blocking value according to each state combination, define the mapping rule between the expected blocking value and the expected blocking state, and combine the state combination S i As an index, find the corresponding expected locking state from the state mapping table;
[0023] Set the state combination to the initial state S i0 , the expected latching state T i , generating a forward logic task sequence from the initial state to the expected locked state, and generating a reverse logic task sequence from the expected locked state back to the initial state, each logic task sequence includes the initial state combination S i0 and the corresponding expected blocking state T i .
[0024] As a preferred solution of the five-layer anti-lockout test method for a substation bay described in the present invention, wherein: the generation of logic operation results by batch processing of forward and reverse logic task sequences through virtual setting refers to generating corresponding virtual setting instructions by establishing a virtual setting formula, and sending the generated virtual setting instructions to IED devices for batch processing, including:
[0025] According to the generated forward and reverse logic task sequences, a virtual setting model is constructed to extract the state combination S of each task sequence from the generated forward and reverse logic task sequences. i ;
[0026] By indexing R i Determine the position of each state combination in the primary and secondary model databases, determine the value of the state variable in each state combination, and calculate the virtual setting value Q using the virtual setting value formula, which is:
[0027]
[0028] Among them, Q Vi is the virtual set voltage, Q Ii is the virtual set current, Q Piis the virtual setting switch position, a1, a2, a3 are the magnification and reduction coefficients of the state combination, b1, b2, b3 are the offset coefficients of the state combination, R Vi , R Ii , R Pi By index R i The V in the read status combination i ,I i , P i The value of
[0029] Combine S according to the extracted state i and index R i The virtual setting value is calculated using the virtual setting value formula, and the calculated virtual setting value Q Vi , Q Ii , Q Pi The generated instruction format is combined into an instruction format, the generated instruction format is converted into an instruction format recognizable by the IED device, the generated virtual setting instruction is sent to the IED device through the communication network, and the IED device performs logical operations according to the set virtual setting values to obtain logical operation results, which include the current state value of the device, the measurement value and the operation result.
[0030] As a preferred solution of the substation bay layer five-protection interlocking test method described in the present invention, the use of the station control layer network service refers to using the IEC61850 protocol in the station control layer master control system to connect the IED device to the station control layer network through an Ethernet switch, using the GetDataValue service of MMS to obtain the logical operation results from the IED device, and using the Write service of MMS to send control instructions and virtual setting instructions to the IED device.
[0031] As a preferred solution of the five-protection blocking test method for a substation bay layer described in the present invention, the evaluation logic operation result refers to extracting the expected blocking value B corresponding to each state combination from the forward and reverse logic task sequences. i , compare the state value K in the obtained logical operation result i , if B i Equal to K i , then the logic is correct, if B i Not equal to K i , then the logic is incorrect and the evaluation results will be recorded in the test report for analysis.
[0032] As a preferred solution of the substation bay layer five-protection lockout test method described in the present invention, the analysis after recording the evaluation results in the test report refers to a detailed analysis of all evaluation results on the test report, identifying potential logical errors and equipment failures, finding out the causes of the abnormalities, generating a detailed evaluation report and then feeding it back to the testers and the system development team, improving the substation bay layer five-protection lockout test system according to the feedback results, and optimizing the lockout logic and test process.
[0033] A computer device comprises: a memory and a processor; the memory stores a computer program, and the processor implements the steps of a transformer substation bay level five anti-lockout test method when executing the computer program.
[0034] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a method for testing the fifth anti-lockout of a substation bay.
[0035] The present invention establishes a primary and secondary model database and a set of five-anti-locking logic rules for the interval layer, generates forward and reverse logic task sequences based on the logic rules, realizes the systematization and automation of the test process, realizes batch processing of the test task sequence through virtual setting, and obtains the expected results of the logic operation, thereby reducing the errors of manual operation. The station control layer network service is used to obtain and evaluate the logic operation results, ensuring the reliability and accuracy of the test results. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:
[0037] Figure 1 Flow chart of the positive direction logic task sequence for virtual value setting processing.
[0038] Figure 2 The present invention is a flow chart of a method for testing five-protection interlocking of a substation bay. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments and drawings. The schematic implementation modes and descriptions of the present invention are only used to explain the present invention and are not intended to limit the present invention. It should be noted that the present invention is already in the actual development and use stage.
[0040] Example 1
[0041] like Figure 1 and Figure 2 As shown, this embodiment includes:
[0042] S1, construct the primary and secondary model database and the set of logic rules for the five-layer anti-locking of the bay;
[0043] Specifically, building the primary and secondary model database includes:
[0044] According to the actual configuration of the substation, determine the types of primary and secondary equipment, define the state variables of each device, and assign a unique ID to each device;
[0045] Converting primary equipment state variables and secondary equipment state variables into corresponding models;
[0046] Associating the primary equipment model with the secondary equipment model to form a primary and secondary model database;
[0047] Set the initial parameters of the device model, and import the device model, state variables and associated relationships into the SCD file, which includes the index R of the logical nodes, associated semaphores and operation results.
[0048] By building primary and secondary model databases, accurate configuration and management of substation equipment and operation logic can be achieved to ensure the reliability and safety of the system. The primary and secondary model databases provide a standardized and structured data platform to facilitate equipment monitoring, fault diagnosis, operation simulation and performance optimization.
[0049] Furthermore, constructing the interval layer five-prevention locking logic rule set refers to using the `pandas` library in Python to extract the five-prevention locking logic rule data from the EXCEL file, the EXCEL file content includes the operating device number, the locking conditions of each device in different situations and their specific descriptions, and importing the five-prevention locking logic rule data after creating tables in the primary and secondary model databases.
[0050] By using the pandas library in Python to extract the five-prevention locking logic rule data from the EXCEL file and importing it into the tables created in the primary and secondary model databases, work efficiency can be significantly improved, human errors can be reduced, data accuracy and reliability can be enhanced, data management and maintenance can be facilitated, data analysis and decision-making can be supported, and data sharing and collaborative work can be promoted, thereby providing strong support for the security and stability of the system and improving the overall collaborative work efficiency.
[0051] S2, generating forward and reverse logic task sequences based on a set of logic rules;
[0052] Specifically, generating forward and reverse logic task sequences based on a set of logic rules means parsing the SCD file to obtain the configuration of the primary and secondary equipment models in the substation, including the equipment name, type and association relationship, and identifying key equipment related to the five-protection interlocking logic from the primary and secondary model databases, including circuit breakers, disconnectors and transformers;
[0053] According to the unique ID of the device, obtain the specific information of the state variables from the SCD file, including voltage, current and switch status, determine the value range of each device state variable, and create a state combination S according to the state variables. i ,The state combination includes the value range of the device voltage, current and switch state;
[0054] According to the five-protection locking logic rules, calculate each state combination S i The expected blocking value B i , the formula is:
[0055] B i =C·P+H I (II max )+H V (V min -V)
[0056] Among them, B i is the expected blocking value, C is the device status, P is the switch status, closed is 1, open is 0, H I (II max ) and H V (V min -V) is a step function, I is the current, I max is the maximum allowable value of current, V is the voltage, V min is the minimum permissible voltage value;
[0057] Define the corresponding expected blocking value according to each state combination, and define the mapping rules between the expected blocking value and the expected blocking state, including:
[0058] The expected lockout value is 0, indicating that the system is in normal operation and there is no task lockout condition;
[0059] The expected lockout value is 1, which means that the system has enabled the anti-misoperation lockout to prevent operators from making misoperations;
[0060] The expected lockout value is 2, which means that the system has enabled the anti-misclosing lockout to prevent the circuit breaker from closing under unsafe conditions;
[0061] The expected lockout value is 3, which means that the system has enabled the anti-false trip lockout to prevent the circuit breaker from tripping under unsafe conditions.
[0062] The expected lockout value is 4, which means that the system has enabled the anti-accidental entry into live compartment lockout to prevent personnel from accidentally entering the energized compartment area;
[0063] The expected lockout value is 5, which means that the system has enabled the anti-incorrect load operation lockout to prevent the disconnector from being operated when the equipment is loaded;
[0064] Combine the states S i As an index, find the corresponding expected locking state from the state mapping table;
[0065] Set the state combination to the initial state S i0 , the expected latching state T i , generating a forward logic task sequence from the initial state to the expected locked state, and generating a reverse logic task sequence from the expected locked state back to the initial state, each logic task sequence includes the initial state combination S i0 and the corresponding expected blocking state T i .
[0066] By parsing the SCD file, the configuration information of the primary and secondary equipment models in the substation is obtained, which helps to better understand and manage the equipment in the substation and facilitate subsequent operation and maintenance. By identifying the key equipment related to the five-protection interlocking logic from the primary and secondary model databases, more targeted monitoring and maintenance can be carried out to ensure that it is always in good working condition. By identifying the unique ID of the equipment, the specific information of the state variables is obtained from the SCD file, which helps to understand the working status of the equipment in real time and provide accurate data support for subsequent operation and maintenance. Determining the value range of each equipment state variable helps to better understand the working characteristics of the equipment and provide a basis for subsequent operation and maintenance. Creating state combinations based on state variables helps to simulate various possible equipment working states and provide a reference for subsequent operation and maintenance. According to the five-protection interlocking logic rules, the expected interlocking state of each state combination is calculated, which helps to predict the interlocking behavior of the equipment in various states and provide guidance for subsequent operation and maintenance. Forward and reverse logic task sequences are generated to verify the interlocking logic under normal and abnormal operation conditions.
[0067] S3, generating logic operation results by batch processing forward and reverse logic task sequences through virtual setting;
[0068] Specifically, generating a logic operation result by batch processing the forward and reverse logic task sequence through virtual setting value means generating a corresponding virtual setting value instruction by establishing a virtual setting value formula, and sending the generated virtual setting value instruction to the IED device for batch processing, including:
[0069] According to the generated forward and reverse logic task sequences, a virtual setting model is constructed to extract the state combination S of each task sequence from the generated forward and reverse logic task sequences. i ;
[0070] By indexing R i Determine the position of each state combination in the primary and secondary model databases, determine the value of the state variable in each state combination, and calculate the virtual setting value Q using the virtual setting value formula, which is:
[0071]
[0072] Among them, Q Vi is the virtual set voltage, Q Ii is the virtual set current, Q Pi is the virtual setting switch position, a1, a2, a3 are the magnification and reduction coefficients of the state combination, b1, b2, b3 are the offset coefficients of the state combination, R Vi , R Ii , R Pi By index R i The V in the read status combination i ,I i , P i The value of
[0073] Combine S according to the extracted state i and index R i The virtual setting value is calculated using the virtual setting value formula, and the calculated virtual setting value Q Vi , Q Ii , Q Pi The generated instruction format is combined into an instruction format, the generated instruction format is converted into an instruction format recognizable by the IED device, the generated virtual setting instruction is sent to the IED device through the communication network, and the IED device performs logical operations according to the set virtual setting values to obtain logical operation results, which include the current state value of the device, the measurement value and the operation result.
[0074] By establishing a virtual setting formula and generating corresponding instructions, it is possible to realize batch processing of forward and reverse logic task sequences, and send instructions to IED devices for logical operations, which can effectively improve the efficiency and accuracy of logical operations, while reducing the possibility of human intervention and errors. Through the magnification and reduction ratio coefficients and offset coefficients of the state combination, the virtual setting formula can more accurately calculate the virtual setting value, thereby further improving the accuracy of logical operations, realizing remote control and monitoring through the communication network, and improving the safety and reliability of the system.
[0075] S4. Use the station control layer network service to obtain and evaluate the logical operation results;
[0076] Specifically, using the station control layer network service means using the IEC61850 protocol in the station control layer master control system to connect the IED device to the station control layer network through an Ethernet switch, using the GetDataValue service of MMS to obtain the logical operation results from the IED device, and using the Write service of MMS to send control instructions and virtual setting instructions to the IED device.
[0077] By adopting the IEC61850 protocol in the station control layer master control system and using Ethernet switches as a link to connect IED devices to the station control layer network, efficient data interaction and control command transmission are achieved. The GetDataValue service of MMS can be used to obtain the logical operation results of the IED device in real time, while the Write service of MMS is used to send control instructions and virtual setting instructions, thereby accurately controlling the behavior of the IED device. This not only improves the system's automation level and response speed, but also reduces maintenance costs, enhances the system's reliability and stability, and provides strong technical support for the intelligence and automation of the power system.
[0078] Furthermore, evaluating the logic operation result means extracting the expected blocking value B corresponding to each state combination from the forward and reverse logic task sequences. i , compare the state value K in the obtained logical operation result i , if B i Equal to K i , then the logic is correct, if B i Not equal to K i , then the logic is incorrect and the evaluation results will be recorded in the test report for analysis.
[0079] By extracting the expected locking status of the forward and reverse logic task sequences and comparing them with the logic operation results returned by the IED device, the correctness of the logic operation can be effectively evaluated, and the accuracy and reliability of the logic operation results can be ensured, thereby improving the safety and stability of the system. Recording the evaluation results in the test report can provide an important reference for subsequent analysis and troubleshooting, help to promptly discover and solve problems, and improve the operation and maintenance efficiency of the system.
[0080] Furthermore, the evaluation results are recorded in the test report and then analyzed, which means that all the evaluation results on the test report are analyzed in detail, potential logical errors and equipment failures are identified, the causes of abnormalities are found, and a detailed evaluation report is generated and fed back to the testers and the system development team. According to the feedback results, the substation bay layer five-protection interlocking test system is improved, and the interlocking logic and test process are optimized.
[0081] Through in-depth analysis of the evaluation results in the test report, potential logical errors and equipment failures can be discovered in a timely manner, thereby effectively ensuring the reliability and safety of the substation bay layer five-protection interlocking system, helping to find out the cause of the abnormality, generate a detailed evaluation report, and provide targeted feedback to testers and system development teams, promote the improvement and optimization of the substation bay layer five-protection interlocking test system. Continuous optimization of the interlocking logic and test process based on the feedback results can improve the system's operation and maintenance efficiency and stability, reduce the failure rate, and is of great significance to improving the overall operation level of the power system.
[0082] Example 2
[0083] This embodiment is different from the previous embodiment and provides a method for testing the fifth anti-lockout of a bay layer in a transformer substation.
[0084] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0085] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0086] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0087] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0088] It should be noted that the terms "including" and "having" and any variations thereof in the specification and claims of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or inherent to these processes, methods, products or apparatuses.
[0089] Note that the above are only preferred embodiments of the present invention and the principles of the application technology. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention is described in more detail through the above embodiments, the present invention is not limited to the specific embodiments described herein, and may include more other effective embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for testing five-protection locking of a substation bay, characterized in that: The steps include: Step S1: constructing the primary and secondary model databases and the bay layer five anti-locking logic rule set; Step S2: Generate forward and reverse logic task sequences based on the logic rule set; Step S3: Generate logic operation results by batch processing forward and reverse logic task sequences through virtual setting; Step S4: Use the station control layer network service to obtain and evaluate the logic operation result.
2. A method for testing the five-layer anti-lockout of a transformer substation according to claim 1, characterized in that: The step S1 of constructing the primary and secondary model databases specifically includes the following steps: According to the actual configuration of the substation, determine the types of primary and secondary equipment, define the state variables of each device, and assign a unique ID to each device; Converting primary device state variables and secondary device state variables into corresponding device models; Associating the primary equipment model with the secondary equipment model to form a primary and secondary model database; Set the initial parameters of the device model, and import the device model, state variables and associated relationships into the SCD file, which includes the index R of the logical nodes, associated semaphores and operation results.
3. A method for testing the five-layer anti-lockout of a transformer substation according to claim 2, characterized in that: Specifically, constructing the interval layer five-prevention locking logic rule set in step S1 refers to using the `pandas` library in Python to extract the five-prevention locking logic rule data from the EXCEL file, and the EXCEL file content includes the operating device number, the locking conditions of each device under different circumstances and their specific descriptions. After creating a table in the primary and secondary model databases, the five-prevention locking logic rule data is imported.
4. A method for testing the five-layer anti-lockout of a transformer substation according to claim 3, characterized in that: The step S2 specifically includes parsing the SCD file to obtain the configuration of the primary equipment model and the secondary equipment model in the substation, including the equipment name, type and association relationship, and identifying the key equipment related to the five-protection locking logic from the primary and secondary model databases, including circuit breakers, disconnectors and transformers; According to the unique ID of the device, obtain the specific information of the state variables from the SCD file, including voltage, current and switch status, determine the value range of each device state variable, and create a state combination S according to the state variables. i ,The state combination includes the value range of the device voltage, current and switch state; According to the five-protection locking logic rules, calculate each state combination S i The expected blocking value B i , the formula is: B i =C·P+H I (I-I max )+H V (V min -V) Among them, B i is the expected blocking value, C is the device status, P is the switch status, closed is 1, open is 0, H I (II max ) and H V (V min -V) is a step function, I is the current, I max is the maximum allowable value of current, V is the voltage, V min is the minimum permissible voltage value; Define the corresponding expected blocking value according to each state combination, define the mapping rule between the expected blocking value and the expected blocking state, and combine the state combination S i As an index, find the corresponding expected locking state from the state mapping table; Set the state combination to the initial state S i0 , the expected latching state T i , generating a forward logic task sequence from the initial state to the expected locked state, and generating a reverse logic task sequence from the expected locked state back to the initial state, each logic task sequence includes the initial state combination S i0 and the corresponding expected blocking state T i .
5. A method for testing the five-layer anti-lockout of a transformer substation according to claim 4, characterized in that: The step S3 specifically generates a corresponding virtual setting instruction by establishing a virtual setting formula, and sends the generated virtual setting instruction to the IED device for batch processing, including: According to the generated forward and reverse logic task sequences, a virtual setting model is constructed to extract the state combination S of each task sequence from the generated forward and reverse logic task sequences. i ; By indexing R i Determine the position of each state combination in the primary and secondary model databases, determine the value of the state variable in each state combination, and calculate the virtual setting value Q using the virtual setting value formula, which is: Among them, Q Vi is the virtual set voltage, Q Ii is the virtual set current, Q Pi is the virtual setting switch position, a1, a2, a3 are the magnification and reduction coefficients of the state combination, b1, b2, b3 are the offset coefficients of the state combination, R Vi , R Ii , R Pi By index R i The V in the read status combination i ,I i , P i The value of Combine S according to the extracted state i and index R i The virtual setting value is calculated using the virtual setting value formula, and the calculated virtual setting value Q Vi , Q Ii , Q Pi The generated instruction format is combined into an instruction format, the generated instruction format is converted into an instruction format recognizable by the IED device, the generated virtual setting instruction is sent to the IED device through the communication network, and the IED device performs logical operations according to the set virtual setting values to obtain logical operation results, which include the current state value of the device, the measurement value and the operation result.
6. A method for testing the five-layer anti-lockout of a transformer substation according to claim 5, characterized in that: The use of the station control layer network service in step S4 is specifically to use the IEC61850 protocol in the station control layer master control system to connect the IED device to the station control layer network through an Ethernet switch, use the GetDataValue service of MMS to obtain the logic operation result from the IED device, and use the Write service of MMS to send control instructions and virtual setting instructions to the IED device.
7. A method for testing the five-layer anti-lockout of a transformer substation according to claim 6, characterized in that: The evaluation of the logic operation result in step S4 refers to extracting the expected locking value Bi corresponding to each state combination from the forward and reverse logic task sequences, and comparing it with the state value Ki in the obtained logic operation result. If Bi is equal to Ki, the logic is correct; if Bi is not equal to Ki, the logic is incorrect. The evaluation result is recorded in the test report for analysis.
8. A method for testing the fifth-layer anti-lockout of a transformer substation according to claim 7, characterized in that: The step S4 in which the evaluation results are recorded in the test report and then analyzed specifically refers to a detailed analysis of all evaluation results on the test report, identifying potential logical errors and equipment failures, finding out the causes of the abnormalities, generating a detailed evaluation report and then feeding it back to the testers and the system development team, improving the substation bay layer five-protection interlocking test system based on the feedback results, and optimizing the interlocking logic and test process.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the device where the computer-readable storage medium is located executes the substation bay level 5 anti-lockout test method according to any one of claims 1 to 8.
10. An electronic device, characterized in that: include: A memory and a processor, wherein the memory stores a program that can be run on the processor, and when the processor executes the program, the substation bay level five anti-lockout test method as described in any one of claims 1 to 8 is implemented.