CN110751342A - Power load time series prediction method based on MBG optimization - Google Patents
Power load time series prediction method based on MBG optimization Download PDFInfo
- Publication number
- CN110751342A CN110751342A CN201911037952.XA CN201911037952A CN110751342A CN 110751342 A CN110751342 A CN 110751342A CN 201911037952 A CN201911037952 A CN 201911037952A CN 110751342 A CN110751342 A CN 110751342A
- Authority
- CN
- China
- Prior art keywords
- mbg
- optimization
- model
- algorithm
- power load
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/06—Electricity, gas or water supply
Abstract
The invention discloses a power load time sequence prediction method based on a small batch gradient descent optimization (MBG) algorithm. The method comprises the steps of firstly adopting a Combination (CM) model to model a power load time sequence, then adopting a small batch gradient descent optimization (MBG) algorithm to carry out online optimization on a parameter set of the CM model, and finally selecting a CM model order for carrying out online prediction on the power load time sequence according to a defined minimum information criterion. The method provided by the invention can effectively improve the real-time performance and accuracy of the power load time sequence prediction.
Description
Technical Field
The invention relates to the technical field of load time sequence prediction of a power system, in particular to a power load time sequence prediction method based on a small batch gradient descent optimization (MBG) algorithm.
Background
The method can be used for accurately predicting the power load, particularly predicting the power load in a short period, can be used for improving the influence of the load on a power system, and has important effects on making a more reasonable power generation plan for a power plant, reducing the cost, participating in power generation competition of a wind power plant and the like. The traditional short-term power load prediction models comprise an ARIMA model, a parametric regression model, a Kalman filtering model and the like. At present, with the rapid development of computer technology and the wide application of artificial intelligence technology in power systems, models such as neural networks, expert systems, support vector machines, etc. have also been applied to the prediction of power load time series. With the development of energy internet, the access of new energy and the enhancement of information between loads, the power grid puts higher requirements on the real-time performance and accuracy of data processing in load prediction, and how to solve the contradiction between the prediction real-time performance and accuracy of complex nonlinear models such as a neural network, an expert system, a support vector machine and the like is still a key scientific problem.
Previous studies have shown that a Combined (CM) model built by combining a neural network model and an autoregressive model can well integrate the advantages of the two. The established CM model can effectively avoid the problems of excessive nonlinear parameters, higher order and poorer real-time performance of the neural network caused by singly adopting the neural network model to optimize the power load time sequence, and can also effectively avoid the defect of weak nonlinear approximation capability caused by only adopting the autoregressive model. At present, parameter optimization methods for CM models include Levenberg-Marquardt methods, structured nonlinear optimization methods, variable projection algorithms and the like, but the methods are offline parameter optimization methods, and parameters of the models are fixed in an online prediction process, so that the accuracy and the real-time performance of the models are poor.
Disclosure of Invention
The invention aims to solve the technical problem of providing a power load time sequence prediction method based on a small batch gradient descent optimization (MBG) algorithm aiming at the defects of the prior art. According to the method, firstly, a Combined (CM) model is adopted to model a time sequence of the power load, then, an MBG algorithm is adopted to carry out online optimization on parameters of the CM model, and the method can remarkably improve the real-time performance and accuracy of the CM model on power load time prediction.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows: the MBG optimization-based power load time series prediction method comprises the following steps:
1) acquiring load data of a power system in real time to obtain power load time sequence data;
2) modeling the power load time series by adopting a CM model;
3) performing online optimization on the parameter set theta of the CM model designed in the step 2) by adopting a small batch gradient descent optimization (MBG) algorithm;
4) the minimum information criterion is used to select the order p and m of the optimal CM model.
In step 2), the CM model structure for modeling the power load time series is as follows:
wherein, ykIs the kth sample data of the electrical load ξkModeling error for the CM model; p and m are the order of the CM model; i | · | purple wind2Performing two-norm operation;is a linear weight of the CM model, and n1=0,1,...,p、n2=0,1,...,m;Is the center of the CM model, and n3=1,...,m;wkIs the state vector of the CM model, and wk=yk-1. By definitionWherein: y isp,k=[yk-1,yk-2,...,yk-p]T,And defines the parameter set θ ═ c to be optimized for the CM modelT,zT]TWherein c ═ c0,0,c1,0,...,cp,0,c0,1,c0,2,...,c0,m,c1,1,c1,2,...,c1,m,...,cp,1,cp,2,...,cp,m]T,z=[z1,z2,...,zm]T(ii) a The CM model in step 2) can be finally transformed into yk=μT(z,k)c+ξkIn the form of (1).
In step 3), a small batch gradient descent optimization (MBG) algorithm for optimizing the parameter set θ of the CM model in step 2) specifically includes the following steps:
(1) when k is 1, the MBG optimization algorithm is initialized. Selecting an initial value of a parameter set theta to be optimizedAnd vectorAndthe elements in the MBG optimization algorithm are set to be random quantities between 0 and 1, and the initial value of a convergence factor of the MBG optimization algorithm is set to be βθ,0Setting forgetting factor α of MBG optimization algorithm to be 0.92, setting termination error delta of MBG optimization algorithm to be 1 multiplied by 10-5。
(2) Real-time acquisition and storage of sampled data y of an electrical loadkUntil k is greater than or equal to l and l is greater than or equal to p>2. At this time, y is calculatedp,k=[yk-1,yk-2,...,yk-p]T,Y(l,k)=[yk,yk-1,...,yk-l+1]T。
(3) The MBG optimization algorithm waits for the optimization of the parameters from the k-1 step to the k stepThe updating process is as follows: computingWherein wk=yk-1(ii) a ComputingWherein: y isp,k=[yk-1,yk-2,...,yk-p]TAnd is andcalculating partial derivativesCalculating an overall information vector of an algorithmStack matrix of calculation algorithmAnd isComputingCalculating convergence factor of algorithmAnd the forgetting factor α is equal to 0.92, and the model parameters at the moment are updated
(4) And judging whether the MBG optimization algorithm is terminated or continued to be optimized. ComparisonAndwhen in useIf so, k is k +1, and the Step goes to Step 3; otherwise, the MBG optimization process is ended, and a parameter N is defined to be k, and the MBG algorithm is optimized at the momentCM model parametersNamely, it is
In step4, the minimum information amount is defined as:and (3) aiming at different CM model orders (p and m), the MBG optimization algorithm in the step 3) is repeatedly adopted to optimize the model parameters, and the minimum information quantity pi of the optimized CM model is calculated until a CM model order (p and m) which can enable the pi value to be minimum is found to be used as the optimal order of the CM model for online real-time prediction of the power load time sequence.
Compared with the prior art, the invention has the beneficial effects that: according to the invention, the CM model is adopted to model the power load time sequence, so that the problems of excessive neural network nonlinear parameters, higher order and poorer real-time performance caused by singly adopting the neural network model to optimize the power load time sequence are effectively avoided; meanwhile, the defect of weak nonlinear approximation capability caused by only adopting an autoregressive model is effectively avoided. According to the method, online optimization is performed on the parameters of the CM model by adopting an MBG optimization algorithm, so that the defect that the model parameters are fixed and unchanged in an online prediction process in an offline parameter optimization method is effectively overcome; meanwhile, compared with a random gradient descent optimization algorithm, the small-batch gradient descent optimization algorithm provided by the invention has higher precision.
Drawings
Fig. 1 is a schematic flow chart of a power load time series prediction method based on MBG optimization according to the present invention.
Detailed Description
The technical scheme of the invention is further explained by combining the attached figure 1 in the specification. With an active power time sequence of a certain mains power load as a specific embodiment, a flow diagram of the prediction method based on MBG optimization is shown in FIG. 1, and a specific implementation process of the technical scheme is as follows:
step 1: and collecting active power time sequence data of the power load between 15 days in the city by taking 8min as a sampling period, wherein the total number of the active power time sequence data is 2700 points, and the active power time sequence data is used for modeling the CM model in the step 2).
Step 2: the following CM model was used to model the power load time series:
in the above formula, ykIs the kth sample data of the electrical load ξkModeling error for the CM model; p and m are the order of the CM model; i | · | purple wind2Performing two-norm operation;is a linear weight of the CM model, and n1=0,1,...,p、n2=0,1,...,m;Is the center of the CM model, and n3=1,...,m;wkIs the state vector of the CM model, and wk=yk-1。
Definition ofWherein: y isp,k=[yk-1,yk-2,...,yk-p]T,And isDefining a parameter set θ ═ c to be optimized for the CM modelT,zT]TWherein c ═ c0,0,c1,0,...,cp,0,c0,1,c0,2,...,c0,m,c1,1,c1,2,...,c1,m,...,cp,1,cp,2,...,cp,m]T,z=[z1,z2,...,zm]T. The CM model can eventually be transformed into a form with linear and non-linear parameter separations as follows:
yk=μT(z,k)c+ξk(2)
and step 3: the specific calculation process of the small batch gradient descent optimization (MBG) algorithm for optimizing the parameter set theta of the CM model in the step 2) is as follows:
step 1: when k is 1, the MBG optimization algorithm is initialized. Selecting an initial value of a parameter set theta to be optimizedAnd vectorAndthe elements in the MBG optimization algorithm are set to be random quantities between 0 and 1, and the initial value of a convergence factor of the MBG optimization algorithm is set to be βθ,0Setting forgetting factor α of MBG optimization algorithm to be 0.92, setting termination error delta of MBG optimization algorithm to be 1 multiplied by 10-5。
Step 2: real-time acquisition and storage of sampled data y of an electrical loadkUntil k is greater than or equal to l and l is greater than or equal to p>2. At this time, y is calculatedp,k=[yk-1,yk-2,...,yk-p]T,Y(l,k)=[yk,yk-1,...,yk-l+1]T。
Step 3: the MBG optimization algorithm waits for the optimization of the parameters from the k-1 step to the k stepThe updating process is as follows: computingWherein wk=yk-1(ii) a ComputingWherein: y isp,k=[yk-1,yk-2,...,yk-p]TAnd is andcalculating partial derivativesCalculating an overall information vector of an algorithmStack matrix of calculation algorithmAnd isComputingCalculating convergence factor of algorithmAnd the forgetting factor α is equal to 0.92, and the model parameters at the moment are updated
Step 4: and judging whether the MBG optimization algorithm is terminated or continued to be optimized. ComparisonAndwhen in useIf so, k is k +1, and the Step goes to Step 3; otherwise, the MBG optimization process is ended, and the parameter N is defined to be k, and then the CM model parameter optimized by the MBG algorithm is obtained at the momentNamely, it is
And 4, step 4: the minimum information criterion is used to select the order p and m of the optimal CM model. The minimum amount of information defining the CM model is:and (3) aiming at different CM model orders (p and m), the MBG optimization algorithm in the step 3) is repeatedly adopted to optimize the model parameters, and the minimum information quantity pi of the optimized CM model is calculated until a CM model order (p and m) which can enable the pi value to be minimum is found. The order of the CM model finally obtained in this specific embodiment is: (p-8 and m-3). The CM model (p 8 and m 3) is used to predict the time series of the active power of the utility power load online in real time.
Claims (5)
1. A power load time series prediction method based on MBG optimization is characterized by comprising the following steps:
1) acquiring load data of a power system in real time to obtain power load time sequence data;
2) modeling the power load time series by adopting a CM model;
3) performing online optimization on the parameter set theta of the CM model in the step 2) by adopting a small batch gradient descent optimization (MBG) algorithm;
4) the minimum information criterion is used to select the order p and m of the optimal CM model.
2. The MBG-optimization-based power load time series prediction method according to claim 1, wherein the CM model for modeling the power load time series in the step 2) has the following specific structure:
wherein, ykIs the kth sample data of the electrical load ξkModeling error for the CM model; p and m are the order of the CM model; i | · | purple wind2Performing two-norm operation;is a linear weight of the CM model, and n1=0,1,...,p、n2=0,1,...,m;Is the center of the CM model, and n3=1,...,m;wkIs the state vector of the CM model, and wk=yk-1。
3. The MBG-optimization-based power load time series prediction method according to claim 1, wherein in the step 2), the MBG-optimization-based power load time series prediction method is realized by definingWherein: y isp,k=[yk-1,yk-2,...,yk-p]T,And isThe CM model can be transformed into yk=μT(z,k)c+ξkIn a form of (a), wherein: z is ═ z1,z2,...,zm]T,c=[c0,0,c1,0,...,cp,0,c0,1,c0,2,...,c0,m,c1,1,c1,2,...,c1,m,...,cp,1,cp,2,...,cp,m]T。
4. The MBG-optimization-based power load time-series prediction method according to claim 1, wherein in step 3), a parameter set θ ═ c for the CM modelT,zT]TThe optimization method comprises the following steps of carrying out an optimized small batch gradient descent optimization (MBG) algorithm, wherein the specific optimization process comprises the following steps:
(1) when k is 1, the MBG optimization algorithm is initialized. Selecting an initial value of a parameter set theta to be optimizedAnd vectorAndthe elements in the MBG optimization algorithm are set to be random quantities between 0 and 1, and the initial value of a convergence factor of the MBG optimization algorithm is set to be βθ,0Setting forgetting factor α of MBG optimization algorithm to be 0.92, setting termination error delta of MBG optimization algorithm to be 1 multiplied by 10-5。
(2) Real-time acquisition and storage of sampled data y of an electrical loadkUntil k is greater than or equal to l and l is greater than or equal to p>2. At this time, y is calculatedp,k=[yk-1,yk-2,...,yk-p]T,Y(l,k)=[yk,yk-1,...,yk-l+1]T。
(3) The MBG optimization algorithm waits for the optimization of the parameters from the k-1 step to the k stepThe updating process is as follows: computingWherein wk=yk-1(ii) a ComputingWherein: y isp,k=[yk-1,yk-2,...,yk-p]TAnd is andcalculating partial derivativesCalculating an overall information vector of an algorithmStack matrix of calculation algorithmAnd isComputingCalculating convergence factor of algorithmAnd the forgetting factor α is equal to 0.92, and the model parameters at the moment are updated
(4) And judging whether the MBG optimization algorithm is terminated or continued to be optimized. ComparisonAndwhen in useIf so, k is k +1, and the Step goes to Step 3; otherwise, the MBG optimization process is ended, and the parameter N is defined to be k, and then the CM model parameter optimized by the MBG algorithm is obtained at the momentNamely, it is
5. The MBG-optimization-based power load time series prediction method according to claim 1, wherein in the step 4), the specific structure of the minimum information amount is as follows:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911037952.XA CN110751342B (en) | 2019-10-29 | 2019-10-29 | Power load time series prediction method based on MBG optimization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911037952.XA CN110751342B (en) | 2019-10-29 | 2019-10-29 | Power load time series prediction method based on MBG optimization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110751342A true CN110751342A (en) | 2020-02-04 |
CN110751342B CN110751342B (en) | 2021-03-23 |
Family
ID=69280819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911037952.XA Active CN110751342B (en) | 2019-10-29 | 2019-10-29 | Power load time series prediction method based on MBG optimization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110751342B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105701559A (en) * | 2015-12-31 | 2016-06-22 | 国网上海市电力公司 | Short-term load prediction method based on time sequence |
CN107832259A (en) * | 2017-11-02 | 2018-03-23 | 国网四川雅安电力(集团)股份有限公司 | A kind of load forecasting method based on time series and Kalman filtering |
CN108764460A (en) * | 2018-05-16 | 2018-11-06 | 华中科技大学 | A kind of Time Series Forecasting Methods based on time convolution sum LSTM |
-
2019
- 2019-10-29 CN CN201911037952.XA patent/CN110751342B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105701559A (en) * | 2015-12-31 | 2016-06-22 | 国网上海市电力公司 | Short-term load prediction method based on time sequence |
CN107832259A (en) * | 2017-11-02 | 2018-03-23 | 国网四川雅安电力(集团)股份有限公司 | A kind of load forecasting method based on time series and Kalman filtering |
CN108764460A (en) * | 2018-05-16 | 2018-11-06 | 华中科技大学 | A kind of Time Series Forecasting Methods based on time convolution sum LSTM |
Non-Patent Citations (2)
Title |
---|
侯海良 等: "基于RBF-ARX模型的短期电力负荷预测", 《河海大学学报(自然科学版)》 * |
刘敏安: "混沌理论与神经网络在电力系统短期负荷预测中的应用", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑(月刊 )》 * |
Also Published As
Publication number | Publication date |
---|---|
CN110751342B (en) | 2021-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110298138B (en) | Comprehensive energy system optimization method, device, equipment and readable storage medium | |
CN112990556A (en) | User power consumption prediction method based on Prophet-LSTM model | |
CN110163429B (en) | Short-term load prediction method based on similarity day optimization screening | |
CN113094860B (en) | Industrial control network flow modeling method based on attention mechanism | |
CN110751318A (en) | IPSO-LSTM-based ultra-short-term power load prediction method | |
CN110826791A (en) | Hybrid wind power prediction method based on long-time and short-time memory neural network | |
CN110866633B (en) | Micro-grid ultra-short-term load prediction method based on SVR support vector regression | |
CN111967183A (en) | Method and system for calculating line loss of distribution network area | |
CN108090563A (en) | A kind of electric flux Forecasting Methodology based on BP neural network | |
CN112434848A (en) | Nonlinear weighted combination wind power prediction method based on deep belief network | |
CN112508299A (en) | Power load prediction method and device, terminal equipment and storage medium | |
CN114118569A (en) | Wind power multi-step prediction method based on multi-mode multi-task Transformer network | |
CN112381279B (en) | Wind power prediction method based on VMD and BLS combined model | |
Sun et al. | Short-term power load prediction based on VMD-SG-LSTM | |
CN110751342B (en) | Power load time series prediction method based on MBG optimization | |
CN117113086A (en) | Energy storage unit load prediction method, system, electronic equipment and medium | |
CN111476402A (en) | Wind power generation capacity prediction method coupling meteorological information and EMD technology | |
CN117114160A (en) | Short-term photovoltaic power prediction method | |
CN114234392B (en) | Air conditioner load fine prediction method based on improved PSO-LSTM | |
CN113779861B (en) | Photovoltaic Power Prediction Method and Terminal Equipment | |
CN113128666A (en) | Mo-S-LSTMs model-based time series multi-step prediction method | |
Sun et al. | Convolution and Long Short-Term Memory Neural Network for PECVD Process Quality Prediction | |
Sun et al. | Short-term PV Power Prediction Based on Data Mining and Multi-kernel SVM | |
CN110796309A (en) | Short-term load prediction method of power system based on RBF-AR model | |
CN110265999B (en) | Highly-meshed secondary power distribution network load estimation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |