Professional Documents
Culture Documents
IRSEC21 Paper 614
IRSEC21 Paper 614
Neural Network
Abdelkader El Kounni, Hassan Radoine, Hicham Mastouri, Hicham Bahi Abdelkader Outzourhit
School of Architecture, Planning & Design Cadi Ayyad University,
Mohammed VI Polytechnic University,Ben Guerir, Morocco Marrakesh, Morocco
Abdelkader.Elkounni@um6p.ma, Hassan.Radoine@um6p.ma aoutzour@uca.ma
Hicham.Mastouri@um6p.ma, Hicham.Bahi@um6p.ma
Abstract—The solar power generated by photovoltaic modules data. By this simulation, we are not only aiming to see the
depends on many parameters namely the solar radiation and the influence of external factors; our goal is to make the model
cell temperature as these variables affect the current and voltage learn the functioning modes of the power plant components
provided by the modules. In addition, cable loses, conversion
losses and cloud coverage can also affect the power output. In which includes the losses and the drops that will accrue during
this work, we propose to build a deep learning model that will operating hours.
implicitly take all these parameters into account and provide us
with a prediction of the output power generated by PV power II. C ASE OF STUDY
plants installed. The Artificial Neural Network used takes as an A. Description of the PV Power Plant
input the solar radiation, ambient temperature and modules’
temperature, and as target the solar power. The ANN model was The PV power plant is installed in a coastal region of Elkaria
trained in a first experiment to give an hourly prediction. The located between the cities of Safi and Essaouira. This region
second one provides an entire day forecast. The obtained results has an interesting irradiance level and an average annual wind
are very promising and the predicted output power profile is in
good agreement with the measured one. speed between 7 and 8 m/s [4]. The PV plant consists of
Index Terms—Solar power, Deep learning, Artificial neural 32 (Sunpower SPR-225-WHT) panels with mono-crystalline
network, Forecasting, Performance analysis silicon cells using the back contact technology. The peak
power and efficiency of each panel are respectively 225 Wp
I. I NTRODUCTION and 18.1 %. Some pertinent characteristics of the panel are
Morocco is increasingly relying on the existent natural summarized in Table 1[5].
resources to fulfill its energy demands by implementing re-
newable energy technologies and energy efficiency plans. The TABLE I. P ERTINENT PARAMETERS OF THE PV PANELS
main goal of the strategy adopted is to meet 52% of the M EASURED AT S TANDARD T EST C ONDITIONS (STC) [5].
installed capacity using renewable resources by the horizon of Solar cells 72 SunPower all back-contact monocrystalline
2030[1]. As a result of its geographic location, Morocco has
a significant solar potential; the mean annual solar radiation Efficiency 18.10%
reaches 2600 kW h/m2 /year [2]. This makes the country Peak power 225 W
very attractive for solar thermal and solar Photo voltaic Rated voltage 41 V
projects. It is well known that the power produced by these
technologies is highly influenced by weather variations. For Rated current 5.49 A
example, an increase in solar radiation can lead the power Open circuit voltage 48.5 V
to rise [3]. However, intense solar radiation can cause PV Short circuit current 5.87 A
modules overheating thus a drop in the output voltage and
the efficiency of the conversion. In this work, we will try to
forecast the power output of a power plant located in Morocco III. P OWER P LANT C ONFIGURATION
using an artificial neural network that takes on-site measured
parameters as inputs. The obtained results were then compared As Fig.1 shows, the off-grid power plant contains two
with the actual measured ones. In the first phase we built a generation units composed of 2 PV strings of 8 panels each,
regressive model for short term forecasts, then we extended connected to a 3.8 kW PV-inverter(Sunny Boy 3800, SMA,
the model to one-day full forecast based on the measured Germany). The two bidirectional inverters (Sunny Island) and
the battery bank are the grid forming unit. The Plane-of-array
solar radiation, ambient temperature and module temperature
are collected data used to train our model. In this case, the
modeling is describing the functioning of inverters used in
this power plant with no storage. More details about the power
plant can be found in the work of El Fathi et al [4].
A. Error Evaluation
By randomly dividing the DATA into 70% training, 15%
validation and 15% testing parts, we obtained the RMSE val-
ues for both validation and training sets. These two parameters
will help us to evaluate the fitness of the model.
As Fig.7 shows, if the RMSE of the training is greater than
the RMSE of the validation the ANN generates a model that
is under fitting the data. In other words, the model doesn’t
describe the relationship between the inputs and the target.
However,if the RMSE of the validation is greater than that
Figure 5. Target and inputs correlation before normalization.
of the training, the model tend to overfit. A model with
high variance will not interpolate well the data. The best
scenario is when both errors are low, then the algorithm yields
good prediction and interpolation of the given data. For a
(b)
VII. R ESULTS
A. Short Term Forecast
In the first phases of ANN training, the modules measured
temperatures and solar radiation over a certain day (2) are used
as inputs. For example predicting 5 hours of production during
one day using 167 samples, then training the model with 70
samples of which 15 samples for validation and 15 samples
for testing. The model was familiar with 100 samples and
we kept 67 observations equivalent in time to 5 hours of PV
power production. These observations were used to evaluate
the accuracy of ANN during training and at the prediction
phase.
Pac = AN N (Gint , Tamb , Tmdl ) (2) Figure 12. Forecast/observation correlation for both training
As Fig.11 illustrates, the obtained neural network is yields a and validation for 5 hours prediction.
good fit to the targeted values as it interpolates the observed
values with an acceptable marge of RMSE around 20 W.
Also the predictions of the output were very similar to the depending on external parameters such as solar radiation and
actual measured values as they follows the same progression ambient temperature which affect the production. On the other
as the measured output. Fig.12 shows that both training and hand, the module temperature depends on these parameters as
validation sets were very close to the observations as all point well as the module’s characteristics and its operation point and
are very close to the identity line which indicates a good level mode. Using the measured PV output as a target, the model
of fitness. didn’t only learn about the influence of exterior parameters
but started to emulate the losses that are occurring in the
B. Full Day Forecasting power plant configuration with all specific details. Everything
To give a full day forecast of PV power production we that characterizes this configuration is embedded in a machine
decided to take the following approach:the model is trained learning algorithm even the notion of time was taken into
several time choosing a random day and then in each simu- consideration as the solar radiation and temperature vary with
lation the RMSE is evaluated. The trained ANN that has the time. The ANN has also retained this property and started to
lowest error for the given day is selected and used to forecast give completely similar profiles to the real case distribution.
progression of the PV power of a given day. The study con- A good proof of this is the following test in which we
cerned is a regression problem which justifies why the notion took two random days of observation; one was used to train
of time is barley mentioned; we decided to make the ANN the model and the other one used to check how good is
learn the patterns independently from time while strongly the forecast. As we can see in Fig.13, both days have no
similarities in the distribution of their factors. The variance of
the recorded temperature on the 25th of May was much higher
than that of the 18th of June and both temperature peaks were
in different periods. In addition, for the solar radiation there
is no direct link between the two profiles.
(b)
Figure 13. (a) A comparison between the measured values for
both ambient and module’s temperature during 25th of May
and 18th of June (b) Solar radiation comparison in both days.