Method of fusing QS state estimation data and PSASP offline simulation data

By establishing an undirected graph and a factory station topological connection graph, matching the factory stations and components in the QS and PSASP data, and generating PSASP simulation data, the problem of fusion of QS and PSASP data is solved, and steady-state current inversion and stable analysis of provincial power grids are realized.

CN115392044BActive Publication Date: 2025-08-19CHONGQING UNIV OF POSTS & TELECOMM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211109742.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-13
Publication Date
2025-08-19
Estimated Expiration
2042-09-13

AI Technical Summary

Technical Problem

The existing technology fails to effectively integrate QS state estimation data and PSASP offline simulation data, making it difficult to accurately invert and quickly and stably analyze the actual operating mode of provincial power grids.

Method used

By establishing an undirected graph and a factory site topological connection graph, matching the factory sites and components in the QS and PSASP data, generating PSASP simulation data, and fusing steady-state and dynamic model parameters.

Benefits of technology

Accurate inversion and rapid and stable analysis of the steady-state current of provincial power grids has been achieved, providing a good data basis for historical working conditions analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115392044B_ABST
    Figure CN115392044B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for fusing QS state estimation data and PSASP offline simulation data, and belongs to the field of power system simulation analysis. The method comprises: S1: parsing QS and PSASP data respectively, and establishing undirected graphs respectively; S2: establishing, for connected subgraphs in the QS and PSASP data, a plant-station topology connectivity graph with the plant station as a vertex and with inter-station contact elements and intra-station elements as edges; S4: traversing the vertices of the plant-station topology connectivity graph corresponding to the QS data, and finding matching plants and stations in the PSASP plant-station topology connectivity graph based on the QS plant station name and its voltage level; S5: for intra-station or inter-station elements in the QS plant station, finding matching elements in the PSASP data based on the correspondence between the QS and PSASP plants and stations, and according to the element name similarity and matching principle; S6: performing a record insertion operation on data tables starting with cdb and cpar in the newly created PSASP project.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power system simulation analysis, and relates to a method for fusing QS state estimation data and PSASP offline simulation data. Background Art

[0002] QS is a commonly used data format for the output of state estimation results from the State Grid Corporation of China's EMS system. A QS file contains steady-state operating data, calculated topology data, and device attribution data for a specific time interval, making it an important resource for studying and inverting actual grid operating conditions. The Power System Analysis Software Package (PSASP) is a highly integrated, multi-functional power system simulation and calculation software and is currently the mainstream offline power grid calculation and analysis platform in my country. PSASP offline simulation data contains not only steady-state operating data but also dynamic operating data. Power grid personnel often use it to model and perform calculations and analyses on actual power grids. When studying and inverting the grid operating conditions at a specific time interval reflected in the QS file, or when rapidly performing stability analysis based on historical operating conditions, it is necessary to fuse the steady-state model parameters in the QS file state estimation data with the dynamic model parameters in the PSASP offline simulation data. However, no research has been conducted on the fusion analysis of QS file state estimation data and PSASP offline simulation data. Therefore, it is necessary to develop a method for fusing QS file state estimation data with PSASP offline simulation data. Summary of the Invention

[0003] In view of this, the present invention aims to provide a method for fusing QS state estimation data and PSASP offline simulation data for provincial power grids. This method is used to rapidly generate PSASP simulation data that describes the actual operation of the provincial power grid. This simulation data effectively integrates the steady-state model parameters in the QS data with the dynamic model parameters in the PSASP offline data. The simulation data generated by this method not only accurately inverts the steady-state power flow of the provincial power grid but also provides a good data foundation for subsequent stability analysis, meeting the need for rapid stability analysis based on historical operating conditions in actual projects.

[0004] In order to achieve the above object, the present invention provides the following technical solutions:

[0005] A method for integrating QS state estimation data and PSASP offline simulation data for a provincial power grid includes the following steps:

[0006] S1: Analyze the QS state estimation data and build an undirected graph with the tie lines between the provincial power grid and the external grid as the boundaries, topological nodes as vertices, and single-terminal or multi-terminal components as edges;

[0007] S2: Analyze the PSASP offline simulation data and build an undirected graph with the tie line between the provincial power grid and the external grid as the boundary, the busbar as the vertex, and the single-terminal or multi-terminal components as the edge;

[0008] S3: For the connectivity subgraphs of the provincial power grid in the QS state estimation data and the PSASP offline simulation data, a plant-station topology connectivity graph is established with the plant-station as the vertex and the inter-station connection components and intra-station components as the edge.

[0009] S4: traverse the vertices of the plant-station topology connectivity graph corresponding to the QS state estimation data, and find the matching plant-station in the plant-station topology connectivity graph corresponding to the PSASP offline simulation data based on the plant-station name and voltage level in the QS state estimation data;

[0010] S5: For components within a QS plant or inter-plant communication components, based on the correspondence between the plants in the QS state estimation data and the plants in the PSASP offline simulation data, and according to the similarity of component names and certain matching principles, matching components are found in the PSASP offline simulation data;

[0011] S6: Create a new PSASP project and, based on the QS state estimation data and PSASP offline simulation data, insert records into the data tables starting with cdb and cpar (cdb_sb, cdb_schemecont, cdb_datagroup, cdb_bus, cdb_node, cdb_generat, cdb_acline, cdb_trans_3w, etc.) in the new project.

[0012] Furthermore, step S1 specifically includes the following steps:

[0013] S11: Read QS status estimation data and extract data such as baseline value (BaseValue), AC line (ACline), transformer (Transformer), parallel compensation (Compensator_P), series compensation (Compensator_S), topology node (TopoNode), unit (Unit), and load (Load). Exclude outage equipment and save the operating equipment according to category in an appropriate data structure.

[0014] S12: For the QS state estimation data, an undirected graph is established with the connection lines between the provincial power grid and the external grid as the boundary, the topological nodes as the vertices, and the single-end or multi-end components as the edges, so as to achieve the purpose of separating the provincial grid to be modeled from the external grid.

[0015] Furthermore, step S12 specifically includes the following steps:

[0016] S121: Create an empty undirected graph;

[0017] S122: Traverse the saved AC line data. If the line is not out of service and is not a tie line between the provincial power grid to be modeled and the external network, treat it as an edge of an undirected graph, treat the topological nodes connected at both ends of the line as vertices of the undirected graph, and add them to the undirected graph.

[0018] S123: Traverse the saved series compensation and two-winding transformer data. If the equipment is not shut down, treat it as an edge of an undirected graph, treat the topological nodes connected to the two ends of the equipment as vertices of the undirected graph, and add them to the undirected graph.

[0019] S124: Traverse the saved three-winding transformer data. If the equipment is not shut down, treat its high- and medium-voltage sides, high- and low-voltage sides, and medium- and low-voltage sides as edges of an undirected graph, treat the topological nodes connected to the three terminals of the transformer as vertices of the undirected graph, and add them to the undirected graph.

[0020] S125: Traverse the saved generator, parallel compensation and load data. If the equipment is not shut down, treat it as an edge of an undirected graph. The two ends of the edge belong to the same topological node and are added to the undirected graph.

