Next Article in Journal
Multi-Objective Optimization of Variable Density Multi-Layer Insulation for Liquid Hydrogen Containers Based on Reduced-Order Surrogate Model
Previous Article in Journal
Efficient Degradation of Chlortetracycline by Graphene Supported Cobalt Oxide Activated Peroxydisulfate: Performances and Mechanisms
Previous Article in Special Issue
A Novel Security Framework for the Enhancement of the Voltage Stability in a High-Voltage Direct Current System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Review

Investigating the Power of LSTM-Based Models in Solar Energy Forecasting

by
Nur Liyana Mohd Jailani
1,
Jeeva Kumaran Dhanasegaran
1,
Gamal Alkawsi
1,*,
Ammar Ahmed Alkahtani
1,*,
Chen Chai Phing
1,
Yahia Baashar
2,
Luiz Fernando Capretz
3,
Ali Q. Al-Shetwi
4 and
Sieh Kiong Tiong
1
1
Institute of Sustainable Energy, Universiti Tenaga Nasional, Kajang 43000, Malaysia
2
Faculty of Computing and Informatics, Universiti Malaysia Sabah (UMS), Labuan 87000, Malaysia
3
Department of Electrical and Computer Engineering, Western University, London, ON N6A 5B9, Canada
4
Electrical Engineering Department, Fahad Bin Sultan University, Tabuk 71454, Saudi Arabia
*
Authors to whom correspondence should be addressed.
Processes 2023, 11(5), 1382; https://doi.org/10.3390/pr11051382
Submission received: 24 February 2023 / Revised: 21 March 2023 / Accepted: 28 March 2023 / Published: 3 May 2023

Abstract

:
Solar is a significant renewable energy source. Solar energy can provide for the world’s energy needs while minimizing global warming from traditional sources. Forecasting the output of renewable energy has a considerable impact on decisions about the operation and management of power systems. It is crucial to accurately forecast the output of renewable energy sources in order to assure grid dependability and sustainability and to reduce the risk and expense of energy markets and systems. Recent advancements in long short-term memory (LSTM) have attracted researchers to the model, and its promising potential is reflected in the method’s richness and the growing number of papers about it. To facilitate further research and development in this area, this paper investigates LSTM models for forecasting solar energy by using time-series data. The paper is divided into two parts: (1) independent LSTM models and (2) hybrid models that incorporate LSTM as another type of technique. The Root mean square error (RMSE) and other error metrics are used as the representative evaluation metrics for comparing the accuracy of the selected methods. According to empirical studies, the two types of models (independent LSTM and hybrid) have distinct advantages and disadvantages depending on the scenario. For instance, LSTM outperforms the other standalone models, but hybrid models generally outperform standalone models despite their longer data training time requirement. The most notable discovery is the better suitability of LSTM as a predictive model to forecast the amount of solar radiation and photovoltaic power compared with other conventional machine learning methods.

1. Introduction

The primary focus of the energy industry in recent years has been on reducing carbon emissions by shifting to renewable energy sources. Excessive carbon emissions negatively affect the environment, leading to further global warming and climate change. Additionally, industrialization has substantially accelerated the growth of the world’s demand for energy, causing the supply of nonrenewable energy sources, such as coal, natural gases, and petroleum, to be increasingly constrained. Given this circumstance, many countries have crafted and subsequently implemented policies and strategies associated with the energy sector. In 2015, the USA and China jointly issued a statement addressing climate change. The statement emphasized new domestic policy commitments aimed at achieving 100% dependency on renewable energies [1]. Furthermore, the European Union plans to use renewable energy sources to generate 30% of electricity by 2030 and 100% of electricity by 2050 [1,2].
Among the promising renewable energy types, solar energy is the most recognized and widely used around the world. This situation is especially true among countries with developed economies [2]. Regarding the incorporation of renewable energy sources into grids, the majority of studies have concentrated on the development of photovoltaic (PV) systems rather than the incorporation of other forms of renewable energy, such as wind energy, biomass, and other forms. However, the characteristics of solar energy, such as uncertainty, fluctuation, and randomness, may lead to dynamic instability and unpredictability of solar PV power output [3,4]. Given this difficulty, techniques for accurately predicting the amount of solar irradiance should be pursued to provide important decision support to power-dispatching systems. More importantly, the search for appropriate methods can considerably minimize the running cost of power systems [5].
Solar energy is gaining popularity as a renewable energy source due to its environmental benefits and abundance. However, integrating solar energy into the power grid is challenging due to its intermittent and uncertain nature. To accurately forecast solar irradiance and PV power output, it is crucial to consider parameters such as spatial and temporal correlations, which affect the accuracy of the predictions. Spatial correlations refer to the relationship between the geographical location of PV systems and the weather patterns of that region. On the other hand, temporal correlations refer to the time-series relationship of the solar irradiance and PV power output data. Other parameters, such as cloud cover, atmospheric conditions, and the time of day, can also influence the forecasting accuracy. Therefore, incorporating these parameters into forecasting models is crucial.
In forecasting studies, there are several major techniques that have been applied, such as statistical methods, physical methods, machine learning methods, and ensemble methods [4,6]. Commonly, the performance of each technique depends on the forecast horizons and input parameters. Forecasting analysis parameters such as spatial–temporal (spatial and temporal refer to space and time, respectively) correlation play a main role in improving the accuracy and require large-scale datasets [7]. Further investigations of spatial and temporal correlation, which combines with other solar data sources, are important for solar energy forecasting such as PV power generation forecasts [8,9] because having a large size of the dataset may lead to high accuracy despite its complexity.
Several studies have demonstrated the ability of long short-term memory (LSTM) methods to improve the forecasting accuracy of time-series statistical techniques. Nonetheless, to the best of our knowledge, no research has been conducted to comprehensively review LSTM either as a standalone model or as part of a hybrid model with respect to solar irradiance forecasting and PV power forecasting. The aim of this study is to analyze LSTM and hybrid models (i.e., those with LSTM) and compare their performance with those of other solar irradiance forecasting and PV power forecasting techniques as a means of gaining insights into their various mechanisms and applications. The main contributions of this review are as follows:
  • Analyze and compare the relevant papers that have been proposed and discussed LSTM models on solar irradiance prediction.
  • Identify better models among standalone and hybrid models of LSTM to predict solar irradiation and PV power by comparing the features of prediction parameters.
  • Discuss in depth regarding the characteristics and mechanism of LSTM and how it is able to integrate with other methods to improve the performance of solar prediction accuracy.
The remainder of the paper is organized as follows: Section 2 describes the previous studies about solar irradiance and PV power forecasting techniques. Section 3 and Section 4 present an in-depth discussion of the history of LSTM and hybrid models. Section 5 summarizes the evaluation metrics used to demonstrate the performance of the forecasting models. Section 6 provides an examination of relevant published studies in terms of several characteristics. Section 7 summarizes the findings of this study.

2. Related Works

Technological advancements have contributed significantly to the adoption of machine learning (ML) and ensemble methods for forecasting solar irradiance with high accuracy. Among them, deep learning (DL) algorithms have enabled the mining of multilayer information from PV power series in addition to improving forecasting accuracy [10,11]. However, extant models underestimate the effects of weather on PV power output, and they cannot effectively capture the short-term variations in PV power across different climates. Significant fluctuations in solar PV power output occur on cloudy and wet days, and historical PV data representing these days cannot be used for forecasts. Interestingly, hybrid DL models may be used to solve these problems [11].
Guermoui et al. [12] compared different hybrid models according to their respective characteristics and ranked their performance. They classified the hybrid models into six types: general ensemble learning, cluster-based ensemble learning, decomposition-based ensemble learning, decomposition–clustering-based ensemble learning, evolutionary-based ensemble learning, and residual-based ensemble learning. In their study, the hybrid models outperformed the standalone models. However, the performance comparison was somewhat insufficient because the models were reviewed by simply focusing on their various characteristics using metric assessments.
Kumari et al. [13] reviewed standalone models (i.e., LSTM, convolutional neural network (CNN), gated recurrent unit (GRU), recurrent neural network (RNN), and deep neural network (DNN) models), and a hybrid model (CNN–LSTM), which have been recently used to forecast solar irradiance in terms of their working mechanisms and benefits and drawbacks. According to their simulation results, LSTM outperforms the other standalone models as evidenced by its low root mean square error (RMSE). However, the performance of solar irradiance forecasting can be further improved by integrating LSTM into a hybrid model (i.e., CNN–LSTM); this hybrid model is superior even to the standalone models in terms of error reduction. Kumari et al. [13] suggested comparing CNN–LSTM with other hybrid models.
Rial et al. [14] comprehensively reviewed DL models in terms of their ability to forecast the time-series data of solar irradiance and PV power. They examined published studies pertaining to three standalone models (RNN, LSTM, and GRU) and a hybrid model (CNN–LSTM) to assess each model’s contributions. They also compared the performance of the models in terms of their characteristics, such as accuracy, input data, forecasting horizon, season and weather type, and training time. The results of their performance analysis showed that LSTM outperforms the other standalone models in terms of RMSE. However, the hybrid model (CNN–LSTM) obtained the highest accuracy among the models studied in terms of forecasting solar irradiance and PV power. Meanwhile, Tawn and Browell [15] focused on the accuracy of very short-term solar power forecasting by examining several approaches, including image-based, probabilistic, and ML methods. Different assessment metrics, such as the mean absolute error (MAE) and RMSE, were used to evaluate the performance of the forecasting models.
Ahmed et al. [16] assessed state-of-the-art models used for PV solar power forecasting. Their input correlational analysis showed that solar irradiance is strongly linked to PV production, further suggesting the urgent need to study weather and cloud motion. They found that normalization, wavelet transform, and generative adversarial networks, which are used for network training and forecasting, are the best approaches to clean forecasting data. They also highlighted the ability of genetic algorithms and particle swarm optimization to optimize inputs and network parameters. Then, they reviewed the use of established performance measures (MAE, RMSE, and mean absolute percentage error (MAPE)) and recommended the incorporation of economic utility indicators. Finally, on the basis of their evaluation and comparative results, they classified the modeling methodologies into physical, statistical, artificial intelligence (AI), ensemble, and hybrid approaches.
Wang et al. [17] explored the use of AI for solar energy prediction—a topic that is rarely reviewed—by examining previously published studies that attempted to review the contributions of different models. Undeniably, their research has contributed considerably to the taxonomic research of existing AI-based solar power prediction models. In their study, taxonomy is defined as the systematic grouping of solar energy forecasting methodologies, optimizers, and forecasting frameworks based on their differences and similarities. In AI systems for solar energy prediction, ML, DL, and fuzzy logic are all commonly used. Their work showed that the performance of a predictive model (i.e., DL-based LSTM, with low RMSE) is better than those of other models. Meanwhile, Dodiya and Shah [18] proposed the use of DL in the development of solar PV energy. Some of the DL models they investigated were the multilayer perceptron (MLP), CNN, LSTM, GRU, RNN, support vector machine (SVM), and deep RNN–LSTM. They also discussed the application areas, model types, and MAPEs and summarized the related studied models.
LSTM models has also been applied on various domains in terms of prediction models. Noman Khan et al. [19] proposed a forecasting model to predict the renewable energy (RE) generation for short-term horizons. The proposed model was an AB-Net model, a hybrid model of autoencoder (AE) and bidirectional long short-term memory (BiLSTM). The input data deployed were solar and wind power generation data. For the solar dataset, the input variables for the 3 years and 10 months data were inclined irradiance, surrounding temperature, and surface temperature, while the input variables of the wind dataset were power, wind speed, wind direction, surface air pressure, air temperature, and air density. The performance of the proposed model for both solar and wind datasets have outperformed the fine-tuning metaheuristic algorithm (FTMA), which was used for comparative study. Other than that, a short-term electricity load prediction model has been studied by Fath et al. [20], where the prediction accuracy was obtained by evaluating the performance of several ensemble learning algorithms and deep learning methods. The household power consumption dataset was used as input for the proposed model. From the result, multiple LSTM (M-LSTM) has outperformed other models such as LSTM and BiLSTM for different horizons: minutely, hourly, daily, and weekly.
In summary, the studies cited above generally discussed the LSTM model and related hybrid models in various domains; as illustrated in Table 1, some of these studies failed to provide enough details about the models. Nonetheless, as the LSTM model has been demonstrated to be capable of predicting solar power, the standalone and hybrid models of LSTM, as well their uncovered and partially covered criteria (see Table 1), should be further investigated.

3. LSTM

The feed-forward neural network (FFNN), also known as MLP, is a fundamental type of deep learning architecture. In Figure 1, we can see the structure of the MLP with its three layers, namely, the input layer, hidden layer, and output layer. The input layer receives the input data, the hidden layer processes the input and produces an intermediate representation, and the output layer produces the final output. This figure helps to illustrate the basic structure of the MLP, which is important to understand as it forms the basis for more complex deep learning models. MLPs are utilized frequently in power systems as a method for protecting transmission lines, detecting faults in transformers, and monitoring online voltage stability [21].
In the context of forward neural networks (FNNs), data travels from the input layer to the output layer via the hidden layers arranged between them, as shown in Figure 1. Figure 2 illustrates the information being sent linearly from one side of the diagram to the other side, but the lines never return to any particular node or layer. In addition, a certain node only receives input once, and never again after that. This pattern of information sharing indicates that an FNN involves memory loss, with only the most recent input and training instructions remembered. Thus, unless prior information is supplied, the strategy supplied by FNNs is not beneficial for forecasting or prediction.
Figure 2 shows a comparison between RNNs and FNNs, with loops shown in the hidden layers (blue circles) of the former. In the hidden layers, information is repeated several times, implying memory gain, as shown in Figure 3. The decision regarding the handling of data is determined based on the current state input and the prior output. For example, the irradiation data of a particular date or time can be anticipated by inputting the result from the previous time step into the current time step [14,21]. This scheme can also be adopted for other data types. Furthermore, in contrast to FFNNs, RNNs are more similar to human synapses, as humans tend to learn in progressive sequences rather than random sequences [23]. Thus, the RNN is the optimal choice for predictive models.
LSTM is a type of RNN. Therefore, similar to the RNN, an LSTM network can perform calculations with a sufficient number of network elements. Figure 4 shows the structure of the LSTM cell, which consists of three different gates: the forget gate, input gate, and output gate. The memory cell, which acts as a collector of state information, is the distinguishing element of LSTM networks. When the input gate is triggered, new information is collected in the cell; by contrast, when the forget gate is triggered, previous information is erased. In the feedback loop, the sigmoid function determines which information should be forgotten or retained in the memory cell, and the hyperbolic tangent function controls the input and output to the cell. The combination of these functions allows the LSTM to selectively remember or forget information, making it effective in handling time-series data and generating predictions. In LSTM networks, the latest cell is propagated to the final step only when the output gate is triggered. This LSTM-specific cell behavior prevents the gradients trapped in the cell from rapidly disappearing; this feature implies the better performance of LSTM in handling time-series data and generating predictions compared with other RNN designs [24].

