Power system stability control device test case configuration and instantiation generation method and system based on plant station topology time sequence constraint

By using a test case configuration and instantiation generation system based on power plant topology timing constraints, the problems of topology decoupling and parameter fragmentation in the testing of power system stability control devices are solved, achieving efficient test case configuration and instantiation, and improving testing efficiency and coverage.

CN121387713APending Publication Date: 2026-01-23HUBEI FANGYUAN DONGLI ELECTRIC POWER SCI & RES LTD CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511392863.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-27
Publication Date
2026-01-23

AI Technical Summary

Technical Problem

Traditional power system stability control device testing methods cannot effectively integrate with the power grid topology, resulting in fragmented and disorganized test case parameter configurations, low testing efficiency, and poor test case reusability.

Method used

A test case configuration and instantiation generation system based on power plant topology timing constraints is adopted. Through topology model construction, parameter mapping, test case configuration and instantiation modules, the automatic configuration and instantiation of test case parameters are realized, combined with the phased evolution of power system network topology and real fault scenarios.

Benefits of technology

It improved test case coverage, reduced configuration time, enhanced testing efficiency and test case reusability, and increased on-site testing efficiency by more than 40%.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121387713A_ABST
    Figure CN121387713A_ABST
Patent Text Reader

Abstract

The invention discloses a power system stability control device test case configuration and instantiation generation method and system based on plant station topology timing constraint, and the system comprises a topology model building module which is used for loading strategy files, analyzing plant stations, power elements and strategy table information, and outputting a topology primitive database and a three-level correlation structure; the parameter mapping engine module is used for loading a topology model, extracting default parameters and manually mapping to generate a plant station parameter mapping table so as to realize parameter binding; the test case configuration module is used for configuring case parameters for the power element through the parameter and time sequence configuration combination based on the topological primitive database and outputting a case configuration unit set; and the test case instantiation module is used for loading the configuration unit set, dynamically calculating electrical quantity parameters in combination with the mapping table, outputting a structured parameter set which can be executed by an instrument, and completing instantiation. According to the method, rapid configuration and development of the test case are realized based on the stability control topological structure, the configuration time is shortened, and the field test efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application relates to the field of power systems, in particular to a system and method applied to field stability control device testing. BACKGROUND

[0002] The stability control device needs to customize the strategy according to the power grid topology and stability problems, resulting in a large number of device types, hardware and software heterogeneity. The control strategy cannot be universal due to the large difference in the structure of the power grid in different regions. In the traditional testing method, the physical model is manually built, and although the test cases cover the core requirements such as the timing sensitivity, parameter coupling and state progression of the stability control device testing, the case configuration is more focused on the test instrument for simulating the parameter configuration of the power system when a fault or oscillation occurs, which is decoupled or lightly associated with the actual topology of the stability control system, resulting in the fragmentation of the test case parameter configuration. It is difficult for the tester to build the association with the power system network topology from the test case, which may lead to incomplete test case coverage, low test efficiency and poor case reusability.

[0003] Therefore, it is necessary to study a power system stability control device test case configuration and instantiation generation method and system based on plant topology timing constraints, which can realize the configuration of the test case parameters from the network topology and the phased evolution of the real fault scene, further facilitate the understanding of the test case coverage for the tester, reduce the configuration time of the field stability control device test case, and improve the test efficiency and coverage. SUMMARY

[0004] The purpose of the present application is to provide a power system stability control device test case configuration and instantiation generation method and system based on plant topology timing constraints, which can realize the configuration of the test case parameters from the network topology and the phased evolution of the real fault scene, further facilitate the understanding of the test case coverage for the tester, reduce the configuration time of the field stability control device test case, and improve the test efficiency and coverage.

[0005] A power system stability control device test case configuration and instantiation generation system based on plant topology timing constraints, comprising:

[0006] A topology model construction module is used to load the stability control device strategy file, analyze the plant, power element and strategy table information in the stability control system, and output the topology graph element database and the topology model three-level association structure;

[0007] A parameter mapping engine module is used to load the topology model three-level association structure, extract the default basic parameters of the power element, and output the plant parameter mapping table through the artificial mapping method to realize the binding of the plant parameter mapping;

[0008] The test case configuration module is configured to configure the test case parameters for the power elements of all power stations in a manner of logical combination of parameter configuration and timing configuration based on the topology graph database, and output a set of test case configuration units.

[0009] The test case instantiation module is configured to load the set of test case configuration units and dynamically calculate the electrical quantity parameters of each test case based on the power station parameter mapping table, and output a set of structured parameters executable by the stability control testing instrument, thereby realizing instantiation of the test case parameters.

