Next Article in Journal
Expression of the VvMYB60 Transcription Factor Is Restricted to Guard Cells and Correlates with the Stomatal Conductance of the Grape Leaf
Next Article in Special Issue
Decision Pattern for Changing Polluted Areas into Recreational Places
Previous Article in Journal
Three-Dimensional Reconstruction of Soybean Canopy Based on Multivision Technology for Calculation of Phenotypic Traits
Previous Article in Special Issue
Chitosan-Based Bioactive Formulations for the Control of Powdery Mildew in Viticulture
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Prediction Model of Photovoltaic Power in Solar Pumping Systems Based on Artificial Intelligence

by
Jorge Cervera-Gascó
1,
Rafael González Perea
2,
Jesús Montero
1,* and
Miguel A. Moreno
1
1
Department of Plant Production and Agricultural Technology (ETSIAM), University of Castilla-La Mancha, Campus Universitario, s/n, 02071 Albacete, Spain
2
Department of Agronomy, University of Córdoba, Campus Rabanales, Edif. da Vinci, 14071 Córdoba, Spain
*
Author to whom correspondence should be addressed.
Agronomy 2022, 12(3), 693; https://doi.org/10.3390/agronomy12030693
Submission received: 11 February 2022 / Revised: 7 March 2022 / Accepted: 11 March 2022 / Published: 13 March 2022
(This article belongs to the Special Issue Selected Papers from 11th Iberian Agroengineering Congress)

Abstract

:
Photovoltaic solar energy is becoming very important globally due the benefits of their use. Climate change is resulting in frequent climatic variations that have a direct effect on the energy production in photovoltaic installations, so their good management is essential. This can be a big problem, for example, in photovoltaic pumping systems where irrigated crops can be affected due to lack of water. In this work, a PREPOSOL (PREdiction of POwer in SOLar installations) model was developed in MATLAB® software, which allowed to predict the power generated in the photovoltaic installations up to 3 h in advance using Artificial Neural Networks (ANNs) in a Bayesian framework with Genetic Algorithms. Despite that the PREPOSOL model can be implemented for other activities with photovoltaic solar energy, in this case, it was applied to photovoltaic pumping systems. The results showed that the model estimated the generated power with a relative error (RE) and R2 of 8.10 and 0.9157, respectively. Moreover, a representative example concerning irrigation programming is presented, which allowed adequate management. The methodology was calibrated and validated in a high-power and complex photovoltaic pumping system in Albacete, Spain.

1. Introduction

In recent years, the consequences of climate change on the availability of resources such as fresh water seem to be evident [1]. Moreover, a growing population has resulted in a significant increase in global food demand that entails greater pressure on water resources with a direct impact on irrigated agriculture [2]. In order to maximize the efficiency of this water use, in the last two decades, many irrigated areas have been subjected to modernization processes [3] where open channels have been replaced by pressurized networks [4]. However, these modernization processes has led to high energy consumption, making measures to optimize the use of this resource also necessary [5], which together with the increase in the price of conventional electricity, can lead to the unfeasibility of some farms [6]; these are mainly in irrigation areas with underground resources, where the extraction cost alone can be up to 70% of the total energy cost [7].
Renewable energy resources, which depend on natural resources to generate an infinite supply of energy that is sustainable and non-pulling, are a promising alternative to the conventional energy resources and have gained significant importance in the recent centuries to overcome the energy shortages [8].
Photovoltaic solar energy has emerged as the most popular approach of the renewable energy resources [9,10], mainly in areas where the number of sunlight hours, among other things, is very high, as for example in Mediterranean areas [11]. Consequently, irrigation crops using photovoltaic pumping systems have increasingly gained interest, and have already been established in many places of the world, for example, USA [12], India [13], Algeria [14], Turkey [15] and Spain [4,16]. Photovoltaic energy can be used in standalone or grid-connected systems to supply power for pumping stations in irrigated agriculture [17]. Although, this energy source has many environmental and economic benefits [18,19,20], their dynamic and highly weather-dependent nature makes its management a major challenge. The variation in solar irradiance could result in dramatic problems in balancing between the power generation and demand at the pumping station. Thus, solar PV power forecasting is essential to the efficient management of these PV systems integrated in commercial irrigated farms.
Fully modelling such PV systems is a hard task that requires the implementation of many mathematical models that allow the analysis of the factors that affect the performance, for example, geographical location, solar irradiance, multiplicity of PV-system components in the market and the complexity of the permutations of these components, their types, efficiencies, and their different performance indicators. Moreover, the varying methods used for the design of PV-systems often lead to results with significant differences due to differing assumptions [21]. Several methods are detailed in [22,23]. Thus, the efficient integration of photovoltaic (PV) production in energy systems is conditioned by the capacity to anticipate its variability, that is, the capacity to provide accurate forecasts [24]. Consequently, these accurate methods can present some limitations for users in their regions, such as the difficulty and specificity of the method, or the necessity to get accurate input and output data [25], which is not a serious problem due the current capacity to monitor of these types of systems.
However, Artificial Neural Networks (ANNs) based methods have been proven to be a useful tool to model different engineering systems under real-world conditions without having to solve these mathematical methods [26,27]. The ANNs exhibit excellent characteristics such as high-speed information processing, mapping capabilities, fault tolerance, adaptively, generalization and robustness. Therefore, ANNs are a powerful and smart tool for modelling, prediction, and optimization the management of the PV energy systems. Many researchers have summarized the use of the ANNs in many applications of PV energy systems. For example, multilayer perceptron networks (MLP) or radial basis function networks (RBF) have been widely applied to forecast electrical efficiency, energy performance or PV yield [28,29,30]. Others implement these ANNs for electrical modelling a photovoltaic module [31], or MPPT-based artificial intelligence techniques for photovoltaic systems [32], or even for prediction of solar radiation [33].
However, the most important and easily managed operating variable for the managers of these irrigation networks is the power available at the outlet of the pumping station, i.e., the power available to the irrigation system. None of the previous models consider this essential aspect for the management of the PV systems in irrigation. On the other hand, none of these works consider the temporal influence of the input variables of the model, or the degradation of the PV systems over time. Thus, in this work, a new method, based on BigData techniques and Artificial Intelligence, has been developed to forecast the power available to the irrigation system (at the outlet of the pumping station) when PV energy systems are used as the energy source. The forecasting model is based on a deep recurrent artificial neural network optimized by a genetic algorithm (NSGA-II) [34] known as deepLSTM (Long-Short Term Memory) [35]. The developed model PREPOSOL (PREdiction of POwer in SOLar installations) considers each input of the forecasting model in a time series and analyses the seasonality and trend of each input variable. In addition, due to the memory capacity of the developed model, it can address the problem of degradation of the PV system by adapting over time to the real system conditions. The model PREPOSOL has been developed in MATLAB® (Mathworks Inc., Natick, MA, USA) software and was tested in a real farm in the southeast of Albacete province (Spain).
The paper is structured as follows. Section 2.1 describes the case study and all the measuring equipment used. Section 2.2 details the process to calculate the cloudiness and power loss in cables leading to the pumping station. Section 2.3 explains a new approach to forecast the available power at the pumping station fed by PV systems. Section 2.4 and Section 2.5 outline the equations to build the PREPOSOL model and their optimization processes. Section 3 presents the input variables of the PREPOSOL model. Section 3.1 presents the Pareto front for the last generation and the evolution of the best individual in the model. Section 3.2 analyses the results obtained from the PREPOSOL model against real data. Section 4 is the discussion section and finally, Section 5 shows our main conclusions.

2. Materials and Methods

2.1. Case Study and Data Source

In the present work, for developing the model, a commercial farm called “Peruelos” was used. The geographical coordinates were 38.994° latitude and −1.859° longitude and it was in the southeast of Albacete province (Spain). The crop was almond trees with a plantation framework of 7 × 7 m2 in a total irrigation area of approximately 90 ha. The photovoltaic system provided energy for a subsurface drip irrigation system, which was composed by 20 subunits with a highly irregular shape and topography that reached huge elevation differences (up to 60 m). An accurate description of the installation appears in [36,37].
The photovoltaic system was composed by 152 polycrystalline silicon photovoltaic modules. The photovoltaic module was SM6610P 265 (Astronergy/Chint Solar, Frankfurt, Germany) of 60 solar cells and a unit capacity per photovoltaic module of 265 Wp with south orientation and a slope of 8.5°. The PV generator was 40 kWp and was composed by eight lines in parallel with 19 photovoltaic modules per line.
The variable frequency drive (VFD) model was 3G3RX-A4220-E1F (Omron Europe B.V., Hoofddorp, the Netherlands), with a nominal power of 30 kW, an output nominal current of 57 A and an overvoltage protection of 800 V. The VFD efficiency, according to the manufacturer, is 89.7% at 25% load and 95% at 100% load.
The irrigation pump was connected to the photovoltaic generator mainly by two different lines of cables. The first line, from the VFD up to the borehole inlet, was in a buried aluminium cable XZ1 0.6/1kV with a section of 150 mm2 and a length of 470 m, and the second line, from the borehole inlet up to the submersible motor, was a copper cable RVK 0.6/1kV with a section of 25 mm2 and a length of 225 m (Figure 1).
The installed equipment on the farm to generate the PREPOSOL model was a Middleton EP07/134 calibrated pyranometer (Middleton Solar, Melbourne, Australia), which allowed to measure the values of irradiance on the horizontal surface (W·m−2) and an agroclimatic station SICO WS-600 (SICO Control Systems, Madrid, Spain) to measure wind speed (m·s−1) both located in a corner of the photovoltaic generator (Figure 1).
An AR5 electrical network analyser (CIRCUTOR, Barcelona, Spain), which had an accuracy better than 1.5%, was used to measure the generated AC power.
The equipment used for the system monitoring was programmed to record the measurements with a time interval of 10 min during 2016, 2017, and 2018; its evolution is presented in Section 3 of results.

2.2. Objective Photovoltaic Power

The presence of clouds has a negative effect on generating energy with photovoltaic installations. Thus, an algorithm to calculate the clear sky conditions was used [38,39]. Later, the comparisons between forecasts of the clear sky conditions with the measures of the irradiance on a horizontal surface allowed calculation of the level of cloudiness (%) at all times of the day.
The objective was to get photovoltaic power to the inlet machine that requires it, in this case, an irrigation pump. Figure 1 shows two lines of buried cables in Alternate Current (AC) between the outlet of the VFD and the inlet of the irrigation pump, which can produce important power losses that are necessary to calculate. The calculation of power losses in long cables was based on the cable resistance approach obtained according to the temperature of the cable (Equation (1)).
C L P O W = N · R · L · I max 2 1000
where CLPOW is the power losses in the cable (kW), Imax is the AC current in the cable (A), N is the number of conductors, L is the length of the cable (m), and R is the resistance according to the temperature reached (Ω).

2.3. Problem Approach

The available power for the irrigation system, mainly when PV systems are implemented as energy sources, is a key variable to schedule a precision irrigation and the efficient management of the pumping station. Thus, in this work, a new approach based on recurrent neural networks with memory optimized by genetic algorithms was developed to forecast the available power at the pumping station (fed by PV systems), considering both clear and cloudy days in a single model. The developed model can memorise the most relevant information over time. This made it possible to optimise the model’s forecasts, as well as to adapt dynamically to the natural evolution (degradations, efficiency losses, etc.) of the PV systems. The model was trained to forecast the power available at the pumping station up to 3 h in advance, which is enough time to carry out the optimal scheduling of a precise irrigation system. The first phase of the model building process was to identify the main input variables. There are many techniques to achieve this input space reduction. Principal component analysis and partial least square cardinal components are two widely used techniques. However, when the significant input variables resulting from these techniques are used in nonlinear models, very poor results are usually obtained [40]. Therefore, an adaptation of the methodology developed by [40], which applied fuzzy curves and fuzzy surfaces for the identification was used to find the significant input variables in an automatic way. A stacked LSTM (deepLSTM) model was then designed and optimized by the NSGA-II genetic algorithm.

