Professional Documents
Culture Documents
Power Prediction Analysis Using Artificial Neural Network in MS Excel
Power Prediction Analysis Using Artificial Neural Network in MS Excel
Abstract: - In this study, an artificial neural network (ANN) based model for prediction of solar energy
potential in Kuala Lumpur, Malaysia was developed. Standard multilayered, feed-forward, back-propagation
neural networks were designed using Microsoft Excel (MS Excel). The meteorological data were acquired from
Malaysia Meteorological Department. The data was consists of meteorological data from one station in Subang
for period of 10 years (2003–2012) from were used for the training and testing the network. Parameter of
month, sunshine duration, minimum temperature, maximum temperature, average temperature and relative
humidity were used as inputs to the network, while the solar radiation was used as the output of the network.
Simulation result shows that ANN potentially predicts solar radiation. Furthermore this prediction can
contribute an enhancement of renewable energy development in Malaysia.
Key-Words: Artificial Neural Network, Backpropagation, Multilayer Perceptron, Power Prediction, Solar
radiation
ISBN: 978-1-61804-175-3 54
Latest Trends in Renewable Energy and Environmental Informatics
irradiation, a function of the global solar irradiation form of monthly data in MS Excel from January to
and the clearness index. The proposed equation has December, which can be used easily for design and
reduced the mean absolute percentage error (MAPE) assessment of solar application systems.
in estimating the diffused solar irradiation compared
with the conventional equation. Based on the
results, the average MAPE, mean bias error and root 2 Problem Formulation
mean square error for the predicted global solar At present, the research on PV power technology is
irradiation are 5.92%, 1.46%, and 7.96% lacking in Malaysia. Referring authors in [3], they
respectively. The MAPE in estimating the diffused list several researches for power prediction using
solar irradiation is 9.8%. neural network has done in Malaysia. Thus, an ANN
Sozen et al. [4] have used the ANN model for solar energy prediction should be
predicted solar potential values to construct monthly developed to provide a comprehensive data of solar
radiation maps in Turkey. These maps are prime energy potential in Malaysia.
importance for different working disciplines like, Generation of electricity from solar energy
scientists, architects, meteorologists and solar is gaining popularity as a solution to the growing
engineers. The predictions from the ANN models energy demands. The most important parameter in
could enable scientists to locate and design solar renewable energy applications is solar radiation.
energy systems and determine the best solar Due to forceful power crisis, increasing of solar
technology. energy based solutions are being purchased.
Mohandes, S. Rehman, and T. O. Halawani Weaknesses of these solutions are long payback
[5] used data from 41 collection stations in Saudi period and comparatively less efficiency. Solar
Arabia together with an ANN for the estimation of radiation data is considered as the most important
global solar radiation. From these data for 31 parameter in the meteorology, solar conversion, and
stations were used to train a neural network and the renewable energy application. Unfortunately, this
data for the other 10 for testing the network. The parameter is not always available particularly in
input values to the network are latitude, longitude, remote areas, where there are no meteorological
altitude and sunshine duration. The results for the stations installed in these locations. Thus, an ANN
testing stations obtained are within 16.4% and model for solar energy prediction should be
indicate the viability of this approach for spatial developed to provide a comprehensive data for the
modelling of solar radiation. solar energy potential in Malaysia. Usually the
C Chupong et. al [6] forecast power output power prediction made using measurement and
of PV Grid Connected System by data from calculation method thus it is need much time and
calculating the solar radiation in clear sky condition not practical.
and weather forecast data as Input to the Elman
neural network instead of using a solar radiation
measurement. This research use MATLAB software 2.1 Artificial Neural Network
to create network and training, data used to train the Artificial Neural Networks attempt to model
network come from the calculation weather forecast the functioning of the human brain. The human
and hourly data of output PV 1 kWp Grid brain for example consists of billions of individual
Connected System at roof-top of Building Faculty cells called neurones [7]. Neural networks are
of Science and Technology, Rajamangala University composed of simple elements operating in parallel
of Technology Thanyaburi. In this experiment found [8]. These elements are inspired by biological
that the forecast and actual values go in the same nervous systems. As in biological nervous systems,
direction and the errors were 16.83%. the network function is determined largely by the
The aim of this study is to analyze, connections between elements. A neural network
investigate and develop model of supervised can be trained to perform a particular function by
learning network of photovoltaic power prediction adjusting the values of the connections (weights)
for precise and accurate power prediction. To between the elements. Commonly neural networks
provide a comprehensive solar radiation data output are adjusted, or trained, so that a particular input
Hence, the model can be used to predict the monthly leads to a specific target output. During the training
solar radiation potential for specific locations in process, the weights of the connections between
Malaysia where there are no records of solar neurons are adjusted to achieve a desired
radiation for certain places that not have input/output. A multilayer feed forward network has
meteorological stations. The predicted solar its neurons organized into layers with no feedback
radiation values from the model were given in the
ISBN: 978-1-61804-175-3 55
Latest Trends in Renewable Energy and Environmental Informatics
or lateral connections. Layers of neurons other than have applications especially when sizing and
the output layer are called hidden layers. Input deploying solar technology systems.
signals propagate through the network in a forward Another reason focusing on solar energy is
direction, on a layer-by-layer basis until the output Feed-in Tariff. The FiT is Malaysia’s new
layer. mechanism under the Renewable Policy and Action
One of the major advantages of neural Plan to catalyse generation of RE. This mechanism
networks is their learning ability to perform specific allows electricity produced from indigenous
tasks. Learning is accomplished by adjusting the renewable energy resources to be sold to power
weights of the connections between neurons. utilities at a fixed premium price for a specific
Weights are adjusted to allow the network to duration [10].
produce outputs as close as possible to the known
correct answers of the training data
The back-propagation algorithm is a 3 Problem Solution
supervised iterative training method for multilayer 3.1 Artificial Neural Network for Power
feed forward networks [9]. A sample from the
Prediction
training data is chosen randomly and provided to the
An ANN resembles a biological neural system,
inputs of the network, which computes the outputs
composed of layers of parallel elemental units called
on a layer-by-layer basis until the output layer. The
neurons. The neurons are connected by a large
difference between the actual output of the network
number of weighted links, over which signals or
and the correct output that is provided in the training
information can pass. A neuron receives inputs over
data is used to adjust the weights, so that the next
its incoming connections, combines the inputs,
time that same input is provided, the network output
generally performs a nonlinear operation, and
will be closer to the correct one. This process is
outputs the final results. MS Excel was used for
repeated for all other input-output pairs in the
develop the ANNs for solar radiation prediction.
training data. Thus, the back-propagation algorithm
The neural network adopted was a feed- forward
minimizes an error function defined by the average
multilayer perception (FFMLP) network, among the
of the sum square difference between the output of
most commonly used neural networks that learn
each neuron in the output layer and the desired
from examples.
output.
Computational complexity refers to the time
required for a learning algorithm to estimate a
solution from training patterns. Many existing
learning algorithms have high computational
complexity. Designing efficient algorithms for
neural network learning is a very active research
topic. It is hoped that devices based on biological
neural networks will possess some of these desirable
characteristics.
ISBN: 978-1-61804-175-3 56
Latest Trends in Renewable Energy and Environmental Informatics
take an input file in any standard Excel format, and minimum value. After the training is completed, the
use the data there to construct an ANN developed model is used for testing using remaining
automatically. Following the expected format, the 2 years data. Lastly, one year data was used for
input file must have the actual data in the first prediction.
columns, while the final column must always Fig. 2 shows the model architecture.
contain the desired output for the previous columns’ Meteorological data was the input and these inputs
input data. MS Excel has an excellent graphing are feed into the MLP network. The network use BP
capability; this can be used to the user’s advantage. algorithm as learning method and the data are
It is often useful to graph the entire node activation trained until satisfying the desired output. This
area of the spreadsheet. network will then produce output which is solar
Six meteorological variables were used as input radiation.
parameters for the input nodes of the input layer.
These variables were month, minimum temperature, 3.2 Result and Discussion
maximum temperature, average temperature, An expected outcome was solar radiation for
relative humidity, and sunshine hour’s ratio which is specific area in unit MJ/m2. This output then used to
measured sunshine duration over daily maximum evaluate the performance of the network such as
possible sunshine duration. A single node was at the mean absolute percentage error (MAPE). MAPE is
output layer with the estimated solar radiation as the ccomparison result between proposed and existing
output. model. The model's evaluation method can
An Artificial Neural Network (ANN) consists of guarantee the stability of model prediction error.
many interconnected identical processing units This research will produce analysis on solar
called neurons. Each neuron computes a weighted radiation as output of the network.
sum of its z input signals. The activation function Fig. 3 shows result from developed network for
for neurons is sigmoid function. The learning testing stage. The result shows the network still not
algorithm used was the standard back propagation. stable since simulation for certain months produce
The sigmoid function, S defined as follows: big different between predicted and measured.
(1)
ISBN: 978-1-61804-175-3 57
Latest Trends in Renewable Energy and Environmental Informatics
References:
ISBN: 978-1-61804-175-3 58