A Deep Learning-Based Solar Power Generation Forecasting Method Applicable To Multiple Sites
A Deep Learning-Based Solar Power Generation Forecasting Method Applicable To Multiple Sites
Article
A Deep Learning-Based Solar Power Generation Forecasting
Method Applicable to Multiple Sites
Seon Young Jang 1 , Byung Tae Oh 2, * and Eunsung Oh 3, *
Abstract: This paper addresses the challenge of accurately forecasting solar power generation (SPG)
across multiple sites using a single common model. The proposed deep learning-based model is
designed to predict SPG for various locations by leveraging a comprehensive dataset from multiple
sites in the Republic of Korea. By incorporating common meteorological elements such as temperature,
humidity, and cloud cover into its framework, the model uniquely identifies site-specific features to
enhance the forecasting accuracy. The key innovation of this model is the integration of a classifier
module within the common model framework, enabling it to adapt and predict SPG for both known
and unknown sites based on site similarities. This approach allows for the extraction and utilization
of site-specific characteristics from shared meteorological data, significantly improving the model’s
adaptability and generalization across diverse environmental conditions. The evaluation results
demonstrate that the model maintains high performance levels across different SPG sites with
minimal performance degradation compared to site-specific models. Notably, the model shows
robust forecasting capabilities, even in the absence of target SPG data, highlighting its potential to
enhance operational efficiency and support the integration of renewable energy into the power grid,
thereby contributing to the global transition towards sustainable energy sources.
Citation: Jang, S.Y.; Oh, B.T.; Oh, E. A
Keywords: convolutional neural network; deep learning; domain estimation; long short-term memory;
Deep Learning-Based Solar Power
Generation Forecasting Method
machine learning; renewable; solar power generation
Applicable to Multiple Sites.
Sustainability 2024, 16, 5240. https://
[Link]/10.3390/su16125240
1. Introduction
Academic Editor: Hansang Lee
1.1. Motivation
Received: 9 April 2024 Renewable power generation has witnessed unprecedented growth in recent years,
Revised: 6 June 2024
with the largest growth observed for SPG. According to the International Renewable
Accepted: 18 June 2024
Energy Agency [1], solar power accounted for over 65% of global renewable capacity
Published: 20 June 2024
additions in 2023, underscoring its pivotal role in the transition towards sustainable energy
systems. This surge is attributed not only to the potential of solar power to address
pressing environmental concerns but also to its economic viability. Recent analyses indicate
Copyright: © 2024 by the authors.
that solar power’s levelized cost of energy (LCOE) has become increasingly competitive,
Licensee MDPI, Basel, Switzerland. outperforming coal and gas combined-cycle costs in many developed countries [2].
This article is an open access article However, integrating solar power into the energy grid introduces unique challenges
distributed under the terms and owing to its inherent variability. SPG is highly dependent on natural phenomena, such
conditions of the Creative Commons as sunlight intensity and duration, which fluctuate daily and seasonally. Accurate SPG
Attribution (CC BY) license (https:// forecasting ensures grid stability and maximizes solar energy utilization efficiency [3].
[Link]/licenses/by/
4.0/).
predictions. Al-Ali et al. proposed a CNN-LSTM transformer model [16]. In [16], a CNN-
LSTM model was used to extract spatial and temporal features, and a transformer was
applied to generate forecast results from the features. Zhu et al. proposed a transformer-
based SPG forecasting method using data filtering [17]. In [17], the Savitzky–Golay filter
(SG) and Local Outlier Factor (LOF) filter were applied for data preprocessing to reduce
noise, and a transformer was employed for the SPG forecast model.
Table 1 summarizes DL-based SPG forecasting methods.
These studies indicate that the trend for SPG forecasting is not merely to apply classical
DL models but rather to combine models with optimizers and other techniques to fine-tune
the model parameters and enhance their performance more effectively.
However, the current research predominantly focuses on modeling individually im-
plemented SPG sites. This approach involves collecting and utilizing site-specific input
data, such as weather conditions and training data, to generate forecasts for a single site.
Consequently, this methodology implies that producing forecasts for multiple sites would
necessitate either the design of distinct models tailored to each site or separate training
sessions for models corresponding to each location. This presents a limitation regarding
scalability and efficiency when extending the forecasting capabilities across multiple sites.
1.3. Contribution
This study addresses the significant challenge of developing an accurate and scalable
SPG forecasting model that can be effectively applied across multiple sites using a single
common model. Traditional SPG forecasting methods often require site-specific models,
which can be inefficient and difficult to scale. Our research proposes a novel deep learning-
based common model designed to overcome these limitations by leveraging common
meteorological elements such as temperature, humidity, and cloud cover.
The key contributions of this study are as follows:
• The development of a common model: We propose a deep learning-based forecasting
model that can accurately predict SPG for various locations by utilizing common
meteorological data. This model is designed to extract site-specific characteristic
features from these shared data elements, thus enhancing the forecasting accuracy.
• The integration of a classifier module: To address the variability and unique charac-
teristics of different sites, we integrate a classifier module within the common model
framework. This module enables the model to adapt and predict SPG for both known
and unknown sites by identifying and leveraging site similarities.
• Improved adaptability and generalization: By extracting and utilizing site-specific
features from common meteorological data, the proposed model significantly im-
proves its adaptability and generalization capabilities across diverse environmental
conditions. This dual-layered approach allows for a better understanding of how dif-
Sustainability 2024, 16, x FOR PEER REVIEW 4 of 15
Figure 1.
Figure 1. SPG
SPG forecasting system architecture.
forecasting system architecture.
The proposed two-tiered model assumes that the initial feature extraction from the
input data operates independently of the subsequent SPG forecasting forecasting phase.
phase. Given that
the input
input weather
weatherdata dataare
areintrinsically
intrinsically linked
linked to specific
to specific locallocal geological
geological factors
factors and
and con-
considering
sidering thatthat
SPGSPG output
output is predominantly
is predominantly determined
determined by these
by these input
input parameters—
parameters—as-
assuming a consistentSPG
suming a consistent SPGsystem
systemconfiguration—it
configuration—itstands standsto toreason
reason that
that segmenting the
overall system into two discrete units and independently optimizing each for its intended
purpose would result
result in
in increased
increased efficiency.
efficiency.
The feature extraction subsystem
feature extraction subsystem employs
employs a combination
a combination of CNN
of CNNand LSTM
and LSTMnetworks
net-
for the analysis. Specifically, it processed 24 h of weather data to ensure
works for the analysis. Specifically, it processed 24 h of weather data to ensure efficient efficient and
practical information
and practical handling.
information At each
handling. At timestamp, the data
each timestamp, pertaining
the to all sixtoweather
data pertaining all six
variables were considered.
weather variables In addition,
were considered. we factored
In addition, we in the solar
factored elevation
in the (SE) and (SE)
solar elevation azimuth
and
angle (AA) data to directly account for variations in solar irradiance.
azimuth angle (AA) data to directly account for variations in solar irradiance.
Let xi,t be the input element, which is the numerical weather prediction (NWP) for the
SPG site i at the timestamp t. It is defined as a vector:
xi,t = [ AAi,t , SEi,t , TMPi,t , REHi,t , POPi,t , SKYi,t , VECi,t , WSDi,t ] T , (1)
Sustainability 2024, 16, 5240 5 of 15
where [·] T is the transpose of a matrix. The input data for the forecasting of the SPG site i
are expressed as the 24-h time series of the input element as:
To mitigate these challenges, we introduce a novel system design that reduces the
Sustainability 2024, 16, 5240 sample bias inherent to each local site through a feature similarity-based classification 6 of 15
mechanism. This approach aggregates similar features to form coherent groups that facil-
itate more accurate predictions. Specifically, we integrated a site classification module
within theEncoder
within the Encodersystem,
system,asasshown
shownininFigure
Figure2. 2. This
This classifier
classifier waswas ingeniously
ingeniously designed
designed to
to compel
compel thethe encoder
encoder to implicitly
to implicitly assimilate
assimilate the the types
types of weather
of weather data,data, thereby
thereby embed-
embedding
ding
the the site
local localcharacteristics
site characteristics intomodel’s
into the the model’s understanding.
understanding. Consequently,
Consequently, our our sys-
system
tem exhibits
exhibits enhanced
enhanced robustness
robustness andand adaptability
adaptability andand can
can generatereliable
generate reliableforecasts
forecasts for
for
previously unknown
previously unknown sitessites by
by leveraging
leveraging feature
feature similarity
similarity toto infer
infer local
local environmental
environmental
conditions.
conditions.
Figure 2. Training
Figure 2. Trainingsystem
systemusing
usingthe
theclassifier
classifierfor
forsite
siteestimation.
estimation.
The
The goal
goal ofof our
our research
researchwaswas to
to develop
develop aa common
common model
model for
for SPG
SPG forecasting
forecasting across
across
multiple
multiple sites. Therefore, to train the proposed network, NWP data from multiple
sites. Therefore, to train the proposed network, NWP data from multiple sites
sites
were
wereused
usedsimultaneously.
simultaneously. The subscript
The i represents
subscript the site
𝑖 represents thelabel, consistent
site label, with its
consistent usage
with its
in Equations
usage (1) and(1)
in Equations (2).and
Moreover, we used
(2). Moreover, wethe following
used loss functions:
the following loss functions:
L T𝐿= =
α L𝛼R𝐿+ β 𝛽
LC𝐿, , (3)
The common
The common cross-entropy
cross-entropyloss
losswas
wasadopted
adoptedfor
forthe
theclassification
classificationerror:
error:
LC𝐿==∑ qi log
𝑞 log
(Ci𝐶
) (5)
i∈ I ∈
whereq𝑞indicates
where indicates the
the true
true label
label and
and Ci 𝐶 indicates
indicates thethe predicted
predicted probability.
probability.
i
This innovation represents a significant advancement in SPG
This innovation represents a significant advancement in SPG forecasting forecasting and
and allows
allows
our model
our model to to overcome
overcome the thelimitations
limitationsofoftraditional
traditionalforecasting
forecastingmethods.
methods. By
By equipping
equipping
the encoder with the ability to discern and adapt to each site’s unique characteristics,
the encoder with the ability to discern and adapt to each site’s unique characteristics, we we
enabled more generalized and accurate predictions across a diverse array of
enabled more generalized and accurate predictions across a diverse array of SPG sites. This SPG sites.
This approach
approach not broadens
not only only broadens the applicability
the applicability of ourofforecasting
our forecasting
modelmodel butsets
but also alsoasets
newa
new standard for addressing the complexities of renewable energy prediction
standard for addressing the complexities of renewable energy prediction in a geographically in a geo-
graphically
varied varied landscape.
landscape.
Sustainability 2024, 16, x FOR PEER REVIEW 7 of 15
Sustainability 2024, 16, 5240 7 of 15
Figure
Figure 3. SPG
3. SPG site map.
site map.
The weather information utilized in this study was derived from day-ahead NWP data
The weather information utilized in this study was derived from day-ahead NWP
provided by the National Climate Data Center of the Republic of Korea Meteorological
data provided by the National Climate Data Center of the Republic of Korea Meteorolog-
Administration [19].
ical Administration [19].
The datasets used in this study are publicly available and were collected from various
The datasets used in this study are publicly available and were collected from various
data sources within public data portals [18,19]. The data include solar generation and mete-
data sources within public data portals [18,19]. The data include solar generation and me-
orological elements such as temperature, humidity, precipitation probability, cloudiness
teorological elements
index, wind such and
direction, as temperature,
wind speed,humidity, precipitation
collected from various probability, cloudiness
sites across the Republic of
index, wind direction, and wind speed, collected
Korea, as described in Tables 2 and 3. from various sites across the Republic of
Korea, as described in Tables 2 and 3.
Table 2. Description of the used SPG data.
Table 2. Description of the used SPG data.
Generation
Site ID Date Generation
Site ID Date 00 h ... 08 h 09 h ... 22 h 23 h
00 h … 08 h 09 h … 22 h 23 h
Site 1 2013-01-01 0.00 ... 9.88 32.60 ... 0.00 0.00
Site 1Site 12013-01-01
2013-01-02
0.00 0.00 … ...
9.88 10.52 32.60 39.02 … ...
0.00 0.00 0.00 0.00
Site 1 . 2013-01-02 . 0.00 .. … .. 10.52 . 39.02 . … .. 0.00 . 0.00 .
.. .. . . .. .. . .. .
⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ .
Table 3. Description
Table of the
3. Description ofused NWP
the used [Link].
NWP
Site ID
Site ID Date DateHour TMP (°C) TMPREH
Hour (◦ C) (%) REH POP
(%) (%)POP (%) SKY SKY VEC (°)
VEC (◦ )WSDWSD
(m/s)(m/s)
Site 1 2013-01-01 00 7.3 52 15 2 279 4.9
Site 1 2013-01-01 00 7.3 52 15 2 279 4.9
Site 1Site 12013-01-01 01
2013-01-01 01 5.8 5.8 50 50 12 12 2 2 281 281 5.8 5.8
⋮ . ⋮ . ⋮ .. ⋮ .. ⋮ .. ⋮ .. ⋮ .. ⋮ .. ⋮ .
.. .. . . . . . . ..
Sustainability 2024, 16, 5240 8 of 15
The RMSE provides a measure that maintains the units of the original data, making it
interpretable in the context of the original values.
Model Loss Site 1 Site 2 Site 3 Site 4 Site 5 Site 6 Site 7 Avg.
MAE 3.16 3.33 3.35 3.34 6.08 1.72 3.65 3.52
Site-specific MSE 50.34 51.19 50.77 51.97 173.55 14.06 59.58 64.49
RMSE 7.10 7.15 7.13 7.21 13.17 3.75 7.72 7.60
The MAE across the seven sites was 3.43, with a standard deviation of 1.11. Given that
the installation capacity of each site was normalized to 100 kWp, the proposed method
achieved a forecast error of 3.5% or less, according to the installation capacity. This level of
accuracy is particularly noteworthy in the context of the Republic of Korea’s regulatory
Sustainability 2024, 16, 5240 9 of 15
framework for renewable energy grid integration, which stipulates a participation thresh-
old based on forecasting accuracy that requires an MAE of no more than 8% for SPG [20].
Therefore, the proposed forecasting method in a site-specific scenario demonstrated excel-
lent performance for SPG utilization, significantly surpassing the regulatory requirements
and showcasing its potential to contribute effectively to the integration of renewable energy
sources into the power grid.
In Table 4, site 5 exhibits outlier performance, with an MAE of 5.5, notably higher
than the other sites. This deviation can be attributed to the fact that site 5 is located
in an island region, as shown in Figure 3, where the accuracy of weather forecasting is
generally low because of the unique meteorological conditions of the area. Despite this
challenge, the performance at site 5 still met the regulatory requirement of remaining
within an 8% MAE threshold for participation in the Republic of Korea’s renewable energy
generation forecasting system. This underscores the robustness of the proposed forecasting
method, demonstrating its capability to deliver satisfactory forecast performance, even in
geographically challenging locations where weather prediction is inherently less precise.
The MSE across the seven sites averaged 64.49, with a standard deviation reflecting the
variance in prediction errors. The MSE metric emphasizes larger errors more than the MAE
due to the squaring of the error terms. This means that higher MSE values indicate that some
predictions had significantly larger errors. Site 5 again shows a much higher MSE (173.55)
compared to other sites, reinforcing the impact of its unique meteorological conditions. The
relatively higher MSE at site 5 suggests that the model’s predictions occasionally deviate
significantly from actual values, which is consistent with the challenges of forecasting in
this specific region.
The RMSE, which provides a measure that maintains the units of the original data,
averaged 7.60 across all sites. The RMSE is particularly useful as it directly relates to the
magnitude of errors in the same units as the predicted and actual SPG values. Site 5 had
the highest RMSE (13.17), indicating that the errors at this site were not only frequent
but also substantial in size. Despite this, the average RMSE value of 7.60 across all sites
demonstrates that the proposed model maintains a reasonable error margin, even when
considering the challenging conditions at site 5.
Overall, the proposed forecasting method shows strong performance across most sites,
significantly exceeding regulatory requirements. The higher errors observed at site 5 high-
light areas for potential improvement, particularly in regions with unique meteorological
conditions. The combination of MAE, MSE, and RMSE metrics provides a comprehensive
evaluation of the model’s accuracy and robustness, confirming its effectiveness for SPG
forecasting across diverse geographical locations. The results in Table 4 will be used as a
baseline for subsequent experiments.
Table 5. Forecast performance of the common model. The common models are trained by the data in
sites 1–7.
Model Loss Site 1 Site 2 Site 3 Site 4 Site 5 Site 6 Site 7 Avg.
MAE 3.90 4.30 3.34 3.85 5.99 3.47 4.45 4.19
Common
MSE 62.88 75.96 48.89 63.59 170.25 52.70 79.62 79.13
w/o cls.
RMSE 7.93 8.72 6.99 7.97 13.05 7.26 8.92 8.69
3.93
MAE 4.37 3.56 3.47 3.67 5.78 2.45 4.24
(7%)
Common 55.54
MSE 50.96 41.19 46.83 56.17 113.21 14.89 65.55
w cls. (42%)
7.21
RMSE 7.14 6.42 6.84 7.49 10.64 3.86 8.1
(21%)
In particular, for site 6, which exhibited one of the best forecast performances in the
site-specific model analysis, the MAE of the basic common model without a classifier
approximately doubled. However, in the case of the proposed model with the classifier, the
increase in the MAE was within 50%. This demonstrates that including the classification
model enables the encoder to incorporate site-specific information to a certain extent. This
incorporation significantly aids the regressor in making more accurate predictions by
providing it with contextually relevant features tailored to the characteristics of each site.
The improvement in forecasting accuracy for site 6 underlines the value of integrating
site-specific nuances into the common model framework, showcasing the classifier’s role in
enhancing the adaptability and predictive capability of the model across diverse locations.
The MSE and RMSE values further substantiate these findings. The MSE across all sites
for the common model without a classifier averaged 79.13, while for the model with a clas-
sifier, it averaged 55.54, indicating a 42% improvement. This substantial reduction in MSE
highlights the classifier’s role in mitigating larger errors, which is crucial for improving the
overall robustness of the forecasting model. The RMSE, which averaged 8.69 for the model
without a classifier and 7.21 for the model with a classifier, shows a 21% improvement. The
consistent improvement in both MSE and RMSE metrics underscores the effectiveness of
the classifier in enhancing the predictive performance of the common model.
then train the common model exclusively using data from known sites. For instance,
we trained the common model using data from known sites, namely, 1, 2, 3, and 7, and
subsequently tested the model on unknown sites, namely, 4, 5, and 6.
Tables 6 and 7 present the forecast performances of the common model for unknown
sites, i.e., 4, 5, and 6. The common model was trained using data from known sites, i.e., 1, 2,
3, and 7 (Table 6) and sites 1, 3, and 7 (Table 7). The purpose of using different training sets
for the common models in Tables 6 and 7 was to evaluate the robustness and adaptability
of our model under varying conditions. By training the model on different combinations of
sites, we aimed to test its ability to generalize and predict SPG accurately across unknown
sites with diverse environmental conditions.
Table 6. Forecast performance of the common model for unknown sites. The common models are
trained by the data in known sites (1, 2, 3, and 7).
Table 7. Forecast performance of the common model for unknown sites. The common models are
trained by the data in known sites (1, 3, and 7).
As expected, a significant drop in the prediction accuracy for unknown sites was
observed compared to the baseline performance of the site-specific models. However, in
all the cases of the common model presented in Tables 6 and 7, the performance still met
the 8% MAE threshold required for participation in the Republic of Korea’s renewable
energy generation forecast system. Notably, implementing the proposed method resulted
in approximately 3–6% performance improvement for the basic common model. This
enhancement can be attributed to the classifier’s utilization of stored information from
the trained sites to assist in forecasting unknown sites. Even without direct historical
data for these unknown locations, the classifier leverages similarities with known sites to
make more accurate predictions, demonstrating the efficacy of incorporating site-specific
characteristics through classification to improve the forecasting accuracy across new and
diverse locations.
In addition to MAE, MSE and RMSE metrics provided further insights into the model’s
performance. The MSE values in Table 6 for the common model without a classifier
averaged 160.33, whereas the model with a classifier achieved an average MSE of 147.79,
indicating an 8% improvement. Similarly, in Table 7, the MSE values were 165.98 without
a classifier and 161.87 with a classifier, showing a reduction in error by approximately
Sustainability 2024, 16, 5240 12 of 15
3%. The reduction in MSE demonstrates the classifier’s effectiveness in minimizing larger
errors, which is crucial for maintaining robust forecasting performance across diverse sites.
The RMSE values also reflect the classifier’s impact on model performance. In Table 6,
the RMSE for the common model without a classifier averaged 12.51, while the model with
a classifier had an RMSE of 11.99, representing a 4% improvement. In Table 7, the RMSE
values were 12.76 without a classifier and 12.26 with a classifier, indicating a 1% reduction.
The impact of the classifier is also evidenced by the comparative forecast performance
depicted in Tables 6 and 7, where we observed a decrease in performance in Table 7 relative
to that in Table 6. Specifically, Tables 6 and 7 differ in the number of sites used to train
the common model, with four sites considered in Table 6 and only three sites considered
in Table 7. This reduction in the number of training cases directly affected the model’s
domain generalization capability. The fewer sites used in training, the less diverse the
data the model must learn from, which can limit its ability to generalize across new or
unknown domains accurately. This outcome highlights the critical role that the breadth of
the training data plays in enhancing the robustness of the model and its ability to adapt
to varied geographical and environmental conditions, underscoring the importance of
incorporating as much site-specific data as possible into the training phase.
Furthermore, we explored the potential of a transfer learning (TL) scenario to enhance
the adaptability of our forecasting model to specific sites. Transfer learning is particularly
valuable when limited weather information is available for unknown sites [21]. By applying
TL, we fine-tuned the network parameters, making the model more tailored and responsive
to the conditions of a specific site. In detail, the Feature Encoder was frozen, and the Regressor
was only retrained with the same hyperparameters as in the original experiment to preserve
the parameter features trained with large-scale data. This approach ensures that the general
features learned from the comprehensive dataset are retained while adapting the model to
the unique characteristics of each site. To evaluate the effectiveness of the TL scenario, we
posited a situation in which four months of weather data (equating to approximately 4%
of the total training data) were accessible for each site’s training. This setup allowed us to
investigate how even a small subset of site-specific data can significantly affect a model’s
performance by adjusting its parameters via TL. The incorporation of TL is designed
to bridge the knowledge gap between known and unknown sites, leveraging available
site-specific information to improve forecasting accuracy and model generalization across
various environments.
Tables 8 and 9 illustrate the outcomes of retraining the system using TL. Consistent
with expectations, applying TL generally enhanced the prediction accuracy across all
sites. Notably, site 6, which demonstrated strong performance in the site-specific model
but experienced a decline in accuracy within the common model framework, showed a
dramatic improvement because of site-specific fine-tuning. This significant enhancement
underscores the necessity of a synergistic approach that combines the broad applicability of
the common model with the tailored precision of site-specific models, depending on each
site’s unique characteristics.
Table 8. Forecast performance of the common model with TL for unknown sites. The common
models are trained by the data in known sites (1, 2, 3, and 7).
Table 9. Performance comparison of the common model to TL for unknown sites. The common
models are trained by the data in known sites (1, 3, and 7).
Moreover, across all outcomes, the proposed method yielded an additional 2–4%
MAE performance improvement over the basic common model. This finding highlights
the classifier module’s efficacy in refining the model’s capability to adapt and generalize
across various sites, further reinforcing the argument for integrating such a module into the
forecasting system. The role of the classifier in leveraging site-specific information, even
when only a small amount of data is available, is crucial for enhancing the overall accuracy
and adaptability of the model in a TL scenario.
However, when examining the MSE and RMSE metrics, we observed that the im-
provements are less pronounced, especially in Table 9. The MSE values in Table 8 show a
slight improvement of about 2% with the inclusion of the classifier, while Table 9 shows
a negligible improvement of 0.1%. Similarly, the RMSE values indicate minimal changes,
with only a 0.2% improvement observed in Table 9.
This discrepancy between MAE and MSE/RMSE improvements can be attributed
to the nature of these metrics. The MAE provides a linear measure of the average error
magnitude, while the MSE and RMSE emphasize larger errors due to the squaring of
differences. The less significant improvements in the MSE and RMSE suggest that while
the overall average prediction error (as indicated by the MAE) decreased, the variance in
error magnitude remained relatively unchanged. In other words, although the model with
the classifier reduced the average error, it did not significantly mitigate the impact of larger
prediction errors.
This outcome highlights the complexity of improving the forecasting accuracy across
all error metrics and underscores the need for further refinement of the model to specifically
address larger errors. Enhancing the model’s ability to consistently predict across all error
magnitudes will be essential for achieving more robust performance improvements in the
MSE and RMSE.
4. Conclusions
This study proposes an innovative DL-based approach for SPG forecasting that
demonstrates considerable potential across multiple sites. Our research successfully nav-
igated the complexities associated with SPG forecasting by leveraging a comprehensive
dataset from various locations throughout the Republic of Korea and employing DL tech-
niques to enhance forecasting accuracy by integrating common meteorological data and
site-specific features.
A key contribution of our study is developing a common model framework that incor-
porates a classification module, enabling the effective adaptation and prediction of both
known and unknown sites. This methodology significantly enhances the model’s adaptabil-
ity and generalization capabilities across diverse environmental conditions. The evaluation
results demonstrate that our model maintains high performance levels across different SPG
sites with minimal performance degradation compared to site-specific models.
By addressing these key areas and providing a robust evaluation, we have shown
that our developed solution is both effective and adaptable, making it a valuable tool for
Sustainability 2024, 16, 5240 14 of 15
improving SPG forecasting accuracy and supporting the integration of renewable energy
into the power grid.
Although the proposed system shows promising results for SPG forecasting, it still
has limitations. First, the system architecture was not fully optimized due to data collection
issues. We found that a larger system architecture is necessary to deal with the complex
behavior of the SPG system. Additionally, data augmentation schemes could be applied
to improve model robustness. Moreover, it is necessary to take into account more mean-
ingful information, such as the geographical characteristics of the site. Incorporating this
information could enrich the feature extraction stages and ultimately improve the overall
forecasting accuracy.
Future research should explore how the site set’s composition influences the common
model’s performance. This involves investigating the problem of identifying an optimal
set of information for configuring a common model to ensure that it can be effectively
generalized across multiple sites. In addition, the development of hybrid models that
combine the strengths of common and site-specific models is a promising avenue. Such
hybrid approaches can leverage the broad applicability of common models while incorpo-
rating the precision and adaptability of site-specific models, potentially leading to superior
forecasting accuracy and robustness under diverse environmental conditions.
Moreover, while our current model incorporates the solar elevation and azimuth angle
data to account for basic seasonal variations in solar irradiance and utilizes multi-year
weather data (2013 to 2020 for training and 2021 to 2022 for testing) to inherently consider
seasonal effects, future research could significantly benefit from a more explicit seasonal
approach. This would involve collecting and analyzing data across different seasons to
better understand and predict the impact of seasonal changes on SPG. Implementing such
seasonal approaches could enhance the accuracy and robustness of SPG forecasting models,
thereby improving their practical application in diverse climatic conditions.
Author Contributions: Conceptualization, S.Y.J., B.T.O. and E.O.; methodology, S.Y.J., B.T.O. and
E.O.; software, S.Y.J.; validation, S.Y.J., B.T.O. and E.O.; formal analysis, B.T.O. and E.O.; investigation,
S.Y.J., B.T.O. and E.O.; resources, S.Y.J., B.T.O. and E.O.; data curation, S.Y.J., B.T.O. and E.O.; writing—
original draft preparation, S.Y.J.; writing—review and editing, B.T.O. and E.O.; visualization, S.Y.J.,
B.T.O. and E.O.; supervision, B.T.O. and E.O.; project administration, E.O.; funding acquisition, E.O.
All authors have read and agreed to the published version of the manuscript.
Funding: This research was supported by the Korea Electric Power Corporation (Grant number:
R22XO02-23) and the Ministry of Science and ICT (MSIT), Republic of Korea, through the Information
Technology Research Center (ITRC) Support Program supervised by the Institute for Information &
Communications Technology Planning & Evaluation (IITP) under Grant RS-2023-00259004.
Institutional Review Board Statement: Not applicable.
Informed Consent Statement: Not applicable.
Data Availability Statement: Publicly available datasets were analyzed in this study. These data can
be found at [Link] (accessed on 8 April 2024).
Conflicts of Interest: The authors declare no conflicts of interest.
References
1. Camera, F.L. Renewable Capacity Statistics 2023; International Renewable Energy Agency (IRENA): Masdar City, Abu Dhabi, 2023;
ISBN 978-92-9260-525-4.
2. Mandys, F.; Chitnis, M.; Silva, S.R.P. Levelized cost estimates of solar photovoltaic electricity in the United Kingdom until 2035.
Patterns 2023, 4, 100735. [CrossRef] [PubMed]
3. Massidda, L.; Bettio, F.; Marrocu, M. Probabilistic day-ahead prediction of PV generation. A comparative analysis of forecasting
methodologies and of the factors influencing accuracy. Sol. Energy 2024, 271, 112422. [CrossRef]
4. Rajasundrapandiyanleebanon, T.; Kumaresan, K.; Murugan, S.; Subathra, M.; Sivakumar, M. Solar energy forecasting using
machine learning and deep learning techniques. Arch. Comput. Methods Eng. 2023, 30, 3059–3079. [CrossRef]
5. Benti, N.E.; Chaka, M.D.; Semie, A.G. Forecasting renewable energy generation with machine learning and deep learning: Current
advances and future prospects. Sustainability 2023, 15, 7087. [CrossRef]
Sustainability 2024, 16, 5240 15 of 15
6. Gao, J.; Heng, F.; Yuan, Y.; Liu, Y. A novel machine learning method for multiaxial fatigue life prediction: Improved adaptive
neuro-fuzzy inference system. Int. J. Fatigue 2024, 178, 108007. [CrossRef]
7. Dhaked, D.K.; Dadhich, S.; Birla, D. Power output forecasting of solar photovoltaic plant using LSTM. Green Energy Intell. Transp.
2023, 2, 100113. [CrossRef]
8. Wang, L.; Mao, M.; Xie, J.; Liao, Z.; Zhang, H.; Li, H. Accurate solar PV power prediction interval method based on frequency-
domain decomposition and LSTM model. Energy 2023, 262, 125592. [CrossRef]
9. Li, G.; Wei, X.; Yang, H. Decomposition integration and error correction method for photovoltaic power forecasting. Measurement
2023, 208, 112462. [CrossRef]
10. Marinho, F.P.; Rocha, P.A.; Neto, A.R.; Bezerra, F.D. Short-term solar irradiance forecasting using CNN-1D, LSTM, and CNN-LSTM
deep neural networks: A case study with the Folsom (USA) dataset. J. Sol. Energy Eng. 2023, 145, 041002. [CrossRef]
11. Anu Shalini, T.; Sri Revathi, B. Hybrid power generation forecasting using CNN based BILSTM method for renewable energy
systems. Autom. Časopis Autom. Mjer. Elektron. Računarstvo Komun. 2023, 64, 127–144. [CrossRef]
12. 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. [CrossRef]
13. Abou Houran, M.; Bukhari, S.M.S.; Zafar, M.H.; Mansoor, M.; Chen, W. COA-CNN-LSTM: Coati optimization algorithm-based
hybrid deep learning model for PV/wind power forecasting in smart grid applications. Appl. Energy 2023, 349, 121638. [CrossRef]
14. Alharkan, H.; Habib, S.; Islam, M. Solar power prediction using dual stream CNN-LSTM architecture. Sensors 2023, 23, 945.
[CrossRef] [PubMed]
15. Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need.
Adv. Neural Inf. Process. Syst. 2017, 30, 1–11.
16. Al-Ali, E.M.; Hajji, Y.; Said, Y.; Hleili, M.; Alanzi, A.M.; Laatar, A.H.; Atri, M. Solar energy production forecasting based on a
hybrid CNN-LSTM-transformer model. Mathematics 2023, 11, 676. [CrossRef]
17. Zhu, J.; Zhao, Z.; Zheng, X.; An, Z.; Guo, Q.; Li, Z.; Sun, J.; Guo, Y. Time-Series Power Forecasting for Wind and Solar Energy
Based on the SL-Transformer. Energies 2023, 16, 7610. [CrossRef]
18. Public Data Portal. Ministry of the Interior and Safety, South Korea. 2024. Available online: [Link]
(accessed on 8 April 2024).
19. Open MET Data Portal. Korea Meteorological Administration, South Korea. 2024. Available online: [Link]
resources/html/en/[Link] (accessed on 8 April 2024).
20. Yu, H.-U.; Kim, S.; Wi, Y.-M.; Lee, J. An Offer Method for Photovoltaic Power Plants with ESSs Considering Incentives for
Forecasting Accuracy of Renewable Generation. Trans. Korean Inst. Electr. Eng. 2022, 71, 1076–1083. [CrossRef]
21. Miraftabzadeh, S.M.; Colombo, C.G.; Longo, M.; Foiadelli, F. A day-ahead photovoltaic power prediction via transfer learning
and deep neural networks. Forecasting 2023, 5, 213–228. [CrossRef]
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.