4. Hybrid Models

A hybrid model combines a DL model with another DL model. In this study, a hybrid model refers to LSTM combined with other DL or ML methods to improve forecasting accuracy. Hybrid models involve two important characteristics: spatial features and temporal features. Most of the studies in the literature we reviewed used LSTM and combined it with CNN to forecast solar irradiance and PV power. CNNs can be regarded as FFNNs. Figure 5 shows the CNN structure, which consists primarily of a convolutional layer, a pooled layer, and a fully connected layer [14]. In the convolutional layer, the convolution operation is deployed to extract features from previous layers [26]. Through this process, an activation function is used to generate the output of feature maps. To reduce the parameters of the CNN, the mean and maximum values of pooling for the selected area in feature maps are evaluated in the pooling layer [22,26]. Then, the combination of the feature maps obtained after going through the process in convolutional and pooling layers generates the input data for the fully connected layer [26]. Lastly, the output can be obtained through the calculation of final output vector [26].
Take CNN–LSTM and LSTM–CNN as examples of hybrid models. The arrangement of the two inputs (i.e., spatial and temporal features) for extracting historical data differs between the two hybrid models, as shown in Figure 6 and Figure 7. The LSTM network is commonly used to extract temporal feature information from historical data, whereas the CNN is used to extract spatial feature information.

5. Evaluation Metrics

In the forecasting domain, evaluation metrics play a crucial role in describing the performance of DL models. Measurements provide feedback about prediction accuracy, and they enable models to be improved until a desired level of accuracy is achieved [27]. Numerous evaluation measures are available for determining predictive accuracy. Table 2 presents the evaluation measures typically used in sun irradiation and PV power forecasting. In the formulas, Xpred, Xmeas, and n denote the projected values at each time point, the measured values at each time point, and the sample size of a period, respectively.
MAE quantifies the average size of error in a set of forecasts based on the absolute value. When the absolute sign is eliminated, the evaluation metric becomes the mean bias error (MBE), which captures the average prediction bias, whose positive and negative values represent overprediction and underprediction, respectively [28]. Meanwhile, RMSE is used as a metric to quantify the departure from the measurement. The lower the RMSE, the better the prediction.
MAPE is a well-known forecasting metric for assessing prediction accuracy, as it can explain the forecast variability of real-world datasets [16]. When mean values differ by location or system, directly comparing the assessment metrics may result in miscalculations. In these instances, percentage-based or relative measures, such as MAPE and relative RMSE (rRMSE), provide much more accurate information [28]. The smaller the values of MAE and MAPE, the better the performance of the prediction algorithm [16].

6. Analysis of Past Studies

In this section, the characteristics necessary for solar irradiance forecasting and PV power forecasting are discussed. The characteristics investigated in this work are accuracy, types of input data, forecast horizon, type of season and weather, and training time.

6.1. Accuracy

The accuracy of DL models in forecasting solar irradiance and PV power can be evaluated using performance metrics. Most of the past reviews applied the error metrics of RMSE, MAE, MAPE, and so on. In the present review, the performance of standalone and hybrid LSTM models are evaluated based on RMSE, which is the most accessible error metric in the published papers. Table 3 and Table 4 present the reviewed studies related to solar irradiance forecasting and PV power forecasting, respectively.

6.2. Types of Input Data

The two types of models for providing input data in solar irradiance forecasting and PV power forecasting are the endogenous and exogenous models [14]. Each of the two models requires different types of input data; however, inadequate selection of input data may magnify the forecasting error [45]. The differences between the endogenous and exogenous models are explained with examples below.
For the exogenous model, a hybrid CNN–LSTM model was proposed for short-term global horizontal irradiance (GHI) prediction, i.e., ahead by 1 h [26]. The datasets of 34 locations in TX, USA, were applied to the proposed model for training and testing uses, in which the locations represent different climate zones. The input parameters were hourly GHI, dew point temperature, solar zenith angle, wind speed, wind direction, precipitable water, relative humidity, and temperature. The MAE, nMAE, RMSE, nRMSE, and R results indicate that CNN–LSTM outperforms the other models, namely, the standalone persistence model, SVM, artificial neural network (ANN), CNN, and LSTM models, and the hybrid CNN–ANN and ANN–LSTM models.
Jalali et al. [29] proposed the GHI forecasting model in designing the automated deep CNN–LSTM architecture to specifically produce the hybrid MSCA–CLSTM model. They used the endogenous model with the GHI dataset covering the whole year of 2018 and the three locations of Columbus, Detroit, and San Antonio, USA, with intervals of 1 h for each dataset. In their work, 75% of the data were allocated for training and the remaining 25% of the data were applied to the test set. Then, the performance of MSCA–CLSTM was analyzed and compared with those of other methods, such as the auto-LSTM, XGBF–DNN, LSTM, CLSTM, DWT–CLSTM, MEA–ANN, and SCA–CLSTM models. The prediction accuracy of CNN–LSTM was higher than those of other models in terms of MAE, RMSE, and Pearson metrics.
Using PV power and meteorological data as inputs, Zhou et al. [47] proposed the hybrid model of LSTM with empirical mode decomposition (EMD) and a sine cosine algorithm (SCA) to predict the PV power output. The application of EMD and SCA reduces the impact of the noise data and enhances the accuracy and stability of the proposed model, respectively. Using one year of data from 2017, the input parameters selected were PV power, GHI, RH, DHI, and AT. In this research, there were five case studies that were compared on their performance, where each case study has different input variables. The performance of case study that consists of PV power output and GHI is better than other case studies in terms of RMSE and MAE values of 0.5283 kW and 0.3066 kW, respectively. The proposed model, EMD-SCA-LSTM was then applied to predict the PV power output using PV power and GHI as inputs. The proposed model has outperformed other prediction models such as LSTM, Gaussian process regression with active learning (AGPR), and EMD-SCA-ELM, with an RMSE value of 0.5283 kW.

6.3. Forecast Horizon

The forecast horizon is significant in predicting the solar irradiance and PV power output in the future, as each forecast horizon affects the accuracy of the entire forecast. The models or forecasting techniques to be adopted depend on the requirement of the forecast horizon range [48]. Forecasting horizons can be categorized into four types [2,45]:
  • Very short-term forecast (ahead by 1 min to several minutes);
  • Short-term forecast (ahead by 1 h or several hours to 1 day or 1 week);
  • Medium-term forecast (ahead by 1 month to 1 year); and
  • Long-term forecast (ahead by 1–10 years).
Bhatt et al. [30] proposed three different DL models to forecast short-term solar irradiance. The proposed hybrid CNN–LSTM model employed the sliding window technique to convert the input variables into 12-step lag datasets for training the model. A comparative analysis of CNN, LSTM, and CNN–LSTM was performed with 15 min intervals for all six time-step horizons, i.e., ahead by one step (15 min) up to six steps (90 min). As shown in Table 5, CNN–LSTM outperforms the standalone models in terms of MAE, RMSE, MAPE, and R2. The values of the error metrics increased with the progression of step time. Thus, the hybrid model is better than the standalone models.