[0021] S126: Perform connectivity analysis on the undirected graph to obtain connected subgraphs;

[0022] S127: Traverse each connected subgraph. If the topological node name in the connected subgraph contains the name of the province where the provincial network to be modeled is located, then the connected subgraph corresponds to the provincial network to be modeled, and the traversal is terminated.

[0023] Furthermore, step S2 specifically includes the following steps:

[0024] S21: Read the MySQL database of PSASP offline simulation data, extract the data tables starting with cdb (storing the basic model parameters required for steady-state simulation and dynamic simulation) and cpar (storing the dynamic model parameters of the generator and its control system, load and other components), exclude the out-of-service equipment, and save the operating equipment according to category using an appropriate data structure;

[0025] S22: For offline PSASP simulation data, an undirected graph is established with the provincial power grid and the external grid interconnection line as the boundary, the busbar as the vertex, and the single-end or multi-end components as the edge, so as to achieve the purpose of separating the provincial grid to be modeled from the external grid.

[0026] Furthermore, step S22 specifically includes the following steps:

[0027] S221: Create an empty undirected graph;

[0028] S222: Traverse the saved AC line data. If the line is not shut down and is not a tie line between the provincial power grid to be modeled and the external grid, treat it as an edge of an undirected graph, treat the busbars connected to both ends of the line as vertices of the undirected graph, and add them to the undirected graph.

[0029] S223: Traverse the saved series compensation and two-winding transformer data. If the equipment is not shut down, treat it as an edge of the undirected graph, treat the busbars connected to both ends of the equipment as vertices of the undirected graph, and add them to the undirected graph.

[0030] S224: Traverse the saved three-winding transformer data. If the equipment is not shut down, treat its high- and medium-voltage sides, high- and low-voltage sides, and medium- and low-voltage sides as edges of an undirected graph, treat the busbars connected to the three terminals of the transformer as vertices of the undirected graph, and add them to the undirected graph.

[0031] S225: Traverse the saved generator, parallel compensation and load data. If the equipment is not shut down, treat it as an edge of the undirected graph. The two ends of the edge belong to the same bus, and add them to the undirected graph.

[0032] S226: Perform connectivity analysis on the undirected graph to obtain connected subgraphs;

[0033] S227: Traverse each connected subgraph. If the bus name in the connected subgraph contains the name of the province where the provincial network to be modeled is located, then the connected subgraph corresponds to the provincial network to be modeled, and the traversal is terminated.

[0034] Furthermore, in step S3, a plant-station topology connectivity diagram is established, specifically including the following steps:

[0035] S31: Create an empty undirected graph;

[0036] S32: traverse the edges of the connected subgraph of the provincial power grid in QS or PSASP. If the edge is an inter-station connection element, then treat the connected stations at both ends as vertices of an undirected graph, treat the element as an edge of the undirected graph, and add them to the undirected graph.

[0037] S33: If the edge is a component within a plant, the plant to which it belongs is considered as a vertex of an undirected graph, and the component is considered as an edge of the undirected graph (the two ends of the edge connect to the same vertex), and they are added to the undirected graph;

[0038] S34: Carry out connectivity analysis on the undirected graph to obtain the topologically connected subgraphs of each plant and station name.

[0039] Further, step S4 specifically includes the following steps:

[0040] S41: traverse the vertices of the topological connectivity graph of the plant and station names of QS to obtain the plant and station names and voltage levels that need to be matched;

[0041] S42: Traverse the vertices of the plant station topology connectivity graph of the PSASP, and compare the consistency of the voltage levels with the plants in the obtained QS state estimation data. If the voltage levels are consistent, the plant station with the greatest similarity in the PSASP offline simulation data is selected as the matching plant station for the corresponding plant station in the QS state estimation data based on the similarity of the plant station names; otherwise, the plant station in the QS state estimation data and the plant station in the PSASP offline simulation data do not match.

[0042] Further, step S5 specifically includes the following steps:

[0043] S51: traverse the edges of the plant station name topological connectivity graph of QS;

[0044] S52: If the edge is a component within a plant, then according to the plant name in the QS state estimation data, a matching plant name is found in the PSASP offline simulation data. For the matching plant found in the PSASP offline simulation data, the components of the same type under its jurisdiction are traversed, and then a matching component is found according to a certain matching principle.

[0045] S53: If the edge is an inter-plant connection element such as an AC line, then the corresponding plant station is found in the PSASP offline simulation data based on the two end plants and stations connected by the connection element in the QS state estimation data, and for the matching plants and stations found in the PSASP offline simulation data, the connection elements between these plants and stations are traversed, and then the matching elements are found according to certain matching principles.

[0046] Furthermore, in step S53, the certain matching principle specifically includes:

[0047] (1) If the edge type is an AC line, the consistency of the voltage levels is compared first; if the voltage levels are consistent, the positive sequence impedance parameters of the lines are judged to be consistent (the deviation of the parameters in the two types of data is within the allowable range); otherwise, the lines in the QS state estimation data and the lines in the PSASP offline simulation data do not match; if the positive sequence impedance parameters of a line in the QS state estimation data are consistent with the positive sequence impedance parameters of multiple lines in the PSASP offline simulation data, then according to the similarity of the line names, the line with the greatest similarity in the PSASP offline simulation data is selected as the matching element of the corresponding line in the QS state estimation data (that is, the lines in the two types of data describe the same physical device); if the positive sequence impedance parameters of a line in the QS state estimation data are only consistent with the positive sequence impedance parameters of a line in the PSASP offline simulation data, then the two lines are considered to match; if the positive sequence impedance parameters of a line in the QS state estimation data are inconsistent with the positive sequence impedance parameters of the line in the PSASP offline simulation data, then the line in the QS state estimation data and the line in the PSASP offline simulation data are considered to be mismatched.

[0048] (2) If the side type is a two-winding transformer, first compare the consistency of the voltage levels and rated capacities of the two transformers; if the rated capacities and high-voltage side voltage levels are consistent, then determine whether the positive-sequence impedance parameters are consistent (the deviation of the parameters in the two types of data is within the allowable range); otherwise, the transformer in the QS state estimation data and the transformer in the PSASP offline simulation data do not match. If the positive-sequence impedance parameters of a dual-winding transformer in the QS state estimation data tend to be consistent with the positive-sequence impedance parameters of multiple dual-winding transformers in the PSASP offline simulation data, then according to the similarity of the transformer names, the transformer with the greatest similarity in the PSASP offline simulation data is selected as the matching element of the corresponding transformer in the QS state estimation data (that is, the transformers in the two types of data describe the same physical device); if the positive-sequence impedance parameters of a dual-winding transformer in the QS state estimation data only tend to be consistent with the positive-sequence impedance parameters of a dual-winding transformer in the PSASP offline simulation data, then the two transformers are considered to be matched; if the positive-sequence impedance parameters of a dual-winding transformer in the QS state estimation data are inconsistent with the positive-sequence impedance parameters of the dual-winding transformer in the PSASP offline simulation data, then the dual-winding transformer in the QS state estimation data and the dual-winding transformer in the PSASP offline simulation data are considered to be mismatched.