[0010] Further, the stability control device strategy file is a related file for stability operation of the stability control system issued by the power dispatching control center, and the format of the stability control device strategy file includes PDF, Excel or OFD format.

[0011] Further, the graph elements in the topology graph database include a main station, a substation, a line and a generator set.

[0012] Further, the three-level association structure of the topology model is a structure taking the main station as a root node, the substation as a secondary node, and the line and the generator set as a tertiary node, and is used to describe the association relationship of the power stations and the power elements.

[0013] Further, the default basic parameters of the power elements include the basic parameters of the line and the generator set, including the electrical quantity parameters and the state quantity parameters; and the state quantity parameters include the protection information parameters and the switch position parameters.

[0014] Further, the power station parameter mapping table describes a one-to-one mapping relationship between the basic parameters of the power elements and the electrical quantity channels, the switch quantity and the digital message channels of the stability control testing instrument.

[0015] Further, the parameter configuration includes an electrical quantity configuration node, a state setting node and a state quantity configuration node, and the parameter configuration is used to describe the system state of a certain stage of the simulated real fault scene; wherein:

[0016] The state setting node quickly responds to the electrical quantity and state quantity parameters of the element by setting whether the power element is faulty, whether it is put into operation or shut down;

[0017] The state quantity configuration node configures the state quantity parameters of the element, specifically including the protection information parameters and the switch position parameters; and the timing configuration includes a time delay node and a condition node; the condition node is used to configure the trigger condition of the state transition of the power system fault scene, specifically including a time delay trigger and a state quantity trigger.

[0018] Further, the use case configuration unit set refers to the use of parameter configuration and timing configuration to describe the phased evolution process of the simulated real fault scenario of the use case in a logical combination manner.

[0019] Further, the structured parameter set executable by the stability control test instrument refers to the parameter set of the stability control test instrument function module described by the formatted language, including the parameter set of the manual test and the state sequence test, and the formatted language includes XML or JSON.

[0020] A power system stability control device test case configuration and instantiation generation method based on plant station topology timing constraints, which is applied to the above-mentioned system, the method comprises the following steps:

[0021] S1, constructing a system plant station topology model

[0022] Create a main station, a substation and a power element to form a topology graph element database; and take the main station as a root node, associate all power elements to the main station and the substation to form a topology model three-level association structure;

[0023] S2, creating a parameter mapping

[0024] Based on the topology model three-level association structure output by S1, the following sub-steps are executed:

[0025] S2-1, according to the stability control device test requirement, according to the number of power elements to determine the number of electrical quantity channels, define the stability control tester test function parameter set;

[0026] S2-2, according to the voltage level of the stability control system, CT and PT transformation ratio, form a basic parameter library;

[0027] S2-3, traverse all power elements, set mapping parameters for the electrical quantity and state quantity of each element, complete the binding between the plant station topology model and the stability control tester test function parameters, and output the plant station parameter mapping table;

[0028] S3, use case configuration

[0029] Based on the topology graph element database output by S1, the following sub-steps are executed:

[0030] S3-1, according to the stability control strategy to be tested, determine the stages required by the phased evolution process of the real fault scenario corresponding to the stability control strategy, and determine the number of parameter configurations, and connect each parameter configuration with timing configuration;

[0031] S3-2, set parameter values for each parameter configuration: according to the stability control strategy to be tested, add the referenced power elements, and use the electrical quantity node, state setting node, and state setting node combination to set the values of the electrical quantity and state quantity parameters for each power element, and output the use case configuration unit set;

[0032] S4, use case instance

[0033] Based on the station parameter mapping table output by S2 and the use case configuration unit set output by S3, the output stability control tester executable structured parameter set is output, specifically including,

[0034] S4-1, iterate through all parameter configurations, and instantiate an initial parameter for each parameter configuration;

[0035] S4-2, iterate through the referenced power elements in the parameter configuration, first calculate the electrical quantity parameters of each element according to the state quantity and electrical quantity settings, and then iterate through the parameter mapping relationship of each power element, and according to the parameter binding relationship, instantiate the parameter values in the parameter configuration into the test case function;

[0036] S4-3, according to the time sequence configuration, set the test time and trigger condition of each state.

[0037] Beneficial effects: the present application discloses a kind of configuration and instantiation system of test case of field stability control device, based on the topological structure of stability control system, realize the rapid configuration and development of use case, reduce use case configuration time, improve field test efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0038] Figure 1 For the structure diagram of the power system stability control device test case configuration and instantiation generation system based on station topological time sequence constraint of the embodiment of the present application. DETAILED DESCRIPTION

[0039] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor belong to the scope of protection of the present application.

[0040] The embodiment of the present application discloses a power system stability control device test case configuration and instantiation generation system based on station topological time sequence constraint, and the system module block diagram is as shown in Figure 1 The system module block diagram is as shown in the figure, including topological model construction module, parameter mapping engine module, test case configuration module and test case instantiation module. Each module is as follows:

[0041] The topology model construction module is used for loading a strategy file of the stability control device, analyzing a power station, a power element and a strategy table information in the stability control system, and outputting a topology graph element database and a topology model three-level association structure; wherein, the topology graph element comprises a main station, a substation, a line and a generator set; the topology model three-level association structure refers to a data structure taking the main station as a root node, the substation as a second-level node and the line and the generator set as third-level nodes, and is used for describing the mutual association relationship of the graph elements;

[0042] The parameter mapping engine module is used for loading the topology model three-level association structure, extracting default basic parameters of the power element, and outputting a power station parameter mapping table through an artificial mapping mode, so as to establish a one-to-one mapping relationship between the basic parameters of the line and the generator set and electrical quantity parameters, switch quantity parameters and digital message parameters of the stability control tester function module, and realize the binding of the power station parameter mapping;

[0043] The test case configuration module is used for configuring a case parameter for each stage of all power elements of the power station according to the topology graph element database, taking a stage evolution process of a real fault scene as a target, and using a parameter configuration and a time sequence configuration logic combination mode, and outputting a test case configuration unit set; the parameters to be configured comprise electrical quantity parameters, protection information state parameters and switch position parameters;

[0044] The test case instantiation module is used for loading the test case configuration unit set, dynamically calculating electrical quantity parameters of each test case based on the power station parameter mapping table, and outputting a structured parameter set executable by the stability control tester, so as to realize the instantiation of the test case parameters;

[0045] The embodiment of the present application further discloses a power system stability control device test case configuration and instantiation generation method based on a power station topology time sequence constraint, which is performed by using the above system and comprises the following steps:

[0046] S1, a system power station topology model is constructed, a main station, a substation and a power element are created, and a topology graph element database is formed; and all power elements are associated to the main station and the substation to form a three-level association structure with the main station as a root node;

[0047] S2, a parameter mapping is created:

[0048] S2-1, according to the stability control device test requirement, the number of electrical quantity channels is determined according to the number of power elements, and a stability control tester test function parameter set is defined;

[0049] S2-2, a basic parameter library is formed according to the voltage grade, CT and PT variable ratio of the stability control system;

[0050] S2-3, traverse all power elements, set mapping parameters for electrical quantity and state quantity of each element, complete the binding between the plant station topology model and the test function parameters of the stability control tester;

[0051] S3, case configuration:

[0052] S3-1, according to the stability control strategy to be tested, determine the stages required by the stage evolution process of the real fault scene corresponding to the stability control strategy, and determine the number of parameter configurations, each parameter configuration is connected by a time sequence configuration;

[0053] S3-2, set parameter values for each parameter configuration: according to the stability control strategy to be tested, add referenced power elements, and configure the values of electrical quantity and state quantity parameters for each power element by using electrical quantity nodes, state setting nodes, and state setting node combinations;

[0054] S4, case instantiation, according to the configured case, output the structured parameter set executable by the stability control tester:

[0055] S4-1, traverse all parameter configurations, and instantiate an initial parameter for each parameter configuration;

[0056] S4-2, traverse the power elements referenced by the parameter configuration, first calculate the electrical quantity parameters of each element according to the state quantity and electrical quantity settings, then traverse the parameter mapping relationship of each power element, and according to the parameter binding relationship, instantiate the parameter values in the parameter configuration to the test case function;

[0057] S4-3, according to the time sequence configuration, set the test time and trigger condition of each state.

[0058] The following takes a main station, two sub-stations, a number of transmission lines, and a number of generator units as an example to further illustrate the test case configuration and instantiation of the embodiment of the present application, which specifically includes the following steps:

[0059] S1, build a plant station topology model: the construction of the plant station topology model can be mainly based on the analysis of the stability control device strategy file, supplemented by manual correction, and create a related topology graph in the software system;

[0060] S2, traverse all transmission lines and generator units, create basic parameters for each element according to the system voltage level, CT transformation ratio, and PT transformation ratio, including: UA, UB, UC, IA, IB, IC, HWJ-A, HWJ-B, HWJ-C, TWJ-A, TWJ-B, TWJ-C, etc.;

[0061] S3, with the following stable control strategy as an example, configure the use case parameters: in the operating mode of all line normal operation, single permanent fault occurs in line 1, the detection section composed of line I and line 2, when the section power is out of limit, the stable control device should execute the generator tripping action:

[0062] S3-1: analyze the stable control strategy, determine the fault scene that needs to be simulated should be divided into four stages: normal operation, single permanent fault of line 1, generator tripping of stable control device, and recovery of stability;

[0063] S3-2: according to the above four stages, configure four parameters for the use case of the strategy, parameter configuration 1 and parameter configuration 2 are connected by a time delay node (time delay 1), parameter configuration 2 and parameter configuration 3 are connected by a condition node (condition 1), parameter configuration 3 and parameter configuration 4 are connected by a condition node (time delay 2), and parameter configuration 4 is ended by a time delay node (time delay 3);

[0064] S3-3: configure parameters for parameter configurations 1-4: parameter configuration 1 is configured with all electrical quantities as normal quantities, all HWJs as on positions, and all TWJs as off positions; parameter configuration 2 is configured with the electrical quantity corresponding to line 1 as 0, the single permanent fault in the protection information state as 1, the HWJ as off, and the TWJ as on; the electrical quantity value of line 2 is configured as an out-of-limit value; parameter configuration 3 is configured with the electrical quantity value of generator set 1 as 0; and parameter configuration 4 is configured with the electrical quantity value of line 2 as a normal value;

[0065] S3-4: set the time delay of time delay 1 as a fixed value before the fault; set condition 1 as a generator tripping action trigger; set the time delay of time delay 2 as a strategy action time fixed value; and set the time delay of time delay 3 as a fixed value;

[0066] S4: according to the above parameter configuration, instantiate the use case according to the station parameter mapping table, output a 4-state state sequence function parameter structure table, and end the instantiation.

[0067] The application has the following characteristics:

[0068] 1. Through the hierarchical association of the master station-substation-element, the test case is strongly bound to the actual topology, and the case coverage is improved (the missed scene is reduced).

[0069] 2. Automatically extract the default parameters and bind the test instrument channel, reduce manual operation (reduce the configuration time by 50%), and avoid parameter mapping errors.

[0070] 3. Through the time delay node (such as 0.5s fault delay) and the condition node (such as power out-of-limit trigger), the real fault dynamic process is accurately reproduced, and the case reusability is improved (the time sequence can be directly modified to adapt to different strategies).

[0071] 4. Automatically generate XML / JSON format executable parameters, test instrument directly loaded, on-site test efficiency improved by more than 40%.

[0072] In summary, the embodiment of the application reproduces the test scene of "line fault-stability control action-system recovery" through topology modeling, parameter mapping, timing configuration and dynamic instantiation, verifies the significant effect of the method in reducing configuration time, improving test efficiency and use case reusability, and solves the core pain points of topology decoupling and parameter fragmentation in traditional testing.

[0073] Finally, it should be noted that: the above examples are only used to illustrate the technical solutions of the present application, but not to limit it, although the present application has been described in detail with reference to the above examples, those skilled in the art should understand that: the specific embodiments of the present application can still be modified or replaced by the same, without departing from the spirit and scope of the present application, any modification or equivalent replacement, which should be covered within the protection scope of the claims of the present application.

Claims

1. A power system stability control device test case configuration and instantiation generation system based on substation topology time sequence constraints, characterized in that, The system comprises: a topology model construction module, configured to load a stability control device policy file, parse plant station, power element, and policy table information in a stability control system, and output a topology graph element database and a topology model three-level association structure; a parameter mapping engine module, configured to load the topology model three-level association structure, extract power element default basic parameters, and output a plant station parameter mapping table through artificial mapping, so as to realize plant station parameter mapping binding; a test case configuration module, configured to configure case parameters for power elements of all plant stations in a parameter configuration and time sequence configuration logical combination manner based on the topology graph element database, and output a test case configuration unit set; a test case instantiation module, configured to load the test case configuration unit set, dynamically calculate electrical quantity parameters of each test case based on the plant station parameter mapping table, and output a structured parameter set executable by a stability control test instrument, so as to realize instantiation of test case parameters.

2. The power system stabilizing device test case configuration and instantiation generation system based on substation topology time sequence constraint according to claim 1, characterized in that: The stability control device policy file is a related file of stability control system stable operation regulations issued by a power dispatching control center, and formats of the stability control device policy file include PDF, Excel, or OFD. 3.The power system stabilizing control device test case configuration and instantiation generation system based on substation topology time sequence constraint of claim 1, characterized in that: Graph elements in the topology graph element database include main stations, sub-stations, lines, and generator sets.

4. The power system stabilizing device test case configuration and instantiation generation system based on substation topology time sequence constraint of claim 1, characterized in that: The topology model three-level association structure is a structure taking a main station as a root node, a sub-station as a second-level node, and a line and a generator set as third-level nodes, and is configured to describe association relationships of plant stations and power elements.

5. The power system stabilizing device test case configuration and instantiation generation system based on substation topology time sequence constraint of claim 1, wherein: The power element default basic parameters are basic parameters of lines and generator sets, including electrical quantity parameters and state quantity parameters; the state quantity parameters include protection information parameters and switch position parameters.

6. The power system stabilizing device test case configuration and instantiation generation system based on substation topology time sequence constraint of claim 1, wherein: The plant station parameter mapping table describes a one-to-one mapping relationship between power element basic parameters and electrical quantity channels, switch quantities, and digital message channels of a stability control test instrument.

7. The power system stability control device test case configuration and instantiation generation system based on plant station topology time sequence constraints according to claim 1, characterized in that: The parameter configuration includes an electrical quantity configuration node, a state setting node, and a state quantity configuration node, and the parameter configuration is configured to describe a system state of a certain stage of a simulated real fault scenario; wherein: The state setting node is configured to respond to electrical quantity and state quantity parameters of the element by setting whether the power element is faulty, whether the power element is in operation or shutdown; The state quantity configuration node is configured to configure state quantity parameters of the element, and specifically includes protection information parameters and switch position parameters; the time sequence configuration includes a time delay node and a condition node; the condition node is configured to configure a trigger condition of state migration of a power system fault scenario, and specifically includes a time delay trigger and a state quantity trigger.

8. The power system stabilizing device test case configuration and instantiation generation system based on substation topology time sequence constraint of claim 1, wherein: The test case configuration unit set refers to a logical combination of parameter configuration and time sequence configuration, and is configured to describe a phased evolution process of a simulated real fault scenario of the test case.

9. The power system stabilizing device test case configuration and instantiation generation system based on substation topology time sequence constraint of claim 1, wherein: The structured parameter set executable by the stability control test instrument refers to a parameter set of a stability control test instrument function module described by a format language, including a parameter set of a manual test and a state sequence test, and the format language includes XML or JSON.

10. A method for generating test case configuration and instantiation of power system stability control device based on substation topology time sequence constraints, characterized in that: The method is performed by using the system of any one of claims 1-9, and comprises the following steps: S1, constructing a system station topology model creating a main station, a substation and power elements to form a topology graph database; and taking the main station as a root node, associating all power elements to the main station and the substation to form a topology model three-level association structure; S2, creating a parameter mapping based on the topology model three-level association structure output by S1, the following sub-steps are performed: S2-1, according to the test requirements of the stability control device, determining the number of electrical quantity channels according to the number of power elements, and defining a set of test function parameters of the stability control tester; S2-2, forming a basic parameter library according to the voltage level of the stability control system, the CT and PT transformation ratio; S2-3, traversing all power elements, setting mapping parameters for the electrical quantity and state quantity of each element, completing the binding between the station topology model and the test function parameters of the stability control tester, and outputting a station parameter mapping table; S3, case configuration based on the topology graph database output by S1, the following sub-steps are performed: S3-1, according to the stability control strategy to be tested, determining the stages required by the phased evolution process of the real fault scene corresponding to the stability control strategy, and determining the number of parameter configurations, each parameter configuration being connected by a time sequence configuration; S3-2, setting parameter values for each parameter configuration: according to the stability control strategy to be tested, adding referenced power elements, and using the combination of electrical quantity nodes, state setting nodes and state setting node groups, configuring the values of electrical quantity and state quantity parameters for each power element, and outputting a case configuration unit set; S4, case instance based on the station parameter mapping table output by S2 and the case configuration unit set output by S3, outputting a structured parameter set executable by the stability control tester, specifically including, S4-1, traversing all parameter configurations, and instantiating an initial parameter of each parameter configuration; S4-2, traversing the power elements referenced under the parameter configuration, first calculating the electrical quantity parameters of each element according to the state quantity and electrical quantity settings, and then traversing the parameter mapping relationship of each power element, and according to the parameter binding relationship, instantiating the parameter values in the parameter configuration into the test case function; S4-3, according to the time sequence configuration, setting the test time and trigger condition of each state.