6.4. Type of Season and Weather

Because each season and weather type significantly affects the solar radiation rates, the performance of forecasting models may also be influenced. Li et al. [10] performed 1 h ahead PV power forecasting at 5 min intervals and subsequently proposed wavelet packet decomposition (WPD) integrated with LSTM. They broke down the original PV power series into sub-series by employing WPD. After categorizing the LSTM networks into four independent networks, each of the independent LSTM networks was developed for the sub-series representing each of the four seasons. Then, to improve the accuracy of the proposed model, they applied the linear combination method to multiple single networks. Finally, the performance of the proposed model was compared with those of the benchmark models, namely, LSTM, RNN, GRU, and MLP. Table 6 shows the results of their work. The low MBE, MAPE, and RMSE scores of WPD–LSTM indicate that their proposed model outperforms the benchmark models across different seasons and weather in the 1 h ahead category.
Gao et al. [32] conducted hourly predictions of solar irradiance by using the complete ensemble empirical mode decomposition adaptive noise (CEEMDAN) and CNN–LSTM models. CEEMDAN was used to break down the historical data into a set of constitutive series for extracting data features. Six-year datasets from four locations (Los Angeles, Denver, Hawaii’s Big Island in the USA, and Tamanrasset, Algeria) were collected and used as input data. The four datasets were divided into the training set (4 years), validation set (1 year), and testing set (1 year). Season affects the accuracy of solar irradiance forecasting; thus, the dataset in their work was divided into four seasons prior to the prediction. Thereafter, five different CEEMDAN-CNN–LSTM models were compared. CEEMDAN-CNN–LSTM V was selected as the proposed model because of its ability to jointly utilize CNN and LSTM to process the frequency features and time features. The average RMSE, nRMSE, and MAE of the proposed model were 38.49 W/m2, 17.23%, and 20.50 W/m2, respectively. The forecasting performance of the proposed model was better under different climatic conditions compared with those of the other models (Table 7).

6.5. Training Time

Training time is one of the most important indicators for evaluating the accuracy levels of solar irradiance forecasting and PV power forecasting. The different DL models vary in their processing time for achieving their respective best performances [14], especially between the time required by standalone and hybrid models. In this section, several models are compared to determine which among them is more efficient in predicting PV power in terms of training time.
Kejun et al. [39] proposed the use of LSTM–CNN in PV power forecasting. A half-year dataset with 5 min time intervals and consisting of 53,280 samples from the Alice Springs PV system was utilized by the proposed model. Then, the accuracy of LSTM–CNN was compared with that of LSTM, CNN, and CNN–LSTM. Their results showed that the hybrid LSTM–CNN model outperformed the other models, with MAE, RMSE, and MAPE of 0.221, 0.621, and 0.042, respectively. In general, the operating times of hybrid models are longer than those of standalone models because more time is needed to extract data, enabling much higher prediction accuracy. As shown in Table 8, the proposed LSTM–CNN has lower training and running times compared with CNN–LSTM in the hybrid model category. For the standalone model, LSTM has a lower training time compared with CNN, but the running time of LSTM is slightly longer than that of CNN.
Tovar et al. [36] proposed a hybrid model in the form of a five-layer CNN–LSTM model to forecast PV power in the short term. A one-year dataset, from 2019 to 2020, of Temixco, Morelos, México, with 10 min intervals was used for the proposed model. About 80% of the data were used for training, and the remaining portions were employed to forecast PV power. The forecast horizon range was set to be ahead by 10 and 180 min. Then, the proposed model was compared with the other competitive benchmark and hybrid models, including the Ridge and Lasso linear regression methods, five-layer LSTM, and two-layer CNN–LSTM. Their performance analysis showed the suitability of the five-layer CNN–LSTM to accurately forecast short-term PV power, with MSE, RMSE, and MAE of 0.006897, 0.08304, and 0.05193, respectively. However, the time processing of the proposed model was longer than those of the other models (Table 9).

7. Future Directions

Deep learning models are more accurate than other ML models in predicting solar irradiance and PV power. According to the literature we reviewed, LSTM is mainly used in predicting solar irradiance and PV power in the very short-term and short-term forecast horizons. However, there are several challenges for this review as listed below:
  • In terms of comparing and analyzing the available source code, not all the reviewed papers provided the data source codes; it is recommended for future works to find the data sources to describe the data and analyze their differences.
  • Regarding performance evaluation, it is difficult to compare accuracy efficiently between the prediction models due to several main factors such as different evaluation metrics used, weather conditions of selected regions, forecasting horizons, size of input parameters, and so on. Thus, it is suggested to find specific research papers that discuss or review similar factors as mentioned, to compare the performance effectively.
  • This paper has mostly reviewed very short-term and short-term forecast horizons for solar irradiance and solar power forecasting (Table 3 and Table 4). For future work, it is recommended to expand the review on medium-term and long-term forecast horizons by applying various combinations of DL and ML models to enhance the existing hybrid models.

8. Conclusions

This review introduced DL models for estimating solar irradiance and PV power generation. Separate evaluations were conducted for PV power and solar irradiance due to their distinct output values. Solar irradiance can be compared across locations and measured in power per unit area, while PV power production is influenced by solar panel size and efficiency. DL models have advantages over traditional ML models for forecasting time-series data. They have the potential to improve solar energy forecasting for more efficient use of solar power. LSTM, CNN–LSTM, and LSTM–CNN models are widely used for predicting solar energy, offering advantages over traditional ML models for time-series forecasting. However, determining the best model for predicting solar irradiance and PV power is challenging due to each model’s unique strengths and weaknesses. Overall, DL models show promise for improving solar energy forecasting, but careful evaluation is necessary to identify the most suitable model for each task. The findings derived from this work can be summarized as follows:
  • In terms of predicting solar irradiance, hybrid models outperform standalone models. In particular, the evaluation measures of hybrid models are significantly lower than those of standalone models. Among the hybrid models, CNN–LSTM requires complex input data, such as images, because it includes a CNN layer.
  • When evaluating model performance, training time must be considered. Because hybrid models must extract two types of feature (i.e., spatial and temporal features), they take a longer time to process data compared to standalone models.
  • The prediction accuracy for models that run a large batch size of data is lower when compared to other prediction models that use small data batch sizes. This is because more data are required to be extracted, and there is a more complicated process to produce the most accurate prediction.

Author Contributions

Conceptualization, N.L.M.J., J.K.D., G.A. and A.A.A.; methodology and investigation N.L.M.J., J.K.D., G.A. and A.A.A.; resources, N.L.M.J., J.K.D., G.A. and A.A.A.; writing—original draft preparation, N.L.M.J., J.K.D. and G.A.; writing—review and editing, G.A., Y.B., C.C.P., L.F.C., A.Q.A.-S. and S.K.T.; supervision, G.A., A.A.A. and S.K.T.; project administration, G.A., A.A.A., C.C.P. and S.K.T.; funding acquisition, C.C.P. and S.K.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Universiti Tenaga Nasional.

Data Availability Statement

The data used to support the findings of this study are available from the corresponding author upon request.

Acknowledgments