[0049] (3) If the side type is series compensation, first compare the consistency of the two series compensation voltage levels; if the voltage levels are consistent, then determine whether the series compensation positive sequence impedance parameters tend to be consistent (the deviation of the parameters in the two types of data is within the allowable range); otherwise, the series compensation in the QS state estimation data and the series compensation in the PSASP offline simulation data do not match; if the positive sequence impedance parameter of a series compensation in the QS state estimation data tends to be consistent with the positive sequence impedance parameters of multiple series compensations in the PSASP offline simulation data, then according to the similarity of the series compensation names, select the one with the greatest similarity in the PSASP offline simulation data. A series compensation is a matching element of the corresponding series compensation in the QS state estimation data (that is, the series compensation in the two types of data describes the same physical device); if the positive-sequence impedance parameter of a series compensation in the QS state estimation data is only consistent with the positive-sequence impedance parameter of a series compensation in the PSASP offline simulation data, then the two series compensations are considered to be matched; if the positive-sequence impedance parameter of a series compensation in the QS state estimation data is inconsistent with the positive-sequence impedance parameter of the series compensation in the PSASP offline simulation data, then the series compensation in the QS state estimation data and the series compensation in the PSASP offline simulation data are considered to be mismatched.

[0050] (4) If the side type is a three-winding transformer, first compare the consistency of the voltage levels and rated capacities of the two transformers; if the rated capacities and high-voltage side voltage levels are consistent, then determine whether the positive-sequence impedance parameters are consistent (the deviation of the parameters in the two types of data is within the allowable range); otherwise, the transformer in the QS state estimation data and the transformer in the PSASP offline simulation data do not match. If the positive-sequence impedance parameters of a three-winding transformer in the QS state estimation data tend to be consistent with the positive-sequence impedance parameters of multiple three-winding transformers in the PSASP offline simulation data, then according to the similarity of the transformer names, the transformer with the greatest similarity in the PSASP offline simulation data is selected as the matching element of the corresponding transformer in the QS state estimation data (that is, the transformers in the two types of data describe the same physical device); if the positive-sequence impedance parameters of a three-winding transformer in the QS state estimation data only tend to be consistent with the positive-sequence impedance parameters of a three-winding transformer in the PSASP offline simulation data, then the two transformers are considered to be matched; if the positive-sequence impedance parameters of a three-winding transformer in the QS state estimation data are inconsistent with the positive-sequence impedance parameters of the three-winding transformer in the PSASP offline simulation data, then the three-winding transformer in the QS state estimation data and the three-winding transformer in the PSASP offline simulation data are considered to be mismatched.

[0051] (5) If the edge type is generator, first compare the consistency of the voltage level and rated capacity of the two generators; if the voltage level and rated capacity are consistent, then determine whether the generator names are similar; if the generator names are similar, then it is considered that the generator in the QS state estimation data and the generator in the PSASP offline simulation data match (that is, the generators in the two types of data describe the same physical device); otherwise, the generator in the QS state estimation data and the generator in the PSASP offline simulation data do not match.

[0052] (6) If the edge type is parallel complement, first compare the consistency of the voltage levels and rated capacities of the two parallel complements; if the voltage levels and rated capacities are consistent, then determine whether the positive-sequence reactance parameters of the parallel complements are consistent (the deviation of the parameters in the two types of data is within the allowable range); otherwise, the parallel complements in the QS state estimation data and the parallel complements in the PSASP offline simulation data do not match; if the positive-sequence reactance parameters of one parallel complement in the QS state estimation data are consistent with the positive-sequence reactance parameters of multiple parallel complements in the PSASP offline simulation data, then according to the similarity of the parallel complement names, select the similar ones in the PSASP offline simulation data. The parallel complement with the largest degree is the matching element of the corresponding parallel complement in the QS state estimation data (that is, the parallel complements in the two types of data describe the same physical device); if the positive-sequence reactance parameter of a parallel complement in the QS state estimation data is only consistent with the positive-sequence reactance parameter of one parallel complement in the PSASP offline simulation data, then the two parallel complements are considered to match; if the positive-sequence reactance parameter of one parallel complement in the QS state estimation data is inconsistent with the positive-sequence reactance parameter of the parallel complement in the PSASP offline simulation data, then the parallel complement in the QS state estimation data and the parallel complement in the PSASP offline simulation data are considered to be mismatched.

[0053] (7) If the edge type is load, first compare the consistency of the voltage levels of the two loads; if the voltage levels are consistent, then determine whether the load names are similar; if the load names are similar, then it is considered that the loads in the QS state estimation data and the loads in the PSASP offline simulation data match (that is, the loads in the two types of data describe the same physical device); otherwise, the loads in the QS state estimation data and the loads in the PSASP offline simulation data do not match.

[0054] Further, step S6 specifically includes the following steps:

[0055] S61: Create a new PSASP project;

[0056] S62: The system baseline capacity, busbar and other equipment component names and component steady-state parameters involved in the data record of the new project are extracted from the QS state estimation data;

[0057] S63: For components that match the QS state estimation data and the PSASP offline simulation data, dynamic parameters involved in the corresponding data records in the new project are extracted from the PSASP offline simulation data;

[0058] S64: For components that exist in the QS state estimation data but do not match the PSASP offline simulation data, the dynamic parameters involved in the corresponding data records in the new project adopt the typical settings.

[0059] The beneficial effects of the present invention are that the method can rapidly generate PSASP simulation data that describes the actual operation of the provincial power grid. This simulation data effectively integrates the steady-state model parameters in the QS data and the dynamic model parameters in the PSASP offline data. The simulation data generated by this method not only accurately inverts the steady-state power flow of the provincial power grid but also provides a good data foundation for subsequent stability analysis, meeting the need for rapid stability analysis based on historical operating conditions in actual projects.

[0060] Other advantages, objects, and features of the present invention will be described in part in the following description and, in part, will be apparent to those skilled in the art upon examination of the following description or may be learned from practice of the present invention. The objects and other advantages of the present invention may be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below with reference to the accompanying drawings, in which:

[0062] Figure 1 This is a flow chart of the method for fusing QS state estimation data and PSASP offline simulation data according to the present invention. DETAILED DESCRIPTION

[0063] The following describes the embodiments of the present invention by means of specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and the following embodiments and features in the embodiments can be combined with each other without conflict.

[0064] See also Figure 1 The present invention provides a method for integrating QS file state estimation data and offline PSASP simulation data for a provincial power grid, which specifically includes the following steps:

[0065] Step 1: Analyze the QS state estimation data and build an undirected graph with the tie lines between the provincial power grid and the external grid as the boundaries, topological nodes as vertices, and single-terminal or multi-terminal components as edges. The specific implementation method includes the following steps:

[0066] Step 1.1: Read the QS status estimation data and extract data of types such as BaseValue, ACline, Transformer, Compensator_P, Compensator_S, TopoNode, Unit, and Load. Exclude the out-of-service equipment and save the in-service equipment by category using the appropriate data structure.

[0067] Taking ACline data as an example, this article explains how to parse QS format data. ACline data has 30 columns, and the important columns are:

[0068] 1) "name", line name;

[0069] 2) "I_node" and "J_node", which represent the topological nodes where the I and J terminals are located respectively;

