Prediction of Solar Power Using Machine Learning Algorithm: February 2022
Prediction of Solar Power Using Machine Learning Algorithm: February 2022
net/publication/358905399
CITATION READS
1 842
5 authors, including:
Rupesh Mailugundla
BVRIT Hyderabad
17 PUBLICATIONS 62 CITATIONS
SEE PROFILE
All content following this page was uploaded by Rupesh Mailugundla on 07 December 2022.
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2022 529
D. J. Hemanth et al. (eds.), Intelligent Data Communication Technologies and Internet
of Things, Lecture Notes on Data Engineering and Communications Technologies 101,
https://doi.org/10.1007/978-981-16-7610-9_39
530 M. Rupesh et al.
1 Introduction
2 Proposed Model
Reliable data availability and choosing the right attributes from the collected data
is very important to predict accurately especially in solar power generation [4]. In
this work, the data is collected from the BV Raju Institute of Technology, Narsapur,
Medak Dist., India.
We choose the 3 years of weather information dataset from the above-said location.
The dataset available is minutes-based values of weather parameters like irradiance,
temperature, panel temperature, wind direction, and speed. Different weather values
are collected from the year 2012 to 2014, i.e., dataset of 201,235 to analyze the
relationship between the weather parameters and the power generation for accurate
prediction (Figs. 1 and 2).
Prediction of Solar Power Using Machine Learning Algorithm 531
State of the art of solar power generation will only be established if forecast algorithm
predicts that how much power will be generated at any location and time [5–8]. The
machine learning algorithm will be developed with training, testing, and validating
the collected data, the workflow [9] is as followed in the flowchart as shown in Fig. 3.
We have tested the selected data of the given work in the commonly used machine
learning algorithm feed-forward neural network with back-propagation to evaluate
the performance with weather data. In this weather, parameters are given as an input
to the ANN [10] and it gives the output as predicted solar power. The neuron functions
532 M. Rupesh et al.
used in this model are used to train the dataset with the learning rate as 1000 epochs.
It is analyzed and observed that the RMS error value decreases as the increased
learning rate.
The given dataset is split into three categorized as testing, training, and validating
datasets.
A multilayer feed-forward neural network in our proposed method consists of
input layer, two hidden layers and output layer [11]. The input layer consists of the
weather parameters as attributes, and output layer consists of solar power and voltage
as attributes.
Figure 4 [12] is representing multilayer feed-forward back-propagation neural
network.
Cost function of gradient is defined as [13].
1
h w,b (x) − y 2
J (W, b; x, y) = (1)
2
From the above, the squared-error cost function is defined as
Prediction of Solar Power Using Machine Learning Algorithm 533
1
m
λ nl−1 (l) 2
Sl Sl+1
J (W, b) = [ J W, b; x (i) , y (i) + W ji (2)
m i=1 2 l=1 i=1 j=1
1 1
m
nl−1 (l) 2
Sl Sl+1
J (W, b) = h w,b x (i) − y (i) 2 + λ W ji (3)
m i=1 2 2 l=1 i=1 j=1
∂
Wilj = Wilj − α J (W, b) (4)
∂ Wilj
∂
bi(l) = bi(l) − α J (W, b) (5)
∂bil
1
m
∂
J (W, b) = [ J W, b; x (i) , y (i) + λWi(l)
j (6)
∂ Wi j
l m i=1
1
m
∂
J (W, b) = [ J W, b; x (i) , y (i) (7)
∂bil m i=1
Prediction of Solar Power Using Machine Learning Algorithm 535
End
536 M. Rupesh et al.
The R value for the given model is about 0.994, which tells about the accuracy of
the predicted model.
5 Conclusion
In this paper, the Sun irradiance, temperature, wind velocity, humidity, as input
variables, solar-generated voltage, power as output variables have been connected
from the BVRIT Narsapur, Medak Dist. Telangana, and generalized artificial
Prediction of Solar Power Using Machine Learning Algorithm 537
neural network model using machine learning algorithm, i.e., feed-forward back-
propagation algorithm have been developed for weather and solar power forecasting
using MATLAB/Simulink application. Finally, it can be concluded that the solar
forecasting is achieved with the accuracy of 99.4%; hence, our model can be used to
estimate the power generation from any solar plant at any location.
538 M. Rupesh et al.
Acknowledgements The authors would like to thank BVRIT, Narsapur Solar Plant in charge Mr.
N. Ramchandar, Associate Professor, EEE, BVRIT, Narsapur, and Mr. M. Sudheer Kumar, Assistant
Professor, BVRIT HYDERABAD College of Engineering for Women, Hyderabad.
References
5. Wu YK, Chen CR, Abdul Rahman H (2014) A novel hybrid model for short-term forecasting
in PV power generation. Int J Photoenergy 2014
6. Coelho JP, Boaventura-Cunha J (2014) Long term solar radiation forecast using computational
intelligence methods. Appl Comput Intell Soft Comput 2014(December):1–14
7. Gupta A, Kumar P, Pachauri RK, Chauhan YK (2014) Performance analysis of neural network
and fuzzy logic based MPPT techniques for solar PV systems. 2014 6th IEEE Power India Int
Conf 1–6
8. Khan I, Zhu H, Khan D, Panjwani MK (2018) Photovoltaic power prediction by cascade
forward artificial neural network. 2017 Int Conf Inf Commun Technol ICICT 2017
2017(December):145–149
9. Ahmed R, Sreeram V, Mishra Y, Arif MD (2020) A review and evaluation of the state-of-the-
art in PV solar power forecasting: techniques and optimization. Renew Sustain Energy Rev
124(June 2019):109792
10. Aljanad A, Tan NML, Agelidis VG, Shareef H (2021) Neural network approach for global
solar irradiance prediction at extremely short-time-intervals using particle swarm optimization
algorithm. Energies 14(4)
11. Shekher A, Khanna V (2016) Modelling and prediction of 150KW PV array system in Northern
India using artificial neural network. 5(5):18–25
12. Kabilan R, et al. (2021) Short-term power prediction of building integrated photovoltaic (BIPV)
system based on machine learning algorithms. Int J Photoenergy 2021
13. (2015) Multi-layer neural network neural network model. http://deeplearning.stanford.edu/tut
orial/supervised/MultiLayerNeuralNetworks/. pp 1–6
14. Shaik NB, Pedapati SR, Ammar Taqvi SA, Othman AR, Abd Dzubir FA (2020) A feed-forward
back propagation neural network approach to predict the life condition of crude oil pipeline.
Processes 8(6)
15. Choudhary A, Pandey D, Bhardwaj S (2020) Artificial neural networks based solar radiation
estimation using backpropagation algorithm. Int J Renew Energy Res 10(4):1566–1575