The authors would like to acknowledge the Ministry of Higher Education of Malaysia for their support through the HICoE grant no. 2022004HICOE, as well as the NEC Energy Transition Grant no. 202203005ETG provided by the iRMC of Universiti Tenaga Nasional, Malaysia.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Kumari, P.; Toshniwal, D. Long short term memory—Convolutional neural network based deep hybrid approach for solar irradiance forecasting. Appl. Energy 2021, 295, 117061. [Google Scholar] [CrossRef]
  2. Das, U.K.; Tey, K.S.; Seyedmahmoudian, M.; Mekhilef, S.; Idris, M.Y.I.; Van Deventer, W.; Horan, B.; Stojcevski, A. Forecasting of photovoltaic power generation and model optimization: A review. Renew. Sustain. Energy Rev. 2018, 81, 912–928. [Google Scholar] [CrossRef]
  3. Chen, H.; Chang, X. Photovoltaic power prediction of LSTM model based on Pearson feature selection. Energy Rep. 2021, 7, 1047–1054. [Google Scholar] [CrossRef]
  4. Wang, F.; Yu, Y.; Zhang, Z.; Li, J.; Zhen, Z.; Li, K. Wavelet decomposition and convolutional LSTM networks based improved deep learning model for solar irradiance forecasting. Appl. Sci. 2018, 8, 1286. [Google Scholar] [CrossRef]
  5. Zhu, T.; Guo, Y.; Li, Z.; Wang, C. Solar radiation prediction based on convolution neural network and long short-term memory. Energies 2021, 14, 8498. [Google Scholar] [CrossRef]
  6. Mukhtar, M.; Oluwasanmi, A.; Yimen, N.; Qinxiu, Z.; Ukwuoma, C.C.; Ezurike, B.; Bamisile, O. Development and Comparison of Two Novel Hybrid Neural Network Models for Hourly Solar Radiation Prediction. Appl. Sci. 2022, 12, 1435. [Google Scholar] [CrossRef]
  7. Cesar, L.B.; Silva, R.A.E.; Callejo, M.Á.M.; Cira, C.I. Review on Spatio-Temporal Solar Forecasting Methods Driven by In Situ Measurements or Their Combination with Satellite and Numerical Weather Prediction (NWP) Estimates. Energies 2022, 15, 4341. [Google Scholar] [CrossRef]
  8. Zhang, R.; Ma, H.; Hua, W.; Saha, T.K.; Zhou, X. Data-Driven Photovoltaic Generation Forecasting Based on a Bayesian Network with Spatial-Temporal Correlation Analysis. IEEE Trans. Ind. Inform. 2020, 16, 1635–1644. [Google Scholar] [CrossRef]
  9. Wang, F.; Lu, X.; Mei, S.; Su, Y.; Zhen, Z.; Zou, Z.; Zhang, X.; Yin, R.; Duić, N.; Shafie-Khah, M.; et al. A satellite image data based ultra-short-term solar PV power forecasting method considering cloud information from neighboring plant. Energy 2022, 238, 121946. [Google Scholar] [CrossRef]
  10. Li, P.; Zhou, K.; Lu, X.; Yang, S. A hybrid deep learning model for short-term PV power forecasting. Appl. Energy 2020, 259, 114216. [Google Scholar] [CrossRef]
  11. Wang, K.; Qi, X.; Liu, H. A comparison of day-ahead photovoltaic power forecasting models based on deep learning neural network. Appl. Energy 2019, 251, 113315. [Google Scholar] [CrossRef]
  12. Guermoui, M.; Melgani, F.; Gairaa, K.; Mekhalfi, M.L. A comprehensive review of hybrid models for solar radiation forecasting. J. Clean. Prod. 2020, 258, 120357. [Google Scholar] [CrossRef]
  13. Kumari, P.; Toshniwal, D. Deep learning models for solar irradiance forecasting: A comprehensive review. J. Clean. Prod. 2021, 318, 128566. [Google Scholar] [CrossRef]
  14. Rajagukguk, R.A.; Ramadhan, R.A.; Lee, H.-J. A review on deep learning models for forecasting time series data of solar irradiance and photovoltaic power. Energies 2020, 13, 6623. [Google Scholar] [CrossRef]
  15. Tawn, R.; Browell, J. A review of very short-term wind and solar power forecasting. Renew. Sustain. Energy Rev. 2022, 153, 111758. [Google Scholar] [CrossRef]
  16. Ahmed, R.; Sreeram, V.; Mishra, Y.; Arif, M. A review and evaluation of the state-of-the-art in PV solar power forecasting: Techniques and optimization. Renew. Sustain. Energy Rev. 2020, 124, 109792. [Google Scholar] [CrossRef]
  17. Wang, H.; Liu, Y.; Zhou, B.; Li, C.; Cao, G.; Voropai, N.; Barakhtenko, E. Taxonomy research of artificial intelligence for deterministic solar power forecasting. Energy Convers. Manag. 2020, 214, 112909. [Google Scholar] [CrossRef]
  18. Dodiya, M.; Shah, M. A systematic study on shaping the future of solar prosumage using deep learning. Int. J. Energy Water Resour. 2021, 5, 477–487. [Google Scholar] [CrossRef]
  19. Khan, N.; Ullah, F.U.M.; Haq, I.U.; Khan, S.U.; Lee, M.Y.; Baik, S.W. Ab-net: A novel deep learning assisted framework for renewable energy generation forecasting. Mathematics 2021, 9, 2456. [Google Scholar] [CrossRef]
  20. Ullah, F.; Khan, N.; Hussain, T.; Lee, M.; Baik, S. Diving deep into short-term electricity load forecasting: Comparative analysis and a novel framework. Mathematics 2021, 9, 611. [Google Scholar] [CrossRef]
  21. Muhammad, A.; Lee, J.M.; Hong, S.W.; Lee, S.J.; Lee, E.H. Deep Learning Application in Power System with a Case Study on Solar Irradiation Forecasting. In Proceedings of the International Conference on Artificial Intelligence in Information and Communication (ICAIIC), Jeju Island, Republic of Korea, 13–16 April 2019. [Google Scholar]
  22. El Alani, O.; Abraim, M.; Ghennioui, H.; Ghennioui, A.; Ikenbi, I.; Dahr, F.-E. Short term solar irradiance forecasting using sky images based on a hybrid CNN–MLP model. Energy Rep. 2021, 7, 888–900. [Google Scholar] [CrossRef]
  23. Srivastava, S.; Lessmann, S. A comparative study of LSTM neural networks in forecasting day-ahead global horizontal irradiance with satellite data. Sol. Energy 2018, 162, 232–247. [Google Scholar] [CrossRef]
  24. Suresh, V.; Janik, P.; Rezmer, J.; Leonowicz, Z. Forecasting Solar PV Output Using Convolutional Neural Networks with a Sliding Window Algorithm. Energies 2020, 13, 723. [Google Scholar] [CrossRef]
  25. Fan, H.; Jiang, M.; Xu, L.; Zhu, H.; Cheng, J.; Jiang, J. Comparison of long short term memory networks and the hydrological model in runoff simulation. Water 2020, 12, 175. [Google Scholar] [CrossRef]
  26. Zang, H.; Liu, L.; Sun, L.; Cheng, L.; Wei, Z.; Sun, G. Short-term global horizontal irradiance forecasting based on a hybrid CNN-LSTM model with spatiotemporal correlations. Renew. Energy 2020, 160, 26–41. [Google Scholar] [CrossRef]
  27. Chandola, D.; Gupta, H.; Tikkiwal, V.A.; Bohra, M.K. Multi-step ahead forecasting of global solar radiation for arid zones using deep learning. Procedia Comput. Sci. 2020, 167, 626–635. [Google Scholar] [CrossRef]
  28. Ağbulut, Ü.; Gürel, A.E.; Biçen, Y. Prediction of daily global solar radiation using different machine learning algorithms: Evaluation and comparison. Renew. Sustain. Energy Rev. 2021, 135, 110114. [Google Scholar] [CrossRef]
  29. Jalali, S.M.J.; Ahmadian, S.; Kavousi-Fard, A.; Khosravi, A.; Nahavandi, S. Automated Deep CNN-LSTM Architecture Design for Solar Irradiance Forecasting. IEEE Trans. Syst. Man Cybern. Syst. 2022, 52, 54–65. [Google Scholar] [CrossRef]
  30. Bhatt, A.; Ongsakul, W.; Nimal, M.; Singh, J.G. Sliding window approach with first-order differencing for very short-term solar irradiance forecasting using deep learning models. Sustain. Energy Technol. Assess. 2022, 50, 101864. [Google Scholar] [CrossRef]
  31. Ghimire, S.; Deo, R.C.; Raj, N.; Mi, J. Deep solar radiation forecasting with convolutional neural network and long short-term memory network algorithms. Appl. Energy 2019, 253, 113541. [Google Scholar] [CrossRef]
  32. Gao, B.; Huang, X.; Shi, J.; Tai, Y.; Zhang, J. Hourly forecasting of solar irradiance based on CEEMDAN and multi-strategy CNN-LSTM neural networks. Renew. Energy 2020, 162, 1665–1683. [Google Scholar] [CrossRef]
  33. Qing, X.; Niu, Y. Hourly day-ahead solar irradiance prediction using weather forecasts by LSTM. Energy 2018, 148, 461–468. [Google Scholar] [CrossRef]
  34. Mukhoty, B.P.; Maurya, V.; Shukla, S.K. Sequence to sequence deep learning models for solar irradiation forecasting; Sequence to sequence deep learning models for solar irradiation forecasting. arXiv 2019, arXiv:1904.1308. [Google Scholar]
  35. Zhou, H.; Liu, Q.; Yan, K.; Du, Y. Deep Learning Enhanced Solar Energy Forecasting with AI-Driven IoT. Wirel. Commun. Mob. Comput. 2021, 2021, 9249387. [Google Scholar] [CrossRef]
  36. Tovar, M.; Robles, M.; Rashid, F. PV power prediction, using CNN-LSTM hybrid neural network model. Case of study: Temixco-Morelos, México. Energies 2020, 13, 6512. [Google Scholar] [CrossRef]
  37. Tao, C.; Lu, J.; Lang, J.; Peng, X.; Cheng, K.; Duan, S. Short-term forecasting of photovoltaic power generation based on feature selection and bias compensation–lstm network. Energies 2021, 14, 3086. [Google Scholar] [CrossRef]
  38. Zhou, H.; Zhang, Y.; Yang, L.; Liu, Q.; Yan, K.; Du, Y. Short-Term photovoltaic power forecasting based on long short term memory neural network and attention mechanism. IEEE Access 2019, 7, 78063–78074. [Google Scholar] [CrossRef]
  39. Wang, K.; Qi, X.; Liu, H. Photovoltaic power forecasting based LSTM-Convolutional Network. Energy 2019, 189, 116225. [Google Scholar] [CrossRef]
  40. Institute of Electrical and Electronics Engineers. Beijing Section and Institute of Electrical and Electronics Engineers. In Proceedings of the ICSESS 2018 9th International Conference on Software Engineering and Service Science, Beijing, China, 23–25 November 2018. [Google Scholar]
  41. Zaouali, K.; Rekik, R.; Bouallegue, R. Deep Learning Forecasting Based on Auto-LSTM Model for Home Solar Power Systems. In 20th International Conference on High Performance Computing and Communications, 16th International Conference on Smart City and 4th International Conference on Data Science and Systems, HPCC/SmartCity/DSS 2018; Institute of Electrical and Electronics Engineers (IEEE): Piscataway, NJ, USA, 2019; pp. 235–242. [Google Scholar] [CrossRef]
  42. Sharadga, H.; Hajimirza, S.; Balog, R.S. Time series forecasting of solar power generation for large-scale photovoltaic plants. Renew. Energy 2020, 150, 797–807. [Google Scholar] [CrossRef]
  43. Wen, L.; Zhou, K.; Yang, S.; Lu, X. Optimal load dispatch of community microgrid with deep learning based solar power and load forecasting. Energy 2019, 171, 1053–1065. [Google Scholar] [CrossRef]
  44. Liu, C.-H.; Gu, J.-C.; Yang, M.-T. A Simplified LSTM Neural Networks for One Day-Ahead Solar Power Forecasting. IEEE Access 2021, 9, 17174–17195. [Google Scholar] [CrossRef]
  45. Konstantinou, M.; Peratikou, S.; Charalambides, A. Solar photovoltaic forecasting of power output using lstm networks. Atmosphere 2021, 12, 124. [Google Scholar] [CrossRef]
  46. Li, Y.; Ye, F.; Liu, Z.; Wang, Z.; Mao, Y. A Short-Term Photovoltaic Power Generation Forecast Method Based on LSTM. Math Math. Probl. Eng. 2021, 2021, 6613123. [Google Scholar] [CrossRef]
  47. Zhou, N.; Zhou, Y.; Gong, L.; Jiang, M. Accurate prediction of photovoltaic power output based on long short-term memory network. IET Optoelectron. 2020, 14, 399–405. [Google Scholar] [CrossRef]
  48. Kumar, D.S.; Yagli, G.M.; Kashyap, M.; Srinivasan, D. Solar irradiance resource and forecasting: A comprehensive review. IET Renew. Power Gener. 2020, 14, 1641–1656. [Google Scholar] [CrossRef]
