Power grid simulation result analysis method, device, equipment and medium
By parsing the power grid simulation result file into multiple main structures and substructures, performing analysis according to type, and generating stability analysis summary information, the problem of low efficiency and error-proneness in the analysis of power grid simulation result SOT files is solved, and rapid batch parsing and automated data analysis are realized.
Patent Information
- Application Number
- CN202511705136.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-18
- Publication Date
- 2026-02-13
AI Technical Summary
The analysis of existing power grid simulation results SOT files mainly relies on manual processing one by one, which is inefficient and prone to errors.
The transient stability result file is parsed into multiple main structures, and the substructures corresponding to each main structure are parsed. Analysis is performed according to the main structure type to generate a summary of stability analysis information.
It enables rapid batch reading and parsing of power grid simulation results, and automatically performs data analysis, significantly improving analysis efficiency and replacing traditional manual analysis.
Smart Images

Figure CN121525664A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of power system simulation analysis, in particular to a power grid simulation result analysis method and device, equipment and medium. BACKGROUND
[0002] With the large-scale construction and commissioning of UHV AC / DC projects and new energy such as wind power and photovoltaic power, the difficulty and quantity of power grid safety and stability analysis and evaluation are increasing explosively. Every year, the annual centralized calculation and 2-3 years rolling calculation carried out by power grid dispatching, planning and other professionals involve hundreds of adjustment modes. At the same time, thousands of fault cards need to be scanned in each mode in each provincial company, and millions of SOT (Stability Output File) files are generated.
[0003] The SOT file is a result file generated by the simulation software after transient simulation, which mainly includes basic information such as simulation time, power flow operation name, transient stability operation name, and bus voltage dynamic response data, generator transient process data, and DC converter dynamic response data. The data range of each file can be output according to user's self-selection. However, the analysis of these power grid simulation results SOT files still mainly depends on manual processing one by one at present, which not only consumes time and effort, but also has the problems of low efficiency, easy to make mistakes and statistical results not intuitive.
[0004] In view of the above, how to solve the problem that the analysis of the current power grid simulation result SOT file mainly depends on manual processing one by one, which is low in efficiency and prone to errors, is a problem that technicians in this field need to solve urgently. SUMMARY
[0005] The purpose of the present application is to provide a power grid simulation result analysis method, device, equipment and medium, which solves the problem that the current power grid simulation result SOT file analysis mainly depends on manual processing one by one, which is low in efficiency and prone to errors.
[0006] To solve the above technical problems, the present application provides a power grid simulation result analysis method, comprising:
[0007] Obtaining a transient stability result file to be analyzed based on a power grid simulation result folder;
[0008] The transient stability result file is parsed into a plurality of main structures, and the sub-structures corresponding to each main structure are parsed; wherein the main structure represents the aggregation of the same type of power grid simulation data; and the sub-structure represents the simulation curve under the main structure.
[0009] determining a type of each of the main structures, and performing analysis on the sub-structures under each of the main structures according to the type of each of the main structures to obtain a corresponding analysis result of each of the main structures;
[0010] integrating the analysis results of each of the sub-structures to generate stable analysis summary information.
[0011] In one aspect, the temporary stability result file is parsed into a plurality of main structures, including:
[0012] obtaining a coordinate number and a coordinate name in the temporary stability result file;
[0013] dividing the temporary stability result file into a plurality of data segments according to the coordinate number and the coordinate name;
[0014] defining each of the data segments as each of the main structures.
[0015] In another aspect, the sub-structures corresponding to each of the main structures are parsed, including:
[0016] obtaining a table header and curve data in the data segment;
[0017] dividing the data segment into a plurality of sub-structures according to the table header and the curve data.
[0018] In another aspect, the type of each of the main structures is determined, including:
[0019] obtaining a coordinate name corresponding to each of the main structures;
[0020] determining the type of each of the main structures according to the corresponding coordinate name;
[0021] The type of the main structure at least includes a power angle analysis type, a voltage analysis type, and a commutation failure analysis type.
[0022] In another aspect, when the type of the main structure is the power angle analysis type, performing analysis on the sub-structures under each of the main structures according to the type of each of the main structures includes:
[0023] extracting power angle curve data corresponding to the sub-structures under the main structure;
[0024] determining whether a power angle difference value of the power angle curve data in a first preset time window is greater than a power angle instability threshold value;
[0025] If not, it is confirmed that the power angle of the power angle curve data is stable;
[0026] If yes, it is confirmed that the power angle curve data has power angle instability, and the table header name is recorded.
[0027] On the other hand, when the type of the main structure is a voltage analysis type, the analysis on the sub-structure under each main structure is performed according to the type of each main structure, including:
[0028] extracting the voltage curve data corresponding to the sub-structure under the main structure;
[0029] obtaining the total data point number of the voltage curve data within a second preset time window;
[0030] determining the point data count of the voltage curve data less than the voltage instability threshold value within the second preset time window;
[0031] determining the instability estimation probability corresponding to the voltage curve data according to the total data point number and the point data count;
[0032] judging whether the instability estimation probability is not less than an instability threshold value;
[0033] if not, confirming the voltage stability of the voltage curve data;
[0034] if yes, confirming the voltage instability of the voltage curve data, and recording the header name thereof.
[0035] On the other hand, when the type of the main structure is a commutation failure analysis type, the analysis on the sub-structure under each main structure is performed according to the type of each main structure, including:
[0036] extracting the first commutation overlap angle curve data and the second commutation overlap angle curve data corresponding to the sub-structure under the main structure;
[0037] obtaining the first total data point number of the first commutation overlap angle curve data and the second total data point number of the second commutation overlap angle curve data within a third preset time window;
[0038] determining the first point data count of the first commutation overlap angle curve data equal to the commutation failure threshold value within the third preset time window; wherein, when the continuous point data in the first commutation overlap angle curve data is equal to the commutation failure threshold value, the first point data count is accumulated once;
[0039] determining the second point data count of the second commutation overlap angle curve data equal to the commutation failure threshold value within the third preset time window; wherein, when the continuous point data in the second commutation overlap angle curve data is equal to the commutation failure threshold value, the second point data count is accumulated once;
[0040] determining the first commutation failure number according to the first total data point number and the first point data count, and determining the second commutation failure number according to the second total data point number and the second point data count;
[0041] determining a maximum value of the first commutation failure number and the second commutation failure number as a total commutation failure number.
[0042] To solve the above technical problems, the application further provides an electric grid simulation result analysis device, comprising:
[0043] An acquisition module is configured to acquire a transient stability result file to be analyzed based on an electric grid simulation result folder.
[0044] An analysis module is configured to determine the type of each main structure body and perform analysis on the sub-structure bodies under each main structure body according to the type of each main structure body to obtain corresponding analysis results.
[0045] An analysis module is configured to determine the type of each main structure body and perform analysis on the sub-structure bodies under each main structure body according to the type of each main structure body to obtain corresponding analysis results.
[0046] An integration module is configured to integrate the analysis results of each sub-structure body to generate stable analysis summary information.
[0047] To solve the above technical problems, the application further provides an electric grid simulation result analysis device, comprising:
[0048] A memory is configured to store a computer program.
[0049] A processor is configured to execute the computer program to implement the steps of the electric grid simulation result analysis method.
[0050] To solve the above technical problems, the application further provides a computer readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the steps of the electric grid simulation result analysis method.
[0051] The electric grid simulation result analysis method provided by the application comprises the following steps: acquiring a transient stability result file to be analyzed; analyzing the transient stability result file into a plurality of main structure bodies and a plurality of sub-structure bodies corresponding to each main structure body; performing analysis on the sub-structure bodies under each main structure body according to the type of each main structure body to obtain corresponding analysis results; and integrating the analysis results of each sub-structure body to generate stable analysis summary information. Therefore, the application can realize fast batch reading and analysis of electric grid simulation transient stability result sot files, automatically perform data analysis, and finally summarize and count the results, thereby effectively replacing traditional manual analysis and significantly improving the analysis efficiency of electric grid simulation results.
[0052] In addition, the application also provides a power grid simulation result analysis device, equipment and medium, and the effect is the same as above. BRIEF DESCRIPTION OF DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present application, the drawings needed in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0054] Figure 1 A flow chart of a power grid simulation result analysis method provided by the embodiments of the present application;
[0055] Figure 2 A schematic diagram of a power grid simulation result analysis device provided by the embodiments of the present application;
[0056] Figure 3 A structural diagram of a power grid simulation result analysis device provided by the embodiments of the present application. DETAILED DESCRIPTION
[0057] The technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the present application.
[0058] The core of the present application is to provide a power grid simulation result analysis method, device, equipment and medium, to solve the problem that the analysis of the current power grid simulation result SOT file mainly depends on manual processing one by one, which is inefficient and prone to errors.
[0059] In order to make those skilled in the art better understand the present application, the present application will be further described in detail in combination with the drawings and specific embodiments.
[0060] Figure 1 A flow chart of a power grid simulation result analysis method provided by the embodiments of the present application. As shown in Figure 1 The method comprises:
[0061] S10: obtaining a transient stability result file to be analyzed based on a power grid simulation result folder.
[0062] In specific implementation, first, the total number and file name of the transient stability result sot file to be analyzed are read according to the power grid simulation result folder given by the user, so as to obtain the sot file.
[0063] S11: parse the temporary stable result file into a plurality of main structures, and parse the sub-structures corresponding to each main structure.
[0064] Subsequently, the sot file is parsed for each sot file, and the sot file is parsed into a plurality of main structures SotPage, and the sub-structures TitPage corresponding to each main structure SotPage are parsed. It should be noted that the main structure SotPage represents the aggregation of the same type of power grid simulation data; the sub-structure TitPage represents the simulation curve under the corresponding main structure, such as the A station 500kV voltage curve data, etc. In this embodiment, the specific parsing method of the main structure SotPage and the sub-structure TitPage is not limited, and is determined according to the specific implementation.
[0065] S12: determine the type of each main structure, and perform analysis on the sub-structures under each main structure according to the type of each main structure to obtain corresponding analysis results.
[0066] Further, the type of each main structure SotPage is determined. The type of the main structure SotPage should at least include the power angle analysis type, the voltage analysis type and the commutation failure analysis type. Then, according to the type of each main structure SotPage, the analysis is performed on the sub-structures TitPage under each main structure SotPage to obtain corresponding analysis results. It can be understood that since the type of the main structure SotPage at least includes the power angle analysis type, the voltage analysis type and the commutation failure analysis type, the subsequent analysis of the sub-structure TitPage should at least include the power angle analysis, the voltage analysis and the commutation failure analysis. In this embodiment, the specific analysis process is not limited, and is determined according to the specific implementation.
[0067] S13: integrate the analysis results of each sub-structure to generate stable analysis summary information.
[0068] Finally, after obtaining the analysis structure of each sub-structure TitPage, the analysis results are integrated to generate stable analysis summary information. In this embodiment, the specific content contained in the stable analysis summary information is not limited, for example, it can include analysis number, sot file name, power angle stability state, voltage stability state, commutation failure number, etc. The stable analysis summary information can also be output in table format, which can be easily viewed and selected.
[0069] In the embodiment, the transient result file to be analyzed is obtained, the transient result file is parsed into a plurality of main structures, and the sub-structures corresponding to the main structures are parsed; the sub-structures under each main structure are analyzed according to the type of the main structure, so as to obtain corresponding analysis results; and the analysis results of the sub-structures are integrated to generate stable analysis summary information. Therefore, the scheme can realize fast batch reading and parsing of the power grid simulation transient result sot file, can automatically perform data analysis, can finally perform result summarization and statistics, can effectively replace traditional manual analysis, and can significantly improve the analysis efficiency of the power grid simulation result.
[0070] On the basis of the above-mentioned embodiment, in some embodiments, the transient result file is parsed into a plurality of main structures, including:
[0071] S101: Obtain the coordinate number and coordinate name in the transient result file.
[0072] S102: Divide the transient result file into a plurality of data segments according to the coordinate number and coordinate name.
[0073] S103: Define each data segment as a main structure.
[0074] In order to parse the main structure SotPage in the sot file, the coordinate number and coordinate name in the transient result sot file are specifically obtained in the embodiment. The transient result sot file is divided into a plurality of data segments according to the coordinate number and coordinate name, for example, when the coordinate name in SotPage contains the “power angle” string, it is classified as power angle analysis, when it contains the “voltage” string, it is classified as voltage analysis, and when it contains the “commutator” string, it is classified as commutation failure analysis. Finally, each data segment is defined as a main structure SotPage. It should be noted that the main structure SotPage at least includes the coordinate number, the coordinate name, the sub-structure pointer and the number of sub-structures.
[0075] Correspondingly, the sub-structures corresponding to the main structures are parsed, including:
[0076] S111: Obtain the table header and curve data in the data segment.
[0077] S112: Divide the data segment into a plurality of sub-structures according to the table header and curve data.
[0078] In order to parse the sub-structure TitPage in the main structure SotPage, the table header and curve data in the data segment (i.e. the main structure SotPage) are specifically obtained in the embodiment, and the data segment is divided into a plurality of sub-structures TitPage according to the table header and curve data. It should be noted that the sub-structure TitPage includes the table header and curve data.
[0079] It should be further noted that since the number of main structures SotPage and sub-structures TitPage in each sot file is dynamic, ranging from several to several hundred, in specific implementation, SotPage and TitPage can be defined as a structure pointer array, which can realize batch fast dynamic fragmentation and custom parsing of multiple sot files. Finally, M main structures SotPage are obtained, and each main structure obtains n1, n2,..., n i sub-structures TitPage.
[0080] In this way, the parsing of the main structure SotPage and the sub-structure TitPage is realized respectively.
[0081] On the basis of the above embodiment, in some embodiments, the type of each main structure is determined, including:
[0082] S121: Obtain the coordinate name corresponding to each main structure.
[0083] S122: Determine the type of each main structure according to the corresponding coordinate name.
[0084] The type of the main structure at least includes the power angle analysis type, the voltage analysis type and the commutation failure analysis type.
[0085] Since the main structure SotPage represents the aggregation of data of the same type, in order to determine the type of the main structure SotPage, in this embodiment, the coordinate name corresponding to each main structure SotPage is specifically obtained, and the type of each main structure SotPage is determined according to the corresponding coordinate name.
[0086] The type of the main structure SotPage at least includes the power angle analysis type, the voltage analysis type and the commutation failure analysis type. In order for those skilled in the art to better understand the specific analysis process of the sub-structure TitPage, the analysis process of the sub-structure TitPage will be described in detail below in combination with different types of the main structure SotPage:
[0087] (I) When the type of the main structure SotPage is the power angle analysis type;
[0088] In some embodiments, according to the type of each main structure, the analysis of the sub-structure under each main structure is performed, including:
[0089] S131: Extract the power angle curve data corresponding to the sub-structure under the main structure.
[0090] S132: Determine whether the power angle difference value of the power angle curve data within the first preset time window is greater than the power angle instability threshold; if not, confirm that the power angle of the power angle curve data is stable; if yes, confirm that the power angle curve data has power angle instability and record its header name.
[0091] During the power angle analysis, the power angle curve data corresponding to the substructure TitPage under the main structure SotPage is extracted, which is the power angle difference data of a certain unit. Then, based on expert experience judgment logic, a custom first preset time window t1 is selected for judgment. In this embodiment, there are no restrictions on the specific selection method of the first preset time window t1. For example, the entire time period of curve simulation can be selected, which has excellent judgment effect.
[0092] Furthermore, the difference in power angle curve data within the first preset time window t1 is determined. Is it greater than the angle instability threshold k1? In this embodiment, the value of the angle instability threshold k1 is not limited; for example, it can be set to 500. If the angle difference value is confirmed... If the power angle difference is not greater than the power angle instability threshold k1, then the power angle of the power angle curve data is confirmed to be stable. If the power angle difference value is confirmed... If the value is greater than the power angle instability threshold k1, then the power angle curve data is confirmed to have power angle instability, and its header name is recorded.
[0093] (ii) When the type of the main structure SotPage is voltage analysis type;
[0094] In some embodiments, analysis is performed on the substructures under each main structure according to the type of each main structure, including:
[0095] S141: Extract the voltage curve data corresponding to the substructures under the main structure.
[0096] S142: Obtain the total number of data points of the voltage curve data within the second preset time window.
[0097] S143: Determine the number of data points where the voltage curve data is less than the voltage instability threshold within the second preset time window.
[0098] S144: Determine the instability estimation probability corresponding to the voltage curve data based on the total number of data points and the data point count.
[0099] S145: Determine whether the estimated probability of instability is not less than the instability critical value; if not, confirm that the voltage curve data is stable; if so, confirm that the voltage curve data has voltage instability and record its header name.
[0100] In the voltage analysis process, the voltage curve data corresponding to the sub-structure TitPage under the main structure SotPage, i.e., the data of a certain bus voltage curve, is extracted. Then, a second preset time window t2 for judgment is selected according to the expert experience judgment logic. In this embodiment, the specific selection method of the second preset time window t2 is not limited, for example, the last 1s of the curve simulation time period can be selected, which has excellent judgment effect.
[0101] Further, the total data point number N1 of the voltage curve data in the second preset time window t2 is obtained, and the point data count I of the voltage curve data less than the voltage instability threshold k2 in the second preset time window t2 is determined i,j , that is, when the point data y on the voltage curve data i,j is less than the voltage instability threshold k2, I i,j is incremented by 1, otherwise it remains unchanged. It should be noted that the size of the voltage instability threshold k2 in this embodiment is not limited, for example, the voltage instability threshold k2 can be set to 0.9.
[0102] Then, the instability estimation probability corresponding to the voltage curve data is determined according to the total data point number N1 and the point data count I i,j , and the formula is as follows:
[0103] ;
[0104] Where P is the instability estimation probability.
[0105] Finally, it is determined whether the instability estimation probability P is not less than the instability threshold P k . In this embodiment, the size of the instability threshold P k is not limited, for example, it can be set to 50%. If it is confirmed that the instability estimation probability P is less than the instability threshold P k , it is confirmed that the voltage of the voltage curve data is stable; if it is confirmed that the instability estimation probability P is not less than the instability threshold P k , it is confirmed that the voltage curve data has voltage instability, and its table header name is recorded.
[0106] (Three) when the type of the main structure SotPage is the commutation failure analysis type;
[0107] In some embodiments, the analysis of the sub-structure under each main structure is performed according to the type of each main structure, including:
[0108] S151: Extracting the first commutation overlap angle curve data and the second commutation overlap angle curve data corresponding to the sub-structure under the main structure.
[0109] S152: Obtain a first total data point number of the first commutation overlap angle curve data and a second total data point number of the second commutation overlap angle curve data within a third preset time window.
[0110] S153: Determine a first point data count of the first commutation overlap angle curve data equal to the commutation failure threshold value within the third preset time window; wherein the first point data count is accumulated once when consecutive point data in the first commutation overlap angle curve data is equal to the commutation failure threshold value.
[0111] S154: Determine a second point data count of the second commutation overlap angle curve data equal to the commutation failure threshold value within the third preset time window; wherein the second point data count is accumulated once when consecutive point data in the second commutation overlap angle curve data is equal to the commutation failure threshold value.
[0112] S155: Determine a first commutation failure number according to the first total data point number and the first point data count, and determine a second commutation failure number according to the second total data point number and the second point data count.
[0113] S156: Determine a maximum value of the first commutation failure number and the second commutation failure number as a total commutation failure number.
[0114] In the commutation failure analysis process, the first commutation overlap angle curve data (i.e. the data of the field in the table header) and the second commutation overlap angle curve data (i.e. the data of the field in the table header) corresponding to the sub-structure TitPage under the main structure SotPage are extracted. Subsequently, a third preset time window t3 for judgment is selected according to the expert experience judgment logic. In this embodiment, the specific selection method of the third preset time window t3 is not limited, for example, the entire time period of the curve simulation time period can be selected, which has excellent judgment effect.
[0115] Further, a first total data point number N2 of the first commutation overlap angle curve data and a second total data point number N3 of the second commutation overlap angle curve data within the third preset time window t3 are obtained. Subsequently, a first point data count I i,h of the first commutation overlap angle curve data equal to the commutation failure threshold value k3 within the third preset time window t3 is determined, and a second point data count I i,l of the second commutation overlap angle curve data equal to the commutation failure threshold value k3 within the third preset time window t3 is determined, that is, when the point data y i,h on the first commutation overlap angle curve data is equal to the commutation failure threshold value k3, I i,h is increased by 1, otherwise it remains unchanged, and when the point data y i,l on the second commutation overlap angle curve data is equal to the commutation failure threshold value k3, Ii,l Increment by 1, otherwise remain unchanged. It is important to note that when consecutive data points in the first commutation overlap angle curve data equal the commutation failure threshold k3, the first data point count I... i,h Only once is the second point data count I accumulated when consecutive point data in the second commutation overlap angle curve data equals the commutation failure threshold k3. i,l Only accumulates once.
[0116] Subsequently, based on the first total data point count N2 and the first data point count I... i,h Determine the number of first commutation failures And based on the second total data point count N3 and the second data point count I i,l Determine the number of second commutation failures Finally, the number of first reversal failures, A, is... h Number of second commutation failures A l The maximum value in is determined to be the total number of commutation failures, A, that is... .
[0117] In this way, power angle analysis, voltage analysis, and commutation failure analysis of the power grid simulation results were implemented respectively. Users can subsequently focus on the instability curve based on the stability analysis summary information. If the judgments of power angle instability and voltage instability derived from the results are inconsistent with the conclusions drawn from manually examining the curves, the thresholds based on expert experience can be iteratively revised. For example, the power angle instability threshold k1 can be set to 400, and the instability critical value P... k Set to 40% to meet the user's needs for customized analysis.
[0118] In the above embodiments, the method for analyzing power grid simulation results has been described in detail. This application also provides embodiments of the power grid simulation result analysis device.
[0119] Figure 2 This is a schematic diagram of a power grid simulation result analysis device provided in an embodiment of this application. Figure 2 As shown, the device includes:
[0120] Module 10 is used to obtain the transient stability result file to be parsed based on the power grid simulation result folder.
[0121] The parsing module 11 is used to parse the stabilization result file into multiple main structures and parse the substructures corresponding to each main structure; wherein, the main structure represents the aggregation of power grid simulation data of the same type; and the substructure represents the simulation curve under the corresponding main structure.
[0122] Analysis module 12 is used to determine the type of each main structure and perform analysis on the substructures under each main structure according to the type of each main structure to obtain the corresponding analysis results.
[0123] The integration module 13 is configured to integrate the analysis results of the sub-structures to generate stable analysis summary information.
[0124] In some embodiments, the parsing module 11 comprises:
[0125] The first obtaining sub-module is configured to obtain the coordinate number and the coordinate name in the transient stability result file.
[0126] The first dividing sub-module is configured to divide the transient stability result file into a plurality of data segments according to the coordinate number and the coordinate name.
[0127] The defining sub-module is configured to define each data segment as a main structure.
[0128] In some embodiments, the parsing module 11 comprises:
[0129] The second obtaining sub-module is configured to obtain the table header and the curve data in the data segment.
[0130] The second dividing sub-module is configured to divide the data segment into a plurality of sub-structures according to the table header and the curve data.
[0131] In some embodiments, the analysis module 12 comprises:
[0132] The third obtaining sub-module is configured to obtain the coordinate name corresponding to each main structure.
[0133] The first determining sub-module is configured to determine the type of each main structure according to the corresponding coordinate name.
[0134] The type of the main structure at least includes a power angle analysis type, a voltage analysis type, and a commutation failure analysis type.
[0135] In some embodiments, the analysis module 12 comprises:
[0136] The first extracting sub-module is configured to extract the power angle curve data corresponding to the sub-structure under the main structure.
[0137] The first judging sub-module is configured to judge whether the power angle difference value of the power angle curve data within the first preset time window is greater than the power angle instability threshold value; if not, it is confirmed that the power angle curve data is stable; if yes, it is confirmed that the power angle curve data has power angle instability, and the table header name is recorded.
[0138] In some embodiments, the analysis module 12 comprises:
[0139] The second extracting sub-module is configured to extract the voltage curve data corresponding to the sub-structure under the main structure.
[0140] A fourth obtaining sub-module is configured to obtain a total number of data points of the voltage curve data within a second preset time window;
[0141] A second determining sub-module is configured to determine a point data count of the voltage curve data less than the voltage instability threshold within the second preset time window;
[0142] A third determining sub-module is configured to determine an instability estimation probability corresponding to the voltage curve data according to the total number of data points and the point data count.
[0143] A second judging sub-module is configured to judge whether the instability estimation probability is not less than an instability threshold value; if not, it is confirmed that the voltage of the voltage curve data is stable; if yes, it is confirmed that the voltage curve data has voltage instability, and the header name thereof is recorded.
[0144] In some embodiments, the analysis module 12 comprises:
[0145] A third extracting sub-module is configured to extract the first commutation overlap angle curve data and the second commutation overlap angle curve data corresponding to the sub-structure under the main structure;
[0146] A fifth obtaining sub-module is configured to obtain a first total number of data points of the first commutation overlap angle curve data and a second total number of data points of the second commutation overlap angle curve data within a third preset time window;
[0147] A fourth determining sub-module is configured to determine a first point data count of the first commutation overlap angle curve data equal to a commutation failure threshold value within the third preset time window; wherein the first point data count is accumulated once when consecutive point data in the first commutation overlap angle curve data is equal to the commutation failure threshold value;
[0148] A fifth determining sub-module is configured to determine a second point data count of the second commutation overlap angle curve data equal to the commutation failure threshold value within the third preset time window; wherein the second point data count is accumulated once when consecutive point data in the second commutation overlap angle curve data is equal to the commutation failure threshold value;
[0149] A sixth determining sub-module is configured to determine a first commutation failure number according to the first total number of data points and the first point data count, and determine a second commutation failure number according to the second total number of data points and the second point data count;
[0150] A seventh determining sub-module is configured to determine the maximum value of the first commutation failure number and the second commutation failure number as a total commutation failure number.
[0151] Since the embodiments of the device part correspond to the embodiments of the method part, the embodiments of the device part are described in the description of the embodiments of the method part, and will not be described here.
[0152] Figure 3A structural diagram of a power grid simulation result analysis device provided by an embodiment of the present application is shown in FIG. 1. As shown in FIG. 1, the power grid simulation result analysis device includes: Figure 3
[0153] a memory 20 for storing a computer program;
[0154] a processor 21 for implementing the steps of the power grid simulation result analysis method mentioned in the above embodiments when executing the computer program.
[0155] The power grid simulation result analysis device provided by the embodiment can include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, etc.
[0156] The processor 21 can include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one of a hardware form of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), a Programmable Logic Array (PLA). The processor 21 can also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a Central Processing Unit (CPU). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 can be integrated with a Graphics Processing Unit (GPU). The GPU is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 can also include an Artificial Intelligence (AI) processor for processing machine learning-related computing operations.
[0157] The memory 20 can include one or more computer-readable storage media that can be non-transitory. The memory 20 can also include high-speed random access memory and nonvolatile, computer-readable storage media such as one or more magnetic disk storage devices, flash memory devices. In this embodiment, the memory 20 is used at least to store the following computer program 201, wherein the computer program is loaded and executed by the processor 21 and can implement the related steps of the power grid simulation result analysis method disclosed in any of the preceding embodiments. In addition, the resources stored by the memory 20 can also include an operating system 202 and data 203, etc., and the storage mode can be temporary storage or permanent storage. The operating system 202 can include Windows, Unix, Linux, etc. The data 203 can include but is not limited to data related to the power grid simulation result analysis method.
[0158] In some embodiments, the power grid simulation result analysis device can further include a display screen 22, an input / output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
[0159] Those skilled in the art can understand that, Figure 3 The structure shown in the above-mentioned embodiments does not constitute a limitation on the power grid simulation result analysis device, and can include more or fewer components than those shown in the drawings.
[0160] Finally, the present application also provides an embodiment of a computer-readable storage medium. The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps described in the above method embodiments.
[0161] It can be understood that if the method in the above embodiments is implemented in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application essentially or say the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and executes all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0162] The power grid simulation result analysis method, device, equipment and medium provided by the present application are described in detail above. The embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts of each embodiment can be referred to. For the device disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part. It should be pointed out that for ordinary technical personnel in the technical field, without departing from the principles of the present application, the present application can be improved and modified in several ways, and these improvements and modifications also fall within the protection scope of the present application.
[0163] It should also be noted that in the present specification, the relationship terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or equipment. Without further limitation, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or equipment including the element.
Claims
1. A method for analyzing power grid simulation results, characterized in that, include: Obtain the metastability result file to be parsed from the power grid simulation result folder; The transient stability result file is parsed into multiple main structures, and the substructures corresponding to each main structure are parsed; wherein, the main structure represents the aggregation of power grid simulation data of the same type; and the substructure represents the simulation curves corresponding to the main structure. The type of each main structure is determined, and the substructures under each main structure are analyzed according to the type of each main structure to obtain the corresponding analysis results; The analysis results of each of the substructures are summarized and integrated to generate a stable analysis summary.
2. The method for analyzing power grid simulation results according to claim 1, characterized in that, The quasi-stabilized result file is parsed into multiple main structures, including: Obtain the coordinate number and coordinate name from the transient stability result file; The transient stability result file is divided into multiple data segments based on the coordinate number and coordinate name; Each of the data segments is defined as a main structure.
3. The method for analyzing power grid simulation results according to claim 2, characterized in that, The analysis of the substructures corresponding to each main structure includes: Obtain the header and curve data from the data segment; The data segment is divided into multiple substructures based on the header and curve data.
4. The method for analyzing power grid simulation results according to claim 1, characterized in that, Determine the type of each of the main structures, including: Obtain the coordinate names corresponding to each of the main structures; The type of each main structure is determined based on its corresponding coordinate name; The main structure type includes at least the power angle analysis type, voltage analysis type, and commutation failure analysis type.
5. The method for analyzing power grid simulation results according to claim 4, characterized in that, When the type of the main structure is power angle analysis, the substructures under each main structure are analyzed according to their respective types, including: Extract the power angle curve data corresponding to the substructures under the main structure; Determine whether the power angle difference value of the power angle curve data within the first preset time window is greater than the power angle instability threshold. If not, then confirm that the power angle of the power angle curve data is stable; If so, confirm that the power angle curve data has power angle instability and record its header name.
6. The method for analyzing power grid simulation results according to claim 4, characterized in that, When the type of the main structure is voltage analysis type, the substructures under each main structure are analyzed according to the type of each main structure, including: Extract the voltage curve data corresponding to the sub-structures under the main structure; Obtain the total number of data points of the voltage curve data within the second preset time window; The number of data points in the second preset time window where the voltage curve data is less than the voltage instability threshold is determined. The instability estimation probability corresponding to the voltage curve data is determined based on the total number of data points and the count of the data points. Determine whether the estimated instability probability is not less than the instability critical value; If not, then confirm that the voltage curve data is stable; If so, confirm that the voltage curve data shows voltage instability and record its header name.
7. The method for analyzing power grid simulation results according to claim 4, characterized in that, When the type of the main structure is commutation failure analysis, the substructures under each main structure are analyzed according to their respective types, including: Extract the first commutation overlap angle curve data and the second commutation overlap angle curve data corresponding to the sub-structures under the main structure; Obtain the first total number of data points of the first commutation overlap angle curve data and the second total number of data points of the second commutation overlap angle curve data within the third preset time window; The first point data count is determined to be equal to the commutation failure threshold within the third preset time window; wherein, when consecutive point data in the first commutation overlap angle curve data are equal to the commutation failure threshold, the first point data count is accumulated once. The second point data count is determined when the second commutation overlap angle curve data is equal to the commutation failure threshold within the third preset time window; wherein, when consecutive point data in the second commutation overlap angle curve data are equal to the commutation failure threshold, the second point data count is accumulated once; The first number of commutation failures is determined based on the first total number of data points and the first data point count, and the second number of commutation failures is determined based on the second total number of data points and the second data point count. The maximum value between the first commutation failure count and the second commutation failure count is determined as the total number of commutation failures.
8. A device for analyzing power grid simulation results, characterized in that, include: The acquisition module is used to obtain the transient stability result file to be parsed based on the power grid simulation result folder; The parsing module is used to parse the stabilization result file into multiple main structures and parse the substructures corresponding to each main structure; wherein, the main structure represents the aggregation of power grid simulation data of the same type; and the substructure represents the simulation curves corresponding to the main structure. An analysis module is used to determine the type of each main structure and to perform analysis on the substructures under each main structure according to the type of each main structure to obtain the corresponding analysis results. The integration module is used to summarize and integrate the analysis results of each of the substructures to generate stable analysis summary information.
9. A device for analyzing power grid simulation results, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the steps of the power grid simulation result analysis method as described in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the power grid simulation result analysis method as described in any one of claims 1 to 7.