CN106022549A - Short term load predication method based on neural network and thinking evolutionary search - Google Patents

Short term load predication method based on neural network and thinking evolutionary search Download PDF

Info

Publication number
CN106022549A
CN106022549A CN201610606112.0A CN201610606112A CN106022549A CN 106022549 A CN106022549 A CN 106022549A CN 201610606112 A CN201610606112 A CN 201610606112A CN 106022549 A CN106022549 A CN 106022549A
Authority
CN
China
Prior art keywords
value
size
output
layer
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.)
Pending
Application number
CN201610606112.0A
Other languages
Chinese (zh)
Inventor
包广清
林麒麟
汪宁渤
王晓兰
张晓英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lanzhou University of Technology
Original Assignee
Lanzhou University of Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lanzhou University of Technology filed Critical Lanzhou University of Technology
Priority to CN201610606112.0A priority Critical patent/CN106022549A/en
Publication of CN106022549A publication Critical patent/CN106022549A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Abstract

The invention provides a short term load predication method based on a neural network and thinking evolutionary search. The method comprises the steps of (1) obtaining historical load data, and carrying out segmentation and normalization on the data, (2) obtaining weather conditions, data types and other related data samples which influence the load predication, and taking the data samples and the historical load data as input variables, (3) determining the input and output samples of a training set and a testing set, (4) according to the matrix parameter of the input and output samples, determining Elman network input and output layer neuron numbers, (5) determining an Elman network structure, (6) determining an encoding length by a network structure, (7) operating MEA algorithm parameter setting, (8) carrying out assimilation and dissimilation operations to obtain an optimal weight and an optimal threshold, (9) establishing an Elman network model by the optimal weight and the optimal threshold, and carrying out load predication, and (10) carrying out normalization process on the network output value, obtaining a predication value, and carrying out error analyzing and predication performance evaluation.

Description

