A multi-time-point power load prediction method based on residual model rollback
By using a residual model-based backtracking method, point-by-point difference features are generated and the model is corrected using hierarchical decision trees and genetic algorithms. This solves the problem of feature fusion in multi-time point power load forecasting of the LGB model, and improves the accuracy and stability of the forecast.
Patent Information
- Application Number
- CN202611637030.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-22
- Publication Date
- 2026-11-20
AI Technical Summary
Existing LGB models struggle to uniformly convert features from different sources into comparable future load curve semantics, and their prediction errors vary significantly in multi-output load forecasting tasks. In particular, they are difficult to identify systematic biases when load priors, holiday priors, and meteorological priors provide conflicting future curves.
A residual model-based backtracking method is adopted. By generating point-by-point difference features of load, holiday and meteorological prior prediction curves, scene labels are generated by combining hierarchical decision trees. Then, a genetic algorithm is used to train the LGB residual correction model to correct errors point by point and generate the final load prediction result.
It significantly improves the accuracy and stability of multi-time point power load forecasting, identifies consistency and conflict by explicitly calculating differences between curves, accurately identifies scenario patterns, improves the genetic algorithm to optimize convergence speed and accuracy, and solves the problem of difficult heterogeneous feature fusion.
Smart Images

Figure CN123144019A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power system operation analysis and artificial intelligence prediction technology, and in particular to a multi-time point power load prediction method based on residual model backoff. Background Technology
[0002] With the continuous expansion of power system scale and the gradual increase in the proportion of renewable energy generation, power system operation modes are becoming increasingly complex, placing higher demands on the accuracy of power load forecasting. Short-term power load forecasting is a crucial foundation for power system dispatching and operation, unit start-up and shutdown planning, and the safe and stable operation of the power grid. Its forecasting results directly affect the economy and reliability of the power system. Therefore, how to improve the accuracy and stability of short-term power load forecasting has always been an important research direction in the field of power systems.
[0003] Traditional power load forecasting methods mainly include statistical forecasting methods and machine learning methods. Statistical forecasting methods, such as time series analysis and regression analysis, model load variation patterns by establishing mathematical models. However, due to the influence of various complex factors such as meteorological factors, holidays, and social activities, the variation patterns of power load exhibit significant nonlinearity and uncertainty, and traditional statistical methods have limited prediction accuracy in complex scenarios.
[0004] In recent years, machine learning models such as MLP, gradient boosting tree, random forest, and LGB model have been increasingly applied to power load forecasting tasks. Among them, MLP can perform nonlinear mapping on fixed-length input features and generate predicted values for multiple future time points at once through multiple output layers; LGB model has strong tabular feature modeling capabilities and can handle multiple types of features such as load, date, holidays, temperature, rainfall, irradiance, and prediction point encoding.
[0005] However, in multi-output load forecasting tasks, existing LGB models struggle to uniformly convert features from different sources into comparable future load curve semantics. Meanwhile, the forecasting errors vary significantly across different scenarios. In particular, when load priors, holiday priors, and meteorological priors provide conflicting future curves for the same forecast point, LGB models struggle to identify the systematic biases corresponding to such conflicts. Summary of the Invention
[0006] The technical problem to be solved by the present invention is to provide a multi-time point power load forecasting method based on residual model backoff, which can overcome the shortcomings of the prior art and improve the accuracy of multi-time point power load forecasting.
[0007] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows.
[0008] A multi-time-point power load forecasting method based on residual model backoff includes the following steps:
[0009] A. Collect historical power load data, time-holiday characteristic data, and meteorological characteristic data. After time alignment, missing data completion, and anomaly correction, normalize the data to construct an input feature set that includes load sequence characteristics, time-holiday characteristics, and meteorological characteristics. ;
[0010] B. Generate prior load prediction curves for multiple future time points based on the load sequence characteristics. Based on the aforementioned time and holiday characteristics, prior prediction curves for holidays at multiple future time points are generated. Based on the meteorological characteristics, generate prior meteorological prediction curves for multiple future time points. ;
[0011] C. Perform point-by-point difference calculations on the aforementioned load prior prediction curve, holiday prior prediction curve, and meteorological prior prediction curve to obtain point-by-point difference characteristics. , and ,in This represents the point-by-point difference between the prior load forecast curve and the prior holiday forecast curve. This represents the point-by-point difference between the prior load forecast curve and the prior meteorological forecast curve. This represents the point-by-point difference between the holiday prior forecast curve and the meteorological prior forecast curve.
[0012] D. According to , and The difference magnitude, difference direction and change trend are used to identify the state of consistency or conflict of prior curves, and scene labels for each prediction point are generated by combining the state of time and holidays, weather conditions and prediction point location.
[0013] E. Combine the three types of prior prediction curves with point-by-point difference features. , and The input feature set is input together with the prior fusion prediction model to generate initial load prediction values for multiple future time points;
[0014] F. Construct a residual label vector based on the point-by-point difference between the actual load value and the initial load prediction value, and train the LGB residual correction model using a genetic algorithm;
[0015] G. In the prediction stage, the LGB residual correction sub-model of the corresponding scene is called according to the scene label of the point to be predicted to output the error correction value.
[0016] H. Add the initial load forecast value and the error correction value point by point to obtain the final multi-time point power load forecast result.
[0017] Preferably, the normalization process in step A is as follows: x represents the original eigenvalue. These are the normalized eigenvalues. and These are the minimum and maximum values of the corresponding features, respectively.
[0018] As a preferred option, in step D, a hierarchical decision tree is established, , and The difference magnitude, difference direction, and trend of change, as well as holiday status, weather status, and prediction point location, are used as feature vectors input into the hierarchical decision tree. The optimal individual decoder of the hierarchical decision tree is used as the scene label for each prediction point.
[0019] Preferably, the feature vector of the i-th prediction point is ,in, The difference magnitudes of the three types of point-by-point difference features, This is a sign function, taking values of +1, 0, or -1. The variation in the difference between adjacent predicted points is represented by three types of point-by-point difference characteristics. For weather status coding, For holiday status codes, Encode the predicted point location;
[0020] The decision tree has four levels: the root node level, the first intermediate level, the second intermediate level, and the leaf node level.
[0021] As a preferred method, the root node layer uses the maximum value of the three types of difference amplitudes as the splitting feature to divide the samples into consistent branches and conflicting branches.
[0022] ,
[0023] in The threshold for splitting the root node;
[0024] The first intermediate layer determines the subtype;
[0025] For consistent branches, the average of the three types of difference magnitudes is used as the splitting characteristic, classifying them into strong and weak consistency.
[0026] ,
[0027] in The threshold for consistent branch splitting;
[0028] For conflicting branches, count the number of discrepancies exceeding the root threshold. It is divided into single-source deviation and multi-source conflict.
[0029] ,
[0030] in This is an indicator function that takes the value 1 if the condition is true, and 0 otherwise.
[0031] The second intermediate layer determines the origin and evolution of the conflict;
[0032] For single-source deviation scenarios, identify the prior source with the largest difference magnitude and determine the deviation type.
[0033] ,
[0034] The corresponding relationships are divided into: load prior deviation, holiday prior deviation, and weather prior deviation;
[0035] For multi-source conflict scenarios, the average rate of change of difference is used as a splitting characteristic. To determine the trend of conflict evolution,
[0036] ,
[0037] in, These are the weighting coefficients for the three types of differential trends. The threshold for the splitting of conflict evolution types;
[0038] The leaf node layer combines the meteorological status code, holiday status code, and predicted point location code with the subtype output from the second intermediate layer to generate the final scene label.
[0039] Preferably, in step E, the initial load forecast value is .
[0040] Preferably, in step F, the corrected residual is calculated for the i-th sample in the s-th scene. ,in For true residuals, , Let be the initial load forecast value for the i-th sample;
[0041] The initial population is established using the LGB residual correction model parameter set. Calculate the total population error ;
[0042] The fitness function of the genetic algorithm is ,in For scenario-balanced penalty items, λ is the penalty coefficient;
[0043] Select operation
[0044] Set the direct selection ratio, and sort individuals in descending order of fitness. Starting with the individual with the highest fitness, individuals within the direct selection ratio are directly retained.
[0045] The remaining individuals are selected by roulette, and the probability of an individual being selected is directly proportional to its fitness. ;
[0046] cross operation
[0047] Perform arithmetic crossover on the selected parent individuals to generate offspring. , where β is the random crossover coefficient;
[0048] Hierarchical collaborative neighborhood search operation
[0049] Decode the decision tree parameters of the current individual, and obtain the number of samples for each scene based on the scene partitioning results of all training samples. Calculate the imbalance of samples in the scenario ,in M is the total number of training samples, and N is the total number of scenarios;
[0050] The priority of decision tree parameter optimization is determined based on the degree of imbalance; when When the value exceeds the set threshold, the split threshold is adjusted first; otherwise, the trend weight coefficient is adjusted first. The parameters of the decision tree are updated according to the classification bias and parameter optimization priority of the decision tree.
[0051] After updating the decision tree parameters, the residual polynomial coefficients for each scenario are adjusted accordingly. For the adjusted new scenario partitioning, the mean square error of the residual fitting for the s-th scenario is... Update the polynomial coefficients for each scene along the negative gradient direction of the error. η is the update learning rate; to prevent overfitting of coefficients in small sample scenarios, L2 regularization is applied to the updated coefficients to shrink them. γ is the regularization coefficient.
[0052] The scenario partitioning and overall fitness of the new individual are calculated, and the simulated annealing acceptance criterion is used to determine whether the updated individual should replace the original individual, thus avoiding getting trapped in local optima.
[0053] ,
[0054] Where G is the original individual, and G' is the new individual after the neighborhood search. The annealing temperature for generation t decreases exponentially with iteration.
[0055] The iteration terminates when the maximum number of iterations T is reached, or when the fitness improvement over τ consecutive generations is less than the threshold ε, and the optimal individual is output. As parameters for the LGB residual correction model.
[0056] The beneficial effects of adopting the above technical solution are as follows:
[0057] 1. Compared with the conventional method of directly splicing heterogeneous features in the prior art, the present invention unifies the input features with different dimensions and different semantics into comparable future load curve semantics. By explicitly calculating the differences between curves, the fusion model can directly perceive the consistency and conflict of different prior sources, which fundamentally solves the problem of "easy splicing, difficult fusion" of heterogeneous features and effectively improves the accuracy of initial prediction.
[0058] 2. This invention constructs a four-layer hierarchical decision tree to generate scene labels. It uses the "difference relationship between prior curves" as the core classification basis, rather than directly classifying based on input features. It can accurately identify scenes corresponding to various residual patterns such as prior consistency, single-source deviation, multi-source conflict, conflict amplification, conflict convergence, and peak-valley shift. The physical correlation between scene division and prediction bias is stronger, the granularity is finer, and the interpretability is higher.
[0059] 3. This invention uses an improved genetic algorithm to update the decision tree, realizing the integrated encoding and co-evolution of scene partitioning parameters and residual correction parameters, fundamentally solving the global suboptimal problem caused by two-step optimization; at the same time, it replaces the random mutation of the traditional genetic algorithm with directional hierarchical neighborhood search, which not only avoids the generation of a large number of invalid solutions that violate physical constraints by random mutation, but also ensures the matching between scene boundaries and residual coefficients, significantly improving the optimization convergence speed and final accuracy. Attached Figure Description
[0060] Figure 1 This is a schematic diagram of a specific embodiment of the present invention. Detailed Implementation
[0061] In the following description of the embodiments, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods are omitted so as not to obscure the description of this application with unnecessary detail.
[0062] See Figure 1 The power load forecasting method disclosed in this invention includes the following steps:
[0063] A. Collect historical power load data, time-holiday characteristic data, and meteorological characteristic data. After time alignment, missing data completion, and anomaly correction, normalize the data to construct an input feature set that includes load sequence characteristics, time-holiday characteristics, and meteorological characteristics. Load sequence characteristics include the load sequence of 96 points for the current day or historical days. Time and holiday characteristics include whether it is a working day, whether it is a holiday, holiday type, lunar date, solar date, day of the holiday, total number of holiday days, whether there are make-up workdays, weekday, month, and forecast point number. Meteorological characteristics include temperature, rainfall, and radiation intensity.
[0064] The normalization method is as follows x represents the original eigenvalue. These are the normalized eigenvalues. and These are the minimum and maximum values of the corresponding features, respectively.
[0065] B. Generate prior load prediction curves for multiple future time points based on the load sequence characteristics. Based on the aforementioned time and holiday characteristics, prior prediction curves for holidays at multiple future time points are generated. Based on the meteorological characteristics, generate prior meteorological prediction curves for multiple future time points. .
[0066] C. Perform point-by-point difference calculations on the aforementioned load prior prediction curve, holiday prior prediction curve, and meteorological prior prediction curve to obtain point-by-point difference characteristics. , and ,in This represents the point-by-point difference between the prior load forecast curve and the prior holiday forecast curve. This represents the point-by-point difference between the prior load forecast curve and the prior meteorological forecast curve. This represents the point-by-point difference between the holiday prior prediction curve and the meteorological prior prediction curve.
[0067] D. According to , and The system identifies the state of consistency or conflict between prior curves by measuring the magnitude, direction, and trend of the differences, and generates scene labels for each prediction point by combining the time, holiday status, weather status, and prediction point location.
[0068] Specifically, a hierarchical decision tree is established, which... , and The difference magnitude, difference direction, and trend of change, as well as holiday status, weather status, and prediction point location, are used as feature vectors input into the hierarchical decision tree. The optimal individual decoder of the hierarchical decision tree is used as the scene label for each prediction point.
[0069] The feature vector of the i-th prediction point is ,in, The difference magnitudes of the three types of point-by-point difference features, This is a sign function, taking values of +1, 0, or -1. The variation in the difference between adjacent predicted points is represented by three types of point-by-point difference characteristics. For weather status coding, For holiday status codes, Encode the predicted point location.
[0070] The decision tree has four levels: the root node level, the first intermediate level, the second intermediate level, and the leaf node level.
[0071] The root node layer uses the maximum difference value among the three types as the splitting feature to divide the samples into consistent branches and conflict branches.
[0072] ,
[0073] in This is the threshold for splitting the root node.
[0074] The first intermediate layer determines the subtype;
[0075] For consistent branches, the average of the three types of difference magnitudes is used as the splitting characteristic, classifying them into strong and weak consistency.
[0076] ,
[0077] in The threshold for consistent branch splitting;
[0078] For conflicting branches, count the number of discrepancies exceeding the root threshold. It is divided into single-source deviation and multi-source conflict.
[0079] ,
[0080] in This is an indicator function that takes the value 1 if the condition is true, and 0 otherwise.
[0081] The second intermediate layer determines the origin and evolution of the conflict;
[0082] For single-source deviation scenarios, identify the prior source with the largest difference magnitude and determine the deviation type.
[0083] ,
[0084] The corresponding relationships are divided into: load prior deviation, holiday prior deviation, and weather prior deviation;
[0085] For multi-source conflict scenarios, the average rate of change of difference is used as a splitting characteristic. To determine the trend of conflict evolution,
[0086] ,
[0087] in, These are the weighting coefficients for the three types of differential trends. The threshold for the splitting of conflict evolution types.
[0088] The leaf node layer combines the meteorological status code, holiday status code, and predicted point location code with the subtype output from the second intermediate layer to generate the final scene label.
[0089] Compared to traditional prediction models that fuse prior knowledge, this invention does not simply concatenate heterogeneous features such as holidays, weather, and historical loads. Instead, it first converts features from different sources into future multi-time-point prior prediction curves within the same load space. Then, it calculates the point-by-point difference features among the three types of prior prediction curves and inputs these difference features along with the three types of prior curves into a hierarchical decision tree. This solves the problems in traditional models where heterogeneous prior information is not comparable, conflicting relationships between prior sources cannot be explicitly expressed, and fusion models struggle to identify deviations between holiday and weather priors.
[0090] E. Combine the three types of prior prediction curves with point-by-point difference features. , and The input feature set, together with the input data, is fed into a priori fusion prediction model to generate initial load forecasts for multiple future time points. The initial load forecasts are... .
[0091] F. Construct residual label vectors based on the point-by-point differences between the actual load value and the initial load prediction value, and train the LGB residual correction model using a genetic algorithm.
[0092] For the i-th sample in the s-th scene, calculate the corrected residual. ,in For true residuals, , Let be the initial load forecast value for the i-th sample.
[0093] The initial population is established using the LGB residual correction model parameter set. Calculate the total population error .
[0094] The fitness function of the genetic algorithm is ,in For scenario-balanced penalty items, λ is the penalty coefficient.
[0095] Select operation
[0096] Set the direct selection ratio, and sort individuals in descending order of fitness. Starting with the individual with the highest fitness, individuals within the direct selection ratio are directly retained.
[0097] The remaining individuals are selected by roulette, and the probability of an individual being selected is directly proportional to its fitness. .
[0098] cross operation
[0099] Perform arithmetic crossover on the selected parent individuals to generate offspring. , where β is the random crossover coefficient.
[0100] Hierarchical collaborative neighborhood search operation
[0101] Decode the decision tree parameters of the current individual, and obtain the number of samples for each scene based on the scene partitioning results of all training samples. Calculate the imbalance of samples in the scenario ,in M is the total number of training samples, and N is the total number of scenarios;
[0102] The priority of decision tree parameter optimization is determined based on the degree of imbalance; when When the value exceeds the set threshold, the split threshold is adjusted first; otherwise, the trend weight coefficient is adjusted first. The parameters of the decision tree are updated according to the classification bias and parameter optimization priority of the decision tree.
[0103] After updating the decision tree parameters, the residual polynomial coefficients for each scenario are adjusted accordingly. For the adjusted new scenario partitioning, the mean square error of the residual fitting for the s-th scenario is... Update the polynomial coefficients for each scene along the negative gradient direction of the error. η is the update learning rate; to prevent overfitting of coefficients in small sample scenarios, L2 regularization is applied to the updated coefficients to shrink them. γ is the regularization coefficient.
[0104] The scenario partitioning and overall fitness of the new individual are calculated, and the simulated annealing acceptance criterion is used to determine whether the updated individual should replace the original individual, thus avoiding getting trapped in local optima.
[0105] ,
[0106] Where G is the original individual, and G' is the new individual after the neighborhood search. The annealing temperature for generation t decreases exponentially with iteration.
[0107] The iteration terminates when the maximum number of iterations T is reached, or when the fitness improvement over τ consecutive generations is less than the threshold ε, and the optimal individual is output. As parameters for the LGB residual correction model.
[0108] G. In the prediction stage, the LGB residual correction sub-model of the corresponding scene is called according to the scene label of the point to be predicted to output the error correction value.
[0109] H. Add the initial load forecast value and the error correction value point by point to obtain the final multi-time point power load forecast result.
[0110] In this invention, all structural parameters of the decision tree and the residual correction polynomial coefficients for each scenario are collectively encoded into a complete chromosome of the genetic algorithm, serving as a unified optimization object for co-evolution. Scenario partitioning is no longer an independent feature engineering step, but rather an adaptive adjustment of the boundary with the goal of minimizing the total residual correction error. The residual correction coefficients are no longer isolated fitted values under fixed scenarios, but dynamically and collaboratively adapt to changes in the scenario boundaries. This mode, which "guides the evolutionary search direction with the physical meaning of the decision tree," retains the global optimization capability of the evolutionary algorithm while fundamentally solving its inherent defects of numerous invalid solutions and slow convergence in structured parameter scenarios.
[0111] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to 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 embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0112] The present invention can implement all or part of the processes in the methods of the above embodiments, or it can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0113] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of this invention is defined by the appended claims and their equivalents.
Claims
1. A multi-time-point power load forecasting method based on residual model backoff, characterized in that... Includes the following steps: A. Collect historical power load data, time-holiday characteristic data, and meteorological characteristic data. After time alignment, missing data completion, and anomaly correction, normalize the data to construct an input feature set that includes load sequence characteristics, time-holiday characteristics, and meteorological characteristics. ; B. Generate prior load prediction curves for multiple future time points based on the load sequence characteristics. Based on the aforementioned time and holiday characteristics, prior prediction curves for holidays at multiple future time points are generated. Based on the meteorological characteristics, generate prior meteorological prediction curves for multiple future time points. ; C. Perform point-by-point difference calculations on the aforementioned load prior prediction curve, holiday prior prediction curve, and meteorological prior prediction curve to obtain point-by-point difference characteristics. , and ,in This represents the point-by-point difference between the prior load forecast curve and the prior holiday forecast curve. This represents the point-by-point difference between the prior load forecast curve and the prior meteorological forecast curve. This represents the point-by-point difference between the holiday prior forecast curve and the meteorological prior forecast curve. D. According to , and The difference magnitude, difference direction and change trend are used to identify the state of consistency or conflict of prior curves, and scene labels for each prediction point are generated by combining the state of time and holidays, weather conditions and prediction point location. E. Combine the three types of prior prediction curves with point-by-point difference features. , and The input feature set is input together with the prior fusion prediction model to generate initial load prediction values for multiple future time points; F. Construct a residual label vector based on the point-by-point difference between the actual load value and the initial load prediction value, and train the LGB residual correction model using a genetic algorithm; G. In the prediction stage, the LGB residual correction sub-model of the corresponding scene is called according to the scene label of the point to be predicted to output the error correction value. H. Add the initial load forecast value and the error correction value point by point to obtain the final multi-time point power load forecast result.
2. The multi-time-point power load forecasting method based on residual model backoff according to claim 1, characterized in that: In step A, the normalization process is as follows: x represents the original eigenvalue. These are the normalized eigenvalues. and These are the minimum and maximum values of the corresponding features, respectively.
3. The multi-time-point power load forecasting method based on residual model backoff according to claim 1, characterized in that: In step D, a hierarchical decision tree is established, and... , and The difference magnitude, difference direction, and trend of change, as well as holiday status, weather status, and prediction point location, are used as feature vectors input into the hierarchical decision tree. The optimal individual decoder of the hierarchical decision tree is used as the scene label for each prediction point.
4. The multi-time-point power load forecasting method based on residual model backoff according to claim 3, characterized in that: The feature vector of the i-th prediction point is ,in, The difference magnitudes of the three types of point-by-point difference features, This is a sign function, taking values of +1, 0, or -1. The variation in the difference between adjacent predicted points is represented by three types of point-by-point difference characteristics. For weather status coding, For holiday status codes, Encode the predicted point location; The decision tree has four levels: the root node level, the first intermediate level, the second intermediate level, and the leaf node level.
5. The multi-time-point power load forecasting method based on residual model backoff according to claim 4, characterized in that: The root node layer uses the maximum difference value among the three types as the splitting feature to divide the samples into consistent branches and conflict branches. , in The threshold for splitting the root node; The first intermediate layer determines the subtype; For consistent branches, the average of the three types of difference magnitudes is used as the splitting characteristic, classifying them into strong and weak consistency. , in The threshold for consistent branch splitting; For conflicting branches, count the number of discrepancies exceeding the root threshold. It is divided into single-source deviation and multi-source conflict. , in This is an indicator function that takes the value 1 if the condition is true, and 0 otherwise. The second intermediate layer determines the origin and evolution of the conflict; For single-source deviation scenarios, identify the prior source with the largest difference magnitude and determine the deviation type. , The corresponding relationships are divided into: load prior deviation, holiday prior deviation, and weather prior deviation; For multi-source conflict scenarios, the average rate of change of difference is used as a splitting characteristic. To determine the trend of conflict evolution, , in, These are the weighting coefficients for the three types of differential trends. The threshold for the splitting of conflict evolution types; The leaf node layer combines the meteorological status code, holiday status code, and predicted point location code with the subtype output from the second intermediate layer to generate the final scene label.
6. The multi-time-point power load forecasting method based on residual model backoff according to claim 1, characterized in that: In step E, the initial load forecast value is .
7. The multi-time-point power load forecasting method based on residual model backoff according to claim 6, characterized in that: In step F, for the i-th sample in the s-th scene, calculate the corrected residual. ,in For true residuals, , Let be the initial load forecast value for the i-th sample; The initial population is established using the LGB residual correction model parameter set. Calculate the total population error ; The fitness function of the genetic algorithm is ,in As a scenario-balanced penalty item, λ is the penalty coefficient; Select operation Set the direct selection ratio, and sort individuals in descending order of fitness. Starting with the individual with the highest fitness, individuals within the direct selection ratio are directly retained. The remaining individuals are selected by roulette, and the probability of an individual being selected is directly proportional to its fitness. ; cross operation Perform arithmetic crossover on the selected parent individuals to generate offspring. , where β is the random crossover coefficient; Hierarchical collaborative neighborhood search operation Decode the decision tree parameters of the current individual, and obtain the number of samples for each scene based on the scene partitioning results of all training samples. Calculate the imbalance of samples in the scenario ,in M is the total number of training samples, and N is the total number of scenarios; The priority of decision tree parameter optimization is determined based on the degree of imbalance; when When the value exceeds the set threshold, the split threshold is adjusted first; otherwise, the trend weight coefficient is adjusted first. The parameters of the decision tree are updated according to the classification bias and parameter optimization priority of the decision tree. After updating the decision tree parameters, the residual polynomial coefficients for each scenario are adjusted accordingly. For the adjusted new scenario partitioning, the mean square error of the residual fitting for the s-th scenario is... Update the polynomial coefficients for each scene along the negative gradient direction of the error. η is the update learning rate; To prevent overfitting of coefficients in small sample scenarios, L2 regularization is applied to shrink the updated coefficients. γ is the regularization coefficient; The scenario partitioning and overall fitness of the new individual are calculated, and the simulated annealing acceptance criterion is used to determine whether the updated individual should replace the original individual, thus avoiding getting trapped in local optima. , Where G is the original individual, and G' is the new individual after the neighborhood search. The annealing temperature for generation t decreases exponentially with iteration. The iteration terminates when the maximum number of iterations T is reached, or when the fitness improvement over τ consecutive generations is less than the threshold ε, and the optimal individual is output. As parameters for the LGB residual correction model.