2.4. LSTM Cell

The LSTM network belongs to the Recurrent Neuronal Network class and it was specially designed for sequence problems. The recurrent connection of these kind of neural networks adds state or memory to the model and allows it to learn and harness the ordered nature of the sensor measurements with the input sequence. Figure 2 shows the architecture of a LSTM cell, which is the elemental unit for stacked or deep LSTM models. An LSTM cell consists of a set of recurrently connected blocks, known as memory blocks. These blocks can be thought of as a differentiable version of the memory chips in a digital computer. Each of these blocks contains one or more recurrently connected memory cells and three multiplicative units (the input, output and forget gates) that provide continuous analogues of write, read, and reset operations for the cells.
In all RNNs, there is feedback that considers output from the previous time steps (ht−1). Unlike other ANN architectures, RNNs have a feedback loop at every node, which allows information to move in both directions and so learning temporal patters of widely separated events. In addition to this feedback loop, the LSTM cell has some extra gates, namely the input, forget, cell and output gate that are used to decide which information are going to be forwarded to another node. Consequently, the input gate (it) can be defined according to Equation (2).
i t = σ ( x t U i + h t 1 W i )
where σ represent the sigmoid function; xt is the input vector of the model at time step t; Ui is the weight matrix that connects the inputs to the hidden layer; ht−1 is the hidden state from previous time step t−1 and Wi is the recurrent connection between the previous hidden layer and current hidden layer.
Similarly, ft defines the forget gate Equation (3), which decides what to forget by a mechanism of sigmoid function.
f t = σ ( x t U f + h t 1 W f )
where Uf is the weight matrix that connects the inputs to the forget layer and Wf is the recurrent connection between the previous forget layer and the current forget layer.
The cell state (Ct) represents the “memory” of the LSTM Equation (4) networks and information from the earlier time steps can travel to later time steps, reducing the effect of short-term memory.
C t = σ ( f t C t 1 + i C t ˜ )
where C t ˜ is the candidate hidden state that is computed based on the current input and the previous hidden state Equation (5) and Ct−1 represents the internal memory at the time step t−1.
C t ˜ = t a n h ( x t U g + h t 1 W g )
where tanh represents tanh function; Ug is the weight matrix that connects the inputs to the candidate hidden layer and Wf is the recurrent connection between the previous candidate hidden layer and the current candidate hidden layer.
Finally, the output gate (ot), which defines the new cell state (Ct) and the hidden state at time step t, is computed according to Equations (6) and (7).
o t = σ ( x t U o + h t 1 W o )
where Uo is the weight matrix that connects the inputs to the output gate and Wo is the recurrent connection between the previous candidate hidden layer and the current candidate hidden layer at output gate.
h t = t a n h ( C t ) · o t
After a training process in this kind of ANNs, the weight matrixes (U) and the recurrent connexions (W) are optimized to minimize the forecasting errors. Thus, at the end of this step, the forget gate decides what is relevant to keep from the prior steps. The input gate decides what information is relevant to add from the current step, and the output gate determines what the next hidden state should be.

2.5. Building and Optimizing the DeepLSTM Model

The deep or stacked LSTM is a model that has multiple hidden LSTM layers where each layer contains multiple LSTM cells. Stacking LSTM hidden layers makes the model deeper, more accurately earning the description as a deep learning technique [41]. The multilayers can recombine the learned representation from prior layers and create new representations at high levels of abstraction, e.g., some groups of layers were specialised in cloudy days, while others in clear days (all of them under the same model). However, the right or optimal architecture of deepLSTM models is hard to find, and it is frequently adjusted by trial and error leading to not skilful models, or unstable models. Consequently, the architecture of PREPOSOL (based on deepLSTM) model has been automatically optimized by the multi-objective genetic algorithm known as NSGA-II [34]. Figure 3 shows the flowchart of the PREPOSOL development and optimization.
In the first step, an initial population of nPop chromosomes was randomly generated. Every chromosome or individual (chr) was made up of nDec decision variables, or genes, that represent each hyperparameter of the PREPOSOL model (deepLSTM model) to be optimized. Thus, every individual of the genetic algorithm defined one deepLSTM model to be trained.
Table 1 shows the five decision variables (genes) considered in this work, as well as the value range that everyone takes during the optimization process. The two first decision variables, or genes, (nDec1 and nDec2) define the dimensions of the inner gates and the cell state activation function of the LSTM cell, respectively. Consequently, these two first genes define the architecture of the LSTM cell. The third gene (nDec3) establishes the depth of the deepLSTM model and so its capacity to be adapted to the problem addressed. The gene nDec4 was designed to find the best way to train the deepLSTM model for this problem, i.e., the best training function. Finally, gene nDec5 was responsible to find the best way to measure the difference between the forecasted and the actual values of the available power at the pumping station.
Once the initial population was created, each deepLSTM model created by each chromosome was trained and tested with two different datasets (train and test datasets). After that, it was necessary to sort this initial population according to its aptitude, i.e., its forecast capacity. However, to ensure good generalization of the PREPOSOL model, the aptitude of every individual was measured, not over the training set but over the testing set. Thus, the initial population was sorted by the aptitude of the testing set, which was defined by two objective functions, F1 and F2. In this work, F1 (Equation (8)) is the coefficient of determination (R2) of the testing dataset, while F2 (Equation (9)) measures the standard error prediction (SEP) [48] of this dataset.
  F 1 = ( i = 1 n t ( A P o w e r i ^ A P o w e r ^ ¯ ) · ( A P o w e r i A P o w e r ¯ ) i = 1 n t ( A P o w e r i ^ A P o w e r ^ ¯ ) 2 · i = 1 n t ( A P o w e r i A P o w e r ¯ ) 2 )
where nt is the total number of samples of the testing dataset; A P o w e r ^ is the estimated available power at pumping station, kW; A P o w e r ^ ¯ is the average of APower of the testing dataset, kW; APower is the observed available power at pumping station, kW; and A P o w e r ¯ is the average of the observed APower of the testing dataset.
  F 2 = 1 A P o w e r ¯ 1 n t · i = 1 n t ( A P o w e r i ^ A P o w e r i ) 2
Thus, the NSGA-II algorithm optimizes the decision variables by maximizing the F1 values and minimizing the F2 values simultaneously. In the remaining stages, the individuals were modified (crossover and mutation), and the top nPop were selected based on their objective function values. The process was repeated for several generations (nGEN). Finally, the set of nPop optimal individuals (optimal deepLSTM models) obtained in the last generation defines the Pareto front.

3. Results

The input variables used in the generated model PREPOSOL are representative for this case study “Peruelos” and are represented in Figure 4. The solar irradiance on the horizontal surface (W·m−2), measured by the pyranometer, shows the normal evolution according to the time of year, which is reflected on the power achieved. The mean wind speed (m·s−1) was of 2.78 and the main cloudiness values were recorded in winter months. However, there were many cases of cloudiness, below of 10% because of location in a highly irregular topography, that could be related to fog, turbidity of the atmosphere and the airborne dust, that mainly occurred in the early morning and late afternoon.

3.1. Evolution of the PREPOSOL Optimization

The population corresponding with the last generation in the evolutional optimization process was composed of five genes, which represented a different characteristic of the ANN, with 100 individuals for each of them.
During the optimization process, the number of initial training steps in the ANN was done with a limitation time. Later, the best individuals initially trained were retrained, this time with no limitation time on the number of steps. The function time in the training process was essential because it allowed to get more or less dense ANNs, which implied a slow or fast training process respectively, and whose effect was reflected in the function costs with more or less approximation. Consequently, Figure 5 represents the Pareto front for the last generation and the evolution of the best individual with and without limitation time. The individuals are not separated into different groups in the graph and, except for some, in general terms there are linear relationships because as F1 value increase, so F2 values do too.
In this case, the best individual was obtained without limitation of time (I2) with a very small change in the R2 value with respect of the optimization process with limitation time, but a clear improvement of the SEP value which results in an increase in the accuracy of the model.

3.2. Optimal PREPOSOL Model

To analyse the precision of the PREPOSOL model, a statistical analysis was performed based on the calculation of the root mean square error (RMSE), relative error (RE), and coefficient of determination (R2). The statistical values of R2, RMSE and RE were 0.9157, 1.61 and 8.10, respectively (Figure 6a). Figure 6b shows the comparison between the measured values and the predicted values with differences between 13–18 kW, which are produced mainly in autumn-winter, and were slightly higher in predicted values compared to the measured values. However, for high power between 22–28 kW, approximately, the predicted values were below the measured values, mainly in summer, when this high level of energy is more frequent.
Despite that, a good accuracy was observed in the power range of 19–22 kW without many differences. Before the development of the generated model, a good filtering was done of the initial values to obtain quality values. However, due the large number of inlet parameters for calculations, these results could be influenced by the lack of representative values in all periods of time (summer, autumn, winter, spring). Thus, according to the previous reasoning, this model will be able to learn better with more and better-quality representative data for all periods of time. Although the differences between the measured and predicted values suffered temporal variations, the statistical analysis reveals a good approach in values of the main statistical indicators.
The generated model can be applied in any system that uses photovoltaic solar energy to feed their equipment. However, its application in irrigation pumping systems is a great advantage, especially when the crop irrigation requirements are high and irrigation with this type of system is the only solution. For that, it is essential to have an accurate knowledge of the irrigation area to allow to collect quality parameters of complex irrigation systems [37]. In this case, the hydraulic information was calibrated and validated in the same real farm, which allowed to make an irrigation planning for the system.
For a demonstration, two irrigation strategies were used. Table 2 shows the strategy with an individual subunit and Table 3 shows the strategy with several simultaneous subunits. The subunits analysed were 3 and 11 of 20 that make up the farm, which depending on the selected strategy, allowed to obtain quality irrigation parameters an accordingly the inlet power of the pump [37].
Moreover, Table 4 shows a short example for the 6 July 2018 with different hours of the day and their predicted power obtained with the PREPOSOL model. Thus, for quality irrigation of subunit 3, (Emission Uniformity (EU) = 85%) 14 kW was necessary at the inlet of the pump, whereby, according to Table 4, the farmer could irrigate subunit 3 individually at any hour. However, for a simultaneous quality irrigation of the subunits 3 and 11 (EU = 85%) 19 kW are necessary at the inlet of the pump whereby, according to Table 4, the farmer could only irrigate subunits 3 and 11 from 13:20:00 to 15:20:00 hours.
This was a small demonstration about the possibilities offered by the generated model for irrigation scheduling.

4. Discussion

