Frequency modulation recording and broadcasting file analysis method and system

By providing a FM recording and broadcasting analysis method and system, the problem of inefficient automatic analysis of FM recording and broadcasting files in the prior art is solved, and fast and accurate data processing and visualization are achieved, and the efficiency and accuracy of frequency regulation performance evaluation of the power system are improved.

CN119648024APending Publication Date: 2025-03-18BEIJING GUODIAN SIDA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411576246.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

The prior art is difficult to automatically analyze FM recording and broadcast files, resulting in inefficiency and error proneness, and it is impossible to quickly and accurately extract and analyze key data in FM recording and broadcast files.

Method used

It provides a FM recording and broadcast file analysis method and system. By reading the target FM recording and broadcast file selected by the user, it generates a visual chart matching the preset target parameters, filters the data set to be analyzed, calculates the index values ​​of the preset key indicators, and updates the results to the visual chart for display.

Benefits of technology

It realizes automatic analysis of FM recording and broadcast files, improves the efficiency and accuracy of the frequency regulation performance evaluation of the power system, and can quickly and accurately extract and analyze key data in FM recording and broadcast files.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119648024A_ABST
    Figure CN119648024A_ABST
Patent Text Reader

Abstract

The invention provides a frequency modulation recorded broadcast file analysis method and system, and belongs to the field of power system automation. The method comprises the steps of reading a target frequency modulation recorded broadcast file in response to an operation of selecting the target frequency modulation recorded broadcast file by a user, and generating a visual chart containing content data matched with a preset target parameter based on the content data of the target frequency modulation recorded broadcast file; screening content data of the target frequency modulation recording and broadcasting file to obtain a to-be-analyzed data set; calculating the index value of each preset key index corresponding to the to-be-analyzed data set based on the calculation rule corresponding to each preset key index; and correspondingly updating the index value of each preset key index corresponding to the to-be-analyzed data set to the visual chart, and visually displaying the updated visual chart. While the target frequency modulation recorded broadcast file is automatically analyzed, the effect of quickly and accurately extracting and analyzing the index value of each preset key index in the target frequency modulation recorded broadcast file is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power system automation, and in particular to a frequency modulation recording and broadcasting file analysis method, a frequency modulation recording and broadcasting file analysis system, a machine-readable storage medium and an electronic device. Background Art

[0002] Frequency regulation is an important control link in the power system. In order to ensure the stable operation of the power grid, the frequency regulation process needs to be analyzed and evaluated in detail. Traditional analysis methods mainly rely on manual observation and calculation, which are inefficient and prone to errors. Therefore, how to realize the automatic analysis of frequency modulation recording files while quickly and accurately extracting and analyzing the key data in the frequency modulation recording files is an urgent problem to be solved. Summary of the invention

[0003] The purpose of the embodiments of the present invention is to provide a method and system for analyzing FM recorded broadcast files, so as to at least solve the above-mentioned problem of how to quickly and accurately extract and analyze key data in FM recorded broadcast files while realizing automatic analysis of FM recorded broadcast files.

[0004] In order to achieve the above object, the present invention provides a method for analyzing an FM recording and broadcasting file in a first aspect, comprising:

[0005] In response to the user's operation of selecting a target FM recording and broadcasting file, the target FM recording and broadcasting file is read, and based on the read content data of the target FM recording and broadcasting file, a visual chart containing the content data of the target FM recording and broadcasting file matching the preset target parameters is generated;

[0006] Screening the content data of the target FM recording and broadcasting file to obtain the data set to be analyzed;

[0007] Based on multiple preset key indicators and calculation rules corresponding to each preset key indicator, calculate the indicator value of each preset key indicator corresponding to the data set to be analyzed;

[0008] The indicator values ​​of each preset key indicator corresponding to the data set to be analyzed are updated to the visualization chart accordingly, and the updated visualization chart is visually displayed.

[0009] Optionally, in response to the user selecting the target FM recording and broadcasting file, reading the target FM recording and broadcasting file includes:

[0010] Acquiring operation data of a user selecting a target FM recording and broadcasting file through a graphical user interface;

[0011] The preset reading tool is used to read the content data of the target FM recording and broadcasting file selected by the user, and the format of the time column of the target FM recording and broadcasting file is converted into the datetime format.

[0012] Optionally, the content data of the target frequency modulation recording and broadcasting file matching the preset target parameters includes the actual value of active power and the set value of active power in the corresponding power system frequency regulation process;

