Regression-Based Prediction of Power Generation at Samanalawewa Hydropower Plant in Sri Lanka Using Machine Learning

-is paper presents the development of models for the prediction of power generation at the Samanalawewa hydropower plant, which is one of the major power stations in Sri Lanka. Four regression-based machine learning and statistical techniques were applied to develop the prediction models. Rainfall data at six locations in the catchment area of the Samanalawewa reservoir from 1993 to 2019 were used as themain input variables.-eminimum andmaximum temperature and evaporation at the reservoir site were also incorporated. -e collinearities between the variables were investigated in terms of Pearson’s and Spearman’s correlation coefficients. It was found that rainfall at one location is less impactful on power generation, while that at other locations are highly correlated with each other. Prediction models based on monthly and quarterly data were developed, and their performance was evaluated in terms of the correlation coefficient (R), mean absolute percentage error (MAPE), ratio of the root mean square error (RMSE) to the standard deviation of measured data (RSR), BIAS, and the Nash number. Of the Gaussian process regression (GPR), support vector regression (SVR), multiple linear regression (MLR), and power regression (PR), the machine learning techniques (GPR and SVR) produced the comparably accurate prediction models. Being the most accurate prediction model, the GPR produced the best correlation coefficient closer to 1 with a very less error. -is model could be used in predicting the hydropower generation at the Samanalawewa power station using the rainfall forecast.