Figure 1. FFNN model [22].
Figure 1. FFNN model [22].
Processes 11 01382 g001
Figure 2. RNN vs. FNN [19]. x: input, y: output, w: h: hidden layer, w: loop.
Figure 2. RNN vs. FNN [19]. x: input, y: output, w: h: hidden layer, w: loop.
Processes 11 01382 g002
Figure 3. Structure of an RNN with unfolded architecture [19].
Figure 3. Structure of an RNN with unfolded architecture [19].
Processes 11 01382 g003
Figure 4. Structure of internal LSTM cell [25].
Figure 4. Structure of internal LSTM cell [25].
Processes 11 01382 g004
Figure 5. Basic structure of a CNN [26].
Figure 5. Basic structure of a CNN [26].
Processes 11 01382 g005
Figure 6. Structure of CNN–LSTM.
Figure 6. Structure of CNN–LSTM.
Processes 11 01382 g006
Figure 7. Structure of LSTM–CNN.
Figure 7. Structure of LSTM–CNN.
Processes 11 01382 g007
Table 1. Summary of related works of solar energy predictions.
Table 1. Summary of related works of solar energy predictions.
Ref.Criteria
LSTMHybrid ModelEvaluation MetricsAnalysis of Past Studies
[8]XX
[9]X
[10]
[11]
[12]X
[13]
[14]
Note: X means not covered, − means partially covered, and √ means fully covered.
Table 2. Evaluation metrics.
Table 2. Evaluation metrics.
Evaluation MetricEquation
Error E r r o r = X p r e d X m e a s
MAE 1 n i = 1 n X p r e d X m e a s
MAPE 1 n i = 1 n X p r e d X m e a s X m e a s × 100
MBE 1 n i = 1 n X p r e d X m e a s
rMBE i = 1 n X p r e d X m e a s i = 1 n X m e a s × 100
rRMSE 1 n i = 1 n X p r e d X m e a s 2 1 n i = 1 n X m e a s × 100
RMSE 1 n i = 1 n X p r e d X m e a s 2
Table 3. Solar irradiance forecasting.
Table 3. Solar irradiance forecasting.
Ref.Forecast HorizonTime IntervalModelInput ParameterHistorical Data DescriptionError Metrics
[1]Ahead by 1 hHourlyLSTM–CNN
  • Temperature
  • Wind speed
  • Wind direction
  • Relative humidity
  • Precipitation
  • Solar zenith angle
  • Dew point
  • Pressure
  • Cloud type
  • Clear-sky global horizontal irradiance (GHI)
  • GHI