[0013] The rules for generating visualization charts include:

[0014] Based on the preset drawing library, the actual value of active power and the set value of active power in the process of power system frequency regulation are plotted in the form of a line graph to create a visual chart.

[0015] Optionally, the screening rules of the above data set to be analyzed include:

[0016] The content data of the target FM recording and broadcasting file whose adjustment frequency exceeds the preset adjustment frequency is filtered to form a data set to be analyzed.

[0017] Optionally, the data set to be analyzed includes multiple data points sorted in chronological order, the content data in each data point is the content data of the target FM recording and broadcasting file at the same time, and the preset key indicators include the actual value fluctuation points of active power corresponding to multiple preset frequency adjustment amounts in the data set to be analyzed;

[0018] The calculation rules of the actual value fluctuation points of active power corresponding to the multiple preset frequency adjustment amounts in the above-mentioned data set to be analyzed include:

[0019] Obtaining an active power data set including a plurality of active power actual values ​​corresponding to each preset frequency adjustment amount in the data set to be analyzed; wherein each active power actual value in the active power data set is sorted in chronological order;

[0020] For each preset frequency adjustment amount, a data point corresponding to the actual active power value in the first fluctuation closest to the preset frequency adjustment amount in the corresponding active power data set is determined as the actual active power value fluctuation point corresponding to the preset frequency adjustment amount.

[0021] Optionally, the preset key indicators include a steady-state error corresponding to the data set to be analyzed;

[0022] The calculation rules for the steady-state error corresponding to the data set to be analyzed include:

[0023] Determine the number of data points in the data set to be analyzed;

[0024] When the number of data points in the data set to be analyzed exceeds a preset number, the maximum and minimum values ​​of the data points whose sorting positions are greater than the preset number are calculated, and the difference between the maximum and minimum values ​​of the data points whose sorting positions are greater than the preset number is taken as the steady-state error corresponding to the data set to be analyzed.

[0025] Optionally, the preset key indicators include response lag time and adjustment time corresponding to the data set to be analyzed;

[0026] The calculation rules for the response lag time and adjustment time corresponding to the data set to be analyzed include:

[0027] The time interval between the start of the power system responding to the input change and the start of the output change is obtained as the response lag time;

[0028] The time from the initial state to the actual value of the active power of the power system reaching the preset error range and remaining within the preset error range is obtained as the adjustment time.

[0029] A second aspect of the present invention provides a FM recording and broadcasting file analysis system, comprising:

[0030] A target FM recording and broadcasting file reading module is used to read the target FM recording and broadcasting file in response to the user's operation of selecting the target FM recording and broadcasting file, and generate a visual chart containing the content data of the target FM recording and broadcasting file matching the preset target parameters based on the content data of the read target FM recording and broadcasting file;

[0031] A screening module is used to screen the content data of the target FM recording and broadcasting file to obtain a data set to be analyzed;

[0032] An indicator value calculation module, used to calculate the indicator value of each preset key indicator corresponding to the data set to be analyzed based on multiple preset key indicators and calculation rules corresponding to each preset key indicator;

[0033] The visualization display module is used to update the indicator values ​​of each preset key indicator corresponding to the data set to be analyzed to the visualization chart, and to visually display the updated visualization chart.

[0034] In a third aspect of the present invention, a machine-readable storage medium is provided, on which instructions are stored. When the instructions are executed by a processor, the processor is configured to execute the above-mentioned FM recording and broadcasting file analysis method.

[0035] In a fourth aspect of the present invention, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for analyzing FM recorded broadcast files is implemented.

[0036] Through the above technical scheme, a method and system for analyzing FM recorded broadcast files are provided. According to the operation of selecting the target FM recorded broadcast file by the user, the target FM recorded broadcast file is read, and based on the content data of the read target FM recorded broadcast file, a visualization chart containing the content data of the target FM recorded broadcast file matching the preset target parameters is drawn to intuitively display the frequency regulation process of the power system. The content data of the target FM recorded broadcast file is filtered to obtain a data set to be analyzed. According to a plurality of preset key indicators and the calculation rules corresponding to each preset key indicator, the indicator values ​​of each preset key indicator corresponding to the data set to be analyzed are calculated to provide data support for the optimization of the power system. The indicator values ​​of each preset key indicator corresponding to the data set to be analyzed are correspondingly drawn on the visualization chart, so as to achieve the purpose of automatically marking each preset key indicator on the visualization chart, and the visualization chart marked with the preset key indicators is visualized. The method and system analyze the target frequency modulation recording and broadcasting file in detail by automatically selecting the target frequency modulation recording and broadcasting file, reading the target frequency modulation recording and broadcasting file, drawing a visualization chart, screening the data set to be analyzed, calculating each preset key indicator of the data set to be analyzed, and displaying a visualization chart marked with the preset key indicators, thereby achieving fast and accurate data processing and visualization, thereby achieving the purpose of improving the efficiency of the frequency regulation performance evaluation of the power system. While realizing the automated analysis of the target frequency modulation recording and broadcasting file, the effect of quickly and accurately extracting and analyzing the indicator values ​​of each preset key indicator in the target frequency modulation recording and broadcasting file is achieved, and a detailed visualization chart is generated.