Introduction
Hydropower is one of the most widely used green energy sources in the world today. It is not only renewable but also highly reliable in generating and supplying power to national grids. Usually, major hydropower plants are used to generate electricity for the peak requirement of the countries. Most importantly, hydropower can be generated at a relatively low cost compared to other sources like thermal power. erefore, there is an extensive demand for hydropower development in today's world. For example, Norway produces more than 95% of its energy requirement by hydropower while many other countries such as China, United States, Brazil, and Canada also produce more and more hydropower to meet their energy demands. is is mainly to achieve sustainable energy generation goals defined by the countries themselves.
Hydropower in Sri Lanka also plays an important role as the country now depends largely on thermal power generated by using imported coal and fuel oil. Sri Lanka was successful in generating green energy in the 1990s, but not much progress could be made due to the sudden increase in demand. Recent statistics indicate that Sri Lanka has produced an average of one-fifth of its energy demand from hydropower sources. Even though Sri Lanka has planned to enhance the generation of renewable power, there is little room for the construction of new major hydropower plants beyond the existing network of power stations. Out of the four types of hydropower development, viz., run-of-river, storage, pumped storage, and offshore hydropower plants, the first two types are very common in Sri Lanka, but the other types are still under discussion. Among the hydropower plants of storage type, the Samanalawewa hydropower development scheme showcases some important features due to its location (located in Sabaragamuwa province) and the relative high capacity for power generation. is hydropower plant is in the water rich Walawe basin, and the reservoir draws much attention not only from the perspective of the hydropower development but also due to its capacity as a primary source for irrigational purposes. Moreover, the hydropower scheme at Samanalawewa has drawn much attention due to a seepage leak from the reservoir. In this context, identifying the impact of climate change on the water resources is highly important for the Samanalawewa hydropower plant.
ough a couple of studies addressed this problem recently, a comprehensive research on the prediction of power generation based on all related weather indices has not yet been conducted [1].
In a nonparametric statistical analysis of the monthly data over 26 years of the catchment rainfall associated with the Samanalawewa power plant in Sri Lanka, Dabare et al. [1] showed a positive correlation between the rainfall and the hydropower generation. While proposing nonlinear analysis for more specific conclusions, this study disavowed concerns on the negative impact of climate change on the rainfall. However, Suleiman and Ifabiyi [2] have revealed that the reservoir variables of inflow, storage, and the turbine release are strongly and positively correlated with the rainfall by analyzing the rainfall data around the Shiroro hydropower dam in Nigeria since 1990. Furthermore, they reported that the optimized turbine releases ensured the year-round power generation by the reservoir storage. However, a study on the impact of rainfall and temperature on electricity generation in Ghana pointed out that instability in climate dependent hydrology could cause uncertainties in hydropower generation [3].
Artificial neural network (ANN) was widely used to develop hydropower prediction models. Khaniya et al. [4] applied seven training algorithms in the ANN technique to predict the future power generation from 2020 to 2050 at the Samanalawewa hydropower plant in Sri Lanka using rainfall data for training and validation. Of these seven algorithms, the Quasi Newton algorithm outperformed the others in forecasting the hydropower to be generated within the next three decades for two climatic scenarios.
is research further pointed out that other reservoir variables such as air temperature and humidity could also be used at the input layer of the model along with the other variables, such as reservoir inflow storage, turbine release, etc., which affect energy generation. A futuristic study was carried out to assess the impact of climate change on hydropower generation in Iran for two 3-decade periods (2020-2049 and 2070-2099) based on two climatic scenarios predicted by a regional climate model, in which the rainfall and hydropower generation were simulated by an ANN and a reservoir model [5]. is study found a positive impact of climate change on hydropower generation whose greater increase occurred during the first 3-decade period than the second. However, Beheshti et al. [5] expressed reservations on the uncertainties in predicting reservoir variables and hydropower under climate scenarios and suggested further studies, taking the variability in water allocation for irrigation into account. In addition, the complex nonlinear relationship between the rainfall and minihydropower generation in gauged and ungauged catchments of Sri Lanka has been studied recently using ANN, which showed a good correlation between them at the gauged catchments compared to ungauged catchments [6]. Based on the correlation values between the observed and predicted energies, Abdulkadir et al. [7] justified the use of neural network approaches in modelling the hydropower generation as a function of reservoir variables at two reservoirs along the River Niger in Nigeria. Developing predictive models of the hydropower generation in the Amazon, Lopes et al. [8] presented a comparative analysis between polynomial and ANNs using rainfall as the only input. Using three algorithms, group method of data handling (GMDH), ANN with Levenberg-Marquardt (ANN-LM), and ANN with Bayesian regulation (ANN-BR), it was shown that GMDH is the most appropriate algorithm to optimize the model result because of its adroitness in selecting the variables at the model entry layer and that ANN-LM algorithm failed to live up to expectations due to largely dispersed data and less accuracy.
Boadi and Owusu [9] used regression analysis to quantify the fluctuations in hydropower generation at the Akosombo hydroelectric power station in Ghana and emphasized the urgency in exploring alternative power sources to overcome energy security issues for sustainable development. Having used data over two consecutive 2-decade periods (1970-1990 and 1991-2010), their study reported that 21% of interannual fluctuation in power generation is accounted for by the rainfall variability, and that 72.4% of the same is explained by the El Niño-southern oscillation (ENSO) phenomenon and the lake water level. In another study, the streamflow and the potential hydropower generation were modelled using a databased methodology in Mid Wales, where the projected impact of climate change on a hypothetical small power plant was assessed [10]. Its results showed an increase (decrease) in the streamflow and power output during winter (summer) months. Furthermore, Khaniya et al. [11] applied the Mann-Kendall test and Sen's slope estimator tests in a trend analysis to assess the performance of a minihydropower station in Sri Lanka based on 30-years of rainfall data and 6 years of electricity generation associated with the power plant.
is study proved a positive rainfall trend at several rain gauging stations except in November and January while assuring the stability of the catchment area in the wake of climate variability. Nevertheless, research on regression-based prediction models to predict the hydropower generation in Sri Lanka is highly limited. erefore, this research focuses on developing regression-based prediction models to predict the hydropower development capacity of the Samanalawewa hydropower development scheme.
In the next section on study area and data, the Samanalawewa catchment area, meteorological data used, and their relationship to power generation are elaborated. Section 3 describes the regression techniques, methodology, and the evaluation criteria of the model performance. Section 4 presents the results and discussion where the models developed on monthly data, models based on quarterly rainfall data, and the salient features of the meteorological factors used are explained along with a comparison on findings from similar research work in some other countries. e paper is wrapped up with the major conclusions in Section 5.

Study Area and Data
2.1. Samanalawewa Catchment Area. Samanalawewa hydropower plant and its reservoir are in the Balangoda area in the Ratnapura district of Sri Lanka (coordinates of the power plant are 06°40′48″N, 80°47′54″E). e construction of the dam commenced in 1986 and commissioned in 1992. e project was carried out with financial support from Japan and the United Kingdom. It is a major hydropower scheme in the country and based on the Walawe River. e dam has a height of 110 m from its foundation and is 530 m in length. It is a rock-filled dam and holds 218 million m 3 of water out of 278 million m 3 of total capacity. e balance 60 million m 3 is kept for the dead storage [12]. e catchment area of the Samanalawewa reservoir is presented in Figure 1. e catchment area is around 372 km 2 and lies in the wet zone of the country, which receives a significant annual rainfall (annual average of 2867 mm) [13]. erefore, the reservoir has a good overall water capacity throughout the year and generates 124 MW of electricity using two turbines.
A seepage leak was identified in the reservoir while it was under construction. ough it was treated at that time, the leakage continued even after the construction. As this is not through the dam, it has not caused any instability to the dam. e seepage is measured to be 2 m 3 /s and, thereafter, that lost water is used to run a minihydropower station. For this reason, the Samanalawewa reservoir and the dam have captured the interest of power engineers. Due to all these reasons, it is highly important to analyze the hydropower scheme in light of changing climate and to forecast the power generation using key reservoir variables.  Table 1 shows the summary of major statistics (minimum, maximum, average, and standard deviation) of the monthly rainfall data at the six locations. Coherent with the above mean annual figures, the highest and the lowest monthly average rainfalls (358 mm and 183 mm) are also reported from Alupola and Balangoda, respectively.

Meteorological Data and eir Observational
e minimum values indicate that three locations (Nagarak Estate, Belihuloya, and Nanperial) have received no rainfall (0 mm) during the months mentioned in Table 1, while Detanagalla has experienced the highest monthly rainfall (1371 mm) in November 2006. Figure 2 shows the monthly rainfall averaged over the period, 1993-2019, at the six locations in the catchment area. It can be seen that heavy rainfall has prevailed at each location during the months of April and November, which fall within the South-west and North-east monsoon periods of the country, respectively, and the slightly higher values in November imply the greater effect of the North-east monsoon than the South-west monsoon on the rainfall in the catchment area. It is also obvious that except at one location (Alupola), the least rainfall (upto 100 mm) has occurred during the 4-month period from June to September, which is less than one-third of the heavy rainfall during the monsoon periods.
Except during the 3 months from December to February, the solitary location of Alupola has continued to receive much higher rainfall producing the highest mean annual and the highest monthly average noticed in Table 1. Figure 3 shows the monthly mean evaporation at the Samanalawewa reservoir site during the period from 1993 to 2019. According to this figure, the highest monthly mean evaporation (>4.5 mm) occurs during the 4-month period from June to September, which coincides with the same period with the least monthly rainfall averaged over the period of data at five locations described in Figure 2. e period from November to January indicates the lowest mean evaporation (<3.45 mm), while the monthly mean evaporation from February to October is greater than 4 mm. It can also be traced that subdued mean evaporation in April and November correspond to the monthly rainfall averages peaked in the same months, as shown in Figure 3. Figure 4 depicts the monthly mean maximum and minimum temperatures with their maxima and minima at the reservoir site for the period of 1993-2019. e lowest maximum temperature prevails during the cooler months of November to January, which picks up in February and maximizes in March and April. After the cooler months, the maximum temperature hovers between 33.8°C and 34.0°C and remains approximately the same (34-34.2°C) through the warmer months of July to September. Similarly, the minimum temperature reaches its lowest figures during the same cooler months but attains the highest values within 23.8°C to 24.4°C during June to August period. It picks up steadily from January to June and decreases gradually towards the cooler months.

Power Generation Data.
e annual power generation and its variation (from year 1993 -2019) can be clearly seen from Figure 5. It can be traced that power generation has dropped sharply to 152 GWh in 1996, and since then, similar declines have occurred after every 5-6 years in 2002, 2007, 2012, and 2017 compared to the years around them. Similarly, the power generation has shown local maxima after every 5 years since 1993, and these maxima have occurred immediately after the years with local minima except in 1998.     Mathematical Problems in Engineering e minimum power generation (1.1 GWh) during the whole study period was found in November 2016. e associated rainfall during the preceding months of the same year was compiled with its November values at the six locations in Table 2 along with the power generated. is table shows that, except at Alupola, the rainfall has drastically decreased at other locations during the 4 month period from June to September, before picking up in October and reaching much higher values in November. Although power was generated uninterrupted, the effect of low rainfall has reflected through the nominal power outputs during September to November. It can also be understood that the rainfall experienced in November is comparable with the corresponding average values at each location presented in Figure 1, and that it has not created any positive impact on the power generated during the same month at the Samanalawewa power plant.
Furthermore, the monthly power generation averaged over the study period (1993-2019) was considered along with its maximum and minimum, shown in Figure 6. A detailed examination into data revealed that the maximum monthly power generation of 80.7 GWh was reported in January 1998, subsequent to a much higher rainfall since September 1997, e.g., a monthly rainfall over 340 mm at Alupola and Detanagalla. Moreover, Figure 6 shows the highest power generation during the two periods: April-May and November-January, which fall soon after the two months with the heaviest rainfall, April and November, indicated by the peaks in Figure 2. erefore, it is evident that the rainfall of a particular month does not affect the power generation of the same month at Samanalawewa, which can justify the use of quarterly rainfall data for modelling instead of monthly data in this research.

Regression Techniques and Methodology
e hydropower generation at Samanalawewa from the year 1993 to 2019 was modelled in two time scales of monthly and quarterly data. Regression-based models were first developed by applying Gaussian process regression (GPR), support vector regression (SVR), multiple linear regression (MLR), and power regression (PR) to express the hydropower as a function of the catchment rainfall in monthly and quarterly scales. en, another set of models was developed by applying the same techniques on multiple weather indices, viz., rainfall, mean reservoir evaporation, and mean minimum and maximum reservoir temperatures. ree options were considered based on the formation of quarterly data, such that Option 1 comprises of the grouping of months: Jan-Mar, Apr-Jun, Jul-Sep, and Oct-Dec, while Option 2 comprises of Feb-Apr, May-Jul, Aug-Oct, and Nov-Jan grouping. Option 3 included the clustering of months: Mar-May, Jun-Aug, Sep-Nov, and Dec-Feb.
e models developed were then tested using the performance indicators given in equations (8) 3.1. Support Vector Regression. Support vector regressions (SVRs) are supervised machine learning models based on a regression algorithm that can deal with nonlinear data for prediction. It is highlighted due to its robustness and high prediction accuracy in the presence of dimensionality of the input space [14]. e training and testing data used in SVR are assumed to be independent and identically distributed having an unknown probability function. SVR develops a linear hyperplane that transforms multidimensional input vectors (weather indices) into output values (power generation), which are then used to predict future output values. For linear function f, a set of n number of data points P � (x i , y i ), where x i is the input vector of a data point i and y i is its actual value, the hyperplane f(x) is given as follows [15]: where w is the slope and b is the intercept. For nonlinear relations, a map φ that translates x i into a higher-dimensional feature space needs is defined. en, w becomes a function of φ(x i ), and the Kernel function is defined as a product as follows:

Mathematical Problems in Engineering
In this research, 5-fold crossvalidation was applied using 4 folds for training and the other fold for evaluation. It was repeated 5 times, using one different fold for evaluation each time. SVR-based prediction models were developed by applying Kernel functions of linear, quadratic, cubic, fine Gaussian, medium Gaussian, and coarse Gaussian, and the model that gives the lowest RMSE was selected for further analysis.

Gaussian Process Regression.
Gaussian distribution is defined by its mean and the standard deviation, characterized by a symmetrical curve about the mean that coincides with the mode and the median. In statistical analysis, a Gaussian process is a stochastic process with every finite collection of random variables having a multivariate normal distribution [16]. Gaussian process regression (GPR) is nonparametric and useful in dealing with small datasets. Another advantage is its capacity to address uncertainty measurements of the predictions. A Gaussian process is denoted as follows [17]: where m(x) and k(x, x � ) are the mean function and the covariance function, respectively. e mean function m(x) is the expectation of the function f(x) at the point x, and the covariance function is a measure of the confidence level for m(x). In this research, GPR-based models were developed by applying Kernel functions of rational quadratic, exponential, squared exponential, and Matern 5/2, and the model with the lowest RMSE was selected for further analysis.

Multiple Linear Regression.
Multiple linear regression (MLR) assumes a linear relationship among the independent and dependent variables. erefore, the best fit is described by a straight line of the relationship wherein the data are assumed to be normally distributed [18]. e general mathematical formula of the MLR model for n number of independent variables is written as follows [19]: where y is the dependent variable (power generation), β 0 is the intercept on the y axis, β i is the slope coefficient of the i th input variable x i , and ε is the model error.

Power Regression.
Power regression (PR) develops a power relationship among the variables. e nonlinearity of data was considered in PR, which modelled the power generation proportional to the product of powers of the independent variables as follows [20][21][22]: where n is the number of observations and a, b, c, . . . , p are constants.

Correlation Coefficient.
Pearson's and Spearman's correlation coefficients were used to assess the collinearity among each pair of input and output variables. Monthly and quarterly data were used to determine the correlation coefficient.
Pearson's correlation coefficient is the most commonly used test statistic for measuring the linear dependency of two normally distributed random variables as it takes both variance and the covariance into account [23]. It indicates both the degree and the direction of the association, if any. Pearson's correlation coefficient (R P ) of two random variables X and Y is mathematically presented as follows [24]:   Mathematical Problems in Engineering Spearman's correlation coefficient may be viewed as the nonparametric counterpart of Pearson's correlation coefficient for nonlinear data, which also measures both the strength and direction of the two variables [25]. Its value also varies between −1 and +1 having a similar interpretation as for Pearson's correlation coefficient. e mathematical form of Spearman's correlation coefficient (r s ) is defined as follows when it is applied to n pairs of rank variables, and the ranks are distinct integers, where d i is the difference between the ranks of the two observations.

Evaluation Criteria of Developed
Models. e following statistical measures: the correlation coefficient (R), mean absolute percentage error (MAPE), ratio of the root mean square error (RMSE) to the standard deviation of the measured data (RSR), BIAS, and the Nash number were used to evaluate the dexterity of each model developed in the present study based on the mathematical formula indicated in the following equations: where x i is the actual power generation, y i is the predicted power generation, x and y are their means, N is the number of data values, and σ x is the standard deviation of actual power generation. e values of MAPE and RSR closer to zero and R the Nash number closer to 1 imply more accurate models for the prediction of power generation. A zero BIAS means accurate models, whereas its negative and positive values would indicate underestimation and overestimation, respectively.

Results and Discussion
e following subsections present the results obtained from the regression analysis for hydropower generation at the Samanalawewa hydropower plant based on the catchment rainfall, reservoir evaporation, and temperature. e analysis was carried out using the regression models described in the previous section.

Models Developed Based on Monthly Data.
Correlations between the hydropower generation and the monthly rainfall of six rain gauges in the catchment area are presented in Table 3. Results clearly show that there is very little correlation between the power generation and rainfall at monthly scale.
is observation is further consolidated by the performance (R) of the regression models in the monthly scale, shown in Table 4. Out of the SVR models developed by applying six types of kernels, the fine Gaussian SVR demonstrated the best performance. Exponential GPR is the most accurate among the GPR models developed by applying four kernels. e results revealed that none of the regression-based prediction models is accurate when the monthly rainfall at the catchment area is used as the input variables.
Based on these results, it can be clearly concluded that the monthly scale is not appropriate for regression analysis in compliance with the observations drawn from Table 2. erefore, quarterly models were developed by using quarterly rainfall data as input variables.

Quarterly Models Developed Based on Rainfall Data.
e following results presented in Table 5 and Figure 7 are based on the models developed with respect to the quarterly rainfall data. Figure 7 shows the relationship between the observed power generation and the predicted power generation produced by the regression-based prediction models.
Based on the deviations of the predictions, it can be clearly seen that the machine learning models (Figures 7(a) and 7(b)) outperform the statistical models (Figures 7(c)  and 7(d)). Fine Gaussian SVR outperformed the other five types of SVR-based models, while the rational quadratic GPR was the most accurate among the GPR-based models. Power generation values predicted by the SVR and GPR models are closer to the reality, which correspond to the coefficient of correlation reaching 1 with least error in Mathematical Problems in Engineering terms of MAPE, BIAS, Nash number, and the RSR ( Table 5). e excellence of GPR compared to SVR is evident from the highest R and Nash number, least MAPE and RSR, and a smaller BIAS.
Moreover, the coefficients of correlation are much higher in Table 5 compared to those in Table 4, which reinforces the appropriateness of using quarterly data instead of the monthly data. Among the four techniques, the models based on SVR and GPR show much better performance compared to the other two models. e MLR model has the lowest performance as indicated by the performance evaluators of R and the MAPE in particular. Furthermore, it has the highest BIAS and RSR as well. erefore, compared to other regression models, the GPR model can be recommended as an outstanding technique. Table 6 summarizes the correlation coefficients generated by all the models for the three seasonal options tested on quarterly basis with respect to the four climatic variables. In all three seasonal options, fine Gaussian SVR was the best among SVR-based models. Rational quadratic outperforms other GPR kernels in the first and second seasonal options, while Matern 5/2 was the best GPR in the third seasonal option. As was seen in Table 5, the GPR model has outperformed the other regression models. Furthermore, equally better performance can be seen between the GPR and SVR models. Similarly close results are observed between these models irrespective of the three seasonal clusters used in the quarterly analysis. In addition, the correlation coefficients suggest that the MLR and PR are not the best regression techniques to predict the hydropower generation in the Samanalawewa hydropower plant in Sri Lanka. Table 7 presents Pearson's and Spearman's correlation coefficients between the power generation and each catchment rainfall of the six rain gauges and among the paired rain gauges. According to the interpretation of the size of these coefficients introduced in Section 3.5, it can be noticed that very strong pairwise correlations exist between the rainfall received in the catchment areas of Balangoda (RF 3 ), Nagarak Estate (RF 4 ), Belihuloya (RF 5 ), and Nanperial (RF 6 ), respectively. Moderate correlations appear between the power generation and each of the five rain gauges except at Alupola (RF 1 ). e only exception with the weakest correlation between rainfall and the power generation is reported from Alupola. Figure 8 illustrates the relationship between the predicted and the observed power generation. e strong linear relationships between the observed and predicted values in Figures 8(a) and 8(b) indicate that machine learning (SVR and GPR) models forecast the hydropower generation with remarkable accuracy (more than 87%). However, the predicted power generation for the MLR and PR regression models is scattered around the line of best fit as shown in Figures 8(c) and 8(d).

Quarterly Models Developed Based on Four Meteorological Factors.
e results shown in Table 6 and Figure 8 are further verified by the model performance indicators in Table 8, which arise from the four regression models applied for Option 1. e GPR regression model presents the best results with the lowest errors and the highest correlation coefficient.
erefore, it can be concluded that the GPR regression model is a better regression model compared to others to predict the hydropower generation in the Samanalawewa hydropower plant.
Similar observations and findings could be seen in the other two options too (which are not shown here). erefore, the superiority of the GPR model could be generalized for the power generation at Samanalawewa irrespective of the seasonal options. Table 9 presents a summary of some related work in the literature on the prediction of hydropower generation based on climatic data and using different modelling techniques in several countries. Most of the research studies are based on ANNs. A major drawback of ANNs was discussed in the introduction section of this paper. Even though they showcased better results, the black box environment in analysis leads to less information of the relationship. Some other methods like stepwise regression have also been used to predict the hydropower development. However, in most of these studies, only one statistical measure, i.e., correlation coefficient, was used to evaluate the prediction accuracy. erefore, it could be analytically proved with evidence that out of the four prediction models developed in this study, the GPR has shown excellent performance and even outperformed all the models cited here. In particular, in the previous study conducted on the Samanalawewa hydropower generation, only the ANN was applied, and the performance was evaluated only in terms of the correlation coefficient and the MSE [6]. All the ANN-based prediction models were found        less accurate than the GPR-based model presented in this paper. In this sense, the scientific contribution of the present paper is well justified.

Conclusions
e paper presented highly accurate models for the prediction of hydropower generation by using machine learning techniques. Particularly, the GPR-based prediction models outperformed the other techniques used in this research, as well as in similar studies conducted on hydropower plants located in other countries. erefore, when the future rainfall of the catchment area is known by forecast, the power generation at the Samanalawewa hydropower station can be predicted accurately. It could also be concluded that the monthly rainfall is not reflected through the power generated during the same month at Samanalawewa. e lack of correlation between the hydropower generation and the monthly rainfall of rain gauges in the catchment area clearly indicated that monthly data are not the best for forecasting the power generation, rather it is the quarterly rainfall that produced the most accurate predictions with high correlation. e prediction of power generation at this major power plant in Sri Lanka will certainly provide useful information, not only for the energy authorities of the country but also for the policy makers, investors, and the government in ensuring uninterrupted power supply through an environmentally friendly renewable source at affordable cost to the consumers. e climate models can effectively be used in forecasting the climate patterns for future years under different representative concentration pathways (RCP2.6, RCP4.5, RCP6, and RCP8.5).
ese predicted climate data can be used in the prediction models developed in this study to forecast the hydropower generation at the Samanalawewa hydropower plant in future years (in 2030 to 2099). us, the findings of this research would be highly useful for the future planning processes.

Data Availability
e climatic data and the analysis data are available from the corresponding author upon request.

Disclosure
e research was carried out at the Wayamba University of Sri Lanka and the Sri Lanka Institute of Information Technology environments.

Conflicts of Interest
e authors declare that there are no conflicts of interest.