[0070] 3) "I_off" and "J_off", respectively indicate whether the I and J sides are disconnected. "1" indicates that the corresponding side switch is open, and "0" indicates that the corresponding side switch is closed;

[0071] 4) "volt", voltage level;

[0072] 5) “R*”, “X*” and “B*” represent the per-unit values of line resistance, reactance and single-ended susceptance respectively;

[0073] 6) "Ih", allowable current carrying capacity, unit is A.

[0074] When reading ACline data, lines with both ends disconnected can be excluded based on the "I_off" and "J_off" column values. To store data, a hash table can be used, with the key being the "name" field value and the value being the data in the corresponding row in the QS. Furthermore, since there are many columns, reading each column's data by name is much more convenient than reading it by number. Therefore, the comment lines containing the English or Chinese column names in the data segment can be used to generate a hash table, with the key being the column name and the value being the corresponding column number.

[0075] Step 1.2: For the QS state estimation data, an undirected graph is established with the tie lines between the provincial power grid and the external grid as the boundary, topological nodes as vertices, and single-terminal or multi-terminal components as edges, so as to separate the provincial grid to be modeled from the external grid. The specific steps include:

[0076] 1) Create an empty undirected graph;

[0077] 2) Traverse the saved AC line data. If the line is not out of service and is not a tie line between the provincial power grid to be modeled and the external network, treat it as an edge of an undirected graph. Treat the topological nodes connected to both ends of the line as vertices of the undirected graph and add them to the undirected graph.

[0078] 3) Traverse the saved data of series compensation and two-winding transformers. If the equipment is not shut down, treat it as an edge of the undirected graph, treat the topological nodes connected to the two ends of the equipment as vertices of the undirected graph, and add them to the undirected graph;

[0079] 4) Traverse the saved three-winding transformer data. If the equipment is not shut down, treat its high- and medium-voltage sides, high- and low-voltage sides, and medium- and low-voltage sides as edges of an undirected graph, and treat the topological nodes connected to the three terminals of the transformer as vertices of the undirected graph. Add them to the undirected graph.

[0080] 5) Traverse the saved generators and fill in the load data. If the equipment is not shut down, it is regarded as an edge of the undirected graph. The two ends of the edge belong to the same topological node and are added to the undirected graph;

[0081] 6) Carry out connectivity analysis on the undirected graph to obtain each connected subgraph;

[0082] 7) Traverse each connected subgraph. If the topological node name in the connected subgraph contains the name of the province where the provincial network to be modeled is located, then the connected subgraph corresponds to the provincial network to be modeled, and the traversal is terminated.

[0083] Step 2: Analyze the PSASP offline simulation data and build an undirected graph with the tie lines between the provincial power grid and the external grid as the boundaries, the busbars as the vertices, and the single-terminal or multi-terminal components as the edges. The specific implementation method includes the following steps:

[0084] Step 2.1: Read the MySQL database of offline PSASP simulation data, extract the data tables starting with cdb (storing the basic model parameters required for steady-state simulation and dynamic simulation) and cpar (storing the dynamic model parameters of the generator and its control system, load and other components), exclude those out-of-service equipment, and save the operating equipment by category using the appropriate data structure.

[0085] If Python is used, various components can be stored in a two-dimensional data table of the DataFrame type, and each row in the table corresponds to a record in the corresponding table in PSASP.

[0086] Step 2.2: For offline PSASP simulation data, establish an undirected graph with the provincial power grid and external grid tie lines as boundaries, busbars as vertices, and single-ended or multi-ended components as edges, so as to separate the provincial grid to be modeled from the external grid. The specific steps include:

[0087] 1) Create an empty undirected graph;

[0088] 2) Traverse the saved AC line data. If the line is not out of service and is not a tie line between the provincial power grid to be modeled and the external grid, treat it as an edge of the undirected graph. Treat the busbars connected to both ends of the line as vertices of the undirected graph and add them to the undirected graph.

[0089] 3) Traverse the saved data of series compensation and two-winding transformers. If the equipment is not shut down, treat it as an edge of the undirected graph, treat the busbars connected to the two ends of the equipment as vertices of the undirected graph, and add them to the undirected graph;

[0090] 4) Traverse the saved three-winding transformer data. If the equipment is not shut down, treat its high- and medium-voltage sides, high- and low-voltage sides, and medium- and low-voltage sides as edges of an undirected graph, and treat the busbars connected to the three terminals of the transformer as vertices of the undirected graph. Add them to the undirected graph.

[0091] 5) Traverse the saved generators and fill in the load data. If the equipment is not shut down, it is regarded as an edge of the undirected graph. The two ends of the edge belong to the same bus and are added to the undirected graph.

[0092] 6) Carry out connectivity analysis on the undirected graph to obtain each connected subgraph;

[0093] 7) Traverse each connected subgraph. If the bus name in the connected subgraph contains the name of the province where the provincial network to be modeled is located, then the connected subgraph corresponds to the provincial network to be modeled, and the traversal is terminated.

[0094] Step 3: For the connectivity subgraph of the provincial power grid in QS, establish a plant-station topology connectivity graph with the plant-station as the vertex and the inter-station connection components and intra-station components as the edge. The specific implementation method includes the following steps:

[0095] Step 3.1: Create an empty undirected graph;

[0096] Step 3.2: Traverse the edges of the connected subgraph of the provincial power grid in QS. If the edge is an inter-station connection element, treat the connected stations at both ends as vertices of the undirected graph, treat the element as an edge of the undirected graph, and add them to the undirected graph;

[0097] Step 3.3: If the edge is a component within a plant, treat the plant to which it belongs as a vertex of the undirected graph, treat the component as an edge of the undirected graph (the two ends of the edge connect to the same vertex), and add them to the undirected graph;

[0098] Step 3.4: Perform connectivity analysis on the undirected graph to obtain the topologically connected subgraphs of each plant and station name.

[0099] Step 4: For the connected subgraph of the provincial power grid in the offline PSASP data, a plant-station topology connectivity graph is established with the plant-station as the vertex and the inter-station connection components and intra-station components as the edge. The specific implementation method includes the following steps:

[0100] Step 4.1: Create an empty undirected graph;

[0101] Step 4.2: Traverse the edges of the connected subgraph of the provincial power grid in PSASP. If the edge is an inter-station component, treat the connected stations at both ends as vertices of an undirected graph, treat the component as an edge of the undirected graph, and add them to the undirected graph.

[0102] Step 4.3: If the edge is a component within a plant, treat the plant to which it belongs as a vertex of the undirected graph, treat the component as an edge of the undirected graph (the two ends of the edge connect to the same vertex), and add them to the undirected graph;

[0103] Step 4.4: Perform connectivity analysis on the undirected graph to obtain the topologically connected subgraphs of each plant and station name.

[0104] Step 5: Traverse the vertices of the plant-station topology connectivity graph corresponding to the QS data, and find the matching plant-station in the plant-station topology connectivity graph corresponding to the PSASP offline data based on the plant-station name and voltage level in the QS data. The specific implementation method includes the following steps:

[0105] Step 5.1: Traverse the vertices of the QS plant-station topology connectivity graph to obtain the plant-station name and voltage level that need to be matched;