[0037] Other features and advantages of the embodiments of the present invention will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:

[0039] Figure 1 It is a flow chart of a method for analyzing FM recording and broadcasting files provided by one embodiment of the present invention;

[0040] Figure 2 It is a schematic diagram showing an interface of a method for analyzing FM recording and broadcasting files provided by an embodiment of the present invention;

[0041] Figure 3 It is a block diagram of a FM recording and broadcasting file analysis system provided by one embodiment of the present invention;

[0042] Figure 4 It is a schematic diagram of the structure of an electronic device provided by a preferred embodiment of the present invention.

[0043] Description of Reference Numerals

[0044] 10 - electronic device, 100 - processor, 101 - memory, 102 - computer program. DETAILED DESCRIPTION

[0045] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.

[0046] The explanations of the professional and technical terms involved in the embodiments of this application are as follows:

[0047] Frequency modulation recording file: a file that records the frequency regulation process of the power system, usually containing information such as time, actual active power value, active power set value, frequency, etc.

[0048] CSV file: Comma-Separated Values ​​file, a common data storage format that stores tabular data in plain text;

[0049] Pandas: An open source Python data analysis library that provides high-performance, easy-to-use data structures and data analysis tools;

[0050] Matplotlib: A Python plotting library for creating high-quality charts and visualizations.

[0051] Tkinter: Python's standard GUI (graphical user interface) library for developing cross-platform desktop applications;

[0052] Time series analysis: analysis of chronological data sequences to reveal patterns and trends in data over time;

[0053] Active power: The power actually doing work in the power system, which is a physical quantity that measures the rate at which electrical energy is converted into other forms of energy (such as mechanical energy, thermal energy, etc.);

[0054] Setpoint: In a control system, the target value or standard value that the system is expected to achieve;

[0055] Adjustment amount: The amount of adjustment made to make the actual output of the system close to the set value;

[0056] Response lag time: The time interval between when the system starts responding to input changes and when the output starts changing;

[0057] Adjustment time: the time it takes for the system to reach and remain within the allowable error range of the set value from the initial state;

[0058] Steady-state error: the difference between the actual output and the set value after the system reaches a steady state;

[0059] Data filtering: Selecting a subset of data in a dataset based on specific conditions;

[0060] Data Annotation: Add annotations or tags to a chart or data set to highlight specific data points or trends.

[0061] Figure 1 FIG. 1 is a flow chart of a method for analyzing FM recording and broadcasting files provided by an embodiment of the present invention. Figure 1 As shown, an embodiment of the present invention provides a method for analyzing an FM recording and broadcasting file, comprising:

[0062] S110: In response to the user selecting the target FM recording and broadcasting file, the target FM recording and broadcasting file is read, and based on the read content data of the target FM recording and broadcasting file, a visualization chart containing the content data of the target FM recording and broadcasting file matching the preset target parameters is generated;

[0063] It is necessary to collect data during the FM recording and broadcasting process to form an FM recording and broadcasting file. The collected data during the FM recording and broadcasting process may include time, actual active power value, active power setting value, frequency, etc. The data during the FM recording and broadcasting process may come from the monitoring equipment or recording and broadcasting equipment of the power system.

[0064] In some implementations of this embodiment, in response to the user selecting the target FM recording and broadcasting file, reading the target FM recording and broadcasting file includes:

[0065] Acquiring operation data of a user selecting a target FM recording and broadcasting file through a graphical user interface;

[0066] Specifically, the method provides a graphical user interface, allowing the user to conveniently select an FM recording and broadcasting file in CSV format instead of manually inputting a file path, thereby improving the user experience and achieving the effect of automatically selecting a target FM recording and broadcasting file.

