1.1. Overview
Renewable energy, such as wind and solar, depends heavily on weather extremes [
1]. However, extreme weather severely disrupts renewable energy generation. The growing reliance on wind and solar renewable energy makes weather extremes critical. Extreme weather events disrupt energy supply; hence, accurate modelling of the complex, multivariate dependence structures between and/or across weather variables to enhance renewable energy production is essential [
2]. Using fossil fuels to produce energy has been one of the primary causes of climate change [
1]. The transition from fossil fuels to renewable energy is necessary for a low-carbon economy, future climate change mitigation, and achieving net-zero emissions through efficiency gains and energy conservation [
1,
3,
4]. Solar and wind energy are abundant and environmentally friendly, as electricity produced by these sources does not emit greenhouse gases into the atmosphere [
5,
6]. South Africa is among the African countries with abundant renewable energy resources, with the potential to enhance its energy production [
7,
8,
9,
10]. However, climate change and the energy crisis in South Africa have sparked concern.
Over 85% of South Africa’s total electricity production comes from coal-fired power stations, with nuclear power plants and renewable sources such as wind, solar, and hydroelectric still accounting for a smaller share of the overall power mix [
7,
11]. This balance shows the nation’s dependency on coal for power generation [
12]. There is a need to increase renewable energy in the energy mix to identify prime locations with greater potential for wind and solar energy production. Integrating renewable energy into the current energy mix can aid in diversifying the national electricity mix, contribute to decarbonisation, and enhance the power supply, among other advantages [
12,
13].
Natural hazards are becoming more frequent and intense, with spatial implications, necessitating the areal and spatial modelling of the extremes, which is important in environmental statistics [
14]. The use of the vine copula to model spatiotemporal dependence among renewable energy outputs across stations, weather variables, or over time has attracted worldwide attention. Various authors have found that vine copula models can capture complex dependencies that traditional bivariate copula models cannot [
15,
16]. Additionally, studies have employed clustering analyses such as K-means and K-medoids to cluster either stations or seasons, with the number of clusters determined by the maximum silhouette coefficient or the elbow method, among others [
17,
18]. In the work of [
17], latitude and longitude were used to determine the number of clusters of stations using the K-medoids clustering method. Most weather stations are affected by these extreme weather events simultaneously, which also affects renewable energy production [
3,
9]. Combining clustering analysis with vine copula modelling to capture the tail dependence characteristics of weather variables and to determine the spatiotemporal correlation of renewable energy output is crucial [
17]. The present study adopts a seasonal and station-variation approach to model and assess pairwise dependencies among clusters of weather stations and meteorological variables (temperature, relative humidity, and wind speed), identify optimal seasons, and develop a framework to enhance renewable energy production.
1.2. Literature Review
Globally, wind energy is increasingly used to produce electricity [
19]. The continuous endeavour to lower carbon emissions in the energy sector depends on renewable energy [
1,
20]. Nearly two-thirds of the world’s greenhouse gas emissions come from the energy industry [
21]. The production of clean energy is highly dependent on weather [
21]. According to [
22], the top 10 countries utilising mixed renewable energy in terms of capacity are “China, the United States of America (USA), Brazil, India, Germany, Japan, Canada, France, Italy, and Russia”. In 2024, solar energy was expected to surpass all other energy sources globally, making up roughly 40% of renewable energy due to its widespread use in China and India. In 2020, wind and solar power generation grew by 9% and 15%, respectively, with aspirations of achieving at least 32% renewable energy by 2030 [
4]. The USA and China have the largest installed capacities of solar photovoltaic systems, among others [
23].
Renewable energy sources such as photovoltaic, wind, and hydropower have attracted attention in the literature due to their low pollution and abundant resources [
24]. However, renewable energy production is influenced by climate extremes and seasons [
18]. Various studies have examined the spatiotemporal correlation of renewable energy output using copula theory, with some authors combining clustering with vine copula models.
A high-dimensional uncertainty scenario generation method based on clustering partitioning was proposed by [
17] to model the complex spatiotemporal correlations across multiple wind and solar power plant output scenarios. The cross-validation method was used to determine an optimal number of clusters for K-medoids for multiple power stations. The maximum silhouette coefficients for wind and solar power were found to be 3 and 5, respectively, when stations were clustered by latitude and longitude using K-medoids. The suggested method proved more effective at capturing the spatiotemporal correlation in high-dimensional wind–solar energy systems, enabling efficient linking of output values across different time periods. A C-vine copula was proposed based on spatiotemporal variograms to describe spatial dependence across clusters. A spatiotemporal correlation framework for renewable energy processes was proposed by [
18] to explore optimal day-ahead scheduling for a multi-energy coupling system comprising hydro, wind, solar, and hydrogen. The elbow approach was used to identify five as the optimal number of clusters, and the K-means clustering technique was utilised to cluster each season into three categories: average dry scene, wet scene, and normal scene. The R-vine copula models were considered to model the runoff, wind speed, and solar irradiation. The recommended multi-energy system scheduling provides a more resilient and accurate dispatch plan by accounting for the spatiotemporal correlation of renewable sources and scenario generation.
A hybrid stochastic simulation modelling framework was proposed by [
25] to integrate a high-dimensional vine copula framework for hourly wind and solar power outputs with discrete–continuous probability distributions. The results of the wind power output seasonal distribution revealed the most abundant wind resources in winter, with summer and winter following, respectively, and the least in winter. This pattern is mainly explained by the subtropical monsoon environment, which fosters interactions between warm and cool air in spring. The authors indicated that wind energy generally surpasses solar output, while summer sees the highest photovoltaic generation, followed by spring and autumn, and winter marks the lowest output. The enhanced vine copula model improves simulation results in terms of deviations and frequencies and successfully reflects the fluctuation in power output by using a hybrid discrete–continuous distribution function. It greatly reduces computational complexity while maintaining the multi-order temporal dependence of wind and solar electricity generation over 10-h intervals.
A complex dependence structure among wind, solar, and hydro energy time series was explored by [
2] to evaluate potential methods for modelling correlation and complementarity, focusing on a Brazilian power station. The study addressed the shortcomings of traditional linear correlations with regard to independent assumptions. The C-vine structure was found to be adequate for modelling the spatial correlation between time series of wind speed, solar irradiation, and hydrology. The results revealed that the proposed framework is capable of simulating scenarios and is more accurate at reproducing the statistical attributes and joint behaviour of past complementarity among the variables. Copula models allow the modelling of complex dependencies that traditional linear correlation models cannot capture. To address the integrity and accuracy issue of the output model of the wind–solar combined power generation system, ref. [
26] established a spatiotemporal correlation model of wind and solar output that takes into account correlation based on the dynamic copula function and Markov process theory between wind and solar outputs. The outputs of neighbouring wind farms and solar power plants were found to be spatially and temporally correlated; this association is dynamic and varies with time. The dynamic symmetrised Joe Clayton (SJC) copula function adequately described the spatial correlation of photovoltaic and wind energy, as well as its correlation variation features. The dynamic SJC copula is best suited for modelling photovoltaic and wind energy as it better captures the asymmetric tails of the joint output characteristics of wind and solar electricity. In India, daily precipitation, minimum temperatures, and maximum temperatures for the past and future were modelled using a copula to establish the joint behaviour of climate extremes [
27]. Copula-based methods were utilised to analyse the joint probability and spatiotemporal behaviour of climate extremes. The authors generated maps that assisted in boosting climate change resilience. The country was prone to both droughts and floods, and many areas previously less prone to precipitation extremes will eventually become more vulnerable in the future.
The energy sector has attracted considerable attention in the literature, including, among others, the review, quantification, modelling, and forecasting of the asymptotic behaviour of extreme climate disasters, solar irradiance, wind speed, renewable energy, and the enhancement of power grid resilience [
6,
15,
19].
Tavakol et al. [
28] analysed the simultaneous occurrence of hot, dry, and windy events in the central United States from 1949 to 2018. The Frank copula was selected based on having the smallest Akaike information criterion (AIC) and Bayesian information criterion (BIC). The results showed that the copula approach suggested a higher risk of hot, dry, and windy events. Zhou and Liu [
29] investigated the probability of simultaneous excessive temperature and precipitation on China’s interannual scale, encompassing compound events in both the cold and warm seasons. The analysis results showed that across a large portion of the study area, the occurrence probability of the majority of concurrent models will decline. Despite this, favourable changes were observed in the frequency of compound hot/dry events during the warm season across China’s southwest and northeastern regions.
The average minimum and maximum monthly temperature and rainfall were modelled by [
30] using a copula in Bahir Dar, Ethiopia. The AIC and BIC were used to select the best marginal distribution and copula. The Clayton copula was selected as the best fit for minimum temperature and rainfall, whereas the Frank copula was found to be the best fit for maximum temperature and rainfall. The results revealed a positive correlation between the minimum temperature and rainfall, whilst a negative correlation between rainfall and maximum temperature was established. In a study by [
31], a Frank copula from the Archimedean family was employed to jointly model rainfall and temperature processes as a bivariate distribution using daily rainfall and daily average temperature data from Balaka district, Malawi. The Kendall tau correlation test indicated that temperature and rainfall are positively correlated. The joint modelling of precipitation and temperature was studied by [
32] in Kerman Province, Iran, where a copula was employed. The Frank copula was found to be the best model for the recorded data, whereas the Gaussian copula was selected based on the goodness-of-fit results and was utilised for joint modelling.
Mararakanye et al. [
19] employed the EVT and copulas to model extreme wind power forecast errors. The authors used forecast error data from 29 South African wind farms, which were classified into two clusters. The study outcomes revealed that the generalised Pareto distribution performed better than the commonly used distributions. Furthermore, significant seasonal and diurnal components of extreme forecast errors were found to depend on the location of the wind farm. The t-student copula was used, and it was found to be essential in providing a regional view of extreme errors. Sigauke and Ravele [
33] applied copula models to predict the probability of the simultaneous occurrence of compound extremes in the Limpopo Lowveld Region of South Africa. In the study, elevations were used to classify the temperature and rainfall data into three clusters. The results of the study, when compared with the logistic regression model using the Southern Oscillation Index, revealed changes in the probability of mild, moderate, and severe drought across elevation ranges.
Dependence structure and vine copula studies have been conducted using weather variables by several authors. In a study by [
34], a vine copula was applied to establish the dependence structure of the joint distribution between rainfall intensity, wind direction, and wind speed in Qatar. When comparing the observed against the modelled cumulative probabilities using the normalised observations, the trivariate distribution of rainfall intensity, wind direction, and wind speed showed a root mean square error of 0.0072. A copula was used by [
35] to analyse and model the dependence structure of wind and solar irradiance across various locations in Germany. The authors also analysed the total energy load and energy exchange of the neighbouring countries. Pair-copula constructions were used to model the high-dimensional joint probability distribution. The authors suggested that wind speeds, solar irradiance, electrical load, and energy import/export are the major uncertain factors that will affect the future energy system. A canonical (C)-vine copula model with 190 dimensions was able to represent the dependencies. Alidoost et al. [
36] applied copula-based joint behaviour analyses to assess the impact of climate extreme indices on the price of potatoes and their yield and production. The authors used the C-vine structure to model the complex dependencies. The maximum likelihood estimation (MLE) approach was used to estimate the copula parameters, and the AIC was used to select the best-fitting families within the C-vine structure. Furthermore, the authors also discovered that the copula adequately describes the multivariate dependencies of climate extremes.
Otero et al. [
37] conducted a study to analyse copula-based renewable energy droughts across Europe. Energy droughts are referred to as “the periods of low renewable energy production (wind plus solar generation or high residual load)”. The authors suggested that the primary issues impeding the electricity grid are low renewable generation and excessive demand. According to the findings of the joint return periods, moderate winter energy droughts with low renewable production and high residual load tend to occur every six months in European countries, whereas summer events typically occur every 2.4 to 3.6 years. Only a few European nations frequently experience energy shortages, yet summertime unpredictability continues to rise across the continent. To mitigate the impact of load shedding, ref. [
10] recommended a techno-economic optimisation of a hybrid renewable energy system that comprised wind turbines, a solar array, a standby diesel engine, and an energy storage unit. Hourly resolution data for wind speed, ambient temperature, and solar radiation for the period 2019 to 2020 were used to carry out the simulations. The authors suggested that an optimised hybrid renewable energy system could alleviate the energy crisis faced by several developing nations.
The present study adopts a clustering approach to classify weather stations based on elevation, latitude, and longitude. Furthermore, the vine copula will be used to capture the dependence structures of weather variables, temperature, wind speed, and relative humidity, among weather stations across the four seasons.