[0106] Step 5.2: Traverse the vertices of the PSASP plant-station topology connectivity graph and compare the voltage level consistency with the plant-station in the obtained QS data. If the voltage levels are consistent, the plant-station with the greatest similarity in the PSASP offline data is selected as the matching plant-station for the corresponding plant-station in the QS data based on the similarity of the plant-station names; otherwise, the plant-station in the QS data does not match the plant-station in the PSASP offline data.

[0107] When calculating string similarity, if using Python, LevenshteinDistance (which describes the minimum number of operations required to convert one string into another, including insertion, deletion, and replacement) can be used for calculation.

[0108] Taking the matching of the plant stations in the QS data (Chongqing Changshou Station and Chongqing Eight-star Station) and the plant stations in the PSASP offline data (Yu Changshou Station and Yu Eight-star Station) as an example, the following describes how to match the plant stations:

[0109] For the plant station in the QS data: Chongqing Changshou Station, the voltage level of this plant station is 220kV. Then, all plants and stations with the same voltage level of 220kV are found in the plants and stations in the PSASP offline data. Then, based on the similarity of the plant and station names, the plant and station with the greatest similarity is selected as the matching plant and station, namely Chongqing Changshou Station.

[0110] For the plant station in the QS data: Chongqing. Bajie Station, the voltage level of this plant station is 220kV. Then, all plants with the same voltage level of 220kV are found in the plants in the PSASP offline data. Then, based on the similarity of the plant station names, the plant station with the greatest similarity is selected as the matching plant station, namely Chongqing. Bajie Station.

[0111] Step 6: For components within the QS plant or inter-plant communication components, based on the correspondence between the plant in the QS data and the plant in the PSASP offline data, and according to the principles of component name similarity, parameter matching, etc., find matching components in the PSASP offline data. The specific implementation method includes the following steps:

[0112] Step 6.1: Traverse the edges of the QS plant station name topological connectivity graph;

[0113] Step 6.2: If the edge is a component within a plant, then find a matching plant name in the PSASP offline data based on the plant name in the QS data. For the matching plant found in the PSASP offline data, traverse the components of the same type under its jurisdiction and then find a matching component based on a certain matching principle.

[0114] Step 6.3: If the edge is an inter-plant connection element such as an AC line, then find the corresponding plant station in the PSASP data based on the two end plants connected by the connection element in the QS data. For the matching plant stations found in the PSASP offline data, traverse the connection elements between these plants and stations, and then find the matching element based on certain matching principles.

[0115] The specific steps of the matching principle include:

[0116] (1) If the edge type is an AC line, first compare the consistency of the voltage levels; if the voltage levels are consistent, then determine whether the line positive sequence impedance parameters tend to be consistent (the deviation of the parameters in the two types of data is within the allowable range); otherwise, the line in the QS data and the line in the PSASP offline data do not match. If the positive sequence impedance parameters of a line in the QS data tend to be consistent with the positive sequence impedance parameters of multiple lines in the PSASP offline data, then according to the similarity of the line names, the line with the greatest similarity in the PSASP offline data is selected as the matching element of the corresponding line in the QS data (that is, the lines in the two types of data describe the same physical device); if the positive sequence impedance parameters of a line in the QS data only tend to be consistent with the positive sequence impedance parameters of a line in the PSASP offline data, then the two lines are considered to match; if the positive sequence impedance parameters of a line in the QS data are inconsistent with the positive sequence impedance parameters of the line in the PSASP offline data, then the line in the QS data and the line in the PSASP offline data are considered to be mismatched;

[0117] Taking the matching of AC lines in QS data and AC lines in PSASP offline data as an example, this article explains how to match components:

[0118] In the QS data: Line name: Chongqing Changba East Line, voltage level: 220kV, resistance per unit value: 0.000191115, reactance per unit value: 0.002363705, single-ended susceptance per unit value: 0.008701415, the plants and stations at both ends of the line are: Chongqing Changshou Station and Chongqing Ba Ke Station.

[0119] In the PSASP offline data: line name: AC506226, voltage level: 220kV, resistance per unit value: 0.000191, reactance per unit value: 0.002364, single-ended susceptance per unit value: 0.008702, the power stations at both ends of the line are: Yu Changshou Station and Yu Ba Ke Station.