[0067] In some implementations of this embodiment, a command line parameter or a configuration file may also be used to specify a file path to select a target FM recording and broadcasting file.

[0068] The preset reading tool is used to read the content data of the target FM recording and broadcasting file selected by the user, and the format of the time column of the target FM recording and broadcasting file is converted into the datetime format.

[0069] Specifically, the preset reading tool can be the pandas library. Use the pandas library to read the FM recording and broadcasting file in CSV format, and convert the time column (wherein the time column is used to record the time when an event occurs, usually including specific information of date and time. For example, in a table, the time column can be named "time", "date and time", etc., so as to clearly distinguish different time information) into the datetime format for subsequent time series analysis. This achieves the effect of automatically reading the content data in the target FM recording and broadcasting file in CSV format.

[0070] In some implementations of this embodiment, numpy or csv modules may also be used to read and process the target FM recording and broadcasting file in CSV format.

[0071] In some implementations of this embodiment, the format conversion of the time column of the target FM recording and broadcasting file may also be achieved through string operations or regular expressions.

[0072] In some implementations of this embodiment, the content data of the target frequency modulation recording file matching the preset target parameters includes the actual value of active power and the set value of active power in the corresponding power system frequency regulation process; the generation rules of the visual chart include: based on the preset drawing library, the actual value of active power and the set value of active power in the power system frequency regulation process are plotted in the form of a line graph to create a visual chart.

[0073] Specifically, the preset drawing library may be a matplotlib library. The matplotlib library is used to automatically draw a curve graph of the actual value of active power and the set value of active power to intuitively display the frequency regulation process of the power system.

[0074] In some implementations of this embodiment, a drawing library such as seaborn or plotly can also be used to create a visual chart. For static charts, Excel or other electronic spreadsheet software can also be used to draw.

[0075] S120: Screening the content data of the target FM recording and broadcasting file to obtain a data set to be analyzed;

[0076] In some implementations of this embodiment, the screening rule of the data set to be analyzed includes: screening content data whose modulation frequency exceeds a preset modulation frequency in the content data of the target FM recording and broadcasting file to form the data set to be analyzed.

[0077] Specifically, the content data of the target FM recording file whose modulation frequency exceeds the preset modulation frequency is selected as the data set to be analyzed, thereby achieving the purpose of automatically selecting the data set to be analyzed according to specific conditions (i.e. selecting content data according to modulation frequency).

[0078] In some implementations of this embodiment, if the content data of the target FM recording and broadcasting file is stored in a database, a database query language (such as SQL) may be used to filter the data set to be analyzed, or the conditional index function of numpy may be used to filter array data.

[0079] S130: Calculating the indicator value of each preset key indicator corresponding to the data set to be analyzed based on multiple preset key indicators and calculation rules corresponding to each preset key indicator;

[0080] In some implementations of the present embodiment, the above-mentioned data set to be analyzed includes multiple data points sorted in chronological order, the content data in each data point is the content data of the target FM recording file at the same time, and the preset key indicators include the actual active power value fluctuation points corresponding to the multiple preset frequency adjustment amounts in the data set to be analyzed; the calculation rules for the actual active power value fluctuation points corresponding to the multiple preset frequency adjustment amounts in the above-mentioned data set to be analyzed include: obtaining an active power data set containing multiple actual active power values ​​corresponding to each preset frequency adjustment amount in the data set to be analyzed; wherein each actual active power value in the active power data set is sorted in chronological order; for each preset frequency adjustment amount, determine the data point corresponding to the actual active power value in the first fluctuation closest to the preset frequency adjustment amount in the corresponding active power data set as the actual active power value fluctuation point corresponding to the preset frequency adjustment amount.

[0081] Exemplarily, the above-mentioned preset frequency adjustment amount includes a frequency adjustment amount of 10% and a frequency adjustment amount of 90%. From the active power data set corresponding to the frequency adjustment amount of 10% and containing multiple actual active power values, the data point corresponding to the actual active power value in the first fluctuation closest to the frequency adjustment amount of 10% is searched as the actual active power value fluctuation point corresponding to the frequency adjustment amount of 10%. From the active power data set corresponding to the frequency adjustment amount of 90% and containing multiple actual active power values, the data point corresponding to the actual active power value in the first fluctuation closest to the frequency adjustment amount of 90% is searched as the actual active power value fluctuation point corresponding to the frequency adjustment amount of 90%.

[0082] In some implementations of the present embodiment, the above-mentioned preset key indicators include the steady-state error corresponding to the data set to be analyzed; the calculation rules of the steady-state error corresponding to the data set to be analyzed include: determining the number of data points in the data set to be analyzed; when the number of data points in the data set to be analyzed exceeds the preset number, calculating the maximum and minimum values ​​of the data points whose sorting positions are greater than the preset number of values ​​in the data set to be analyzed, and taking the difference between the maximum and minimum values ​​of the data points whose sorting positions are greater than the preset number of values ​​as the steady-state error corresponding to the data set to be analyzed.

[0083] Exemplarily, the preset number may be 150. If the number of data points in the data set to be analyzed exceeds 150, the maximum and minimum values ​​of the data points after 150 data points are calculated, and the difference between the maximum and minimum values ​​of the data points after 150 data points is used as the steady-state error.

[0084] In some implementations of the present embodiment, the above-mentioned preset key indicators include the response lag time and adjustment time corresponding to the data set to be analyzed; the calculation rules of the response lag time and adjustment time corresponding to the data set to be analyzed include: obtaining the time interval between the start of the power system response to the input change and the start of the output change as the response lag time; obtaining the time for the actual active power value of the power system to reach the preset error range and remain within the preset error range from the initial state as the adjustment time.

[0085] The preset error range is characterized by being within the allowable error range of the active power setting value.

[0086] In some implementations of this embodiment, after calculating the response lag time and the adjustment time, it can be determined whether the response lag time and the adjustment time meet specific conditions to further provide data support for optimization of the power system.

[0087] In some implementations of this embodiment, for the calculation of preset key indicators, mathematical formulas or custom functions can be used to calculate preset key indicators such as response lag time, adjustment time and steady-state error. For complex statistical calculations, functions in the scipy library can be used.

[0088] S140: updating the indicator values ​​of the preset key indicators corresponding to the data set to be analyzed to the visualization chart, and visually displaying the updated visualization chart.

[0089] Specifically, additional information (including response lag time, adjustment time, and steady-state error waiting for the indicator values ​​of each preset key indicator corresponding to the analysis data set) is added to the visualization chart obtained in step S110, so as to achieve the purpose of automatically marking each preset key indicator on the visualization chart, and display the visualization chart marked with the preset key indicators to display the detailed analysis results of the power system frequency regulation process.

[0090] Please refer to Figure 2 , Figure 2 It is a schematic diagram of an interface display of a method for analyzing a frequency modulation recording and broadcasting file provided by an embodiment of the present invention. For example, the data points of the frequency adjustment amount 10% and the frequency adjustment amount 90%, the point where the first "actual value of active power" is "frequency modulation start", and the data points of the maximum value and the minimum value are marked.

[0091] In the above implementation process, the method reads the target FM recording and broadcasting file according to the operation of the user selecting the target FM recording and broadcasting file, and draws a visual chart containing the content data of the target FM recording and broadcasting file matching the preset target parameters based on the content data of the read target FM recording and broadcasting file, so as to intuitively display the frequency regulation process of the power system. The content data of the target FM recording and broadcasting file is screened to obtain a data set to be analyzed. According to a plurality of preset key indicators and the calculation rules corresponding to each preset key indicator, the index values ​​of each preset key indicator corresponding to the data set to be analyzed are calculated to provide data support for the optimization of the power system. The index values ​​of each preset key indicator corresponding to the data set to be analyzed are correspondingly drawn on the visual chart, so as to achieve the purpose of automatically marking each preset key indicator on the visual chart, and visually display the visual chart marked with the preset key indicator. The method analyzes the target FM recording and broadcasting file in detail by automatically selecting the target FM recording and broadcasting file, reading the target FM recording and broadcasting file, drawing the visual chart, screening the data set to be analyzed, calculating each preset key indicator of the data set to be analyzed and displaying the visual chart marked with the preset key indicator, so as to achieve the purpose of improving the efficiency of the frequency regulation performance evaluation of the power system. While realizing the automated analysis of the target FM recording and broadcasting files, it also achieves the effect of quickly and accurately extracting and analyzing the indicator values ​​of each preset key indicator in the target FM recording and broadcasting files, and generates detailed visual charts.

[0092] In some implementations of this embodiment, a text file or log system may be used to record the indicator values ​​of each preset key indicator corresponding to the data set to be analyzed. A web application is created using a web framework (such as Flask or Django) to display a visual chart.

[0093] When the method is actually used to analyze the target FM recording file, the implementation of the method includes the following steps: 1) Select a file: select a CSV file through a graphical user interface; 2) Read and process data: use the pandas library to read the file content and perform necessary data processing (for example, data cleaning (removing outliers or erroneous data), data conversion (such as converting timestamps to readable date and time formats), etc.). 3) Data analysis and calculation: calculate the indicator values ​​of each preset key indicator according to the calculation rules corresponding to each preset key indicator; 4) Result display: use the matplotlib library to draw a curve chart to obtain a visual chart, and add relevant information to the visual chart (including response lag time, adjustment time and steady-state error waiting for the indicator values ​​of each preset key indicator corresponding to the analysis data set). The specific process is as follows: the main loop starts, first select the file (the process of selecting the file is: pop up the file selection dialog box, and get the file path according to the CSV file selected by the user), then read the CSV file (the process of reading the CSV file is: use pandas to read the file content and convert the time format), and draw the graph (the process of drawing the graph is: create the graph and coordinate axis; draw the line chart of the actual value and the set value of the active power, and set the coordinate axis label, grid line and legend), then filter the data set according to the frequency, and calculate the indicator values ​​of each preset key indicator according to the filtered data set (including: ① calculate the adjustment amount and 10% and 90% of the adjustment amount, and find the value in the first fluctuation closest to the adjustment amount 10% and 90%; ② calculate the response lag time and adjustment time, and judge whether the response lag time and adjustment time meet the conditions). Then add additional information to the visual chart (including marking the adjustment amount 10% and 90%, marking the first "actual value of active power" as "frequency modulation start", marking the maximum and minimum values ​​(if the data points exceed 150)), and finally display the visual chart with additional information, and end the main loop. This method uses Python language to automatically read FM recording files in CSV format, extract key data, perform a series of analyses and calculations, and display the results in a graphical way. It can automatically read, process and analyze data in the FM process and provide visual results, which can significantly improve the efficiency and accuracy of FM recording file analysis and provide strong support for the optimization of power systems.The method can realize automatic analysis of the frequency regulation process of the power system (i.e., the user does not need to manually perform complex data processing and calculations, and the system automatically completes the whole process from file selection to result display, which greatly improves the analysis efficiency), intuitive graphical display (i.e., the curves of the actual value and set value of active power are intuitively displayed through visual charts, and the key indicators are marked to help users better understand the frequency regulation performance of the system), calculation of key performance indicators (i.e., automatic calculation of key performance indicators such as response lag time, regulation time and steady-state error, providing data support for the optimization of the power system), user-friendly interaction (i.e., the use of a graphical user interface simplifies user operations, and even data analysis novices can quickly get started), providing detailed result reports (i.e., directly displaying the analysis results on the visual chart, including information on key points and key indicators, so that users can quickly obtain the required information), flexibility and scalability (i.e., the code structure is clear, easy to modify and expand, and can be adjusted according to different analysis requirements), high compatibility (i.e., supporting common CSV file formats, suitable for a variety of operating systems and Python environments), and reducing human errors (i.e., automated processing reduces the intervention of human operations, thereby reducing the possibility of errors). Thus, the efficiency and accuracy of the power system frequency regulation performance evaluation are improved.

[0094] It should be noted that, according to the actual needs of users, more data analysis functions can be added, such as spectrum analysis, anomaly detection, etc., to provide a more comprehensive performance evaluation.

[0095] Figure 3 FIG. 1 is a block diagram of an FM recording and broadcasting file analysis system provided by an embodiment of the present invention. Figure 3 As shown, an embodiment of the present invention provides a FM recording and broadcasting file analysis system, comprising:

[0096] A target FM recording and broadcasting file reading module is used to read the target FM recording and broadcasting file in response to the user's operation of selecting the target FM recording and broadcasting file, and generate a visual chart containing the content data of the target FM recording and broadcasting file matching the preset target parameters based on the content data of the read target FM recording and broadcasting file;

[0097] A screening module is used to screen the content data of the target FM recording and broadcasting file to obtain a data set to be analyzed;

[0098] An indicator value calculation module, used to calculate the indicator value of each preset key indicator corresponding to the data set to be analyzed based on multiple preset key indicators and calculation rules corresponding to each preset key indicator;

[0099] The visualization display module is used to update the indicator values ​​of each preset key indicator corresponding to the data set to be analyzed to the visualization chart, and to visually display the updated visualization chart.

[0100] Specifically, the system reads the target frequency modulation recording and broadcasting file according to the operation of the user selecting the target frequency modulation recording and broadcasting file, and draws a visualization chart containing the content data of the target frequency modulation recording and broadcasting file matching the preset target parameters based on the content data of the read target frequency modulation recording and broadcasting file, so as to intuitively display the frequency regulation process of the power system. The content data of the target frequency modulation recording and broadcasting file is screened to obtain a data set to be analyzed. According to a plurality of preset key indicators and the calculation rules corresponding to each preset key indicator, the indicator values ​​of each preset key indicator corresponding to the data set to be analyzed are calculated to provide data support for the optimization of the power system. The indicator values ​​of each preset key indicator corresponding to the data set to be analyzed are correspondingly drawn on the visualization chart, so as to achieve the purpose of automatically marking each preset key indicator on the visualization chart, and visually display the visualization chart marked with the preset key indicators. The system analyzes the target frequency modulation recording and broadcasting file in detail by automatically selecting the target frequency modulation recording and broadcasting file, reading the target frequency modulation recording and broadcasting file, drawing the visualization chart, screening the data set to be analyzed, calculating each preset key indicator of the data set to be analyzed and displaying the visualization chart marked with the preset key indicator, so as to achieve the purpose of improving the efficiency of the frequency regulation performance evaluation of the power system. While realizing the automated analysis of the target FM recording and broadcasting files, it also achieves the effect of quickly and accurately extracting and analyzing the indicator values ​​of each preset key indicator in the target FM recording and broadcasting files, and generates detailed visual charts.

[0101] The embodiment of the present invention further provides a machine-readable storage medium, on which instructions are stored. When the instructions are executed by the processor 100, the processor 100 is configured to execute the above-mentioned FM recording and broadcasting file analysis method.

[0102] Machine-readable storage media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0103] The embodiment of the present invention further provides an electronic device 10, which includes a memory 101, a processor 100, and a computer program 102 stored in the memory 101 and executable on the processor 100. When the processor 100 executes the computer program 102, the above-mentioned FM recording and broadcasting file analysis method is implemented.

[0104] like Figure 4 FIG. 1 is a schematic diagram of an electronic device provided by an embodiment of the present invention. Figure 4 As shown, the electronic device 10 of this embodiment includes: a processor 100, a memory 101, and a computer program 102 stored in the memory 101 and executable on the processor 100. When the processor 100 executes the computer program 102, the steps in the above method embodiment are implemented. Alternatively, when the processor 100 executes the computer program 102, the functions of each module / unit in the above device embodiment are implemented.

[0105] Exemplarily, the computer program 102 may be divided into one or more modules / units, one or more modules / units are stored in the memory 101, and are executed by the processor 100 to complete the present invention. One or more modules / units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 102 in the electronic device 10. For example, the computer program 102 may be divided into a target FM recording file reading module, a screening module, an index value calculation module, and a visualization display module.

[0106] The electronic device 10 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device 10 may include, but is not limited to, a processor 100 and a memory 101. Those skilled in the art will appreciate that Figure 4 It is only an example of the electronic device 10 and does not constitute a limitation of the electronic device 10. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0107] The processor 100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0108] The memory 101 may be an internal storage unit of the electronic device 10, such as a hard disk or memory of the electronic device 10. The memory 101 may also be an external storage device of the electronic device 10, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 10. Further, the memory 101 may also include both an internal storage unit of the electronic device 10 and an external storage device. The memory 101 is used to store computer programs and other programs and data required by the electronic device 10. The memory 101 may also be used to temporarily store data that has been output or is to be output.

[0109] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0110] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program 102 products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program 102 product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0111] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program 102 products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by the computer program 102 instructions. These computer program 102 instructions can be provided to a processor 100 of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor 100 of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0112] These computer program 102 instructions may also be stored in a computer readable memory 101 that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory 101 produce an article of manufacture including an instruction device that implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0113] These computer program 102 instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0114] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0115] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for analyzing FM recording and broadcasting files, characterized in that: include: In response to the user's operation of selecting a target FM recording and broadcasting file, the target FM recording and broadcasting file is read, and based on the read content data of the target FM recording and broadcasting file, a visual chart containing the content data of the target FM recording and broadcasting file matching the preset target parameters is generated; Screening the content data of the target FM recording and broadcasting file to obtain the data set to be analyzed; Based on multiple preset key indicators and calculation rules corresponding to each preset key indicator, calculate the indicator value of each preset key indicator corresponding to the data set to be analyzed; The indicator values ​​of the preset key indicators corresponding to the data set to be analyzed are updated to the visualization chart accordingly, and the updated visualization chart is visually displayed.

