Weather Based Photovoltaic Energy Generation Prediction .

3y ago
31 Views
2 Downloads
563.64 KB
8 Pages
Last View : 23d ago
Last Download : 3m ago
Upload by : Ronan Garica
Transcription

Weather Based Photovoltaic Energy GenerationPrediction Using LSTM NetworksSahar ArshiFaculty of Engineering and EnvironmentUniversity of Northumbria,Newcastle, UKsahar.arshi@northumbria.ac.ukLi ZhangFaculty of Engineering and EnvironmentUniversity of NorthumbriaNewcastle, UKli.zhang@northumbria.ac.ukRebecca StrachanFaculty of Engineering and EnvironmentUniversity of NorthumbriaNewcastle, UKrebecca.strachan@northumbria.ac.ukAbstract— Photovoltaic (PV) systems use the sunlight andconvert it to electrical power. It is predicted that by 2023, 371,000PV installations will be embedded in power networks in the UK.This may increase the risk of voltage rise which has adverseimpacts on the power network. The balance maintenance isimportant for high security of the physical electrical systems andthe operation economy. Therefore, the prediction of the output ofPV systems is of great importance. The output of a PV systemhighly depends on local environmental conditions. These includesun radiation, temperature, and humidity. In this research, theimportance of various weather factors are studied. The weatherattributes are subsequently employed for the prediction of thesolar panel power generation from a time-series database. LongShort Term Memory networks are employed for obtaining thedependencies between various elements of the weather conditionsand the PV energy metrics. Evaluation results indicate theefficiency of the deep networks for energy generation prediction.A feed-in-tariff scheme was proposed by UK in 2010 withthe main purpose of reducing UK’s carbon emission [1]. Inaccordance to the feed-in-tariff scheme, a low carbon networkproject was defined in 2015, entitled “Validation ofPhotovoltaic Connection Assessment Tool”. The projectinvolved collecting real-life data for trial purposes, as well asensuring that the connection assessment tools were fit forpurpose [1]. There were some other objectives and benefitsrelated to the project at the time. These include understandingthe underlying associated PV generator behaviours by dataanalysis. The other target was to identify the underlying issuesin the connection procedures. The project was successful inachieving a validated and practical connection assessmentapproach. As a cross product, a rich dataset was producedwhich is useful for distribution network operators andacademic institutions. The produced database is deposited inLondon datastore and provides the basis for this research study.Keywords—Photovoltaic systems, Solar panels, Long ShortTerm Memory, Energy Forecasting.In this research, the PV energy generation database will bestudied from a different viewpoint rather that the initial targetsof the UK Networks project (as mentioned above). Theresearch is in accordance with the related native weatherconditions. The output of a PV system highly depends on localenvironmental circumstances as well as the sun radiation. Thesunlight can be occluded by the clouds. The wind blowingdirection can bring clouds and effect the way the panel receivesthe sunlight. There is clearly a correlation between solarradiation and PV outputs. It is often assumed that a PV systemis likely to have its maximum output on a clear sunny day.Nevertheless, the temperature is also an important factor on theefficiency of PV generators. The work in [1] demonstrated thatPV generators could potentially produce higher levels ofelectricity on cloudy days. These kinds of analysis results mayoften be in contradictory with the common beliefs. Therefore,different environmental factors impact the overall energygeneration divergently.I. INTRODUCTIONThe usage of solar power generators has been encouragedin recent years owing to various environmental benefits. Theforecasting of Photovoltaic (PV) power is thus an uprisingresearch branch. However, the power generated by the PVsolar devices are highly affected by weather conditions. Theenergy generated by photovoltaic systems is variable in termsof seasonality and weather factors. The solar panel orientation(East facing or West facing) affects PV output. The imported,exported, and generated energy are important terminologiesused in the field. The imported energy refers to the electricitytaken from the network by the household, whereas the exportedenergy refers to the electricity generated, but not consumed bythe household [1]. The energy exported is the excess electricitywhich is injected to the network. The prediction of thegenerated energy is of great importance to grid operatorswhose responsibility is to keep the imported and exportedenergy balanced in the distribution system [2]–[5].XXX-X-XXXX-XXXX-X/XX/ XX.00 20XX IEEEIn this paper, various weather related data are analysed. Anattribute selection procedure is employed for identifying themost important weather factors which affect the generatedpower. Later, a Long-Short Term Memory (LSTM) network

model is employed for predicting the PV systems poweroutput. The LSTM architecture is equipped with memory unitsthat can be useful in forecasting the temporal variations of PVgenerated power metrics.II. LITERATURE REVIEWA. Related Research for Predicting Solar PowerGenerationPrediction of PV generated power can be traced back invarious studies. The previous approaches in the area of powergeneration forecasting can be categorized into four majorgroups including AI, physical, statistical, and hybrid methods.AI models are one of the popular methods for forecastingthe outputs of PV plants. Various machine learning modelshave been used ever since. Some of the previous research inthe area applied artificial neural networks, while recent studiestarget tools such as deep learning models. Some examples ofAI applications in solar radiation forecasting for PV outputprediction can be found in [4], [6], [7]. We discuss some of thestudies in detail below.At the University of Illinois, the researchers applied somelinear and non-linear machine learning algorithms forforecasting the solar energy generation [8]. They recorded thesolar panels outputs at the campus of Illinois University. Theirwork used weather information and selected day lightobservations. The employed methods included weighted linearregression trees and LSTM. The later achieved the bestperformance in their application. The study also found thetime-series correlations between all the weather attributes andactual energy output. They found that the cloud coverage,humidity, visibility and dewpoint were the most importantfeatures for solar panels output forecast. A similar research in[8] also stated that they could have taken advantage of weatherdependency in a way that previous weather conditions wouldaffect the current weather conditions in their model. Instead,they randomized the training dataset.In [6] , Meyers applied the 3 hourly and 5 minutes timestep intervals to identify the ramp events or deviation from along-term trend within a short-term period. Their work usedauto-regressive model, K-nearest neighbour and artificialneural networks.In [9], the researchers suggested the usage of LSTMRecurrent Neural Network (LSTM-RNN) to predict thegenerated power of PV systems using a time-series databasewith one varying feature. They employed the hourly intervaldataset over a period of a year’s time. The LSTM modeloutperformed other methods using the one-featured time-series.The work used various LSTM architectures as well as basicLSTM for regression by using window techniques (LSTM withmemory between batches). Their database comes from twosites in Egypt. Other machine learning tools were also appliedin their study. However, the LSTM method achieved the bestprediction in terms of lower mean absolute error and meansquare error compared to those of other methods they applied.Besides machine learning methods, physical models werealso applied for predicting PV system output. The usage ofsatellites and numerical weather prediction models are two ofthe physical models which were used in the past for forecastingthe solar radiation and indirectly predicting the output of PVsystems. The research in the solar power prediction isintertwined with weather forecasting approaches, as the lateraffects the outcome of the energy generated by PV systems. In[10], the numerical weather prediction models were employedfor photovoltaic and solar power generation forecasting. Inmanand colleagues in [11] provided a comprehensive literaturereview on solar forecasting methods for renewable energyintegration. They discussed the prediction method for solarresources (weather conditions forecasting) and the poweroutput of the solar plants. Some other recent review works onsolar power forecasting can be found in [12].Moreover, statistical methods have also been used forpredicting PV outputs. Statistical models are usually based onthe short-term historical data. Auto-Regressive-IntegratedMoving-Average models (ARIMA) are examples of statisticalmodels [13]–[15]. Forecasting the PV output time-series datausing ARIMA models was among the first collections ofresearch in this area. In [16], ARMA model with differentparametrization are employed to analyse and forecast theresiduals in daily solar radiation time-series in Malaysia sites.Finally, hybrid methods combine various methods togetherfor prediction. For instance, AI models were integrated withphysical methods for PV system output prediction. The studyin [17] discussed on how the sky images were analysed forforecasting the output of Photovoltaic facility plant in Nevadausing image processing techniques.In this research, an LSTM model as a deep learning modelwas employed for modelling the time-series dependenciesbetween weather condition changes and solar power generationmetrics. The predictions are performed up to 48 time-steps(number of unrollings). Moreover, more than one solar powerfactors were predicted in a multistep-ahead predictionapproach. The model also embeded the dependency pertainingto weather conditions changes.B. Long Short Term Memory NetworksThe LSTM architecture was originally proposed by SeppHochreiter and Jurgen Schmidhuber in 1997 [18]. An LSTMnetwork is a Recurrent Neural Network (RNN) [19] whichconsists of memory units. An LSTM network refines thevanishing gradient problem associated with RNNs [20]. AnLSTM cell consists of a memory cell and multiplicative gateswhich work as regulators. LSTM networks learn short-term orlong-term dependencies between elements of time-series data[5]. This characteristic makes LSTM networks suitable formaking predictions.An LSTM cell is similar to RNN in its recurrentarchitecture. However, LSTM cells are equipped with amemory cell which makes them more desirable for broaderranges of applications. The LSTM architecture includes somegates as well as the input gate (𝐼𝐼𝑡𝑡 ), output gate (𝑂𝑂𝑡𝑡 ), and forgetgate ( 𝐹𝐹𝑡𝑡 ). The variations of LSTM networks may notnecessarily include all the mentioned gates. Instead, they mayhave other gates suited for the specific related applications.

𝑂𝑂𝑡𝑡 𝜎𝜎[𝑊𝑊ℎ𝑜𝑜 ℎ𝑡𝑡 1 𝑊𝑊𝑥𝑥𝑥𝑥 𝑥𝑥𝑡𝑡 𝑏𝑏𝑜𝑜 ]ℎ𝑡𝑡 𝑂𝑂𝑡𝑡 tanh(𝑀𝑀𝑡𝑡 )(5)(6)III. METHODOLODYFig 1. LSTM network cell architecture. There are three major gates involvedin this version of LSTM cell. These gates consist of a forget gate, input gateand output gate. The gates have sigmoid and/or tanh layer embedded in theirdesign. The input value (x), previous hidden (ht 1 ), and previous memorycell (Mt 1 ) information, would structure the current hidden (ht ), and memorycell ( Mt ). The sign, i.e. the cross in the circle, stands for pointwisemultiplication operation, and the operator, i.e. plus in the circle, shows theadding operation.In this section a brief overview of the functionality of themain LSTM gates are discussed. The input gate determineshow the flow of the input data updates the memory state. Theforget gate controls whether information should remain in thememory or be forgotten (and to what extent). The output gatesets the extent of which the output is affected by input valueand memory unit information[21], [22].The time-series data are presented as a sequence to theinput layer of an LSTM network. The LSTM blocks may alsobe presented with the previous hidden timestep data of thesame LSTM layer ( ℎ𝑡𝑡 1 ). The ( 𝑥𝑥𝑡𝑡 and ℎ𝑡𝑡 1 ) are passedthrough different gates as a concatenated vector. The forgetgate has a sigmoid layer, which receives the current input andthe hidden state of the previous step. The forget gatedetermines to what extent to maintain or abolish the memorystate (𝑀𝑀𝑡𝑡 1 ) information. In the next step, a decision is made,i.e. a pointwise multiplication operation is embedded withinthe gate to obtain 𝐹𝐹𝑡𝑡 𝑀𝑀𝑡𝑡 1 .The input value and previous hidden state values are alsoguided through other gates. The next important gate is the inputgate layer. In this phase the extent of new information to bestored is determined. The same vector is passed through a 𝑡𝑡𝑡𝑡𝑡𝑡ℎ 𝑡𝑡 value. In this stage, the 𝑀𝑀 𝑡𝑡 and 𝐼𝐼𝑡𝑡 valueslayer to obtain the 𝑀𝑀 𝑡𝑡 ). This result is addedare multiplied together to obtain (𝐼𝐼𝑡𝑡 𝑀𝑀up to the result of the previous stage from the forget gate. Onthis account, the new state cell is achieved. Finally, the outputof the LSTM cell is influenced by the memory cell state, theinput value and previous hidden state. The Equations 1-6clarify the above learning process from computational point ofview.𝐹𝐹𝑡𝑡 𝜎𝜎[𝑊𝑊ℎ𝑓𝑓 ℎ𝑡𝑡 1 𝑊𝑊𝑥𝑥𝑥𝑥 𝑥𝑥𝑡𝑡 𝑏𝑏𝑓𝑓 ](1) 𝑡𝑡 𝜎𝜎[𝑊𝑊ℎ𝑚𝑚 ℎ𝑡𝑡 1 𝑊𝑊𝑥𝑥𝑥𝑥 𝑥𝑥𝑡𝑡 𝑏𝑏𝑚𝑚 ]𝑀𝑀(3)𝐼𝐼𝑡𝑡 𝜎𝜎[𝑊𝑊ℎ𝑖𝑖 ℎ𝑡𝑡 1 𝑊𝑊𝑥𝑥𝑥𝑥 𝑥𝑥𝑡𝑡 𝑏𝑏𝑖𝑖 ] 𝑡𝑡𝑀𝑀𝑡𝑡 𝐹𝐹𝑡𝑡 𝑀𝑀𝑡𝑡 1 𝐼𝐼𝑡𝑡 𝑀𝑀(2)(4)A. DatasetThe dataset comes from the London datastore [23]. Londondatastore provides a repository of free databases for publicwhich can be applied for research purposes too. The databaseemployed for this research consists of data related to voltage,current, power, energy and weather from low voltagesubstations and domestic sites with solar panels. Themeasurements are collected over 480 days from 27 July 2013to 19 Nov 2014. There are 20 substations and 10 domesticpremises. The database consists of 171 million individualmeasurements. The measurements take place every one minuteduring summer 2014 while they are collected at 10 minutesinterval throughout the days on a 6 months’ time-span. Thereare also hourly measurements available which come withprovided minimum and maximum measurement values. Thehourly measurements cover more than one year time. Themeasurements are collected from customer endpoints, feeders,and networks endpoints and substations.B. Attribute SelectionIn this particular research, the customer endpoints databasetogether with weather database are studied. The powerdatabase and weather database were merged together for therelated hourly measurements, which are appropriately arrangedin records. There was a phase of data preparation involvedbefore the training took place. The wind direction feature is anominal attribute in the original database and provides thewind orientation. This data feature was converted to numericaldata for this application. There were also a data cleaning phaseapplied which took place to compensate for missingmeasurements in the database. Records with missing data werewhether removed or replaced with data from adjacent timeseries records.The weather data was not available for all the sites.Therefore, a limited selection of the databases was possible atthe time. The customer end-point for YMCA, and Maple DriveEast were taken into account and their related weathermeasurements were selected from a separate weather database(also provided in the same data repository in Londondatastore). There were also a selection to be made for thetimespan and the sampling intervals provided for each site. Thedatabases with hourly interval measurement within a yearlyspan were chosen. This would provide a larger cover overweather changes varieties. (The one minute interval databaseonly covers summer 2014, and the 10-minute database includes6 months data only. This ended up in the decision of taking thelonger time span database to study more varieties of theweather changes). Combining the customer end-point hourlydata and weather database leaves 7001 records for YMCA, and6611 records for Maple Drive East, responsively.A visual inspection on the mutual correlation of differentvariables in the database reveals some patterns within the data.There is negative correlation between in air density and

temperature, and positive correlation between wind chill anddewpoint. It was commonly observed that some of the powerrelated features like S Gen Min and I Gen Min filtered haveperfect one to one correlation with each other. Moreover, themutual correlation of different weather related attributes revealsimilar correlational patterns with power features. For example,the correlation of Hi-Speed with I Gen Min Filtered,I Gen Max Filtered, P Gen Min, P Gen Max, S Gen Min,and S Gen Max have similar patterns.In order to perform the attribute selection process, Wekasoftware [24] was used. The attribute evaluator applied wascorrelation attribute evaluation using ranker search method.For Weka to work properly we removed all the power relatedfeatures except Q Gen Min, which was left as the target (as ifwe were about to use it in a regression problem).a) Preparing Data for Training: Batch GenerationLSTM networks were used for predicting the future powerrelated factors regarding the weather features. This model isimplemented in python using TensorFlow [26]. With respect toperforming the training task, the data needs to be presented in aspecific format. The data was separated to training and testingchunks and a separate MinMaxScaler from Scikit-learn library[27] was used for normalizing the training and testing setsrespectively. Around 85% of the time-series data records werechosen for training and the last 15% remaining consecutivetime-steps were chosen for testing.Table 1 shows the resulted attribute evaluation scores. Thefeatures that were discarded from YMCA dataset include:Rain, ArcInt, THSWIndex, RainRate, WindTx, WindSamp,ISSRecept, InHum, InEMC, HeatD D, InAirDensity, OutHum(also shown as grey colour coded cells in the table). Thesefeatures have the least scoring values in the attribute evaluationprocess, therefore they were considered as the least desirablefeatures. The attribute evaluation process also took place on theMaple Drive East database. The removed weather featuresinclude: THSWIndex, Rain, RainRate, ISSRecept, WindTx,WindDir, WindSamp, HiDir, InHum, InEMC, InAirDensity,OutHum, HeatD D.The energy related features included in the training werealso filtered: The features related to imported energy wereignored in this research. The reason is that it was presumed thatthe imported energy shows the household energy consumption.The exported energy has also been deprecated, since the focusis on the generated energy by the PV system itself. Therelevant power generated features which were used in thisresearch are: I Gen Min Filtered, I Gen Max Filtered,P Gen Min, P Gen Max, Q Gen Min, Q Gen Max,S Gen MIN, S Gen Max, thdI Gen Min, thdI Gen MaxTABLE I.WEATHER ATTRIBUTES EVALUATION USING WEKACORRELATION ATTRIBUTE EVALUATION USING RANKER SEARCH METHOD FORYMCA empWindChillHeatIndexLowTempTHWIndexCoolD RateWindTxWindSampISSReceptInHumInEMCHeatD .40546-0.41545-0.49965-0.51351Fig 2. A schematic diagram of the first batch making process. Six records andtheir three related attributes are shown in this figure. A collection of randompointers are generated which determine the starting locations for producingthe batch

for photovoltaic and solar power generation forecasting. Inman and collea in [11]gues provided a comprehensive literature review on solar forecasting methods for renewable energy integration. They discussed the prediction method for solar resources (weather conditions forecasting) and the power output of the solar plants.

Related Documents:

photovoltaic power generation system will be established in order to carry out the next step-by-step process simulation study. 2.1. Photovoltaic array mathematical model and Simulink model 2.1.1. Mathematical model of photovoltaic array Based on the theory of electronics, photovoltaic panels are affected by light to produce

Weather instruments are used to measure and record the weather. Weather instruments can be found in weather stations on land. The Met Office has hundreds of weather stations all over the UK. Weather instruments are also found at sea. They are found on some ships, but mainly on weather buoys designed to monitor weather and sea conditions.

The problem of integrating photovoltaic modules into the built environment is different now from a few years ago when photovoltaic systems were only imagined in isolated sites. Photovoltaic comes to the city, by the technique of connection to the power utility grid. Our goal in this study was the simulation of a photovoltaic system and its

Unit 2 Weather 5 LESSON 1 Today’s Weather BIG IDEAS Weather affects the way we live, what we eat and wear and how we feel. We can describe weather conditions by using mathematics. LESSON 2 What Makes Weather? BIG IDEAS The sun heating the earth and its atmosphere causes the weather. We feel weather as wind, heat or cold, and humidity in the form of rain,

Winter Weather Safety Know Your Risk, Take Action, Be a Force of Nature weather.gov/safety. Building a Weather-Ready Nation // 2 NATIONAL WEATHER SERVICE Winter Weather Hazards . Keep an eye out for debris, downed power lines, and tree branches weather.gov/safety. Building a Weather-Rea

Weather instruments Weather data Working definition of weather . 4.1-3 PROCEDURES 1. Have the students work in small groups to make concept maps about weather. Have them Include different kinds of weather, tools used to measure weather, and any other ideas they have about weather.

systems, a great deal of research has been conducted especially on photovoltaic effect, wind energy and fuel cell in the recent years. This paper describes dynamic modeling and simulation results of a small wind-photovoltaic-fuel cell hybrid energy system. The hybrid system consists of a 500 W wind turbine, a photovoltaic, a proton exchange

The HRMS user’s guides are available online. All Oracle Applications user’s guides are available online, in both HTML and Adobe Acrobat format. Most other Oracle Applications documentation is available in Adobe Acrobat format. The HTML version of the HRMS user’s guides are optimized for