Electricity load estimation method, device and terminal equipment
By calculating the load estimation correction parameters and correcting the impact of line maintenance, a standard load model is established, which solves the problem of low accuracy of electricity load estimation in steel enterprises, achieves more accurate load forecasting, and meets production planning needs.
Patent Information
- Application Number
- CN202110939594.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-16
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-08-16
AI Technical Summary
When faced with unfixed maintenance plans, the existing electricity load estimation model of steel enterprises has low prediction accuracy and cannot accurately track actual load changes, resulting in estimated results that are higher or lower than the actual value and unable to meet production planning needs.
By obtaining historical load data and historical maintenance data, calculate load estimation correction parameters, correct the impact of line maintenance on historical load data, establish a standard load model, and use correction parameters to correct future maintenance plan data to obtain more accurate load estimation results.
It improves the accuracy of load forecasting and can more accurately predict future electricity load, making up for the problem of not considering the impact of maintenance plans in traditional methods and meeting production planning needs.
Smart Images

Figure CN113837435B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power load estimation, and in particular to a power load estimation method, device and terminal equipment. Background Art
[0002] Load estimation of steel enterprises refers to estimating the energy demand or power consumption per unit time of steel enterprises at a certain moment in the future or in a specific period of time. It is the sum of the power consumed by all production links of steel enterprises. Obtaining high-precision load estimation results is of great significance to the operation planning of enterprises. In actual work, load estimation is data that the energy management department of steel enterprises and regional power grids urgently need to master, and it is an important basis for policy formulation and safety management.
[0003] At present, steel enterprises mainly use load forecasting models to estimate load, including: sliding average model, linear regression model, neural network model, load forecasting model based on wavelet decomposition, wavelet neural network model, support vector machine regression model, etc. Each forecasting model complements each other. When the overall load level of steel enterprises is relatively stable, the forecasting accuracy of existing technologies can basically meet production needs.
[0004] However, in actual applications, it is found that due to the company's irregular maintenance plan, the load will drop in certain periods. The existing load estimation model needs a long feedback correction time to track the actual load data for such random maintenance situations. When the overall level of the actual load drops, the estimated load is higher than the actual load; if this overall load level drop lasts for a long time, the estimated load will slowly track the actual load; but when the actual load returns to its original level, the estimated load will be lower than the actual load as a whole, and it will take some time for the estimation accuracy to return. Therefore, in this case, the model has low accuracy in overall load estimation and cannot meet the actual production planning needs. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a method, an apparatus and a terminal device for estimating power load to solve the problem of low accuracy of power load estimation in the prior art.
[0006] In order to achieve the above object, the present invention adopts the following technical scheme:
[0007] In a first aspect, an embodiment of the present invention provides a method for estimating electricity load, comprising: obtaining historical load data and historical maintenance data of a user; calculating load estimation correction parameters based on the historical load data and the historical maintenance data; correcting the impact of line maintenance on the historical load data based on the load estimation correction parameters to obtain standard load data; training an original load estimation model based on the standard load data to obtain a standard load estimation model, using the standard load model to estimate the load situation to obtain a standard load estimation result; correcting the data in the standard load estimation result corresponding to the maintenance time in the future maintenance plan information by using the load estimation correction parameters to obtain a corrected load estimation result.
[0008] Based on the first aspect, in some embodiments, calculating the load estimation correction parameters based on the historical load data and the historical maintenance data includes: calculating the load impact parameters of each maintenance item based on the historical load data and the historical maintenance data; and calculating the load estimation correction parameters based on the load impact parameters.
[0009] Based on the first aspect, in some embodiments, the load impact parameters of each maintenance item are calculated based on the historical load data and the historical maintenance data, including: using a sliding step maximum method to eliminate the valleys of a first historical load segment in the historical load data to obtain a second historical load segment; determining the start and end time of each maintenance item on the second historical load segment, and calculating the load impact parameters based on the load change within the start and end time.
[0010] Based on the first aspect, in some embodiments, the method of using the sliding step maximum method to eliminate the valley of the first historical load segment in the historical load data to obtain the second historical load segment includes: selecting a total of N load values of points on the first historical load segment L in the historical load data of the line to be estimated, setting the load value of each point to l i , Assume the step length is r; Assume the load segment L after the load segment L passes through the maximum value of the sliding step length to eliminate the valley is O, a total of N points, the load value of each point is o i , The starting load point of segment L is set as the initial support point j(m), that is, j(m)=o1=l1, m=1, the initial support point is the maximum point within the specified step length r, the value of j(m) is the load value of the initial support point, m represents the position of the initial support point, m∈N; the maximum value within the r points after the initial support point is taken as the second support point j(n), The second support point is located at n, l n is the load sequence (l m+1 ,l m+2 ...,l m+r) the maximum value in, m < n < m + r; calculate the valley-eliminated load segment value between the initial support point and the second support point, and the load segment value is the load sequence (o m+1 , o m+2 ..., o n ). Set the second support point j(n) as the initial support point j(m), that is, j(m) = j(n), m = n; if m + r < N, find the next second support point again and perform the above operation again to eliminate the valley of the load segment between the two points, otherwise calculate the load value of each point as Obtain the valley-eliminated second historical load segment.
[0011] Based on the first aspect, in some embodiments, to determine the start and end times of each maintenance item on the second historical load segment and calculate the load impact parameter according to the change in load within the start and end times, it includes: calculating the normal load level where o i is the load value in the second historical load segment sequence O, The statistical mean of the actual load values in the first historical load segment sequence is the threshold for judging the start and end times of maintenance, and the threshold is The continuous time less than l' is the maintenance implementation time period, and k i continuous load segment sequences Z j are obtained; Z j ∈S; j = 1, 2,..., k, and the starting point a j of Z j is the start time of maintenance, and the end point b j is the end time of maintenance, then Calculate the historical load impact parameter p j for each maintenance according to the normal load level, where p j = q0 - q j . Calculate the mean of the historical load impact parameter p j to obtain the load impact parameter p i for each maintenance item.
[0012] Based on the first aspect, in some embodiments, to calculate the load estimation correction parameter based on the load impact parameter, it includes: calculating the load impact parameters of m maintenance items on all maintenance lines, and using the load impact parameters of the m maintenance items as the lower bound constraint values s i = p i of the load estimation correction parameter of maintenance item i, and obtaining the lower bound constraint matrix S = [s1 s2 … s m T .
[0013] Based on the first aspect, in some embodiments, the calculating of the load estimation correction parameter based on the load influence parameter further includes: dividing the historical load data into training samples and test samples according to time, wherein the time of the training sample is earlier than the time of the test sample; training a load estimation model through the training sample; estimating the test sample through the trained load estimation model to obtain a load estimation value; and calculating the load estimation correction parameter of each maintenance item according to the difference between the actual historical load value of the test sample and the load estimation value, wherein the calculation expression is:
[0014]
[0015] Where, Y(n) is the load estimate of the nth sample point, Q(n) is the actual historical load value of the nth sample point, and Y(n)>Q(n); b i is the load estimation correction parameter of the ith maintenance item, and there are m maintenance items in total {b1 b2 … b m}, b i is a non-negative value; x i (n) represents whether the ith maintenance item occurs at the nth sample point; the lower limit constraint matrix S = [s1 s2 … s m ] T Solve for the load estimation correction parameter b of all maintenance items i ,s i for b i The lower limit constraint of the maintenance item is used to calculate the load estimation correction parameters of the total load value.
[0016] In a second aspect, an embodiment of the present invention provides an electricity load estimation device, comprising: an information acquisition module for acquiring a user's historical load data and historical maintenance data; a parameter calculation module for calculating load estimation correction parameters based on the historical load data and the historical maintenance data; a data correction module for correcting the impact of line maintenance on the historical load data based on the load estimation correction parameters to obtain standard load data; a standard load estimation module for training an original load estimation model based on the standard load data to obtain a standard load estimation model, and using the standard load model to estimate the load situation to obtain a standard load estimation result; a corrected load estimation module for correcting the data in the standard load estimation result corresponding to the maintenance time in the future maintenance plan information by using the load estimation correction parameters to obtain a corrected load estimation result.
[0017] In a third aspect, an embodiment of the present invention provides a terminal 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 steps of the power load estimation method as described in any one of the first aspects above are implemented.
[0018] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the power load estimation method as described in any one of the above-mentioned first aspects are implemented.
[0019] In the embodiment of the present invention, the influence of fixed maintenance items on the total power load of users is considered according to actual needs, and load estimation correction parameters are set. The influence of line maintenance on the power load of users is effectively counted and quantified according to the historical load data and historical maintenance data of users, so that users can accurately predict the future power load according to future maintenance plans. This method can well make up for the defects in traditional prediction methods, that is, the problem that the load prediction value is higher than the actual load value due to the failure to consider the influence of the implementation of the maintenance plan on the load, and greatly improves the accuracy of load prediction. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0021] Figure 1 This is a schematic diagram of guiding estimation of a historical load reproduction method provided by an embodiment of the present invention;
[0022] Figure 2 is a schematic diagram of a flow chart of a method for estimating power load provided by an embodiment of the present invention;
[0023] Figure 3 is a schematic diagram of a load impact parameter calculation process provided by an embodiment of the present invention;
[0024] Figure 4 is a flow chart of a load prediction correction parameter calculation algorithm provided by an embodiment of the present invention;
[0025] Figure 5 is a schematic diagram of the structure of a power load estimation device provided by an embodiment of the present invention;
[0026] Figure 6 It is a schematic diagram of a terminal device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0027] The present invention will be described more clearly below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the effects of the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements may be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0028] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below in conjunction with the accompanying drawings.
[0029] By analyzing the historical load data, it can be clearly observed that when some of the same major maintenance items occurred in history, the total load had a very similar form. Therefore, the load can be estimated by reproducing the historical load. That is, when the maintenance plan for a future day is the same as the maintenance item of a certain day in history, or is basically similar, the historical daily load curve is used as the load estimation curve for the future day. Figure 1 This is a diagram of the historical load recurrence method guiding the estimation. Through the historical load recurrence estimation method, the accuracy of load estimation can be effectively improved for the days when major maintenance items occur. First, the maintenance plan for the future estimation period is obtained, and then the historical maintenance item data set is compared to select the historical data corresponding to the maintenance items in the future estimation period, and use this as a guide for future load estimation.
[0030] Different maintenance plans have different impacts on the load. By analyzing some of the same major maintenance items in historical data, we found that the total load values on the implementation days of the same major maintenance items are often relatively close. Therefore, to estimate future loads, we can find historical load data that is similar to the corresponding maintenance items and use the historical load reproduction method to make an estimate.
[0031] Based on the guiding ideology of the historical load re-estimation method, in specific operations, the load data in the history that is the same as the future maintenance plan is mainly estimated. However, due to the large number of maintenance items, such as a total of 161 maintenance items in steel enterprises, the combination of all maintenance items is even more numerous. And by analyzing all the historical data since the system was put into operation, it is found that there is no fixed rule for the combination of maintenance items, and it is difficult to encounter a situation where the future maintenance plan is exactly the same as the maintenance plan in the historical data.
[0032] Therefore, the embodiment of the present invention provides a method for estimating power load, which combines the idea of historical composite recurrence method, accurately calibrates the impact parameters of each maintenance item on the total load in the enterprise maintenance project, and obtains a more accurate enterprise power load estimation result. Figure 2 As shown, the power load estimation method may include steps 101 to 105.
[0033] Step 101: Obtain the user's historical load data and historical maintenance data.
[0034] Exemplarily, historical load data and historical maintenance data of the steel enterprise may be obtained, and the first historical load segment may be extracted from the historical load data and historical maintenance data. For example, the first historical load segment may be extracted from the historical load data and historical maintenance data according to a preset time period.
[0035] Step 102: Calculate load estimation correction parameters based on historical load data and historical maintenance data;
[0036] When a maintenance item is implemented, it has the greatest impact on the load of the line where the maintenance item is located, and also affects the overall load level. The overall load level will instantly drop by a fixed load value and return to the original level after the maintenance is completed. In actual operation, the simple form of load estimation correction is to obtain the "Maintenance Item-Load Estimation Correction Parameter Table" through analysis or calculation. This table is a one-dimensional constant table, in which each load estimation correction parameter is a constant, representing the level of overall reduction in total load caused by the implementation of a maintenance plan.
[0037] To obtain the load estimation correction parameter, the influence of the maintenance item on a single line is first obtained, and the load influence parameter of each maintenance item on the line is calculated based on the load influence parameter, and then the influence of all maintenance items on the total load value is calculated based on the load influence parameter, and finally the load estimation correction parameter of all maintenance items is obtained. In some embodiments, the step of calculating the load estimation correction parameter may include steps 1021 to 1022.
[0038] Step 1021: Based on historical load data and historical maintenance data, calculate the load impact parameters of each maintenance item.
[0039] Analysis of line data revealed that only a few maintenance items in each link have a significant impact on the load, while the impact of most maintenance items on the load is negligible relative to the estimation accuracy.
[0040] For some maintenance items that have a significant impact on the load and are independent and clear for power supply lines, we can first detect and count the impact of the implementation of these maintenance items on the lines where they are located, and obtain the load impact parameters of these maintenance items. Because the implementation of these maintenance items may also affect related production and thus affect the total load value, the calculated load impact parameters of the lines where each maintenance item is located should be used as the lower limit of the final load estimation correction parameters of the maintenance item.
[0041] Specifically, Figure 3As shown, first, it is determined whether the selected historical load segment is correct and whether there is missing load data. If there is no missing data, the historical load segment is smoothed. For the smoothed historical segment, the start and end times of each maintenance are determined, and based on this, the historical load impact parameter of each maintenance is calculated. Then, the load impact parameter of this maintenance item is determined according to the historical impact parameter of each maintenance.
[0042] Step 10211: Use the sliding step maximum value method to eliminate valleys in the first historical load segment in the historical load data, obtaining the second historical load segment.
[0043] Select the load values of a total of N points on the first historical load segment L in the historical load data of the line to be estimated. Let the load value of each point be l i , Let the step size be r; let the load segment O after eliminating valleys from the load segment L by the sliding step maximum value method have a total of N points, and the load value of each point be o i ,
[0044] The "support point" represents the point where the load value remains unchanged after the sliding step maximum value valley elimination process. Set the starting load point of segment L as the initial support point j(m), that is: j(m) = o1 = l1, m = 1. The initial support point is the maximum value point within the specified step size r. The value of j(m) is the load value of the initial support point, and m represents the position of the initial support point, m ∈ N;
[0045] Find the maximum value within r points after the initial support point, and use it as the second support point j(n), The position of the second support point is n, and l n is the maximum value in the load sequence (l m+1 , l m+2 ..., l m+r ), where m < n < m + r;
[0046] Calculate the valley-eliminated load segment values between the initial support point and the second support point. The load segment values are the values of the load sequence (o m+1 , o m+2 ..., o n );
[0047] Set the second support point j(n) as the initial support point j(m), that is, j(m) = j(n), m = n; if m + r < N, then find the next second support point again and perform the above operations again to eliminate valleys in the load segment between the two points. Otherwise, calculate the load value of each point as Obtain the valley-eliminated second historical load segment.
[0048] The sliding step maximum valley elimination method can eliminate the valley values less than the set step size (r points) in the historical load segment and smooth the load curve on the power supply line. It can eliminate the drastic fluctuations in the load in a short period of time caused by production conditions on the power supply line (not affected by maintenance), and retain the load valley segments caused by maintenance implementation.
[0049] Step 10212: Determine the start and end time of each maintenance item in the second historical load segment, and calculate the load impact parameter according to the load change within the start and end time.
[0050] Given the first historical load segment sequence L, The second historical load segment sequence O after the sliding step maximum value is eliminated. The specific steps are as follows:
[0051] The statistical mean of the actual load value in the first historical load segment is defined as the threshold for determining the occurrence of maintenance, and the threshold is set as The continuous time less than l' is the maintenance implementation time period.
[0052] Get k i A sequence of Z consecutive load segments j ; Z j ∈S; j = 1, 2, ..., k, let Z j The starting time point is a j , the end time is b j ,have
[0053] Calculating Normal Load Levels in
[0054] Calculate the historical load impact parameter p for each maintenance according to the normal load level j =q0-q j ,in
[0055] Thus, we can get the influence parameter table of each maintenance item on the line, which includes the historical start and end time of the maintenance item, the duration and the historical load influence parameters of each maintenance on the line load, and calculate the load influence parameters.
[0056] Exemplarily, the load impact parameter is calculated based on the load impact of the maintenance item on the line, which is a local impact. In order to obtain the load prediction correction parameters of all maintenance items for the total load value, the load impact parameter calculated in step 1021 is used as the lower limit constraint for calculating the load prediction correction parameter in step 1022.
[0057] Step 1022: Calculate load estimation correction parameters based on the load impact parameters.
[0058] Analyze the m maintenance items of all maintenance lines and take the load impact parameter as the lower limit constraint value s of the load estimation correction parameter of maintenance item i i =p i , the lower limit constraint matrix S of the maintenance item influencing parameters is obtained as [s1 s2 … s m ] T After obtaining the lower limit constraint matrix S based on the load impact parameters, the load estimation correction parameters of all maintenance items can be calculated. The present invention solves the value of the load estimation correction parameter by calling the lsqlin() function in the MATLAB optimization toolbox.
[0059] Specifically, the historical load data is divided into training samples and test samples according to time. The time of the training samples is earlier than that of the test samples. The conventional load estimation model is trained by the training samples. The test samples are estimated by the trained load estimation model to obtain the estimated value. Then, the difference between the actual value and the estimated value of the historical load in the test sample is used to calculate the load estimation correction parameter of each maintenance item. The expression can be written as:
[0060]
[0061] Formula (1) is an expression for correcting the load estimation result through the maintenance plan, where Y(n) is the load estimation value corresponding to the nth sample point, and Q(n) expresses the actual value of the historical load corresponding to the nth sample point, where Y(n)>Q(n); i represents the load estimation correction parameter of the ith maintenance item, where there are m maintenance items in total, b i is a non-negative value; x i (n) represents whether the i-th maintenance item occurs at the n-th sample point (1 if it occurs, 0 if it does not occur).
[0062] Formula (1) can be organized as:
[0063]
[0064] make
[0065] E(n)=Y(n)-Q(n) (3)
[0066] E(n) in formula (3) represents the part of the load estimate that is higher than the actual value, that is, the estimation error. Formula (3) can be rewritten as:
[0067]
[0068] The load estimation correction parameters {b1 b2 … b m} is the regression coefficient
[0069] From the above facts, it can be concluded that
[0070] x(n)=[x1(n) x2(n) … x m (n)] T (5)
[0071] b=[b1 b2 … b m ] T (6)
[0072] Among them, the lower limit constraint matrix S is used as the lower limit constraint of the regression coefficient matrix, b i ≥s i ≥0, i=0,1,2,…,m.
[0073] Formula (4) can be expressed as
[0074] E(n)=x(n) T b (7)
[0075] In order to calculate the regression coefficient b, a sample set {(x(n), E0(n)), d=1, 2, …, D} is constructed, where D is the size of the sample set.
[0076] The regression coefficient b can be obtained by solving the following formula on the sample set:
[0077]
[0078] Formula (8) has a least squares problem with a lower limit constraint on the regression coefficient, and there is a standard mathematical algorithm to solve it. The specific calculation process is as follows: Figure 4 As shown, based on the historical load data after valley elimination processing, the occurrence of all maintenance items, the error between the actual load value and the estimated value, and the lower limit of the load estimation correction parameter are obtained, and the load estimation correction parameter calculation equation is constructed. The appropriate training sample set is selected based on the data in the training period.
[0079] Specifically, according to whether a maintenance item occurs, construct a maintenance item matrix X (161×(288×N)), calculate a prediction error matrix E (1×(288×N)) from the error between the actual load value and the estimated value, use the load influence parameters calculated in step 1021 as the lower limit values of the correction parameters, construct a constraint matrix S (161×1), align the rows of matrices X and E, and perform data screening: 1) Remove the all-zero rows in X and the corresponding rows in E for the all-zero rows in X; 2) Remove the rows in E with elements less than 0 and the corresponding rows in X; 3) Calculate X×S and eliminate the corresponding rows in X and E for the elements where X×S < E. Obtain the data that conforms to the least squares solution rule, and then use the least squares method to solve the regression coefficients, that is, the load prediction correction parameters, by calling the lsqlin() function in the MATLAB optimization toolbox.
[0080] On the basis of qualitatively classifying the maintenance items, first calculate the influence parameters of each maintenance item on the line where it is located as the lower limit values of its "load estimation correction parameters", and construct a lower limit constraint matrix; then use the least squares method to calculate the load estimation correction parameters of each maintenance item on the total load value.
[0081] Step 103: Based on the load estimation correction parameters, correct the influence of line maintenance on historical load data to obtain standard load data.
[0082] Specifically, in the electricity load estimation, first obtain the historical load data corresponding to the period to be estimated as training data, and then, according to the actual maintenance items implemented based on this historical load data, use the load estimation correction parameters to lift and correct the corresponding load segments affected by the maintenance to obtain the standard load data for the period to be estimated.
[0083] Step 104: Train the original load estimation model based on the standard load data to obtain a standard load estimation model, use the standard load model to estimate the load situation, and obtain a standard load estimation result.
[0084] Step 105: Correct the data in the standard load estimation result corresponding to the maintenance time in the future maintenance plan information through the load estimation correction parameters to obtain a corrected load estimation result.
[0085] In the determination of the final load estimation result, first calculate the load estimation value without considering the influence of maintenance through step 103, and then correct it according to the maintenance items to be implemented in the future plan using the load estimation correction parameters, so as to obtain a more accurate corrected load estimation result.
[0086] See Figure 5The embodiment of the present invention provides an electric load estimation device 30, including: an information acquisition module 310, a parameter calculation module 320, a data correction module 330, a standard load estimation module 340 and a correction load estimation module 350.
[0087] The information acquisition module 310 is used to acquire the user's historical load data and historical maintenance data.
[0088] The parameter calculation module 320 is used to calculate load estimation correction parameters based on historical load data and historical maintenance data.
[0089] The data correction module 330 is used to correct the impact of line maintenance on historical load data based on the load estimation correction parameters to obtain standard load data.
[0090] The standard load estimation module 340 is used to train the load estimation original model based on the standard load data to obtain the standard load estimation model, and use the standard load model to estimate the load situation to obtain the standard load estimation result.
[0091] The modified load estimation module 350 is used to modify the data in the standard load estimation result corresponding to the maintenance time in the future maintenance plan information through the load estimation correction parameter to obtain a modified load estimation result.
[0092] Figure 6 Schematic diagram of a terminal device provided by an embodiment of the present invention. Figure 6 As shown, the terminal device 4 of this embodiment includes: a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40, such as a power load estimation program. When the processor 40 executes the computer program 42, the steps in the above power load estimation method embodiment are implemented, such as Figure 2 Alternatively, when the processor 40 executes the computer program 42, the functions of each module / unit in the above-mentioned device embodiments are realized, for example, Figure 5 The functions of modules 310 to 350 are shown.
[0093] Exemplarily, the computer program 42 may be divided into one or more modules / units, which are stored in the memory 41 and executed by the processor 40 to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 42 in the terminal device 4. For example, the computer program 42 may be divided into an information acquisition module, a parameter calculation module, a data correction module, a standard load estimation module, and a corrected load estimation module.
[0094] The terminal device 4 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will appreciate that Figure 6 It is only an example of the terminal device 4 and does not constitute a limitation on the terminal device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.
[0095] The processor 40 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 any conventional processor, etc.
[0096] The memory 41 may be an internal storage unit of the terminal device 4, such as a hard disk or memory of the terminal device 4. The memory 41 may also be an external storage device of the terminal device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the terminal device 4. The memory 41 is used to store the computer program and other programs and data required by the terminal device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
[0097] Those skilled in the art 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 into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into 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 the present invention. 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.
[0098] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0099] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0100] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0101] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0102] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0103] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, 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 capable of carrying the computer program code, recording medium, U disk, mobile hard disk, 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.
[0104] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for estimating power load, characterized in that: include: Obtain the user's historical load data and historical maintenance data; Calculating load estimation correction parameters based on the historical load data and the historical maintenance data; Correcting the influence of line maintenance on the historical load data based on the load estimation correction parameter to obtain standard load data; Based on the standard load data, the original load estimation model is trained to obtain a standard load estimation model, and the load condition is estimated using the standard load model to obtain a standard load estimation result; The data corresponding to the maintenance time in the future maintenance plan information in the standard load estimation result is corrected by the load estimation correction parameter to obtain a corrected load estimation result; The step of calculating the load estimation correction parameter according to the historical load data and the historical maintenance data includes: Calculating the load impact parameter of each maintenance item based on the historical load data and the historical maintenance data; Calculating a load estimation correction parameter based on the load impact parameter; The calculating the load impact parameter of each maintenance item based on the historical load data and the historical maintenance data includes: Using a sliding step maximum method to eliminate valleys in a first historical load segment in the historical load data, to obtain a second historical load segment; Determine the start and end time of each maintenance item on the second historical load segment, and calculate the load impact parameter according to the load change within the start and end time; The step of using the sliding step maximum method to eliminate valleys in the first historical load segment in the historical load data to obtain a second historical load segment includes: Select the load values of N points on the first historical load segment L in the historical load data of the line to be estimated, and set the load value of each point to be Assume the step length is r; Assume the load segment L passes through the sliding step length The load segment after the maximum value is eliminated is O, with a total of N points. The load value of each point is Set the starting load point of segment L as the initial support point j(m), that is, j(m)=o1=l1, m=1, the initial support point is the maximum point within the specified step length r, the value of j(m) is the load value of the initial support point, m represents the position of the initial support point, m∈N; The maximum value of the r points after the initial support point is used as the second support point The second support point is located at n, l n is the load sequence (l m+1 ,l m+2 ...,l m+r ), m <n<m+r; Calculate the load segment value after the valley is eliminated between the initial support point and the second support point, and the load segment value is the load sequence (o m+1 ,o m+2 ...,o n ), Set the second support point j(n) as the initial support point j(m), that is, j(m) = j(n), m = n; if m + r < N, then re-find the next second support point and perform the above operation again to eliminate the valley of the load segment between the two points, otherwise calculate the load value of each point as Obtain the second historical load segment after valley elimination; The step of determining the start and end time of each maintenance item on the second historical load segment, and calculating the load impact parameter according to the load change within the start and end time, includes: Calculating Normal Load Levels Among them i is the load value in the second historical load segment sequence O, The statistical mean of the actual load values in the first historical load segment sequence is the threshold for determining the start and end time of maintenance. The threshold is The continuous time less than l' is the maintenance implementation period, and k i A sequence of Z consecutive load segments j ; Z j ∈S; j = 1, 2, ..., k, Z j The starting point a j is the start time of maintenance, and the end point b j is the maintenance end time, then Calculate the historical load impact parameter p for each maintenance according to the normal load level j , where p j =q0-q j , Calculate the historical load impact parameter p j The load influence parameter p of each maintenance item is obtained i , 2. A method for estimating power load according to claim 1, characterized in that: The calculating the load estimation correction parameter based on the load influence parameter comprises: Calculate the load impact parameters of the m maintenance items of all maintenance lines, and use the load impact parameters of the m maintenance items as the lower limit constraint value s of the load estimation correction parameter of maintenance item i i =p i , the lower limit constraint matrix S = [s1 s2…s m ] T .
3. A method for estimating power load according to claim 2, characterized in that: The calculating of the load estimation correction parameter based on the load influence parameter further includes: Dividing the historical load data into training samples and test samples according to time, wherein the time of the training samples is earlier than the time of the test samples; Training the load estimation model through the training samples; Estimating the test sample by using the trained load estimation model to obtain a load estimation value; According to the difference between the actual historical load value of the test sample and the load estimation value, the load estimation correction parameter of each maintenance item is calculated, and the calculation expression is: Where, Y(n) is the load estimate of the nth sample point, Q(n) is the actual historical load value of the nth sample point, and Y(n)>Q(n); b i is the load estimation correction parameter of the ith maintenance item. There are m maintenance items in total {b1 b2…bm}, b i is a non-negative value; x i (n) represents whether the i-th maintenance item occurs at the n-th sample point; The lower limit constraint matrix S = [s1 s2…s m ] T Solve for the load estimation correction parameter b of all maintenance items i ,s i for b i The lower limit constraint of the maintenance item is used to calculate the load estimation correction parameters of the total load value.
4. A power load estimation device based on the power load estimation method according to any one of claims 1 to 3, characterized in that: include: Information acquisition module, used to obtain the user's historical load data and historical maintenance data; A parameter calculation module, used for calculating load estimation correction parameters according to the historical load data and the historical maintenance data; A data correction module, used for correcting the influence of line maintenance on the historical load data based on the load estimation correction parameter to obtain standard load data; A standard load estimation module is used to train the load estimation original model based on the standard load data to obtain a standard load estimation model, and use the standard load model to estimate the load condition to obtain a standard load estimation result; The modified load estimation module is used to modify the data in the standard load estimation result corresponding to the maintenance time in the future maintenance plan information through the load estimation correction parameter to obtain a modified load estimation result.
5. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the power load estimation method according to any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for estimating power load according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Ocean tide load displacement parameter estimation method based on precise point positioning (PPP) and harmonic analysis
CN107544075A
Power system short-term load probability forecasting method, device and system
CN109214605A
Medium-and-long-term electric quantity safety check credibility evaluation method based on load safety distance
CN111539578A
Checking method, system and device for medium-and-long-term maintenance plan of power grid and medium
CN112215374A