[0120] For the line in the QS data: Chongqing. Changba East Line, which is a connecting element between plants and stations, the plants and stations at both ends of the line connection are found to be: Chongqing. Changshou Station and Chongqing. Ba Ke Station. According to the correspondence between plants and stations, the plants and stations that match in the PSASP offline data are found to be: Yu Changshou Station and Yu Ba Ke Station. Then, for the connecting element between the two plants and stations Yu Changshou Station and Yu Ba Ke Station in the PSASP offline data, the line is matched. First, determine whether the voltage levels are consistent, find all lines in the PSASP offline data that are consistent with the voltage level of 220kV, and then determine whether the positive sequence impedance parameters tend to be consistent. Among them, the line named AC506226 in the PSASP offline data has the relative errors of resistance, reactance, and single-ended susceptance (the calculation formula for the relative error of resistance is: R1 is the per-unit resistance of the line in the QS data, and R2 is the per-unit resistance of the line in the PSASP data. Reactance and susceptance (calculated using the same formulas) are 0.06%, 0.0125%, and 0.0067%, respectively. These values are all within the allowable range, indicating that the positive-sequence impedance parameters are consistent and the two lines are matched.

[0121] (2) If the side type is a two-winding transformer, first compare the consistency of the voltage level and rated capacity of the two transformers; if the rated capacity and high-voltage side voltage level are consistent, then determine whether the positive sequence impedance parameters are consistent (the deviation of the parameters in the two types of data is within the allowable range); otherwise, the transformer in the QS data and the transformer in the PSASP offline data do not match. If the positive-sequence impedance parameters of a two-winding transformer in the QS data tend to be consistent with the positive-sequence impedance parameters of multiple two-winding transformers in the PSASP offline data, then according to the similarity of the transformer names, the transformer with the greatest similarity in the PSASP offline data is selected as the matching element of the corresponding transformer in the QS data (that is, the transformers in the two types of data describe the same physical device); if the positive-sequence impedance parameters of a two-winding transformer in the QS data tend to be consistent with the positive-sequence impedance parameters of only one two-winding transformer in the PSASP offline data, then the two transformers are considered to be matched; if the positive-sequence impedance parameters of a two-winding transformer in the QS data are inconsistent with the positive-sequence impedance parameters of the two-winding transformer in the PSASP offline data, then the two-winding transformer in the QS data and the two-winding transformer in the PSASP offline data are considered to be mismatched.

[0122] (3) If the side type is series compensation, first compare the consistency of the two series compensation voltage levels; if the voltage levels are consistent, then determine whether the series compensation positive sequence impedance parameters tend to be consistent (the deviation of the parameters in the two types of data is within the allowable range); otherwise, the series compensation in the QS data and the series compensation in the PSASP offline data do not match. If the positive sequence impedance parameters of a series compensation in the QS data tend to be consistent with the positive sequence impedance parameters of multiple series compensations in the PSASP offline data, then according to the similarity of the series compensation names, the series compensation with the greatest similarity in the PSASP offline data is selected as the matching element of the corresponding series compensation in the QS data (that is, the series compensation in the two types of data describes the same physical device); if the positive sequence impedance parameters of a series compensation in the QS data only tend to be consistent with the positive sequence impedance parameters of a series compensation in the PSASP offline data, then the two series compensations are considered to match; if the positive sequence impedance parameters of a series compensation in the QS data are inconsistent with the positive sequence impedance parameters of the series compensation in the PSASP offline data, then the series compensation in the QS data and the series compensation in the PSASP offline data are considered to be mismatched.

[0123] (4) If the side type is a three-winding transformer, first compare the consistency of the voltage level and rated capacity of the two transformers; if the rated capacity and high-voltage side voltage level are consistent, then determine whether the positive sequence impedance parameters are consistent (the deviation of the parameters in the two types of data is within the allowable range); otherwise, the transformer in the QS data and the transformer in the PSASP offline data do not match. If the positive-sequence impedance parameters of a three-winding transformer in the QS data tend to be consistent with the positive-sequence impedance parameters of multiple three-winding transformers in the PSASP offline data, then according to the similarity of the transformer names, the transformer with the greatest similarity in the PSASP offline data is selected as the matching element of the corresponding transformer in the QS data (that is, the transformers in the two types of data describe the same physical device); if the positive-sequence impedance parameters of a three-winding transformer in the QS data tend to be consistent with the positive-sequence impedance parameters of only one three-winding transformer in the PSASP offline data, then the two transformers are considered to be matched; if the positive-sequence impedance parameters of a three-winding transformer in the QS data are inconsistent with the positive-sequence impedance parameters of the three-winding transformer in the PSASP offline data, then the three-winding transformer in the QS data and the three-winding transformer in the PSASP offline data are considered to be mismatched.

[0124] (5) If the edge type is generator, first compare the consistency of the voltage level and rated capacity of the two generators; if the voltage level and rated capacity are consistent, then determine whether the generator names are similar; if the generator names are similar, then it is considered that the generator in the QS data and the generator in the PSASP offline data match (that is, the generators in the two types of data describe the same physical device); otherwise, the generator in the QS data and the generator in the PSASP offline data do not match.

[0125] (6) If the edge type is parallel compensation, first compare the consistency of the two parallel compensation voltage levels and rated capacities; if the voltage levels and rated capacities are consistent, then determine whether the parallel compensation positive sequence reactance parameters tend to be consistent (the deviation of the parameters in the two types of data is within the allowable range); otherwise, the parallel compensation in the QS data and the parallel compensation in the PSASP offline data do not match. If the positive-sequence reactance parameter of one parallel complement in the QS data tends to be consistent with the positive-sequence reactance parameters of multiple parallel complements in the PSASP offline data, then according to the similarity of the parallel complement names, the parallel complement with the greatest similarity in the PSASP offline data is selected as the matching element of the corresponding parallel complement in the QS data (that is, the parallel complements in the two types of data describe the same physical device); if the positive-sequence reactance parameter of one parallel complement in the QS data tends to be consistent with the positive-sequence reactance parameter of only one parallel complement in the PSASP offline data, then the two parallel complements are considered to match; if the positive-sequence reactance parameter of one parallel complement in the QS data is inconsistent with the positive-sequence reactance parameter of the parallel complement in the PSASP offline data, then the parallel complement in the QS data and the parallel complement in the PSASP offline data are considered to be mismatched.

[0126] (7) If the edge type is load, first compare the consistency of the voltage levels of the two loads; if the voltage levels are consistent, then determine whether the load names are similar; if the load names are similar, then it is considered that the loads in the QS data and the loads in the PSASP offline data match (that is, the loads in the two types of data describe the same physical device); otherwise, the loads in the QS data and the loads in the PSASP offline data do not match.

[0127] Step 7: Create a new PSASP project. Based on the QS data and PSASP offline data, insert records into the data tables in the new project that begin with cdb or cpar (cdb_sb, cdb_schemecont, cdb_datagroup, cdb_bus, cdb_node, cdb_generat, cdb_acline, cdb_trans_3w, etc.). The specific implementation method includes the following steps:

[0128] Step 7.1: Create a new PSASP project;

[0129] Step 7.2: Extract the system baseline capacity, busbar and other equipment component names and component steady-state parameters involved in the data record of the new project from the QS data;

[0130] Step 7.3: For components that match the QS data and PSASP offline data, the dynamic parameters involved in the corresponding data records in the new project are extracted from the PSASP offline data;

[0131] Step 7.4: For components that exist in the QS data but do not match the PSASP offline data, the dynamic parameters involved in the corresponding data records in the new project adopt the typical settings.

[0132] Taking the line (Chongqing Changba East Line) in the matching QS data and the line (AC506226) in the PSASP offline data as examples, this article explains how to extract steady-state parameters and insert them into the relevant data tables for new construction projects:

[0133] For the newly created project's cdb_acline data table, corresponding field values in the data table are updated based on the field values in the QS data. These primarily include the GrpName field, which represents the data group name; the ID_Name field, which represents the line name; and the I_Name and J_Name fields, which represent the node names on both sides of the line. Except for the GrpName field, whose value is specified by the program, all other field values correspond to the corresponding line data columns in the QS. For example, the Node Name field can be the topological node names for the I and J sides of the line in the QS, while the Line Name field is directly set to the line name in the QS.

[0134] In the QS data: AC line name (name): Chongqing. Changba East Line, topological node (I_node) at the I end: Chongqing. Changshou Station.220.10162, topological node (J_node) at the J end: Chongqing. Ba Ke Station.220.10330.

[0135] In PSASP offline data: ID_Name: AC506226, I_Name: Yu Changshou 220, J_Name: Yu Ba Ke 220.

[0136] The ID_Name field value in the cdb_acline data table of the new project is updated with the AC line name (name) in the QS data (that is, Chongqing. Changba East Line is taken as the corresponding line name in the new project), the I_Name field value in the cdb_acline data table of the new project is updated with the topological node (I_node) where the I end is located in the QS data (that is, Chongqing. Changshou Station. 220.10162 is taken as the corresponding node name in the new project), and the J_Name field value in the cdb_acline data table of the new project is updated with the topological node (J_node) where the J end is located in the QS data (that is, Chongqing. Bake Station. 220.10330 is taken as the corresponding node name in the new project).

[0137] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solutions, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for fusing QS state estimation data and PSASP offline simulation data, characterized in that: The method specifically comprises the following steps: S1: Analyze the QS state estimation data and build an undirected graph with the tie lines between the provincial power grid and the external grid as the boundaries, topological nodes as vertices, and single-terminal or multi-terminal components as edges; S2: Analyze the PSASP offline simulation data and build an undirected graph with the tie line between the provincial power grid and the external grid as the boundary, the busbar as the vertex, and the single-terminal or multi-terminal components as the edge; S3: For the connectivity subgraphs of the provincial power grid in the QS state estimation data and the PSASP offline simulation data, a plant-station topology connectivity graph is established with the plant-station as the vertex and the inter-station connection components and intra-station components as the edge. S4: traverse the vertices of the plant-station topology connectivity graph corresponding to the QS state estimation data, and find the matching plant-station in the plant-station topology connectivity graph corresponding to the PSASP offline simulation data based on the plant-station name and voltage level in the QS state estimation data; S5: For components within a QS plant or inter-plant communication components, based on the correspondence between the plants in the QS state estimation data and the plants in the PSASP offline simulation data, and according to the similarity of component names and certain matching principles, matching components are found in the PSASP offline simulation data; S6: Create a new PSASP project and insert records into the data tables starting with cdb and cpar in the new project based on the QS state estimation data and PSASP offline simulation data.

2. The method for fusing QS state estimation data and PSASP offline simulation data according to claim 1, characterized in that: Step S1 specifically includes the following steps: S11: Read QS status estimation data, extract reference values, AC lines, transformers, parallel compensation, series compensation, topology nodes, units, and load data, exclude outage equipment, and save operating equipment by category in an appropriate data structure; S12: For the QS state estimation data, an undirected graph is established with the connection lines between the provincial power grid and the external grid as the boundary, the topological nodes as the vertices, and the single-end or multi-end components as the edges, so as to achieve the purpose of separating the provincial grid to be modeled from the external grid.

3. The method for fusing QS state estimation data and PSASP offline simulation data according to claim 2, characterized in that: Step S12 specifically includes the following steps: S121: Create an empty undirected graph; S122: Traverse the saved AC line data. If the line is not out of service and is not a tie line between the provincial power grid to be modeled and the external network, treat it as an edge of an undirected graph, treat the topological nodes connected at both ends of the line as vertices of the undirected graph, and add them to the undirected graph. S123: Traverse the saved series compensation and two-winding transformer data. If the equipment is not shut down, treat it as an edge of an undirected graph, treat the topological nodes connected to the two ends of the equipment as vertices of the undirected graph, and add them to the undirected graph. S124: Traverse the saved three-winding transformer data. If the equipment is not shut down, treat its high- and medium-voltage sides, high- and low-voltage sides, and medium- and low-voltage sides as edges of an undirected graph, treat the topological nodes connected to the three terminals of the transformer as vertices of the undirected graph, and add them to the undirected graph. S125: Traverse the saved generator, parallel compensation and load data. If the equipment is not shut down, treat it as an edge of an undirected graph. The two ends of the edge belong to the same topological node and are added to the undirected graph. S126: Perform connectivity analysis on the undirected graph to obtain connected subgraphs; S127: Traverse each connected subgraph. If the topological node name in the connected subgraph contains the name of the province where the provincial network to be modeled is located, then the connected subgraph corresponds to the provincial network to be modeled, and the traversal is terminated.

4. The method for fusing QS state estimation data and PSASP offline simulation data according to claim 1, characterized in that: Step S2 specifically includes the following steps: S21: Read the MySQL database of PSASP offline simulation data, extract the data tables starting with cdb and cpar, exclude the out-of-service equipment, and save the in-service equipment according to category using a suitable data structure; S22: For offline PSASP simulation data, an undirected graph is established with the provincial power grid and the external grid interconnection line as the boundary, the busbar as the vertex, and the single-end or multi-end components as the edge, so as to achieve the purpose of separating the provincial grid to be modeled from the external grid.

5. The method for fusing QS state estimation data and PSASP offline simulation data according to claim 4, characterized in that: Step S22 specifically includes the following steps: S221: Create an empty undirected graph; S222: Traverse the saved AC line data. If the line is not shut down and is not a tie line between the provincial power grid to be modeled and the external grid, treat it as an edge of an undirected graph, treat the busbars connected to both ends of the line as vertices of the undirected graph, and add them to the undirected graph. S223: Traverse the saved series compensation and two-winding transformer data. If the equipment is not shut down, treat it as an edge of the undirected graph, treat the busbars connected to both ends of the equipment as vertices of the undirected graph, and add them to the undirected graph. S224: Traverse the saved three-winding transformer data. If the equipment is not shut down, treat its high- and medium-voltage sides, high- and low-voltage sides, and medium- and low-voltage sides as edges of an undirected graph, treat the busbars connected to the three terminals of the transformer as vertices of the undirected graph, and add them to the undirected graph. S225: Traverse the saved generator, parallel compensation and load data. If the equipment is not shut down, treat it as an edge of the undirected graph. The two ends of the edge belong to the same bus, and add them to the undirected graph. S226: Perform connectivity analysis on the undirected graph to obtain connected subgraphs; S227: Traverse each connected subgraph. If the bus name in the connected subgraph contains the name of the province where the provincial network to be modeled is located, then the connected subgraph corresponds to the provincial network to be modeled, and the traversal is terminated.

6. The method for fusing QS state estimation data and PSASP offline simulation data according to claim 1, characterized in that: In step S3, a plant-station topology connectivity diagram is established, which specifically includes the following steps: S31: Create an empty undirected graph; S32: traverse the edges of the connected subgraph of the provincial power grid in QS or PSASP. If the edge is an inter-station connection element, then treat the connected stations at both ends as vertices of an undirected graph, treat the element as an edge of the undirected graph, and add them to the undirected graph. S33: If the edge is a component within a plant, the plant to which it belongs is regarded as a vertex of an undirected graph, and the component is regarded as an edge of the undirected graph, and they are added to the undirected graph; S34: Carry out connectivity analysis on the undirected graph to obtain the topologically connected subgraphs of each plant and station name.

7. The method for fusing QS state estimation data and PSASP offline simulation data according to claim 1, characterized in that: Step S4 specifically includes the following steps: S41: traverse the vertices of the topological connectivity graph of the plant and station names of QS to obtain the plant and station names and voltage levels that need to be matched; S42: Traverse the vertices of the plant station topology connectivity graph of the PSASP, and compare the consistency of the voltage levels with the plants in the obtained QS state estimation data. If the voltage levels are consistent, the plant station with the greatest similarity in the PSASP offline simulation data is selected as the matching plant station for the corresponding plant station in the QS state estimation data based on the similarity of the plant station names; otherwise, the plant station in the QS state estimation data and the plant station in the PSASP offline simulation data do not match.

8. The method for fusing QS state estimation data and PSASP offline simulation data according to claim 1, characterized in that: Step S5 specifically includes the following steps: S51: traverse the edges of the plant station name topological connectivity graph of QS; S52: If the edge is a component within a plant, then according to the plant name in the QS state estimation data, a matching plant name is found in the PSASP offline simulation data. For the matching plant found in the PSASP offline simulation data, the components of the same type under its jurisdiction are traversed, and then a matching component is found according to a certain matching principle. S53: If the edge is an inter-plant connection element such as an AC line, then the corresponding plant station is found in the PSASP offline simulation data based on the two end plants and stations connected by the connection element in the QS state estimation data, and for the matching plants and stations found in the PSASP offline simulation data, the connection elements between these plants and stations are traversed, and then the matching elements are found according to certain matching principles.

9. The method for fusing QS state estimation data and PSASP offline simulation data according to claim 8, characterized in that: In step S53, the certain matching principle specifically includes: (1) If the edge type is an AC line, first compare the consistency of the voltage levels; if the voltage levels are consistent, then determine whether the line positive sequence impedance parameters tend to be consistent; otherwise, the line in the QS state estimation data and the line in the PSASP offline simulation data do not match; if the positive sequence impedance parameters of a line in the QS state estimation data tend to be consistent with the positive sequence impedance parameters of multiple lines in the PSASP offline simulation data, then according to the similarity of the line names, the line with the greatest similarity in the PSASP offline simulation data is selected as the matching element of the corresponding line in the QS state estimation data; if the positive sequence impedance parameters of a line in the QS state estimation data only tend to be consistent with the positive sequence impedance parameters of a line in the PSASP offline simulation data, then the two lines are considered to match; if the positive sequence impedance parameters of a line in the QS state estimation data are inconsistent with the positive sequence impedance parameters of the line in the PSASP offline simulation data, then the line in the QS state estimation data and the line in the PSASP offline simulation data are considered to be mismatched; (2) If the edge type is a two-winding transformer, first compare the consistency of the voltage level and rated capacity of the two transformers; if the rated capacity and high-voltage side voltage level are consistent, then determine whether the positive-sequence impedance parameters are consistent; otherwise, the transformer in the QS state estimation data and the transformer in the PSASP offline simulation data do not match; if the positive-sequence impedance parameters of a two-winding transformer in the QS state estimation data tend to be consistent with the positive-sequence impedance parameters of multiple two-winding transformers in the PSASP offline simulation data, then according to the similarity of the transformer names, the transformer with the greatest similarity in the PSASP offline simulation data is selected as the matching element of the corresponding transformer in the QS state estimation data; if the positive-sequence impedance parameters of a two-winding transformer in the QS state estimation data only tend to be consistent with the positive-sequence impedance parameters of a two-winding transformer in the PSASP offline simulation data, then the two transformers are considered to be matched; if the positive-sequence impedance parameters of a two-winding transformer in the QS state estimation data are inconsistent with the positive-sequence impedance parameters of the two-winding transformer in the PSASP offline simulation data, then the two-winding transformer in the QS state estimation data and the two-winding transformer in the PSASP offline simulation data are considered to be mismatched; (3) If the side type is series compensation, first compare the consistency of the two series compensation voltage levels; if the voltage levels are consistent, then determine whether the series compensation positive sequence impedance parameters tend to be consistent; otherwise, the series compensation in the QS state estimation data and the series compensation in the PSASP offline simulation data do not match; if the positive sequence impedance parameter of a series compensation in the QS state estimation data tends to be consistent with the positive sequence impedance parameters of multiple series compensations in the PSASP offline simulation data, then according to the similarity of the series compensation names, the series compensation with the greatest similarity in the PSASP offline simulation data is selected as the matching element of the corresponding series compensation in the QS state estimation data; if the positive sequence impedance parameter of a series compensation in the QS state estimation data only tends to be consistent with the positive sequence impedance parameter of a series compensation in the PSASP offline simulation data, then the two series compensations are considered to match; if the positive sequence impedance parameter of a series compensation in the QS state estimation data is inconsistent with the positive sequence impedance parameter of the series compensation in the PSASP offline simulation data, then the series compensation in the QS state estimation data and the series compensation in the PSASP offline simulation data are considered to be mismatched; (4) If the edge type is a three-winding transformer, first compare the consistency of the voltage level and rated capacity of the two transformers; if the rated capacity and high-voltage side voltage level are consistent, then determine whether the positive sequence impedance parameters are consistent; otherwise, the transformer in the QS state estimation data and the transformer in the PSASP offline simulation data do not match; if the positive sequence impedance parameters of a three-winding transformer in the QS state estimation data tend to be consistent with the positive sequence impedance parameters of multiple three-winding transformers in the PSASP offline simulation data, then according to the similarity of the transformer names, select the transformer with the greatest similarity in the PSASP offline simulation data as the QS state estimation. The matching elements of the corresponding transformers in the QS state estimation data, that is, the transformers in the two types of data describe the same physical device; if the positive sequence impedance parameters of a three-winding transformer in the QS state estimation data are only consistent with the positive sequence impedance parameters of a three-winding transformer in the PSASP offline simulation data, then the two transformers are considered to be matched; if the positive sequence impedance parameters of a three-winding transformer in the QS state estimation data are inconsistent with the positive sequence impedance parameters of the three-winding transformer in the PSASP offline simulation data, then the three-winding transformer in the QS state estimation data and the three-winding transformer in the PSASP offline simulation data are considered to be mismatched; (5) If the edge type is generator, first compare the consistency of the voltage level and rated capacity of the two generators; if the voltage level and rated capacity are consistent, then determine whether the generator names are similar; if the generator names are similar, then it is considered that the generator in the QS state estimation data and the generator in the PSASP offline simulation data match, that is, the generators in the two types of data describe the same physical device; otherwise, the generator in the QS state estimation data and the generator in the PSASP offline simulation data do not match; (6) If the edge type is parallel complement, first compare the consistency of the voltage levels and rated capacities of the two parallel complements; if the voltage levels and rated capacities are consistent, then determine whether the parallel complement positive-sequence reactance parameters tend to be consistent; otherwise, the parallel complement in the QS state estimation data and the parallel complement in the PSASP offline simulation data do not match; if the positive-sequence reactance parameter of one parallel complement in the QS state estimation data tends to be consistent with the positive-sequence reactance parameters of multiple parallel complements in the PSASP offline simulation data, then according to the similarity of the parallel complement names, select the parallel complement with the greatest similarity in the PSASP offline simulation data as the matching element of the corresponding parallel complement in the QS state estimation data; if the positive-sequence reactance parameter of one parallel complement in the QS state estimation data only tends to be consistent with the positive-sequence reactance parameter of one parallel complement in the PSASP offline simulation data, then the two parallel complements are considered to match; if the positive-sequence reactance parameter of one parallel complement in the QS state estimation data is inconsistent with the positive-sequence reactance parameter of the parallel complement in the PSASP offline simulation data, then the parallel complement in the QS state estimation data and the parallel complement in the PSASP offline simulation data are considered to be mismatched; (7) If the edge type is load, first compare the consistency of the voltage levels of the two loads; if the voltage levels are consistent, then determine whether the load names are similar; if the load names are similar, then it is considered that the loads in the QS state estimation data and the loads in the PSASP offline simulation data match; otherwise, the loads in the QS state estimation data and the loads in the PSASP offline simulation data do not match.

10. The method for fusing QS state estimation data and PSASP offline simulation data according to claim 1, characterized in that: Step S6 specifically includes the following steps: S61: Create a new PSASP project; S62: The names and steady-state parameters of various equipment components involved in the data records of the new project are extracted from the QS state estimation data; S63: For components that match the QS state estimation data and the PSASP offline simulation data, dynamic parameters involved in the corresponding data records in the new project are extracted from the PSASP offline simulation data; S64: For components that exist in the QS state estimation data but do not match the PSASP offline simulation data, the dynamic parameters involved in the corresponding data records in the new project adopt the typical settings.

Citation Information

Patent Citations

  • Automatic generation method for electromagnetic transient visual simulation model of power system

    CN107664954A

  • Method and system for homologous heterogeneous power transmission network topology mapping

    CN113204853A