1 January 2015 to 31 December 2019 (5 years)Average RMSE:
Los Angeles: 57.983 W/m2
San Diego: 47.826 W/m2
San Francisco: 66.023 W/m2
[29]
  • Ahead by 15 min
  • Ahead by 30 min
  • Ahead by 45 min
  • Ahead by 60 min
  • Ahead by 75 min
  • Ahead by 90 min
HourlyMSCA–CLSTMGHI2018 (1 year)Average RMSE:
Columbus: 0.0177 W/m2
San Antonio: 0.0183 W/m2
Detroit: 0.0183 W/m2
[30]
  • Ahead by 15 min
  • Ahead by 30 min
  • Ahead by 45 min
  • Ahead by 60 min
  • Ahead by 75 min
  • Ahead by 90 min
15 minCNN–LSTM
  • Average solar irradiance
  • Average ambient temperature
  • Average relative humidity
1 January 2016 to 1 January 2017RMSE (6 steps):
5.79–34.89 W/m2
[31]Multiple forecast horizon
(1 day to 8 months)
30 minCLSTMGSR1 January 2006 to 31 August 2018RMSE (W/m2):
1 day: 8.189
1 week: 16.011
2 weeks: 14.295
1 month: 32.872
[26]Ahead by 1 hHourlyCNN–LSTM
  • GHI
  • Dew point temperature
  • Solar zenith angle
  • Wind speed
  • Wind direction
  • Precipitable water
  • Relative humidity
  • Temperature
1 January 2006 to 31 December 2012Average MAE:
Dallas: 41.88 W/m2
San Jacinto: 52.00 W/m2
Zapata: 43.66 W/m2
Moore: 37.26 W/m2
Lamb: 37.20 W/m2
[32]Ahead by 1 hHourlyCEEMDAN-CNN–LSTMSolar irradiance6 year dataAverage RMSE: 38.49 W/m2
[33]Ahead hourly every dayHourlyLSTM
  • Temperature
  • Dew point
  • Humidity
  • Visibility
  • Wind speed
  • Weather type
  • March 2011 to August 2012
  • January 2013 to December 2013 (30 months)
RMSE: 76.245 W/m2
[34]Ahead by 1 hHourlyLSTM
  • Wind speed
  • Wind direction
  • GHI
2000 to 2014Average 24-h RMSE:
80.0 W/m2
Table 4. PV power forecasting.
Table 4. PV power forecasting.
Ref.Forecast HorizonInterval DataModelInput VariablesHistorical Data
Description
Size PV Power (kW)Error Metrics
[35]
  • Ahead by 7.5 min
  • Ahead by 15 min
  • Ahead by 30 min
7.5 minCNN-ALSTM
  • PV power
  • PV module temperature
  • Current
  • Voltage
October 2014 to September 2018N/AOverall RMSE:
7.5 min: 1.30
15 min: 1.40
30 min: 2.04
[36]
  • Ahead by 10 min
  • Ahead by 30 min
  • Ahead by 60 min
  • Ahead by 90 min
  • Ahead by 120 min
  • Ahead by 150 min
  • Ahead by 180 min
10 min5D CNN–LSTM
  • Active power generated
  • Average phase current
  • AC voltage generated
  • Direct radiationGlobal radiation
  • Diffuse radiation
  • Temperature
  • Humidity
  • Wind speed
  • Barometric pressure
1 year data (2019–2020)1.70RMSE:
10 min: 0.0830
30 min: 0.2257
60 min: 0.4593
90 min: 0.7289
120 min: 1.0588
150 min: 1.4438
180 min: 2.0570
[37]1 day15 minBCLSTM + IFFSNumerical weather prediction (NWP) data1 January 2017 to 31 December 2018 (2 years)N/ARMSE: 0.1075 kW
[38]
  • Ahead by 7.5 min
  • Ahead by 15 min
  • Ahead by 30 min
  • Ahead by 60 min
7.5 minALSTM
  • PV power
  • PV module temperature
October 2014 to September 201820.0Overall RMSE:
7.5 min: 1.39
15 min: 1.60
30 min: 1.81
60 min: 2.09
[10]Ahead by 1 h5 minWPD–LSTM
  • PV power output
  • GHR
  • Diffuse horizontal radiation
  • Ambient temperature
  • Wind speed
  • Relative humidity
1 June 2014 to 12 June 201626.5Average RMSE: 0.2357
[39]N/A5 minLSTM–CNN
  • Current phase average
  • Active power
  • Wind speed
  • Weather temperature, Celsius
  • Weather humidity
  • Global horizontal radiation
  • Diffuse horizontal radiation
  • Wind direction
Half-year data (53,280 samples)N/ARMSE: 0.621
[40]Ahead by 1 hHourlyPCA–LSTMThe dataset has 49 features
  • Temperature
  • Humidity
  • Sun exposure angle
  • Light amplitude
  • Time
  • Season and other characteristics
The first 24 historical data pointsN/ANRMSE: 0.0472%
[41]
  • Ahead by 15 min
  • Ahead by 30 min
  • Ahead hourly
  • Ahead daily
  • Ahead weekly
  • Ahead monthly
15 minAuto-LSTM
  • PV power
  • Weather data
2014–2015 (2 years)1.30Daily forecasting RMSE:
Smart meter 1: 4.4414
Smart meter 2: 7.1925
[42]Ahead hourly15 minLSTMPV power13 January 2010 to 29 January 201020,000RMSE (ahead by 1 h): 0.841
[43]Ahead by 1 hHourlyDRNN–LSTM
  • PV power
  • Temperature
  • Humidity
  • Wind speed
1 January 2018 to 1 February 2018106.60RMSE: 7.536
[44]Ahead by 1 dayEvery 1 min or 5 minLSTMPV powerOne monthN/AAverage RMSE: 0.512
[45]Ahead by 1.5 h15 minStacked LSTMPV power1 September 2016 to 31 January 2019 (84,768 observation)N/ARMSE:
0.09394
[46]Ahead by 1 h HourlyLSTM-FC
  • Temperature
  • Humidity
  • Weather
  • Wind direction
  • Wind speed
1 January 2018 to 31 December 2018N/ARMSE:
2.5605
[47]Ahead by 1 day5 minEMD-SCA-LSTM
  • PV power
  • GHI
  • Relative humidity (RH)
  • Diffuse horizontal irradiance (DHI)
  • Air temperature (AT)