The monitoring of power generation installations is not always considered [49]. One of the essential and important factors, among others, in getting accurate predictions in PV installations, is the cloudiness that is produced by the variability of weather conditions and has a direct effect in the level of irradiance reached. Some researchers have published on this issue, e.g., [50,51]. The implementation of the cloudiness parameter in the PREPOSOL model has allowed to demonstrate their good performance. Moreover, in this case, the cloudiness parameter was calculated with irradiance values obtained with a pyranometer located in the same study place, but it could be calculated by the users through official sources of information that are easier to use. Moreover, the current low-cost monitoring systems of photovoltaic installations can be a useful technology [52]. Thus, a high efficiency was demonstrated for predicting available photovoltaic power with the PREPOSOL model using a small number of input variables that are commonly monitored.
A data acquisition system is very important to get information in real time, but it is especially important in solar pumping systems as it allows to describe their behaviour in variable weather conditions [53]. There has been much research to get photovoltaic power predictions using artificial neural networks [49,54]. However, it is remarkable that the PREPOSOL model has an associative and adaptative memory, which indicates that as the data becomes better, its memory will be able it to adapt better to the conditions in which is working. Thus, the methodology implemented could be applied in any other farm, with adjustments of the model for each specific case.
The PREPOSOL model considers the temporal influence of the input variables and the degradation of the PV systems over time; both aspects have not been considered previously, which can result in significant lack of precision because the PV-module manufacturers guarantee a power drop of less than 20% within the warranty period [55,56]. Moreover, the most important and easily manageable operating variable for the managers of these irrigation networks, is the power available at the outlet of the pumping station, i.e., the power available to the irrigation system. None of the previous models have considered this essential aspect in the management of the PV systems in irrigation.
The adequate management of a solar pumping system is a key objective so that farmers can obtain quality and quantity food, have water and energy savings, be competitive in the agriculture sector and generate benefits in their farms. The high variability of weather conditions involves an efficient management of the energy resources to be applied appropriately in the irrigation system, especially in farms with water scarcity. In this work, the power prediction to 3 h in advance, represents enough time for the decision-making process and allows easy management of the pumping station, or to do modifications in the irrigation scheduling, as was demonstrated in the example presented for the irrigation system.

5. Conclusions

The utility of the PREPOSOL model to predict available power in photovoltaic installations up to 3 h in advance was demonstrated. Thus, it will be possible to adapt the energetic production as the system demands with the aim of making a rational use of the resources, increase the competitivity and productivity of the developed activity, planification and programming of specific situations and other benefits that can be done according to the developed activity. Although the generated model can be applied in any system that use photovoltaic solar energy to feed their equipment, in this work was applied in a solar pumping system.
Thus, the generated model enabled predictions of photovoltaic power with a high level of precision (RE = 8.10%) with respect to the measured photovoltaic power, using a reduced number of inlet variables which could be a great advantage in saving monitoring systems of the photovoltaic installations. Moreover, the temporal influence of the input variables and the degradation of the PV systems over time was considered, both fundamental aspects that have not been considered in other works.
Another aspect, and the most important and easily manageable operating variable for the managers of these irrigation networks, is the power available at the outlet of the pumping station, i.e., the power available to the irrigation system, was considered in this work.
The need to have sufficient quantity and quality data is essential for accurate approximations. Although, the statistical analysis obtained shows good results, and due at the implemented algorithms in the generated model which present associative and adaptative memory, the accuracy could be further improved if the data were better.
Thus, the PREPOSOL model allowed to optimize the generated energy with accurate predictions of photovoltaic power and, in this case, could optimize the use of water for quality irrigation with high emission uniformity (85%), which is a key resource in the viability of many farms especially in farms with water scarcity.
The PREPOSOL model could be used to generate alarms for malfunctioning equipment in the system, because if the monitoring photovoltaic power values are below the predicted values of the model it will indicate technical problems and the need for immediate checking. Thus, the efficiency of the installation is guaranteed, and there is the possibility to save costs and avoid more expensive repairs.
Although, the generated model can be applied in other types of systems fed by solar energy, in this case, it was applied to photovoltaic pumping systems where the high variability of solar irradiation and the high irrigation requirements of the crops for food production demand an accurate management of the system. The small representative example showed the possibilities that the farmer has in the irrigation decision-making process for a better use of the available resources, as well as a better use of the investment.

Author Contributions

