Power load forecast result optimization method, device, terminal equipment and storage medium
By establishing an environmental monitoring time window in the power load forecast and performing parameter compensation, the problem of inaccurate forecast results caused by not taking environmental parameters into account is solved, and the accuracy of power load forecasting and system stability are improved.
Patent Information
- Application Number
- CN202411568292.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2044-11-05
AI Technical Summary
Existing power load forecasting methods fail to fully consider environmental parameters, resulting in low accuracy of forecast results.
By obtaining the standard empirical probability of abnormalities in the scheduling period, establishing an environmental monitoring time window, comparing the predicted and actual environmental parameters, performing environmental parameter compensation, and optimizing the power load forecast results.
The accuracy of power load forecasting is improved, ensuring the economy and reliability of the power system.
Smart Images

Figure CN119514775B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system load forecasting, and in particular to a method, device, terminal equipment and storage medium for optimizing power load forecasting results. Background Art
[0002] In power systems, power load forecasting is a crucial component in ensuring a stable and secure power supply. Accurate power load forecasting helps grid dispatchers make appropriate power generation plans, effectively avoiding power surpluses and shortages, and thus ensuring the economic efficiency and reliability of the power system. However, numerous factors influence power load, and variations in environmental parameters are a key factor that cannot be ignored.
[0003] Existing power load forecasting methods often perform no additional optimization after forecasting the load, particularly lacking consideration of environmental parameters. Given the importance of environmental parameters for load forecasting, it's clear that the accuracy of existing predictions is low. Therefore, to improve forecast accuracy, it's necessary to compensate for environmental parameters in power load forecasts. Summary of the Invention
[0004] The present invention provides a method, an apparatus, a terminal device and a storage medium for optimizing power load forecasting results, so as to solve the technical problem that the prediction results in the prior art are not accurate enough.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a method for optimizing power load forecasting results, comprising:
[0006] Obtaining a standard empirical probability of abnormality for each time period in a scheduling cycle; wherein the scheduling cycle is divided into a plurality of time periods; the standard empirical probability of abnormality refers to a standard empirical probability of abnormality in the predicted power load data;
[0007] For each of the time periods, if the standard empirical probability of anomalies in the time period is less than or equal to a preset probability threshold, a first environmental monitoring time window is established at the time when the power load data is predicted to be abnormal within the time period, and predicted environmental parameters and actual environmental parameters corresponding to each of the first environmental monitoring time windows are obtained;
[0008] For each of the first environmental monitoring time windows, when the predicted environmental parameters corresponding to the first environmental monitoring time window are inconsistent with the actual environmental parameters, performing an environmental parameter compensation operation on the predicted power load data corresponding to the first environmental monitoring time window;
[0009] If the abnormal standard empirical probability is greater than the probability threshold, a second environmental monitoring time window is established at the start time of the time period, and the following operations are repeatedly performed:
[0010] Obtain the predicted environmental parameters and actual environmental parameters corresponding to the current second environmental monitoring time window;
[0011] When the predicted environmental parameters corresponding to the second environmental monitoring time window are inconsistent with the actual environmental parameters, performing an environmental parameter compensation operation on the predicted power load data corresponding to the second environmental monitoring time window, and marking the second environmental monitoring time window as an abnormal window;
[0012] When the number of all second environment monitoring time windows within the time period is equal to a preset window number threshold, the time period is divided into a left time period before the dividing point and a right time period after the dividing point, with the end time of the current second environment monitoring time window as the dividing point;
[0013] If the proportion of abnormal windows in the left time period is greater than the preset proportion threshold, a new second environmental monitoring time window is set at the end time of the current second environmental monitoring time window; otherwise, a new second environmental monitoring time window is established at the moment when the power data is predicted to be abnormal in the right time period.
[0014] As a preferred solution, the method for determining abnormality in the predicted power load data includes:
[0015] Acquiring actual power load data corresponding to the predicted power load data;
[0016] Calculating a deviation between the predicted power load data and the actual power load data;
[0017] If the deviation value is greater than a preset deviation threshold, the predicted power load data is determined to be abnormal.
[0018] As a preferred solution, before obtaining the abnormal standard empirical probability of each time period in the scheduling cycle, the following is also included:
[0019] Obtain forecasted power load data and actual power load data for several historical dispatch cycles;
[0020] For each of the historical scheduling cycles, based on the predicted power load data and the actual power load data of the historical scheduling cycle, calculate the abnormality probability of each time period in the historical scheduling cycle; wherein the abnormality probability refers to the probability of abnormality in the predicted power load data;
[0021] For each time period, the average value of the abnormality probabilities corresponding to the time period in all the historical scheduling cycles is calculated as the abnormality standard empirical probability of the time period.
[0022] As a preferred solution, obtain the predicted environmental parameters, including:
[0023] Acquire predicted power load data corresponding to the predicted environmental parameter to be acquired as first data;
[0024] Inputting the first data into a trained environmental parameter prediction model so that the environmental parameter prediction model outputs corresponding predicted environmental parameters based on the first data;
[0025] The training process of the environmental parameter prediction model includes:
[0026] Obtaining some historical power load data and its corresponding historical environmental parameters;
[0027] Using the historical power load data as sample data and the corresponding historical environmental parameters as labels for the sample data;
[0028] Construct an initial model with power load data as input and environmental parameters as output;
[0029] The initial model is trained according to the sample data to obtain a trained environmental parameter prediction model.
[0030] As a preferred solution, obtain forecasted power load data, including:
[0031] According to the existing power load forecasting model, obtaining input data corresponding to the power load data to be forecasted;
[0032] The input data is input into the power load prediction model so that the power load prediction model outputs corresponding predicted power load data according to the input data.
[0033] As a preferred solution, the environmental parameter compensation operation includes:
[0034] According to the predicted power load data to be compensated and its corresponding actual power load data, the corresponding compensation parameters are obtained from a preset compensation parameter comparison table;
[0035] The predicted power load data to be compensated is compensated according to the compensation parameters.
[0036] As a preferred solution, before obtaining the abnormal standard empirical probability of each time period in the scheduling cycle, the following is also included:
[0037] Obtain voltage and frequency data of power equipment;
[0038] Determining the duration of abnormal fluctuations of the power equipment based on the voltage data and frequency data;
[0039] If the abnormal fluctuation duration is longer than the preset duration, no subsequent operation is performed; otherwise, the subsequent operation is continued.
[0040] Based on the above embodiment, another embodiment of the present invention provides a device for optimizing power load forecast results, comprising: a data acquisition module and a result optimization module;
[0041] The data acquisition module is used to obtain the standard empirical probability of abnormality for each time period in the scheduling cycle; wherein the scheduling cycle is divided into a number of time periods; the standard empirical probability of abnormality refers to the standard empirical probability of abnormality in the predicted power load data;
[0042] The result optimization module is used to establish a first environmental monitoring time window at the moment when the power load data is predicted to be abnormal within the time period, if the abnormal standard empirical probability of the time period is less than or equal to the preset probability threshold, and obtain the predicted environmental parameters and actual environmental parameters corresponding to each of the first environmental monitoring time windows; for each of the first environmental monitoring time windows, when the predicted environmental parameters corresponding to the first environmental monitoring time window are inconsistent with the actual environmental parameters, perform an environmental parameter compensation operation on the predicted power load data corresponding to the first environmental monitoring time window; if the abnormal standard empirical probability is greater than the probability threshold, establish a second environmental monitoring time window at the starting moment of the time period, and repeat the following operations: obtain the predicted environmental parameters and actual environmental parameters corresponding to the current second environmental monitoring time window Parameters; when the predicted environmental parameters corresponding to the second environmental monitoring time window are inconsistent with the actual environmental parameters, the environmental parameter compensation operation is performed on the predicted power load data corresponding to the second environmental monitoring time window, and the second environmental monitoring time window is marked as an abnormal window; when the number of all second environmental monitoring time windows in the time period is equal to the preset window number threshold, the end time of the current second environmental monitoring time window is used as the dividing point, and the time period is divided into a left time period before the dividing point and a right time period after the dividing point; if the proportion of abnormal windows in the left time period is greater than the preset proportion threshold, a new second environmental monitoring time window is set at the end time of the current second environmental monitoring time window, otherwise, a new second environmental monitoring time window is established at the moment when the predicted power data in the right time period is abnormal.
[0043] Based on the above embodiments, another embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the power load forecasting result optimization method described in the above invention embodiment is implemented.
[0044] Based on the above embodiment, another embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the power load forecast result optimization method described in the above embodiment of the invention.
[0045] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0046] The present invention first determines a method for establishing an environmental monitoring time window based on an abnormal standard empirical probability. When the abnormal standard empirical probability is not greater than a probability threshold, a first environmental monitoring window is selected to be established at the moment when the abnormality occurs, and the predicted environmental parameters and actual environmental parameters of the first environmental monitoring time window are compared. When the two are inconsistent, environmental parameter compensation is performed; when the abnormal standard empirical probability is greater than the probability threshold, a second environmental monitoring time window is selected to be established at the starting moment of a time period; the moment of a demarcation point is determined based on the number of all current second environmental monitoring time windows, and when the number of windows meets the window number threshold, the demarcation point is set at the end moment of the current second environmental monitoring time window to divide the time period; further, a method for establishing an environmental monitoring time window for a right time period is determined based on the proportion of abnormal windows in a left time period, and when the proportion of abnormal windows is greater than the proportion threshold, a new second environmental monitoring time window is set at the end moment of the current second environmental monitoring time window; otherwise, a new second environmental monitoring time window is established at the moment when data in the right time period is abnormal; the predicted environmental parameters and actual environmental parameters of the second environmental monitoring time window are compared, and when the two are inconsistent, environmental parameter compensation is performed. The present invention provides a method for compensating for environmental parameters in predicted power load data, which can optimize power load prediction results and improve the accuracy of prediction results. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 This is a flow chart of a method for optimizing power load forecasting results provided by one embodiment of the present invention;
[0048] Figure 2 It is a structural diagram of a power load forecast result optimization device provided by one embodiment of the present invention. DETAILED DESCRIPTION
[0049] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0050] Example 1
[0051] Please refer to Figure 1 , which is a flow chart of a method for optimizing power load forecasting results provided by one embodiment of the present invention, comprising:
[0052] S1. Obtaining a standard empirical probability of abnormality for each time period in a scheduling cycle; wherein the scheduling cycle is divided into a number of time periods; the standard empirical probability of abnormality refers to a standard empirical probability of abnormality in predicted power load data.
[0053] In step S1, the scheduling cycle includes several time periods, and the abnormal standard empirical probability of each time period is obtained.
[0054] It should be noted that the dispatch cycle is generally one day, divided into several equal time periods, typically 30 minutes in length. The standard empirical probability of an anomaly for a time period refers to the standard empirical probability of an anomaly in the forecasted power load data corresponding to that time period. An anomaly in forecasted power load data primarily refers to a significant deviation between the forecasted data and the actual data.
[0055] In a preferred embodiment, the method for determining abnormality in predicted power load data includes:
[0056] Acquiring actual power load data corresponding to the predicted power load data;
[0057] Calculating a deviation between the predicted power load data and the actual power load data;
[0058] If the deviation value is greater than a preset deviation threshold, the predicted power load data is determined to be abnormal.
[0059] In this embodiment, a method for determining abnormality of predicted power load data is provided, wherein predicted power load data whose deviation from actual power data exceeds a deviation threshold is regarded as abnormal.
[0060] In a preferred embodiment, before obtaining the abnormal standard empirical probability of each time period in the scheduling cycle, the method further includes:
[0061] Obtain forecasted power load data and actual power load data for several historical dispatch cycles;
[0062] For each of the historical scheduling cycles, based on the predicted power load data and the actual power load data of the historical scheduling cycle, calculate the abnormality probability of each time period in the historical scheduling cycle; wherein the abnormality probability refers to the probability of abnormality in the predicted power load data;
[0063] For each time period, the average value of the abnormality probabilities corresponding to the time period in all the historical scheduling cycles is calculated as the abnormality standard empirical probability of the time period.
[0064] In this embodiment, before obtaining the standard empirical probability of abnormality, it is necessary to first calculate the standard empirical probability of abnormality. The standard empirical probability of abnormality is calculated based on historical data. First, the predicted power load data and actual power load data for several historical scheduling cycles are obtained. Then, for each historical scheduling cycle, the abnormal probability of each time period in the historical scheduling cycle is calculated. Then, for the same time period in all historical scheduling cycles, the average of the abnormal probabilities of the time period in different historical scheduling cycles is calculated as the standard empirical probability of abnormality for the time period.
[0065] It should be noted that the anomaly probability for a time period refers to the probability of an anomaly in the forecasted power load data corresponding to that time period. The time periods are the same across different dispatch cycles. When calculating the standard empirical probability of anomaly, the anomaly probabilities for the same time period across different historical dispatch cycles are counted and averaged to form the standard empirical probability of anomaly for that time period.
[0066] In a preferred embodiment, before obtaining the abnormal standard empirical probability of each time period in the scheduling cycle, the method further includes:
[0067] Obtain voltage and frequency data of power equipment;
[0068] Determining the duration of abnormal fluctuations of the power equipment based on the voltage data and frequency data;
[0069] If the abnormal fluctuation duration is longer than the preset duration, no subsequent operation is performed; otherwise, the subsequent operation is continued.
[0070] In this embodiment, prior to step S1, the abnormal fluctuation of the power equipment is first determined by obtaining voltage and frequency data of the power equipment to determine the duration of the abnormal fluctuation. If the abnormal fluctuation duration is longer than a preset duration, it indicates that the power equipment may be abnormal, and the predicted data of the power equipment is not worth optimizing, so subsequent optimization operations are not required. If the abnormal fluctuation duration is not longer than the preset market, the power equipment is considered to be normal, and subsequent optimization operations are continued.
[0071] It should be noted that the abnormal fluctuation duration of the power equipment refers to the total duration of abnormal fluctuations of the power equipment within a preset operation cycle.
[0072] S2. For each of the time periods, if the standard empirical probability of abnormality in the time period is less than or equal to a preset probability threshold, a first environmental monitoring time window is established at the moment when the power load data is predicted to be abnormal within the time period, and the predicted environmental parameters and actual environmental parameters corresponding to each of the first environmental monitoring time windows are obtained.
[0073] In step S2, for each time period, when the standard empirical probability of abnormality in the time period is less than or equal to the preset probability threshold, a first environmental monitoring time window is established at the moment when the power load data is predicted to be abnormal within the time period, and then the predicted environmental parameters and actual environmental parameters of each first environmental monitoring time window are obtained.
[0074] It should be noted that multiple or no anomalies may occur within a given time period, so multiple or no first environmental monitoring time windows may be established. If no first environmental monitoring time window exists, then subsequent steps such as obtaining predicted and actual environmental parameters are not necessary, and environmental parameter compensation is not required.
[0075] In a preferred embodiment, obtaining predicted environmental parameters includes:
[0076] Acquire predicted power load data corresponding to the predicted environmental parameter to be acquired as first data;
[0077] Inputting the first data into a trained environmental parameter prediction model so that the environmental parameter prediction model outputs corresponding predicted environmental parameters based on the first data;
[0078] The training process of the environmental parameter prediction model includes:
[0079] Obtaining some historical power load data and its corresponding historical environmental parameters;
[0080] Using the historical power load data as sample data and the corresponding historical environmental parameters as labels for the sample data;
[0081] Construct an initial model with power load data as input and environmental parameters as output;
[0082] The initial model is trained according to the sample data to obtain a trained environmental parameter prediction model.
[0083] It should be noted that the predicted environmental parameters are obtained by inputting the predicted power load data into the environmental parameter prediction model for prediction.
[0084] In this embodiment, before obtaining the predicted environmental parameters, the desired predicted environmental parameters are known, and the corresponding predicted power load data is first obtained as first data. The first data is then input into a trained environmental parameter prediction model, so that the environmental parameter prediction model performs a prediction based on the first data and outputs the corresponding predicted environmental parameters.
[0085] The environmental parameter prediction model is trained using historical power load data and its corresponding historical environmental parameters as samples and labels. Historical power load data is actual power load data, not predicted data. Historical environmental parameters are also actual environmental parameters, not predicted data.
[0086] In a preferred embodiment, obtaining predicted power load data includes:
[0087] According to the existing power load forecasting model, obtaining input data corresponding to the power load data to be forecasted;
[0088] The input data is input into the power load prediction model so that the power load prediction model outputs corresponding predicted power load data according to the input data.
[0089] In this embodiment, a method for obtaining predicted power load data is provided. According to an existing power load prediction model in the prior art, input data required for prediction is first obtained, the input data is input into the power load prediction model for prediction, and the corresponding predicted power load data is output.
[0090] S3. For each of the first environmental monitoring time windows, when the predicted environmental parameters corresponding to the first environmental monitoring time window are inconsistent with the actual environmental parameters, perform an environmental parameter compensation operation on the predicted power load data corresponding to the first environmental monitoring time window.
[0091] If the first environmental monitoring time window is successfully constructed in step S2 and the predicted environmental parameters and actual environmental parameters corresponding to each of the first environmental monitoring time windows are obtained, then step S3 is continued to be executed; otherwise, step S3 is not executed.
[0092] In step S3, for each first environmental monitoring time window, the predicted environmental parameters corresponding to the first environmental monitoring time window are compared with the actual environmental parameters. If the two are inconsistent, it is necessary to perform an environmental parameter compensation operation on the predicted power data corresponding to the first environmental monitoring time window.
[0093] It should be noted that the environmental parameter compensation operation can adopt existing compensation methods.
[0094] In a preferred embodiment, the environmental parameter compensation operation includes:
[0095] According to the predicted power load data to be compensated and its corresponding actual power load data, the corresponding compensation parameters are obtained from a preset compensation parameter comparison table;
[0096] The predicted power load data to be compensated is compensated according to the compensation parameters.
[0097] In this embodiment, a specific environmental parameter compensation method is provided. According to the predicted power load data to be compensated and its corresponding actual power load data, corresponding compensation parameters are obtained from a preset compensation parameter comparison table, and the predicted power load data is compensated according to the compensation parameters.
[0098] It should be noted that the compensation parameter comparison table is obtained based on the analysis and summary of historical experience, and can be applied to various environmental parameter compensation scenarios where the deviation between predicted power load data and actual power load data is large.
[0099] S4. If the abnormal standard empirical probability is greater than the probability threshold, a second environmental monitoring time window is established at the start time of the time period, and steps S5 to S8 are repeated.
[0100] It should be noted that step S5 to step S8 is a complete iteration in the loop operation, and iteration is performed according to the consumption of the time window. When a time window is consumed, the next time window is used as the time window for the next iteration.
[0101] S5. Obtain predicted environmental parameters and actual environmental parameters corresponding to the current second environmental monitoring time window.
[0102] In step S5, the predicted environmental parameters and actual environmental parameters corresponding to the current second environmental monitoring time window are obtained.
[0103] S6. When the predicted environmental parameters corresponding to the second environmental monitoring time window are inconsistent with the actual environmental parameters, an environmental parameter compensation operation is performed on the predicted power load data corresponding to the second environmental monitoring time window, and the second environmental monitoring time window is marked as an abnormal window.
[0104] In step S6, for the current second environmental monitoring time window, the predicted environmental parameters corresponding to the second environmental monitoring time window are compared with the actual environmental parameters. If the two are inconsistent, it is necessary to perform environmental parameter compensation operation on the predicted power data corresponding to the current second environmental monitoring time window, and at the same time mark the current second environmental monitoring time window as an abnormal window.
[0105] S7. When the number of all second environmental monitoring time windows within the time period is equal to the preset window number threshold, the end time of the current second environmental monitoring time window is used as the dividing point, and the time period is divided into a left time period before the dividing point and a right time period after the dividing point.
[0106] In step S7, the number of all second environment monitoring time windows generated in the time period currently being processed is counted. If it is equal to the preset window number threshold, it means that this iteration has triggered the subsequent time period division operation. Taking the end time of the current second environment monitoring time window as the dividing point, the time period currently being processed is divided into a left time period and a right time period. The left time period is the time period before the dividing point, and the right time period is the time period after the dividing point.
[0107] S8. If the proportion of abnormal windows in the left time period is greater than the preset proportion threshold, a new second environmental monitoring time window is set at the end time of the current second environmental monitoring time window; otherwise, a new second environmental monitoring time window is established at the moment when the power data is predicted to be abnormal in the right time period.
[0108] In step S8, a method for creating a second environmental monitoring time window for the right time period is provided. The ratio of abnormal windows in the left time period to all windows in the left time period is counted. If the ratio is greater than a preset ratio threshold, a new second environmental monitoring time window is set at the end of the current second environmental monitoring time window. If the ratio is not greater than the ratio threshold, a second environmental monitoring time window is established at the moment when the power data is predicted to be abnormal in the right time period.
[0109] Example 2
[0110] Please refer to Figure 2 , is a structural diagram of a power load forecast result optimization device provided by an embodiment of the present invention, comprising: a data acquisition module and a result optimization module;
[0111] The data acquisition module is used to obtain the standard empirical probability of abnormality for each time period in the scheduling cycle; wherein the scheduling cycle is divided into a number of time periods; the standard empirical probability of abnormality refers to the standard empirical probability of abnormality in the predicted power load data;
[0112] The result optimization module is used to establish a first environmental monitoring time window at the moment when the power load data is predicted to be abnormal within the time period, if the abnormal standard empirical probability of the time period is less than or equal to the preset probability threshold, and obtain the predicted environmental parameters and actual environmental parameters corresponding to each of the first environmental monitoring time windows; for each of the first environmental monitoring time windows, when the predicted environmental parameters corresponding to the first environmental monitoring time window are inconsistent with the actual environmental parameters, perform an environmental parameter compensation operation on the predicted power load data corresponding to the first environmental monitoring time window; if the abnormal standard empirical probability is greater than the probability threshold, establish a second environmental monitoring time window at the starting moment of the time period, and repeat the following operations: obtain the predicted environmental parameters and actual environmental parameters corresponding to the current second environmental monitoring time window Parameters; when the predicted environmental parameters corresponding to the second environmental monitoring time window are inconsistent with the actual environmental parameters, the environmental parameter compensation operation is performed on the predicted power load data corresponding to the second environmental monitoring time window, and the second environmental monitoring time window is marked as an abnormal window; when the number of all second environmental monitoring time windows in the time period is equal to the preset window number threshold, the end time of the current second environmental monitoring time window is used as the dividing point, and the time period is divided into a left time period before the dividing point and a right time period after the dividing point; if the proportion of abnormal windows in the left time period is greater than the preset proportion threshold, a new second environmental monitoring time window is set at the end time of the current second environmental monitoring time window, otherwise, a new second environmental monitoring time window is established at the moment when the predicted power data in the right time period is abnormal.
[0113] Example 3
[0114] Accordingly, an embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the power load forecasting result optimization method described in the above-mentioned embodiment of the invention.
[0115] Example 4
[0116] Accordingly, an embodiment of the present invention provides a storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the power load forecast result optimization method described in the above-mentioned embodiment of the invention.
[0117] It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed across multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. In addition, in the drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art can understand and implement the present invention without inventive work.
[0118] Those skilled in the art will clearly understand that for the sake of convenience and brevity, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0119] The terminal device may be a computing device such as a desktop computer, a notebook computer, a PDA, a cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0120] The processor may be a central processing unit (CPU), 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 any conventional processor, etc. The processor is the control center of the device, connecting various parts of the entire device using various interfaces and lines.
[0121] The memory can be used to store the computer program, and the processor realizes various functions of the device by running or executing the computer program stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0122] The storage medium is a storage medium, and the computer program is stored in the storage medium. When the computer program is executed by the processor, it can implement the steps of the above-mentioned method embodiments. The computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0123] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for optimizing power load forecasting results, characterized in that: include: Obtaining a standard empirical probability of abnormality for each time period in a scheduling cycle; wherein the scheduling cycle is divided into a plurality of time periods; the standard empirical probability of abnormality refers to a standard empirical probability of abnormality in the predicted power load data; For each of the time periods, if the standard empirical probability of anomalies in the time period is less than or equal to a preset probability threshold, a first environmental monitoring time window is established at the time when the power load data is predicted to be abnormal within the time period, and predicted environmental parameters and actual environmental parameters corresponding to each of the first environmental monitoring time windows are obtained; For each of the first environmental monitoring time windows, when the predicted environmental parameters corresponding to the first environmental monitoring time window are inconsistent with the actual environmental parameters, performing an environmental parameter compensation operation on the predicted power load data corresponding to the first environmental monitoring time window; If the abnormal standard empirical probability is greater than the probability threshold, a second environmental monitoring time window is established at the start time of the time period, and the following operations are repeatedly performed: Obtain the predicted environmental parameters and actual environmental parameters corresponding to the current second environmental monitoring time window; When the predicted environmental parameters corresponding to the second environmental monitoring time window are inconsistent with the actual environmental parameters, performing an environmental parameter compensation operation on the predicted power load data corresponding to the second environmental monitoring time window, and marking the second environmental monitoring time window as an abnormal window; When the number of all second environment monitoring time windows within the time period is equal to a preset window number threshold, the time period is divided into a left time period before the dividing point and a right time period after the dividing point, with the end time of the current second environment monitoring time window as the dividing point; If the proportion of abnormal windows in the left time period is greater than the preset proportion threshold, a new second environmental monitoring time window is set at the end time of the current second environmental monitoring time window; otherwise, a new second environmental monitoring time window is established at the moment when the power data is predicted to be abnormal in the right time period.
2. The method for optimizing power load forecasting results according to claim 1, wherein: The method for determining abnormality of predicted power load data includes: Acquiring actual power load data corresponding to the predicted power load data; Calculating a deviation between the predicted power load data and the actual power load data; If the deviation value is greater than a preset deviation threshold, the predicted power load data is determined to be abnormal.
3. The method for optimizing power load forecasting results according to claim 1, wherein: Before obtaining the abnormal standard empirical probability for each time period in the scheduling cycle, the following steps are also included: Obtain forecasted power load data and actual power load data for several historical dispatch cycles; For each of the historical scheduling cycles, based on the predicted power load data and the actual power load data of the historical scheduling cycle, calculate the abnormality probability of each time period in the historical scheduling cycle; wherein the abnormality probability refers to the probability of abnormality in the predicted power load data; For each time period, the average value of the abnormality probabilities corresponding to the time period in all the historical scheduling cycles is calculated as the abnormality standard empirical probability of the time period.
4. The method for optimizing power load forecasting results according to claim 1, wherein: Obtain predicted environmental parameters, including: Acquire predicted power load data corresponding to the predicted environmental parameter to be acquired as first data; Inputting the first data into a trained environmental parameter prediction model so that the environmental parameter prediction model outputs corresponding predicted environmental parameters based on the first data; The training process of the environmental parameter prediction model includes: Obtaining some historical power load data and its corresponding historical environmental parameters; Using the historical power load data as sample data and the corresponding historical environmental parameters as labels for the sample data; Construct an initial model with power load data as input and environmental parameters as output; The initial model is trained according to the sample data to obtain a trained environmental parameter prediction model.
5. The method for optimizing power load forecasting results according to claim 4, wherein: Obtain forecasted power load data, including: According to the existing power load forecasting model, obtaining input data corresponding to the power load data to be predicted; The input data is input into the power load prediction model so that the power load prediction model outputs corresponding predicted power load data according to the input data.
6. The method for optimizing power load forecasting results according to claim 1, wherein: The environmental parameter compensation operation includes: According to the predicted power load data to be compensated and its corresponding actual power load data, the corresponding compensation parameters are obtained from a preset compensation parameter comparison table; The predicted power load data to be compensated is compensated according to the compensation parameters.
7. The method for optimizing power load forecasting results according to claim 1, wherein: Before obtaining the abnormal standard empirical probability for each time period in the scheduling cycle, the following steps are also included: Obtain voltage and frequency data of power equipment; Determining the duration of abnormal fluctuations of the power equipment based on the voltage data and frequency data; If the abnormal fluctuation duration is longer than the preset duration, no subsequent operation is performed; otherwise, the subsequent operation is continued.
8. A device for optimizing power load forecast results, characterized in that: include: Data acquisition module and result optimization module; The data acquisition module is used to obtain the standard empirical probability of abnormality for each time period in the scheduling cycle; wherein the scheduling cycle is divided into a number of time periods; the standard empirical probability of abnormality refers to the standard empirical probability of abnormality in the predicted power load data; The result optimization module is used to establish a first environmental monitoring time window at the moment when the power load data is predicted to be abnormal within the time period, if the abnormal standard empirical probability of the time period is less than or equal to the preset probability threshold, and obtain the predicted environmental parameters and actual environmental parameters corresponding to each of the first environmental monitoring time windows; for each of the first environmental monitoring time windows, when the predicted environmental parameters corresponding to the first environmental monitoring time window are inconsistent with the actual environmental parameters, perform an environmental parameter compensation operation on the predicted power load data corresponding to the first environmental monitoring time window; if the abnormal standard empirical probability is greater than the probability threshold, establish a second environmental monitoring time window at the starting moment of the time period, and repeat the following operations: obtain the predicted environmental parameters and actual environmental parameters corresponding to the current second environmental monitoring time window Parameters; when the predicted environmental parameters corresponding to the second environmental monitoring time window are inconsistent with the actual environmental parameters, the environmental parameter compensation operation is performed on the predicted power load data corresponding to the second environmental monitoring time window, and the second environmental monitoring time window is marked as an abnormal window; when the number of all second environmental monitoring time windows in the time period is equal to the preset window number threshold, the end time of the current second environmental monitoring time window is used as the dividing point, and the time period is divided into a left time period before the dividing point and a right time period after the dividing point; if the proportion of abnormal windows in the left time period is greater than the preset proportion threshold, a new second environmental monitoring time window is set at the end time of the current second environmental monitoring time window, otherwise, a new second environmental monitoring time window is established at the moment when the predicted power data in the right time period is abnormal.
9. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the method for optimizing the power load forecasting results according to any one of claims 1 to 7 is implemented.
10. A storage medium, characterized in that: The storage medium includes a stored computer program, wherein when the computer program is executed, the device where the storage medium is located is controlled to execute the power load forecast result optimization method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Environment parameter real-time prediction method, terminal equipment and storage medium
CN111310970A
Substation power load monitoring system
CN118826275A