1-year data (2017)5.83RMSE:
0.5283 kW
MAE:
0.3063 kW
R2:
0.9210
Table 5. Summary of error metrics for LSTM, CNN, and CNN–LSTM.
Table 5. Summary of error metrics for LSTM, CNN, and CNN–LSTM.
Step AheadMAE (W/m2)RMSE (W/m2)MAPE (%)R2
LSTMCNNCNN–LSTMLSTMCNNCNN–LSTMLSTMCNNCNN–LSTMLSTMCNNCNN–LSTM
16.616.513.8310.439.825.7910.1911.297.500.9980.9980.999
212.1511.697.3220.4618.0911.7151.7437.4519.640.9930.9940.997
318.3916.7310.6131.1226.4118.1828.6252.2131.870.9840.9880.994
424.1621.8113.6840.3334.5323.4870.5191.8450.080.9740.9790.99
531.2127.2617.0152.543.1129.2530.9952.7955.470.9570.9690.985
636.8932.3820.0762.2750.9934.8944.81127.2959.280.9420.9570.979
Table 6. Error metrics of PV power forecasting across different seasons and weather.
Table 6. Error metrics of PV power forecasting across different seasons and weather.
SeasonTypes of WeatherErrorWPD–LSTMLSTMGRURNNMLP
WinterSunny
(Day 1)
MBE (kW)−0.0055−0.00580.1588−0.0085−0.0284
MAPE (%)1.75261.77442.10192.6335.5833
RMSE (kW)0.24661.25411.23991.24681.1944
Cloudy
(Day 2)
MBE (kW)0.1127−0.04970.0184−0.09010.2429
MAPE (%)1.73650.12761.99132.76226.1295
RMSE (kW)0.17731.12790.22060.28680.6075
Rainy
(Day 3)
MBE (kW)−0.0214−0.19130.1651−0.3158−0.0495
MAPE (%)6.73288.415010.86909.311010.7191
RMSE (kW)0.43742.23362.08762.12231.9916
SpringSunny
(Day 4)
MBE (kW)0.1425−0.02390.0377−0.02400.3277
MAPE (%)2.09731.32432.01993.10876.8559
RMSE (kW)0.22500.16430.24560.34310.7173
Cloudy
(Day 5)
MBE (kW)−0.06750.11650.55230.0711−0.2168
MAPE (%)8.138315.388114.965113.076215.4708
RMSE (kW)0.14530.27590.64520.42220.3312
Rainy
(Day 6)
MBE (kW)0.05660.23040.55020.06740.1121
MAPE (%)3.80809.955314.823511.30138.3763
RMSE (kW)0.28070.81071.00360.86040.7572
SummerSunny
(Day 7)
MBE (kW)0.04810.11150.2936−0.13820.3617
MAPE (%)2.60318.493610.82928.854510.8997
RMSE (kW)0.26640.97011.07480.85141.0822
Cloudy
(Day 8)
MBE (kW)0.01830.20120.5218−0.05830.1048
MAPE (%)3.436013.002811.837014.847211.5344
RMSE (kW)0.23820.83980.93230.88120.7810
Rainy
(Day 9)
MBE (kW)−0.01270.09240.4668−0.2068−0.3127
MAPE (%)3.89369.857112.579916.005214.7068
RMSE (kW)0.12530.30090.58050.49930.4479
AutumnSunny
(Day 10)
MBE (kW)−0.0799−0.20500.0959−0.18130.2752
MAPE (%)2.03677.40158.33047.89518.3189
RMSE (kW)0.19290.73950.80290.77780.7495
Cloudy
(Day 11)
MBE (kW)0.00490.11740.5692−0.11110.1729
MAPE (%)3.79235.02799.92347.008714.4850
RMSE (kW)0.25761.05401.21101.13651.0643
Rainy
(Day 12)
MBE (kW)0.0029−0.07990.1202−0.31030.3244
MAPE (%)4.34278.35089.31047.329414.8202
RMSE (kW)0.39032.42162.36872.42752.4343
Table 7. Average RMSE, nRMSE, and MAE across four seasons.
Table 7. Average RMSE, nRMSE, and MAE across four seasons.
SeasonIndicatorMethods
C-C-LC-LC-SC-BC-ALSTMSVMBPARIMAPer.
SpringRMSE (W/m2)42.8756.7664.9764.4679.8879.6384.6282.20112.46126.76
nRMSE (%)17.8825.4629.1528.9235.8435.7237.9636.8750.4556.87
MAE (W/m2)22.8037.7436.0935.9841.8442.2151.0941.8763.7776.89
SummerRMSE (W/m2)47.6055.1558.7365.0782.4470.6273.0970.94110.09125.63
nRMSE (%)17.3421.6823.0925.5832.4127.7628.7227.8943.2849.39
MAE (W/m2)26.8036.7637.6039.4443.0939.1241.1435.6665.7680.06
AutumnRMSE (W/m2)37.5947.1947.7650.8669.7954.8659.7155.49103.07122.39
nRMSE (%)17.6519.5919.8321.1128.9822.7824.7923.0442.7950.81
MAE (W/m2)19.6629.5927.7929.0136.1427.2838.9628.3860.3275.99
WinterRMSE (W/m2)25.9738.1946.8245.3150.2347.2654.2448.2781.98107.96
nRMSE (%)15.7319.6024.0423.2625.7924.2627.8524.7842.0955.42
MAE (W/m2)13.2522.1428.3323.6925.6520.1832.4421.8641.9264.54
AnnualRMSE (W/m2)38.4949.8755.1057.0771.7264.3768.9365.57102.61121.75
nRMSE (%)17.2321.8524.1425.0031.4228.2030.2028.7344.9653.34
MAE (W/m2)20.5031.5632.4532.0336.6832.2040.9031.9557.9474.64
C-C-L: CEEMDAN–CNN–LSTM; C-L: CEEMDAN–LSTM; C-S: CEEMDAN–SVM; C-B: CEEMDAN–BPNN; C-A: CEEMDAN–ARIMA; Per.: persistence.
Table 8. Training and running time for each model.
Table 8. Training and running time for each model.
LSTMCNNCNN–LSTMLSTM–CNN
Training time (s)70.490787.494983.701871.606
Running time (s)5.4395.4258.6927.196
Table 9. Time processing.
Table 9. Time processing.
ModelTime (s)
5D LSTM9.1394
2D CNN–LSTM8.0362
5D CNN–LSTM69.1148
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Jailani, N.L.M.; Dhanasegaran, J.K.; Alkawsi, G.; Alkahtani, A.A.; Phing, C.C.; Baashar, Y.; Capretz, L.F.; Al-Shetwi, A.Q.; Tiong, S.K. Investigating the Power of LSTM-Based Models in Solar Energy Forecasting. Processes 2023, 11, 1382. https://doi.org/10.3390/pr11051382

AMA Style

Jailani NLM, Dhanasegaran JK, Alkawsi G, Alkahtani AA, Phing CC, Baashar Y, Capretz LF, Al-Shetwi AQ, Tiong SK. Investigating the Power of LSTM-Based Models in Solar Energy Forecasting. Processes. 2023; 11(5):1382. https://doi.org/10.3390/pr11051382

Chicago/Turabian Style

Jailani, Nur Liyana Mohd, Jeeva Kumaran Dhanasegaran, Gamal Alkawsi, Ammar Ahmed Alkahtani, Chen Chai Phing, Yahia Baashar, Luiz Fernando Capretz, Ali Q. Al-Shetwi, and Sieh Kiong Tiong. 2023. "Investigating the Power of LSTM-Based Models in Solar Energy Forecasting" Processes 11, no. 5: 1382. https://doi.org/10.3390/pr11051382

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