Conceptualization, J.C.-G., R.G.P. and M.A.M.; methodology, J.C.-G., R.G.P., J.M. and M.A.M.; software, J.C.-G. and R.G.P.; validation, J.C.-G., R.G.P., J.M. and M.A.M.; formal analysis, J.C.-G., R.G.P., J.M. and M.A.M.; investigation, J.C.-G., R.G.P., J.M. and M.A.M.; resources, J.C.-G. and R.G.P.; data curation, J.C.-G. and R.G.P.; writing—original draft preparation, J.C.-G. and R.G.P.; writing—review and editing, J.C.-G., R.G.P., J.M. and M.A.M.; visualization, J.M.; supervision, J.M. and M.A.M.; project administration, M.A.M.; funding acquisition, M.A.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Spanish Ministry of Education and Science (MEC), grant number PID2020-115998RB-C22 (Co-funded by FEDER) and the University of Castilla-La Mancha predoctoral and postdoctoral grant action.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Yu, J.; Wu, J. The sustainability of agricultural development in China: The agriculture-environment nexus. Sustainability 2018, 10, 1776. [Google Scholar] [CrossRef] [Green Version]
  2. Garcia, A.V.M.; López-Jiménez, P.A.; Sánchez-Romero, F.J.; Pérez-Sánchez, M. Objectives, keys and results in the water networks to reach the sustainable development goals. Water 2021, 13, 1268. [Google Scholar] [CrossRef]
  3. Playán, E.; Mateos, L. Modernization and optimization of irrigation systems to increase water productivity. Agric. Water Manag. 2006, 80, 100–116. [Google Scholar] [CrossRef] [Green Version]
  4. Tarjuelo, J.M.; Rodriguez-Diaz, J.A.; Abadía, R.; Camacho, E.; Rocamora, C.; Moreno, M.A. Efficient water and energy use in irrigation modernization: Lessons from Spanish case studies. Agric. Water Manag. 2015, 162, 67–77. [Google Scholar] [CrossRef]
  5. Giustolisi, O.; Berardi, L.; Laucelli, D.; Savic, D.; Kapelan, Z. Operational and tactical management of water and energy resources in pressurized systems: Competition at WDSA. J. Water Resour. Plan. Manag. 2016, 142, C4015002. [Google Scholar]
  6. Raza, F.; Tamoor, M.; Miran, S.; Arif, W.; Kiren, T.; Amjad, W.; Hussain, M.I.; Lee, G.H. The Socio-Economic Impact of Using Photovoltaic (PV) Energy for High-Efficiency Irrigation Systems: A Case Study. Energies 2022, 15, 1198. [Google Scholar] [CrossRef]
  7. Izquiel, A.; Ballesteros, R.; Tarjuelo, J.M.; Moreno, M.A. Optimal reservoir sizing in on-demand irrigation networks: Application to a collective drip irrigation network in Spain. Biosyst. Eng. 2016, 147, 67–80. [Google Scholar] [CrossRef]
  8. Guven, G.; Sulun, Y. Pre-service teachers’ knowledge and awareness about renewable energy. Renew. Sustain. Energy Rev. 2017, 80, 663–668. [Google Scholar] [CrossRef]
  9. Goel, N.; O’Hern, H.; Orosz, M.; Otanicar, T. Annual simulation of photovoltaic retrofits within existing parabolic trough concentrating solar powerplants. Sol. Energy 2020, 211, 600–612. [Google Scholar] [CrossRef]
  10. Gunderson, I.; Goyette, S.; Gago-Silva, A.; Quiquerez, L.; Lehmann, A. Climate and land-use change impacts on potential solar photovoltaic power generation in the Black Sea region. Environ. Sci. Policy 2015, 46, 70–81. [Google Scholar] [CrossRef]
  11. Jerez, S.; Tobin, I.; Vautard, R.; Montávez, J.P.; López-Romero, J.M.; Thais, F.; Bartok, B.; Christensen, O.B.; Colette, A.; Déqué, M.; et al. The impact of climate change on photovoltaic power generation in Europe. Nat. Commun. 2015, 6, 10014. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  12. Vick, B.; Neal, B.; Clark, R.; Holman, A. Water Pumping with AC Motors and Thin-Film Solar Panels. In Proceedings of the Conference, Solar: Including Proceedings of 32nd ASES Annual Conference; American Solar Energy Society: Austin, TX, USA, 2003; pp. 21–26. [Google Scholar]
  13. Pande, P.C.; Singh, A.K.; Ansari, S.; Vyas, S.K.; Dave, B.K. Design development and testing of a solar PV pump based drip system for orchards. Renew. Energy 2003, 28, 385–396. [Google Scholar] [CrossRef]
  14. Bouzidi, B. Viability of solar or wind for water pumping systems in the Algerian Sahara regions—Case study Adrar. Renew. Sustain. Energy Rev. 2011, 15, 4436–4442. [Google Scholar] [CrossRef]
  15. Senol, R. An analysis of solar energy and irrigation systems in Turkey. Energy Policy 2012, 47, 478–486. [Google Scholar] [CrossRef]
  16. Reca, J.; Torrente, C.; López-Luque, R.; Martínez, J. Feasibility analysis of a standalone direct pumping photovoltaic system for irrigation in Mediterranean greenhouses. Renew. Energy 2016, 85, 1143–1154. [Google Scholar] [CrossRef] [Green Version]
  17. Calero-Lara, M.; López-Luque, R.; Casares, F.J. Methodological advances in the design of photovoltaic irrigation. Agronomy 2021, 11, 2313. [Google Scholar] [CrossRef]
  18. Todde, G.; Murgia, L.; Deligios, P.A.; Hogan, R.; Carrelo, I.; Moreira, M.; Pazzona, A.; Ledda, L.; Narvarte, L. Energy and environmental performances of hybrid photovoltaic irrigation systems in Mediterranean intensive and super-intensive olive orchards. Sci. Total Environ. 2019, 651, 2514–2523. [Google Scholar] [CrossRef] [PubMed]
  19. Ntanos, S.; Skordoulis, M.; Kyriakopoulos, G.; Arabatzis, G.; Chalikias, M.; Galatsidas, S.; Batzios, A.; Katsarou, A. Renewable energy and economic growth: Evidence from European countries. Sustainability 2018, 10, 2626. [Google Scholar] [CrossRef] [Green Version]
  20. Omri, A.; Nguyen, D.K. On the determinants of renewable energy consumption: International evidence. Energy 2014, 72, 554–560. [Google Scholar] [CrossRef]
  21. Usman, Z.; Tah, J.; Abanda, H.; Nche, C. A Critical Appraisal of PV-Systems’ Performance. Buildings 2020, 10, 192. [Google Scholar] [CrossRef]
  22. Antonanzas, J.; Osorio, N.; Escobar, R.; Urraca, R.; Martinez-de-Pison, F.J.; Antonanzas-Torres, F. Review of photovoltaic power forecasting. Sol. Energy 2016, 136, 78–111. [Google Scholar] [CrossRef]
  23. Sobri, S.; Koohi-Kamali, S.; Rahim, N.A. Solar photovoltaic generation forecasting methods: A review. Energy Convers. Manag. 2018, 156, 459–497. [Google Scholar] [CrossRef]
  24. Agoua, X.G.; Girard, R.; Kariniotakis, G. Photovoltaic power forecasting: Assessment of the impact of multiple sources of spatio-temporal data on forecast accuracy. Energies 2021, 14, 1432. [Google Scholar] [CrossRef]
  25. Abiodun, O.I.; Jantan, A.; Omolara, A.E.; Dada, K.V.; Mohamed, N.A.E.; Arshad, H. State-of-the-art in artificial neural network applications: A survey. Heliyon 2018, 4, e00938. [Google Scholar] [CrossRef] [Green Version]
  26. Elsheikh, A.H.; Sharshir, S.W.; Abd Elaziz, M.; Kabeel, A.E.; Guilan, W.; Haiou, Z. Modeling of solar energy systems using artificial neural network: A comprehensive review. Sol. Energy 2019, 180, 622–639. [Google Scholar] [CrossRef]
  27. Almonacid, F.; Fernandez, E.F.; Mellit, A.; Kalogirou, S. Review of techniques based on artificial neural networks for the electrical characterization of concentrator photovoltaic technology. Renew. Sustain. Energy Rev. 2017, 75, 938–953. [Google Scholar] [CrossRef]
  28. Kalani, H.; Sardarabadi, M.; Passandideh-Fard, M. Using artificial neural network models and particle swarm optimization for manner prediction of a photovoltaic thermal nanofluid based collector. Appl. Therm. Eng. 2017, 113, 1170–1177. [Google Scholar] [CrossRef]
  29. Kamthania, D.; Tiwari, G.N. Performance analysis of a hybrid photovoltaic thermal double pass air collector using ANN. Appl. Sol. Energy (English Transl. Geliotekhnika) 2012, 48, 186–192. [Google Scholar] [CrossRef]
  30. Ghani, F.; Duke, M.; Carson, J.K. Estimation of photovoltaic conversion efficiency of a building integrated photovoltaic/thermal (BIPV/T) collector array using an artificial neural network. Sol. Energy 2012, 86, 3378–3387. [Google Scholar] [CrossRef]
  31. Karatepe, E.; Boztepe, M.; Colak, M. Neural network based solar cell model. Energy Convers. Manag. 2006, 47, 1159–1178. [Google Scholar] [CrossRef]
  32. Mellit, A.; Kalogirou, S.A. MPPT-based artificial intelligence techniques for photovoltaic systems and its implementation into field programmable gate array chips: Review of current status and future perspectives. Energy 2014, 70, 1–21. [Google Scholar] [CrossRef]
  33. McCandless, T.C.; Haupt, S.E.; Young, G.S. A regime-dependent artificial neural network technique for short-range solar irradiance forecasting. Renew. Energy 2016, 89, 351–359. [Google Scholar] [CrossRef] [Green Version]
  34. Deb, K.; Pratap, A.; Agarwal, S.; Meyarivan, T. A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE Trans. Evol. Comput. 2002, 6, 182–197. [Google Scholar] [CrossRef] [Green Version]
  35. Hochreiter, S.; Urgen Schmidhuber, J. Long Short-Term Memory. Neural Comput. 1997, 9, 17351780. [Google Scholar] [CrossRef] [PubMed]
  36. Cervera-Gascó, J.; Montero, J.; Moreno, M.A. I-solar, a real-time photovoltaic simulation model for accurate estimation of generated power. Agronomy 2021, 11, 485. [Google Scholar] [CrossRef]
  37. Cervera-Gascó, J.; Montero, J.; Del Castillo, A.; Tarjuelo, J.M.; Moreno, M.A. EVASOR, an integrated model to manage complex irrigation systems energized by photovoltaic generators. Agronomy 2020, 10, 331. [Google Scholar] [CrossRef] [Green Version]
  38. Ineichen, P.; Perez, R. A new airmass independent formulation for the linke turbidity coefficient. Sol. Energy 2002, 73, 151–157. [Google Scholar] [CrossRef] [Green Version]
  39. Perez, R.; Ineichen, P.; Moore, K.; Kmiecik, M.; Chain, C.; George, R.; Vignola, F. A new operational model for satellite-derived irradiances: Description and validation. Sol. Energy 2002, 73, 307–317. [Google Scholar] [CrossRef] [Green Version]
  40. Lin, Y.; Cunningham III, G.A.; Coggeshall, S. V Input variable identification—fuzzy curves and fuzzy surfaces. Fuzzy Sets Syst. 1996, 82, 65–71. [Google Scholar] [CrossRef]
  41. Graves, A.; Mohamed, A.R.; Hinton, G. Speech recognition with deep recurrent neural networks. In Proceedings of the 2013 IEEE international conference on acoustics, speech and signal processing, Vancouver, BC, Canada, 26–31 May 2013; pp. 6645–6649. [Google Scholar]
  42. Chollet, F. Keras Api Documentation 2015. Open Source software library of Neural Networks. Available online: https://keras.io/ (accessed on 1 January 2022).
  43. Nesterov, Y. A method for solving the convex programming problem with convergence rate O(1/k2). Dokl. Akad. Nauk SSSR 1983, 269, 543–547. [Google Scholar]
  44. Duchi, J.C.; Bartlett, P.L.; Wainwright, M.J. Randomized smoothing for (parallel) stochastic optimization. Proc. IEEE Conf. Decis. Control 2012, 12, 5442–5444. [Google Scholar]
  45. Zeiler, M.D. Adadelta: An Adaptive Learning Rate Method. arXiv 2012, arXiv:1212.5701. [Google Scholar]
  46. Kingma, D.P.; Ba, J.L. Adam: A method for stochastic optimization. In Proceedings of the the 3rd International Conference for Learning Representations, San Diego, CA, USA, 7–9 May 2015. [Google Scholar]
  47. Dozat, T. Incorporating Nesterov Momentum into Adam. ICLR Work. 2016, 2013–2016. [Google Scholar]
  48. Ventura, S.; Silva, M.; Pérez-Bendito, D.; Hervás, C. Artificial neural networks for estimation of kinetic analytical parameters. Anal. Chem. 1995, 67, 1521–1525. [Google Scholar] [CrossRef]
  49. Gómez, J.L.; Martínez, A.O.; Pastoriza, F.T.; Garrido, L.F.; Álvarez, E.G.; García, J.A.O. Photovoltaic power prediction using artificial neural networks and numerical weather data. Sustainability 2020, 12, 10295. [Google Scholar] [CrossRef]
  50. Zhen, Z.; Wang, Z.; Wang, F.; Mi, Z.; Li, K. Research on a cloud image forecasting approach for solar power forecasting. Energy Procedia 2017, 142, 362–368. [Google Scholar] [CrossRef]
  51. Sivaneasan, B.; Yu, C.Y.; Goh, K.P. Solar Forecasting using ANN with Fuzzy Logic Pre-processing. Energy Procedia 2017, 143, 727–732. [Google Scholar] [CrossRef]
  52. Cheddadi, Y.; Cheddadi, H.; Cheddadi, F.; Errahimi, F.; Es-sbai, N. Design and implementation of an intelligent low-cost IoT solution for energy monitoring of photovoltaic stations. SN Appl. Sci. 2020, 2, 1165. [Google Scholar] [CrossRef]
  53. Mahjoubi, A.; Mechlouch, R.F.; Ben Brahim, A. Data acquisition system for photovoltaic water pumping system in the desert of Tunisia. Procedia Eng. 2012, 33, 268–277. [Google Scholar] [CrossRef] [Green Version]
  54. AlShafeey, M.; Csáki, C. Evaluating neural network and linear regression photovoltaic power forecasting models based on different input methods. Energy Rep. 2021, 7, 7601–7614. [Google Scholar] [CrossRef]
  55. Virtuani, A.; Caccivio, M.; Annigoni, E.; Friesen, G.; Chianese, D.; Ballif, C.; Sample, T. 35 years of photovoltaics: Analysis of the TISO-10-kW solar plant, lessons learnt in safety and performance—Part 1. Prog. Photovoltaics Res. Appl. 2019, 27, 328–339. [Google Scholar] [CrossRef]
  56. Kim, J.; Rabelo, M.; Padi, S.P.; Yousuf, H.; Cho, E.C.; Yi, J. A review of the degradation of photovoltaic modules for life expectancy. Energies 2021, 14, 4278. [Google Scholar] [CrossRef]