Based on neutral net and the short-term load forecasting method of thinking evolution search
Technical field
The invention belongs to system for distribution network of power load prediction technical field, be specifically related to a kind of based on neutral net and think of The short-term load forecasting method of dimension evolution search.
Background technology
Load forecast is the important evidence of the departments such as power planning, marketing, market transaction, scheduling, preferably Forecasting Methodology contributes to power department and makes correct decision-making.According to predicted time length, generally can be by power system load Prediction is divided into the several types such as long-term, mid-term, short-term and ultra-short term prediction.
Wherein short-term load forecasting is the important component part of load forecast, mainly includes that daily load prediction and week are born Lotus is predicted, is respectively used to arrange daily dispatch scheduling and week operation plan.Under current Electricity Market, improve short term Precision of prediction, to arranging startup-shutdown plan, unit commitment, generating capacity to make rational planning for and economic load dispatching and electric power city Field transaction etc. has important practical significance.
Experts and scholars propose multiple Forecasting Methodology the most both at home and abroad, mainly may be used according to the difference of prediction Mathematical Modeling Methods To be divided into two big classes: mathematical statistics method and artificial intelligence method.Mathematical statistics method specifically include that random sequence method, linear regression method, State space method and exponential smoothing etc..Mathematical statistics method can preferably carry out linear load prediction, and lacks process The ability of nonlinear-load.Artificial intelligence approach includes: expert system approach, fuzzy reasoning method, artificial neural network method etc..Expert Systems approach need to obtain experiential operating knowledge, and it is relatively difficult that Heuristics is converted into mathematical programming.Fuzzy reasoning is special The extension of family's system, in order to obtain the non-linear behavior of load data, needs to be tied by expertise structure fuzzy reasoning optimum Structure and minimize error model.Artificial neural network is independent of artificial experience, by training sample data, sets up prediction network, Can preferably process the non-linear relation of load data.
Through retrieving, Load Prediction In Power Systems method based on BP neutral net (Publication No. CN 103295081 A), And a kind of resident load Forecasting Methodology based on Elman neutral net of patent (Publication No. CN 104636822 A), exist Following problem: owing to BP neutral net and Elman network all use BP algorithm, above patent does not considers that BP algorithm is in study During new samples, there is the trend forgeing old sample, and when asking for weight threshold, there is the defect being easily trapped into local minimizers number, Affect load prediction precision.
The present invention have selected Elman artificial neural network, has impermanent memory function, it is possible to avoids network training new sample In this time, forgets the drawback of old sample.Utilize global optimizing and the parallel search performance of mind evolutionary (MEA) simultaneously, optimize The weights of Elman neutral net and threshold value, establish MEA-Elman forecast model, improve predictablity rate.
Summary of the invention
It is an object of the invention to provide the short-term load forecasting method of a kind of search of developing based on neutral net and thinking.
The present invention is based on neutral net and the short-term load forecasting method of thinking evolution search, the steps include:
Step one: obtain historical load number data, and it is carried out segmentation and normalized;
Step 2: obtain the data sample of the relative influence load prediction such as weather conditions and date type, together with historical load number According to together as input variable;
Step 3: determine the input and output sample of training set, test set;
Step 4: according to the matrix dimension of input and output sample, determines Elman network input layer neuron number S1And output layer Neuron number S3, middle hidden layer neuron number is determined by network repetition training, is designated as S2
Step 5: determine Elman network structure, Elman network is made up of, wherein input layer, hidden layer, undertaking layer, output layer Accept layer and be used for remembering the output of hidden layer previous moment, and this output information is fed back to hidden layer, generally can be by this network Structure is abbreviated as S1-S2-S3
Step 6: determined code length by network structure, is designated as S, the i.e. required weight threshold number optimized;
Step 7: carry out MEA algorithm parameter setting, Population Size POP is setsize, winning population number Bestsize, plant temporarily Group's size Temsize, sub-population size SG
Step 8: carry out convergent and operation dissimilation, compares its fitness value Fitness size and produces winning individuality, obtains Excellent weight w1、w2、w3, optimal threshold b1、b2
Step 9: by best initial weights and threshold value w1、w2、w3、b1、b2Set up Elman network model, and carry out load prediction;
Step 10: network output valve is gone normalized, obtains predictive value, and carries out error analysis and estimated performance is commented Estimate.
The forecast model of the present invention provides the benefit that: the present invention utilizes MEA algorithm optimization Elman network, it is to avoid network exists Ask for weight threshold and be easily absorbed in the defect of local minimizers number, and then improve the precision of load prediction, to power system rational management, Market planning and raising power consumption efficiency, important in inhibiting.
Accompanying drawing explanation
Fig. 1 is forecast model structured flowchart of the present invention, and Fig. 2 is the MEA algorithm flow chart that the present invention uses, and Fig. 3 is this The Elman neural network structure figure of bright use, Fig. 4 is the MEA-Elman Optimized model flow chart that the present invention uses, and Fig. 5 is this The MEA-Elman forecast model that invention proposes predicts the outcome and Elman neural network prediction Comparative result figure, and Fig. 6 is the present invention The MEA-Elman forecast model proposed predicts the outcome and BP neural network prediction Comparative result figure, and Fig. 7 is the electric power of load prediction Big data platform Organization Chart, Fig. 8 is MapReduce parallel computation schematic diagram, and Fig. 9 is the MEA-Elman prediction that the present invention proposes The prediction block diagram that algorithm is combined with MapReduce.
Detailed description of the invention
Embodiment one, the present invention is based on neutral net and the short-term load forecasting method of thinking evolution search, its step For:
Step one: obtain historical load number data, and it is carried out segmentation and normalized;
Step 2: obtain the data sample of the relative influence load prediction such as weather conditions and date type, together with historical load number According to together as input variable;
Step 3: determine the input and output sample of training set, test set;
Step 4: according to the matrix dimension of input and output sample, determines Elman network input layer neuron number S1And output layer Neuron number S3, middle hidden layer neuron number is determined by network repetition training, is designated as S2
Step 5: determine Elman network structure, Elman network is made up of, wherein input layer, hidden layer, undertaking layer, output layer Accept layer and be used for remembering the output of hidden layer previous moment, and this output information is fed back to hidden layer, generally can be by this network Structure is abbreviated as S1-S2-S3
Step 6: determined code length by network structure, is designated as S, the i.e. required weight threshold number optimized;
Step 7: carry out MEA algorithm parameter setting, Population Size POP is setsize, winning population number Bestsize, plant temporarily Group's size Temsize, sub-population size SG
Step 8: carry out convergent and operation dissimilation, compares its fitness value Fitness size and produces winning individuality, obtains Excellent weight w1、w2、w3, optimal threshold b1、b2
Step 9: by best initial weights and threshold value w1、w2、w3、b1、b2Set up Elman network model, and carry out load prediction;
Step 10: network output valve is gone normalized, obtains predictive value, and carries out error analysis and estimated performance is commented Estimate.
The above Forecasting Methodology, in step one, historical load data sectional rule is: by the value in L moment in the past, enter Row P walks prediction, and desirable L adjacent sample is sliding window, and is mapped to P predictive value, i.e. input is: { [X1、 X2……XL]、[X2、X3……XL+1]…[XK、XK+1……XK+L-1], then correspondence is output as: { [XL+1、XL+2……XL+P]、 [XL+2、XL+3……XL+P+1]…[XK+L、XK+L+1……XK+L+P-1]};Here L=3, P=1 are taken, i.e. with the load data of first three day Predict the 4th day load variations situation.
The above Forecasting Methodology, in step one, normalized expression formula is:
y = ( y m a x - y m i n ) * ( x - x m i n ) x max - x min + y m i n - - - ( 1 )
Wherein yminAnd ymaxIt is normalized parameter, takes ymin=0, ymax=1;Y is standard value after normalization, and span is [ymin, ymax];And x is sample original value, xmin、xmaxIt is respectively the minima in sample and maximum.
The above Forecasting Methodology, in step 6, code length S expression formula is:
S=S1*S2+S2*S2+S2*S3+S2+S3 (2)
Wherein S1*S2For the number connecting weights of input layer to hidden layer, S2*S2For accepting the layer connection weights to hidden layer Number, S2*S3For the connection weights number of hidden layer to output layer, S2For hidden layer threshold number, S3For output layer threshold value Number.
The above Forecasting Methodology, sub-population size S in step 7GExpression formula is:
SG=POPsize/(Bestsize+Temsize) (3)
Wherein POPsizeFor Population Size, BestsizeWinning population number, TemsizeInterim population number.
The above Forecasting Methodology, in step 8, fitness value function Fitness expression formula is:
F i t n e s s = 1 / ( T s i m - T t e s t ) 2 n - - - ( 4 )
Wherein TtestFor test set actual value, TsimFor test set predictive value, n is predictive value number.
The above Forecasting Methodology, goes the normalized expression formula to be in step 10:
x F = ( x T m a x - x T m i n ) * ( y o - y m i n ) y m a x - y min + x T m i n - - - ( 5 )
Wherein xFFor removing the return value after normalization, xTmaxAnd xTminIt is respectively the maximum in test set sample and minima, yo For network output valve, parameter yminAnd ymaxValue keep constant, be taken as 0 and 1 respectively.
The above Forecasting Methodology, in step 10, error analysis expression formula is:
M A P E = 1 N ( Σ i = 1 N | Re i - F i Re i | * 100 % ) - - - ( 6 )
R M S E = Σ i = 1 N ( F i - Re i ) 2 N - - - ( 7 )
Wherein ReiFor actual value, FiFor predictive value, N is predictive value number;MAPE is mean percent absolute error (Mean Absolute Percentage Error);RMSE is root-mean-square error (Root Mean Square Error).
Below the method for the present invention is further launched, concretely comprising the following steps of the method for the present invention:
(1) obtain historical load number data, and it is carried out segmentation and normalized;
(2) data sample of the relative influence load prediction such as weather conditions and date type is obtained, together with historical load data one Rise as input variable;
(3) the input and output sample of training set, test set is determined;
(4) according to the matrix dimension of input and output sample, Elman network input layer neuron number S is determined1Neural with output layer Unit's number S3, middle hidden layer neuron number is determined by network repetition training, is designated as S2
(5) determining Elman network structure, Elman network is made up of input layer, hidden layer, undertaking layer, output layer, wherein accepts Layer is used for remembering the output of hidden layer previous moment, and this output information is fed back to hidden layer, generally can be by this network structure It is abbreviated as S1-S2-S3
(6) determined code length by network structure, be designated as S, the i.e. required weight threshold number optimized;
(7) carry out MEA algorithm parameter setting, Population Size POP is setsize, winning population number Bestsize, interim population big Little Temsize, sub-population size SG
(8) carry out convergent and operation dissimilation, compare its fitness value Fitness size and produce winning individuality, obtain optimum power Value w1、w2、w3, optimal threshold b1、b2
(9) by best initial weights and threshold value w1、w2、w3、b1、b2Set up Elman network model, and carry out load prediction;
(10) network output valve is gone normalized, obtain predictive value, and carry out error analysis and forecast performance evaluation.
Wherein in step (1), historical load data sectional rule is: by the value in L moment in the past, carry out P step prediction, can Taking L adjacent sample is sliding window, and is mapped to P predictive value, i.e. input is: { [X1、X2……XL]、[X2、 X3……XL+1]…[XK、XK+1……XK+L-1], then correspondence is output as: { [XL+1、XL+2……XL+P]、[XL+2、XL+3…… XL+P+1]…[XK+L、XK+L+1……XK+L+P-1]};Here take L=3, P=1, i.e. predict the 4th day with the load data of first three day and bear Lotus situation of change.
Wherein in step (1), the expression formula of normalized is as follows:
y = ( y m a x - y m i n ) * ( x - x m i n ) x m a x - x m i n + y m i n - - - ( 1 )
Wherein yminAnd ymaxIt is normalized parameter, takes ymin=0, ymax=1;Y is standard value after normalization, and span is [ymin, ymax];And x is sample original value, xmin、xmaxIt is respectively the minima in sample and maximum.
Wherein in step (6), code length S expression formula is as follows:
S=S1*S2+S2*S2+S2*S3+S2+S3 (2)
In formula, S1*S2For the number connecting weights of input layer to hidden layer, S2*S2For accepting the layer connection weights to hidden layer Number, S2*S3For the connection weights number of hidden layer to output layer, S2For hidden layer threshold number, S3For output layer threshold value Number.
Wherein step (7) sub-population size SGExpression formula is:
SG=POPsize/(Bestsize+Temsize) (3)
In formula, POPsizeFor Population Size, BestsizeWinning population number, TemsizeInterim population number.
Wherein step (8) fitness value function Fitness expression formula is:
F i t n e s s = 1 / ( T s i m - T t e s t ) 2 n - - - ( 4 )
Wherein TtestFor test set actual value, TsimFor test set predictive value, n is predictive value number.
Wherein step (9) is with w1、w2、w3、b1、b2Assignment expression for weight threshold is:
Net_optimized.IW{1,1}=w1 (5)
Net_optimized.LW{1,1}=w2 (6)
Net_optimized.LW{2,1}=w3 (7)
Net_optimized.b{1}=b1 (8)
Net_optimized.b{2}=b2 (9)
(5) formula represents w1It is assigned to the input layer connection weights to implicit interlayer;(6) formula represents w2It is assigned to accept layer arrive The connection weights of implicit interlayer;(7) formula represents w3It is assigned to the hidden layer connection weights to output interlayer;(8) formula represents b1 It is assigned to the threshold value of hidden layer;(9) formula represents b2It is assigned to the threshold value of output layer;(5) net_optimized~in (9) formula Represent the weight threshold after MEA algorithm optimization.
Wherein in step (9), Elman network model state-space expression is as follows:
yh(k)=g (w1u(k-1)+w2yc(k)+b1) (10)
yc(k)=yh(k-1) (11)
yo(k)=f (w3yh(k)+b2) (12)
(10) y in formulahK () is hidden layer output, w1Connecting weights for input layer to hidden layer, u (k-1) is input sample, w2For Accept the layer connection weights to implicit interlayer, ycK () is for accepting layer output, b1For hidden layer threshold value, g (k) is that hidden layer transmits letter Number, can be chosen as Sigmoid function, and expression formula is: g (k)=1/ (1+e-k);(11) y in formulacK () is for accepting layer output, yh (k-1) it is the output of hidden layer previous moment;(12) y in formula0K () is output layer output, w3Connection weight for hidden layer to output layer Value, yhK () is hidden layer output, b2For output layer threshold value, f (k) is that output layer transmits function, generally linear function.
Wherein step (10) is gone the normalized expression formula to be:
x F = ( x T m a x - x T m i n ) * ( y o - y m i n ) y m a x - y min + x T m i n - - - ( 13 )
Wherein xFFor removing the return value after normalization, xTmaxAnd xTminIt is respectively the maximum in test set sample and minima, yo For network output valve, parameter yminAnd ymaxValue keep constant, be taken as 0 and 1 respectively.
Wherein in step (10), error expression is as follows:
M A P E = 1 N ( Σ i = 1 N | Re - F i Re i | * 100 % ) - - - ( 14 )
R M S E = Σ i = 1 N ( F i - Re i ) 2 N - - - ( 15 )
(14), Re in (15) formulaiFor actual value, FiFor predictive value, N is predictive value number;(14) in formula, MAPE is mean percent Absolute error (MeanAbsolute Percentage Error);(15) in formula, RMSE is root-mean-square error (Root Mean Square Error);MAPE, RMSE can be simultaneously as the comprehensive value model of prediction;MAPE, RMSE value are the least, show prediction Effect is the best.
Describe specific embodiments of the present invention below in conjunction with the accompanying drawings in detail.
This embodiment uses somewhere integral point load every day first 30 day of January, weather conditions and date type thereof for number According to sample, it was predicted that the 31st day integral point moment load.
Fig. 1 is forecast model structured flowchart of the present invention, and the present invention is by weather conditions, date type and historical load number According to the input as MEA-Elman forecast model, carry out load prediction.Wherein weather conditions can represent with normalized parameter, as Shown in table 1.Date type normalized parameter is as shown in table 2.
Table 1 weather conditions normalized parameter:
Weather conditions Normalized parameter Weather conditions Normalized parameter
Fine 0 Drizzle or moderate rain 0.4
Clear to cloudy 0.1 Moderate rain 0.5
Cloudy 0.2 Moderate rain is to heavy rain 0.6
Cloudy 0.25 Heavy rain 0.7
Cloudy turn to overcast 0.25 Heavy rain 0.8
Light rain 0.3 Extra torrential rain 0.9
Table 2 date type normalized parameter:
Date type Normalized parameter Date type Normalized parameter
Monday 0.1 Friday 0.5
Tuesday 0.2 Saturday 0.6
Wednesday 0.3 Sunday 0.7
Thursday 0.4 Festivals or holidays 0.6
Take the load data of 24 every day, produce the data sample of 31 × 24, be designated as:
Data 31 × 24 = D 1 × 1 D 1 × 2 ... D 1 × 24 D 2 × 1 D 2 × 2 ... D 2 × 24 ... ... ... ... D 31 × 1 D 31 × 2 ... D 31 × 24 - - - ( 16 )
Data sample is carried out segment processing, predicts the integral point load data of the 4th day with the integral point load data of first 3 days, now Form new data sample, be designated as:
P 28 × 63 = D 1 × 1 .. D 1 × 24 D 2 × 1 .. D 2 × 24 D 3 × 1 .. D 3 × 24 D 2 × 1 .. D 2 × 24 D 3 × 1 .. D 3 × 24 D 4 × 1 .. D 4 × 24 .. .. .. .. .. .. .. .. .. D 28 × 1 .. D 28 × 24 D 29 × 1 .. D 29 × 24 D 30 × 1 .. D 30 × 24 - - - ( 17 )
Using 1 to 27 row of P matrix as the input of training set, it is designated as Ptrain;Using Data matrix 4 to 30 row as training set Output, is designated as Ttrain;Using the 28th row of P matrix as the input of test set, it is designated as Ptest;Using the 31st row of Data matrix as The output of test set, is designated as Ttest.Consider weather conditions every day and date type thereof simultaneously, just can 30 days in the past load datas pre- Survey the load data in the 31st day 24 integral point moment.
Determining network each layer neuron number, this patent uses the 4th day load of integral point load prediction in first 3 days, and every day is little every 1 In time, be acquired once to load, within one day, amounts to 24 groups of data, within three days, amounts to 72 groups of data, it is considered to weather conditions and date type These two groups of data, then can determine that network input layer neuron number is 74, and network output layer neuron number is 24, hidden layer god Through unit, number is set to 97 through network through network repetition training.
Fig. 2 is mind evolutionary flow chart, first carries out MEA algorithm initialization, produces initial population, produces the most at random Raw winning sub-group and interim sub-group, then carry out convergent operation dissimilation, finally select the sub-group that fitness value is the highest, output Optimum individual.The most convergent is to carry out in sub-group, calculates all ideal adaptation angle value, and fitness value soprano is winning Body, remaining individuality learns to winner, and produces new sub-group, repeats above operation, until this sub-group is ripe;Alienation is Carry out in whole solution space, the fitness value of interim sub-group is compared with the fitness value of winning sub-group, if higher than winning Sub-group fitness value, then substitute this winning sub-group, otherwise, then this interim sub-group is abandoned.MEA algorithm and genetic algorithm Compare, the evolution information of a more than generation can be remembered, structure has parallel characteristics, calculate with convergent and alienation and instead of heredity Intersection in algorithm and mutation operation, improve efficiency of evolution.
Fig. 3 is Elman neural network structure figure, and Elman neutral net is a kind of dynamical feedback network, including input layer, Hidden layer, undertaking layer, output layer.Wherein accepting layer is a special hidden layer, and this layer receives feedback signal from hidden layer, logical Cross and coupled memory the hidden layer state in a upper moment is inputted the input together as hidden layer, quite together with the network of current time In feedback of status.It has impermanent memory function compared with traditional BP neural network prediction model, it is possible to avoid network in training The defect of old sample is forgotten during new samples.
Fig. 4 is MEA-Elman Optimized model flow chart, and specific works flow process is as follows:
Step1: produce training set/test set;
Step2: determine network structure, and MEA algorithm is carried out parameter setting;
Step3: produce initial population, winning sub-population and interim sub-population;
Convergent and the operation dissimilation of Step4: sub-population;
Step5: according to fitness value size, find out optimum individual;
Step6: set up Elman network by the weight threshold of optimum individual;
Step7: predict and emulate, analyses and prediction result, preserve optimum MEA-Elman model.
Fig. 5, Fig. 6 respectively present invention propose MEA-Elman forecast model predict the outcome with Elman neutral net and BP neural network prediction Comparative result figure.MEA-Elman model prediction accuracy is apparently higher than Elman network model as seen from the figure, And traditional BP neural network model.
Additionally, the predicting the outcome, as shown in table 3 of tri-kinds of different models of MEA-Elman, Elman, BP.
Table 3MEA-Elman, Elman, BP predict the outcome analysis:
By table 3, the MAPE value of each model, RMSE value can be calculated, as shown in table 4.
Table 4MEA-Elman, Elman, BP Model Error Analysis:
As shown in Table 4, the MEA-Elman model that the present invention provides has more preferable precision of prediction.It is compared with Elman network, Show the feasibility of this optimized algorithm;Compared with BP network, show this forecast model than traditional BP neural network model in advance Survey and had bigger improvement in precision.This forecast model improves load prediction precision, to realizing the generating rational management of capacity, warp Ji scheduling, power market transaction have practical significance.
Embodiment two, along with the fast development of digital information, quantity of information is explosive increase situation, and the whole world has been enter into greatly Data age.The big data of electric power are not only the deep application in power industry of the big data technique, are also power generation, consumption and phase Close the depth integration of technological revolution and big data theory, acceleration is advanced power industry development and business model innovation.
Fig. 7 is the electric power big data platform Organization Chart including load prediction, first pass through sensor, intelligent electric meter and The collecting units such as SCADA obtain the big data of electric power, then carry out cloud storage in distributed file system, then by cloud computing logarithm According to carrying out parallelization Treatment Analysis, finally the result of analysis is applied to decision-making, markets and the field such as scheduling.
Load prediction is one of important application technology of the big data of electric power, is basic needed for the marketing and power scheduling Information.This embodiment is from parallel load prediction, MEA-cloud computing programming model MapReduce and this patent proposed Elman prediction algorithm combines, and can improve MEA-Elman prediction algorithm and process ability and the precision of prediction of mass data.Cause MEA algorithm and neutral net have the natural talent to parallel data processing, therefore by MapReduce parallel computation frame and MEA- Elman prediction algorithm combines and has feasibility.
Fig. 8 is MapReduce parallel computation schematic diagram, be broadly divided into the Input stage, the Map stage, the Shuffle stage, Reduce stage and Output stage.The Input stage is to read data set from distributed file system, and is divided by this data set Sheet processes;The Map stage regards one group of (key, value) key-value pair, the Map letter then write by user as the data fragmentation of input Number runs, processes, and generates key-value pair in the middle of new (Key, value);The Shuffle stage turns middle key-value pair from Map node Move on to the sequence of Reduce node and key assignments;The Reduce stage travels through all intermediate values, the Reduce function write by user Merge the value that same keys is corresponding;The Output stage i.e. exports corresponding result of calculation, and stores relevant position.
Fig. 9 is the prediction block diagram that the MEA-Elman prediction algorithm that the present invention proposes is combined with MapReduce.Magnanimity is born Lotus data set carries out piecemeal process, and is distributed to each MEA-Elman prediction module and is trained, i.e. the Map stage;Then will The training result in Map stage is transferred to Reduce node and merges process;Finally determine final forecast model, according to required Data sample carry out load prediction.

Claims (8)

1. based on neutral net and the short-term load forecasting method of thinking evolution search, it is characterised in that the steps include:
Step one: obtain historical load number data, and it is carried out segmentation and normalized;
Step 2: obtain the data sample of the relative influence load prediction such as weather conditions and date type, together with historical load number According to together as input variable;
Step 3: determine the input and output sample of training set, test set;
Step 4: according to the matrix dimension of input and output sample, determines Elman network input layer neuron number S1And output layer Neuron number S3, middle hidden layer neuron number is determined by network repetition training, is designated as S2
Step 5: determine Elman network structure, Elman network is made up of, wherein input layer, hidden layer, undertaking layer, output layer Accept layer and be used for remembering the output of hidden layer previous moment, and this output information is fed back to hidden layer, generally can be by this network Structure is abbreviated as S1-S2-S3
Step 6: determined code length by network structure, is designated as S, the i.e. required weight threshold number optimized;
Step 7: carry out MEA algorithm parameter setting, Population Size POP is setsize, winning population number Bestsize, interim population Size Temsize, sub-population size SG
Step 8: carry out convergent and operation dissimilation, compares its fitness value Fitness size and produces winning individuality, obtains Excellent weight w1、w2、w3, optimal threshold b1、b2
Step 9: by best initial weights and threshold value w1、w2、w3、b1、b2Set up Elman network model, and carry out load prediction;
Step 10: network output valve is gone normalized, obtains predictive value, and carries out error analysis and estimated performance is commented Estimate.
2. Forecasting Methodology as claimed in claim 1, it is characterised in that step one historical load data sectional rule is: with L in the past The value in individual moment, carries out P step prediction, and desirable L adjacent sample is sliding window, and is mapped to P predictive value, the most defeated Enter for { [X1、X2……XL]、[X2、X3……XL+1]…[XK、XK+1……XK+L-1], then correspondence is output as: { [XL+1、 XL+2……XL+P]、[XL+2、XL+3……XL+P+1]…[XK+L、XK+L+1……XK+L+P-1]};Here take L=3, P=1, i.e. use first three It load data predicts the 4th day load variations situation.
3. Forecasting Methodology as claimed in claim 1, it is characterised in that in step one, normalized expression formula is:
y = ( y m a x - y m i n ) * ( x - x m i n ) x max - x min + y m i n - - - ( 1 )
Wherein yminAnd ymaxIt is normalized parameter, takes ymin=0, ymax=1;Y is standard value after normalization, and span is [ymin, ymax];And x is sample original value, xmin、xmaxIt is respectively the minima in sample and maximum.
4. Forecasting Methodology as claimed in claim 1, it is characterised in that in step 6, code length S expression formula is:
S=S1*S2+S2*S2+S2*S3+S2+S3 (2)
Wherein S1*S2For the number connecting weights of input layer to hidden layer, S2*S2For accepting the layer connection weights to hidden layer Number, S2*S3For the connection weights number of hidden layer to output layer, S2For hidden layer threshold number, S3For output layer threshold number.
5. Forecasting Methodology as claimed in claim 1, it is characterised in that sub-population size S in step 7GExpression formula is:
SG=POPsize/(Bestsize+Temsize) (3)
Wherein POPsizeFor Population Size, BestsizeWinning population number, TemsizeInterim population number.
6. Forecasting Methodology as claimed in claim 1, it is characterised in that in step 8, fitness value function Fitness expression formula is:
F i t n e s s = 1 / ( T s i m - T t e s t ) 2 n - - - ( 4 )
Wherein TtestTest set load actual value, TsimFor test set predictive value, n is predictive value number.
7. as claimed in claim 1 Forecasting Methodology, it is characterised in that go the normalized expression formula to be in step 10:
x F = ( x T m a x - x T m i n ) * ( y o - y m i n ) y m a x - y min + x T m i n - - - ( 5 )
Wherein xFFor removing the return value after normalization, xTmaxAnd xTminIt is respectively the maximum in test set sample and minima, yo For network output valve, parameter yminAnd ymaxValue keep constant, be taken as 0 and 1 respectively.
8. Forecasting Methodology as claimed in claim 1, it is characterised in that in step 10, error analysis expression formula is:
M A P E = 1 N ( Σ i = 1 N | Re i - F i Re i | * 100 % ) - - - ( 6 )
R M S E = Σ i = 1 N ( F i - Re i ) 2 N - - - ( 7 )
Wherein ReiFor actual value, FiFor predictive value, N is predictive value number;MAPE is mean percent absolute error (Mean Absolute Percentage Error);RMSE is root-mean-square error (Root Mean Square Error).
CN201610606112.0A 2016-07-28 2016-07-28 Short term load predication method based on neural network and thinking evolutionary search Pending CN106022549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610606112.0A CN106022549A (en) 2016-07-28 2016-07-28 Short term load predication method based on neural network and thinking evolutionary search

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610606112.0A CN106022549A (en) 2016-07-28 2016-07-28 Short term load predication method based on neural network and thinking evolutionary search

Publications (1)

Publication Number Publication Date
CN106022549A true CN106022549A (en) 2016-10-12

Family

ID=57115504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610606112.0A Pending CN106022549A (en) 2016-07-28 2016-07-28 Short term load predication method based on neural network and thinking evolutionary search

Country Status (1)

Country Link
CN (1) CN106022549A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106600050A (en) * 2016-12-10 2017-04-26 国网辽宁省电力有限公司锦州供电公司 BP neural network-based ultra-short load prediction method
CN106769030A (en) * 2016-11-10 2017-05-31 浙江工业大学 A kind of bearing state tracking and Forecasting Methodology based on MEA BP neural network algorithms
CN106971238A (en) * 2017-03-10 2017-07-21 东华大学 The Short-Term Load Forecasting Method of Elman neutral nets is obscured based on T S
CN107766995A (en) * 2017-12-08 2018-03-06 国网山东省电力公司枣庄供电公司 Power-system short-term load forecasting method based on depth recurrent neural network
CN108710975A (en) * 2018-05-18 2018-10-26 国网江苏省电力有限公司徐州供电分公司 A kind of electric automobile load prediction technique
CN108959721A (en) * 2018-06-11 2018-12-07 长安大学 A kind of Longspan Bridge member reliability calculation method under windmill load action
CN109268928A (en) * 2018-09-12 2019-01-25 长安大学 A kind of heat supply monitoring system
CN109297533A (en) * 2018-09-20 2019-02-01 北京恩福健康科技有限公司 A kind of method of precise measurement skin surface temperature and humidity
CN110009136A (en) * 2019-03-12 2019-07-12 国网江西省电力有限公司电力科学研究院 A kind of load forecasting method of distribution transformer and distribution line
CN110222877A (en) * 2019-05-17 2019-09-10 华中科技大学 A kind of load prediction system and load forecasting method based on customized neural network
CN110909857A (en) * 2019-11-26 2020-03-24 重庆锐云科技有限公司 Passenger flow volume prediction method and device based on PSO (particle swarm optimization) and Elman neural network and storage medium
CN111898799A (en) * 2020-06-24 2020-11-06 南京理工大学 BFA-Elman-based power load prediction method
CN112561115A (en) * 2019-09-25 2021-03-26 云南电网有限责任公司瑞丽供电局 Active power distribution network user power consumption behavior variable weight combination prediction model and prediction method

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106769030A (en) * 2016-11-10 2017-05-31 浙江工业大学 A kind of bearing state tracking and Forecasting Methodology based on MEA BP neural network algorithms
CN106600050A (en) * 2016-12-10 2017-04-26 国网辽宁省电力有限公司锦州供电公司 BP neural network-based ultra-short load prediction method
CN106971238A (en) * 2017-03-10 2017-07-21 东华大学 The Short-Term Load Forecasting Method of Elman neutral nets is obscured based on T S
CN107766995A (en) * 2017-12-08 2018-03-06 国网山东省电力公司枣庄供电公司 Power-system short-term load forecasting method based on depth recurrent neural network
CN108710975A (en) * 2018-05-18 2018-10-26 国网江苏省电力有限公司徐州供电分公司 A kind of electric automobile load prediction technique
CN108959721A (en) * 2018-06-11 2018-12-07 长安大学 A kind of Longspan Bridge member reliability calculation method under windmill load action
CN109268928A (en) * 2018-09-12 2019-01-25 长安大学 A kind of heat supply monitoring system
CN109297533B (en) * 2018-09-20 2021-04-13 北京恩福健康科技有限公司 Method for accurately measuring skin surface temperature and humidity
CN109297533A (en) * 2018-09-20 2019-02-01 北京恩福健康科技有限公司 A kind of method of precise measurement skin surface temperature and humidity
CN110009136A (en) * 2019-03-12 2019-07-12 国网江西省电力有限公司电力科学研究院 A kind of load forecasting method of distribution transformer and distribution line
CN110222877A (en) * 2019-05-17 2019-09-10 华中科技大学 A kind of load prediction system and load forecasting method based on customized neural network
CN110222877B (en) * 2019-05-17 2021-08-03 华中科技大学 Load prediction system and load prediction method based on user-defined neural network
CN112561115A (en) * 2019-09-25 2021-03-26 云南电网有限责任公司瑞丽供电局 Active power distribution network user power consumption behavior variable weight combination prediction model and prediction method
CN110909857A (en) * 2019-11-26 2020-03-24 重庆锐云科技有限公司 Passenger flow volume prediction method and device based on PSO (particle swarm optimization) and Elman neural network and storage medium
CN111898799A (en) * 2020-06-24 2020-11-06 南京理工大学 BFA-Elman-based power load prediction method
CN111898799B (en) * 2020-06-24 2022-09-27 南京理工大学 BFA-Elman-based power load prediction method

Similar Documents

Publication Publication Date Title
CN106022549A (en) Short term load predication method based on neural network and thinking evolutionary search
Bi et al. Daily tourism volume forecasting for tourist attractions
Barak et al. Forecasting energy consumption using ensemble ARIMA–ANFIS hybrid algorithm
CN106960252A (en) Methods of electric load forecasting based on long Memory Neural Networks in short-term
Csikós et al. Traffic speed prediction method for urban networks—An ANN approach
CN104636801A (en) Transmission line audible noise prediction method based on BP neural network optimization
CN107133695A (en) A kind of wind power forecasting method and system
He et al. Research on a novel combination system on the basis of deep learning and swarm intelligence optimization algorithm for wind speed forecasting
CN110443417A (en) Multiple-model integration load forecasting method based on wavelet transformation
CN112215426A (en) Short-term power load prediction method
CN111860989B (en) LSTM neural network short-time traffic flow prediction method based on ant colony optimization
JP7157815B2 (en) Planning equipment, planning methods and planning programs
CN108596242A (en) Power grid meteorology load forecasting method based on wavelet neural network and support vector machines
Massaoudi et al. Performance evaluation of deep recurrent neural networks architectures: Application to PV power forecasting
KR20220107794A (en) Power information prediction method and system based on transfer learning
CN116596044B (en) Power generation load prediction model training method and device based on multi-source data
CALP A hybrid ANFIS-GA approach for estimation of regional rainfall amount
Rizwan et al. Artificial intelligence based approach for short term load forecasting for selected feeders at madina saudi arabia
CN113554466A (en) Short-term power consumption prediction model construction method, prediction method and device
Papageorgiou et al. Hybrid model for water demand prediction based on fuzzy cognitive maps and artificial neural networks
CN112990587A (en) Method, system, equipment and medium for accurately predicting power consumption of transformer area
Bişkin et al. Forecasting of Turkey’s Electrical Energy Consumption using LSTM and GRU Networks
CN111697560B (en) Method and system for predicting load of power system based on LSTM
CN111311001B (en) Bi-LSTM network short-term load prediction method based on DBSCAN algorithm and feature selection
Rashid et al. Auto-regressive recurrent neural network approach for electricity load forecasting

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161012

RJ01 Rejection of invention patent application after publication