2. The FM recording and broadcasting file analysis method according to claim 1, characterized in that: In response to the user selecting the target FM recording and broadcasting file, reading the target FM recording and broadcasting file includes: Acquiring operation data of a user selecting a target FM recording and broadcasting file through a graphical user interface; The preset reading tool is used to read the content data of the target FM recording and broadcasting file selected by the user, and the format of the time column of the target FM recording and broadcasting file is converted into the datetime format.

3. The FM recording and broadcasting file analysis method according to claim 1, characterized in that: The content data of the target frequency modulation recording and broadcasting file matching the preset target parameters includes the actual value of active power and the set value of active power in the corresponding power system frequency regulation process; The generation rules of the visualization chart include: Based on the preset drawing library, the actual value of active power and the set value of active power in the process of power system frequency regulation are plotted in the form of a line graph to create a visual chart.

4. The FM recording and broadcasting file analysis method according to claim 1, characterized in that: The screening rules of the data set to be analyzed include: The content data of the target FM recording and broadcasting file whose adjustment frequency exceeds the preset adjustment frequency is filtered to form a data set to be analyzed.

5. The FM recording and broadcasting file analysis method according to claim 1, characterized in that: The data set to be analyzed includes multiple data points sorted in chronological order, the content data in each data point is the content data of the target FM recording and broadcasting file at the same time, and the preset key indicators include the actual value fluctuation points of active power corresponding to the multiple preset frequency adjustment amounts in the data set to be analyzed; The calculation rules for the actual value fluctuation points of active power corresponding to the multiple preset frequency adjustment amounts in the data set to be analyzed include: Obtaining an active power data set including a plurality of active power actual values ​​corresponding to each preset frequency adjustment amount in the data set to be analyzed; wherein each active power actual value in the active power data set is sorted in chronological order; For each preset frequency adjustment amount, a data point corresponding to the actual active power value in the first fluctuation closest to the preset frequency adjustment amount in the corresponding active power data set is determined as the actual active power value fluctuation point corresponding to the preset frequency adjustment amount.

6. The FM recording and broadcasting file analysis method according to claim 5, characterized in that: The preset key indicators include the steady-state error corresponding to the data set to be analyzed; The calculation rules of the steady-state error corresponding to the data set to be analyzed include: Determine the number of data points in the data set to be analyzed; When the number of data points in the data set to be analyzed exceeds a preset number, the maximum and minimum values ​​of the data points whose sorting positions are greater than the preset number are calculated, and the difference between the maximum and minimum values ​​of the data points whose sorting positions are greater than the preset number is taken as the steady-state error corresponding to the data set to be analyzed.

7. The method for analyzing FM recording and broadcasting files according to claim 1, characterized in that: The preset key indicators include the response lag time and adjustment time corresponding to the data set to be analyzed; The calculation rules for the response lag time and adjustment time corresponding to the data set to be analyzed include: The time interval between the start of the power system responding to the input change and the start of the output change is obtained as the response lag time; The time from the initial state to the actual value of the active power of the power system reaching the preset error range and remaining within the preset error range is obtained as the adjustment time.

8. A FM recording and broadcasting file analysis system, characterized in that: include: A target FM recording and broadcasting file reading module is used to read the target FM recording and broadcasting file in response to the user's operation of selecting the target FM recording and broadcasting file, and generate a visual chart containing the content data of the target FM recording and broadcasting file matching the preset target parameters based on the content data of the read target FM recording and broadcasting file; A screening module is used to screen the content data of the target FM recording and broadcasting file to obtain a data set to be analyzed; An indicator value calculation module, used to calculate the indicator value of each preset key indicator corresponding to the data set to be analyzed based on multiple preset key indicators and calculation rules corresponding to each preset key indicator; The visualization display module is used to update the indicator values ​​of each preset key indicator corresponding to the data set to be analyzed to the visualization chart, and to perform visual display on the updated visualization chart.

9. A machine-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by a processor, the processor is configured to execute the FM recording and broadcasting file analysis method as described in any one of claims 1 to 7.

10. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method for analyzing FM recorded broadcast files described in any one of claims 1 to 7 is implemented.