Figure 1. General description of the main equipment used and installed in this case study.
Figure 1. General description of the main equipment used and installed in this case study.
Agronomy 12 00693 g001
Figure 2. Structure of a LSTM cell.
Figure 2. Structure of a LSTM cell.
Agronomy 12 00693 g002
Figure 3. Flowchart of the PREPOSOL building and its optimization process.
Figure 3. Flowchart of the PREPOSOL building and its optimization process.
Agronomy 12 00693 g003
Figure 4. Graphical representation of the main input variables.
Figure 4. Graphical representation of the main input variables.
Agronomy 12 00693 g004
Figure 5. Pareto front for the last generation.
Figure 5. Pareto front for the last generation.
Agronomy 12 00693 g005
Figure 6. (a) Statistical analysis of the PREPOSOL model and (b) Comparative between the measured values and the predicted values.
Figure 6. (a) Statistical analysis of the PREPOSOL model and (b) Comparative between the measured values and the predicted values.
Agronomy 12 00693 g006
Table 1. Decision variables (genes) of the optimization process.
Table 1. Decision variables (genes) of the optimization process.
IDNameValue Range
nDec1LSTM cell dimensionInteger value between 10 and 600
nDec2Activation function of the LSTM cellInteger value between 1 and 11 [42]:
(1) elu; (2) softmax; (3) selu; (4) softplus; (5) softsign; (6) relu; (7) tanh; (8) sigmoid; (9) hard_sigmoid; (10) exponential; (11) linear
nDec3Number of stacked LSTM cellsInteger value between 1 and 10
nDec4Training functionInteger value between 1 and 7:
(1) SGD [43]; (2) RMSprop [42]; (3) Adagrad [44]; (4) Adadelta [45]; (5) Adam [46]; (6) Adamax [46]; (7) Nadam [47]
nDec5Loss functionInteger value between 1 and 6:
(1) MAE; (2) MSE; (3) MAPE; (4) MSLE; (5) Huber; (6) LogCosh;
Table 2. Individual irrigation strategy.
Table 2. Individual irrigation strategy.
Individual Irrigation Strategy
SubunitPower at Pump Inlet (kW)EU (%)CVq (%)
310**
11**
1279.814.5
1383.012.1
1485.010.6
1586.39.5
1687.28.8
1787.97.9
1888.77.0
1990.95.0
2096.71.9
2198.50.0
2298.50.0
2398.50.0
2498.50.0
2598.50.0
2698.50.0
2798.50.0
* Insufficient power to irrigate; EU: Emission Uniformity; CVq: Flow rate variation.
Table 3. Simultaneous irrigation strategy with several subunits.
Table 3. Simultaneous irrigation strategy with several subunits.
Simultaneous Irrigation Strategy
SubunitPower at Pump
Inlet (kW)
EU (%)CVq (%)SubunitPower at Pump Inlet (kW)EU (%)CVq (%)
310**1110**
11**11**
12**12**
13**13**
14**14**
15**15**
1679.315.01677.613.9
1782.012.91781.511.4
1883.711.61885.29.2
1985.010.61989.07.1
2085.99.82092.45.3
2186.69.32194.93.6
2287.28.72296.72.3
2387.78.22397.71.3
2488.37.42498.40.3
2589.16.62598.50.0
2691.04.92698.50.0
2795.02.92798.50.0
* Insufficient power to irrigate; EU: Emission Uniformity; CVq: Flow rate variation.
Table 4. Predicted power obtained with the PREPOSOL model.
Table 4. Predicted power obtained with the PREPOSOL model.
DateHourPredicted Power (kW)Individual Subunit (3)Simultaneous Subunits (3–11)
6 July 201813:20:0023.11
6 July 201813:30:0021.34
6 July 201814:50:0021.27
6 July 201815:00:0020.69
6 July 201815:10:0019.95
6 July 201815:20:0019.47
6 July 201815:30:0018.99-
6 July 201815:40:0018.15-
6 July 201815:50:0017.25-
6 July 201816:00:0016.45-
6 July 201816:10:0015.74-
6 July 201816:20:0014.60-
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Cervera-Gascó, J.; Perea, R.G.; Montero, J.; Moreno, M.A. Prediction Model of Photovoltaic Power in Solar Pumping Systems Based on Artificial Intelligence. Agronomy 2022, 12, 693. https://doi.org/10.3390/agronomy12030693

AMA Style

Cervera-Gascó J, Perea RG, Montero J, Moreno MA. Prediction Model of Photovoltaic Power in Solar Pumping Systems Based on Artificial Intelligence. Agronomy. 2022; 12(3):693. https://doi.org/10.3390/agronomy12030693

Chicago/Turabian Style

Cervera-Gascó, Jorge, Rafael González Perea, Jesús Montero, and Miguel A. Moreno. 2022. "Prediction Model of Photovoltaic Power in Solar Pumping Systems Based on Artificial Intelligence" Agronomy 12, no. 3: 693. https://doi.org/10.3390/agronomy12030693

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop