Next Article in Journal
An Integrated Navigation Method Based on the Strapdown Inertial Navigation System/Scene-Matching Navigation System for UAVs
Previous Article in Journal
Experimental Estimation of Kinematic Viscosity of Low-Density Air Using Optically Derived Macroscopic Transient Flow Parameters
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Short-Term Photovoltaic Power Forecasting Based on an Improved Zebra Optimization Algorithm—Stochastic Configuration Network

School of Information and Electrical Engineering, Shenyang Agricultural University, Shenyang 110866, China
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(11), 3378; https://doi.org/10.3390/s25113378
Submission received: 20 April 2025 / Revised: 25 May 2025 / Accepted: 26 May 2025 / Published: 27 May 2025
(This article belongs to the Section Sensor Networks)

Abstract

:
The output of photovoltaic (PV) power generation systems remains uncertain primarily due to the uncontrollable nature of weather conditions, which may introduce disturbances to the power grid upon integrating PV systems. Accurate short-term PV power forecasting is an essential approach for ensuring the stability of the power system. The paper proposes a short-term PV power forecasting model based on improved zebra optimization algorithm (IZOA)-stochastic configuration network (SCN). First, the historical PV data are divided into three weather patterns, effectively reducing the uncertainty of PV power. Second, a prediction model based on SCN is developed. To enhance the forecasting model’s accuracy even further, the IZOA is introduced to optimize the key parameters of the SCN. Finally, IZOA-SCN is employed for short-term PV power through various weather patterns. Experiment results show that the proposed method significantly improves the prediction accuracy in contrast to other comparison models.

1. Introduction

Confronted with the challenges of fossil fuel depletion and the deteriorating environmental conditions, the requirement for renewable energy becomes ever more vital. Among renewable energy resources, photovoltaic (PV) energy, as an effective substitute for electricity produced from fossil fuels, has recently garnered considerable attention due to its abundance, inexhaustibility, and cleanliness [1]. However, PV energy is affected by a multitude of meteorological variables, resulting in fluctuations and nonlinearities. Therefore, integrating large-scale PV energy into the grid may significantly impact the reliability and security of the power grid [2]. Precise PV power forecasting can alleviate its effects on the grid, making it crucial to enhance prediction accuracy.
PV power forecasting is generally divided into long-term, medium-term, short-term, and ultra-short-term forecasting based on different time scales [3]. Long-term PV power forecasting mainly balances the supply and demand relationship between power development, large-scale construction, and financial investment [4]. The forecasting of PV power in the medium term is chiefly employed for the maintenance and management of solar power stations [5]. Short-term PV power forecasting serves as a vital cornerstone for developing generation plans, trading strategies, and scheduling frameworks in the power system [6]. The forecasting of ultra-short-term PV power is predominantly utilized for real-time management of the power grid [7].
The main methods for forecasting PV power fall into three distinct categories: physical models, statistical models, and artificial intelligence (AI) models [8]. Physical models are based on the solar radiation transfer equation to forecast the PV power. However, to improve the accuracy of PV power forecasting, it is necessary to acquire complicated meteorological data and set reasonable parameters for the physical models [9], making their application difficult in practice [10]. Statistical models are based on creating a mapping connection between historical data and actual data to predict PV generation output for the next stage. Statistical models include time series analysis, grey theory, and regression analysis. Literature [11] employed a simple autoregressive integrated moving average (ARIMA) method for PV power forecasting, which demonstrates remarkable forecasting accuracy. Literature [12] applied time series analysis to predict PV power, demonstrating relatively accurate prediction results on smooth datasets. However, due to the nonlinear and fluctuating nature of PV generation, statistical models struggle to accurately capture nonlinear relationships in the face of large amounts of historical data, thereby leading to significant prediction errors.
Compared to statistical models, AI models demonstrate remarkable ability to fit nonlinear relationships and exhibit robust learning abilities. Therefore, scholars have progressively embraced AI models for the forecasting of PV power generation. The literature [13] employed support vector machines (SVM) and weather classification for PV power prediction, marking one of the early integrations of weather data with neural network methods for this purpose. However, the support vectors in the SVM algorithm are determined by quadratic programming, which results in significant time consumption when handling large-scale data. To address these issues, an increasing number of researchers are turning to novel neural network approaches. The literature [14] applied long short-term memory (LSTM) neural networks for short-term PV power prediction in large-scale solar power stations. Simulation results demonstrate that LSTM achieves superior predictive precision in the context of handling large-scale data. However, as the network becomes more deeply trained with an increasing number of parameters, longer training times and elevated overfitting may arise. Consequently, this reduces the effectiveness of the network in capturing long-term data features. In response to these challenges, researchers have embarked on exploring advanced techniques for feature extraction. In the literature [15], convolutional neural networks (CNNs) were introduced for their exceptional capability in capturing intricate data features. Furthermore, the CNN-LSTM hybrid network was established by harnessing CNN’s convolutional layers to extract features prior to their input into LSTM, effectively addressing the inherent challenges of standalone LSTM networks in capturing long-term data features. With the gradual development of combined models and the increasing number of training parameters, each training session incurs significant time and computational costs. To address this issue, researchers have begun to adopt surrogate models [16]. In the literature [17], surrogate-assisted optimization effectively reduced the impact load on the anti-ship missile body configuration. In the literature [18], surrogate-based modeling (SBM) and surrogate-based optimization (SBO) were employed in large-scale satellite swarm reconfiguration, significantly reducing computational costs while achieving superior optimization results. The emergence of this method has also enabled its application in the field of PV power forecasting. The literature [19] introduced a PV prediction model that combines gated recurrent unit (GRU) and K-means cluster, attaining greater prediction precision and less training time relative to LSTM. To capture environmental factors that exhibit close correlation with PV power, the literature [20] proposed a hybrid prediction model based on wavelet packet decomposition (WPD) and LSTM. Compared to LSTM, GRU, and RNN models, the predictive accuracy has been improved across all four seasons. Due to the strong feature extraction capability of AI methods, their application in hard-to-reach and difficult-to-extract deposits has become feasible [21]. In the field of short-term PV power forecasting, prediction models often exhibit poor convergence due to the significant influence of weather fluctuations on PV output and the presence of non-stationary data, making it difficult for the models to capture key features. When combined models are employed, coordination issues among the sub-models can also lead to convergence difficulties. Additionally, combined models typically involve a large number of parameters, resulting in high computational costs for training iteration and increasing the risk of gradient vanishing or explosion problems.
To enhance the rate of convergence and learning performance, stochastic algorithms allow the stochastic assignment of weights and biases in neural networks, demonstrating notable efficacy [22,23]. Consequently, stochastic weighted networks are employed in PV generation prediction. The literature [24] proposed a PV power interval prediction model combining extreme learning machine (ELM) with fuzzy C-Means clustering (FCM) regarding the consequences of diverse weather patterns on prediction accuracy. The random vector functional link (RVFL) network is a randomized variant of a single-hidden-layer feedforward neural (SLFN) network. In the structure of the RVFL network, the input layer and the output layer are directly linked, with weights being randomly assigned within a specified range [25]. The literature [26] integrated a seasonal autoregressive integrated moving average (SARIMA)-RVFL network hybrid model into ultra-short-term PV power prediction incorporating wavelet decomposition to reduce the volatility of PV power. In the literature [27], the mayfly optimization (MO) is utilized to optimize the parameters of the RVFL network, aiming to enhance prediction accuracy for PV power forecasting. Although the RVFL network’s construction process is highly efficient, its universal approximation property may not be ensured if the scope is improperly set or the random parameters are inappropriately assigned [28].
To ensure the universal approximation property of models, the literature [28] proposed a stochastic configuration network (SCN), which is a node-incremental neural network with a supervisory mechanism. It adaptively generates hidden layer nodes and constructs the network structure using random algorithms, possessing advantages such as fast modeling speed and strong approximation ability. The SCN algorithm has gradually gained application within academic research across a wide range of domains in recent years, due to its rapid learning efficiency and data-driven characteristics. The literature [29] proposed an ensemble learning SCN for probabilistic forecasting of PV electricity generation. By combining bagging with SCN, RVFL, and ELM, the proposed method conducted confidence evaluation for each algorithm and averaged the confidence outputs of each algorithm to obtain the final output. The literature [30] proposed a block increment-based SCN (BSCN) and applied it to industrial modeling. This approach constructs a block increment learning framework through batch allocation and the constraint of stochastic parameters. It is important to emphasize that the performance of SCN is highly susceptible to the configuration of parameters. Given that the hyperparameters of SCN are frequently selected manually, it leads to suboptimal performance of the constructed model. Consequently, it is essential to adopt an effective methodology to optimize the hyperparameters of SCN to improve the precision of the model.
Zebra optimization algorithm (ZOA) is a novel bio-inspired algorithm proposed in 2022 [31]. This algorithm draws inspiration from the natural behaviors of zebras, simulating their foraging behavior and predator defense behavior. In contrast to well-known optimization algorithms such as particle swarm optimization (PSO), marine predator algorithm (MPA), and whale optimization algorithm (WOA), ZOA has the advantages of faster convergence speed and fewer parameters to set. The literature [32] used the ZOA algorithm to optimize the weight parameters of residual network (ResNet)-CNN to enhance prediction performance. The literature [33] proposed a ZOA-SNN hybrid model controller to meet load power demands, reduce harmonics, and improve power regulation in PV systems. However, like common bio-inspired algorithms, ZOA is also prone to the issue of easily falling into local optima, leading to the optimized objective parameters being suboptimal solutions, which might adversely influence the performance of the optimization model. In this paper, an improved zebra optimization algorithm (IZOA) is introduced, aiming to enhance the search capabilities of ZOA while avoiding its convergence to local optima. The several novel innovations and significant contributions of this paper are detailed below:
(1)
To mitigate the impact of weather-induced fluctuations, K-means clustering is utilized based on global horizontal irradiance (GHI) to classify the data. Additionally, by employing Pearson correlation analysis, meteorological factors with high correlation to PV output are selected as model inputs.
(2)
To avoid falling into local optima and to improve search efficiency, an IZOA is proposed in this paper, integrating the opposition-based differential evolution (ODE), Chebyshev chaotic mapping, and nonlinear decreasing strategy into ZOA to improve the convergence performance.
(3)
This paper applies SCN to the domain of PV power forecasting and utilizes IZOA to optimize the critical parameters of SCN. Simulations exhibit that generalization capabilities of the SCN model are enhanced, thus enhancing predictive accuracy.

2. Related Work

2.1. Deep Neural Network

Deep Neural Network (DNN) is an artificial neural network characterized by its multi-layered architecture. As the number of neural network layers increases, the DNN may encounter the vanishing gradient during backpropagation due to cumulative attenuation. Moreover, increasing the depth of the network leads to a proliferation of parameters, which can adversely affect computational efficiency. In DNNs, initial parameters are typically obtained through data-independent random initialization methods, where the uncertainty in these parameter values may impact network convergence. To address these challenges, this paper employs stochastic configuration network (SCN) as a short-term photovoltaic forecasting model.

2.2. Stochastic Configuration Network

Unlike DNN, SCN starts with a small network containing a single hidden layer with few nodes and gradually increases the number of hidden layer nodes, randomly configuring the input weights and biases of the hidden layer nodes within adjustable ranges. The configuration of parameters needs to be related to the given training samples, rather than completely relying on the distribution or range parameter settings of random weights and biases. The output weights are calculated using the least squares method until the network reaches an acceptable error. The structure is illustrated in Figure 1.
Assuming L − 1 hidden layer nodes are generated in a SCN model. Given input X = x 1 , x 2 , , x i , , x c , where x i = x i , 1 , x i , 2 , , x i , n T , c represents the count of input features, n denotes the count of training samples. The corresponding output Y = y 1 , y 2 , , y m , where y i = y i , 1 , y i , 2 , , y i , m T .
The output of the L-th hidden node is represented by Equation (1).
h L = g L w L T X + b L
w L = λ × 2 × r a n d n , T m a x 1
b L = λ × 2 × r a n d 1 , T m a x 1
In Equation (1), g L is the activation function of the hidden layer, which is set to the sigmoid function in this paper. w L and b L represent the input weights and biases between the input node and the L-th hidden layer node, which are randomly assigned within the range λ ,   λ . In Equations (2) and (3), λ is a scale factor. T m a x represents the maximum number of candidate nodes.
The output of the current network is represented by Equation (4).
Y L = i = 1 L β i h i
In Equation (4), β i = β i , 1 , β i , 2 , , β i , m denotes the weight representing the output weights between the hidden layers and the output layer.
The corresponding residual error vector before adding the L-th new hidden node is formulated as Equation (5).
e L 1 = Y Y L 1 = e L 1,1 , e L 1,2 , , e L 1 , m T
In Equation (5), Y and Y L 1 represents the output of the current network and output of the network before adding the L-th new hidden node. e L 1 is the corresponding residual error.
The g L is produced in accordance with Equation (6).
e L 1 , q , g L 2 b g 2 δ L , m
In Equation (6), δ L , m = 1 r μ L e L 1 , m 2 . μ L represents a non-negative real sequence, where μ L = ( 1 r ) / ( 1 + L ) , and it satisfies lim L + μ L = 0 and μ L ( 1 r ) . Moreover, r is a given random parameter in the interval [0, 1]. This study supposed that span (Γ) is dense in L2 space and g ϵ Γ , 0 < g < b g , for some b g ϵ   R + .
The output weight β L , m between the m-th output node and the L-th hidden layer node is computed by Equation (7)
β L , m = e L 1 , m , g L g L 2 = e L 1 , m T · h L h L · h L T
In Equation (7), e L 1 , m represents residual error between the m-th output node and the L-1th hidden layer node, h L denotes output of the L-th hidden node, g L is a basic function.
An evaluation indicator is introduced to assess whether the network outputs meet error requirements. The evaluation indicator ξ L , m is defined as shown in Equation (8).
ξ L , m = ( e L 1 , m T · h L ) 2 h L · h L T 1 r μ L e L 1 , m T · e L 1 , m 0
In Equation (8), μ L represents a non-negative real sequence, where μ L = ( 1 r ) / ( 1 + L ) , and it satisfies lim L + μ L = 0 and μ L ( 1 r ) . Moreover, r is a given random parameter in the interval [0, 1]. This study supposed that span (Γ) is dense in L2 space and g ϵ Γ , 0 < g < b g , for some b g ϵ   R + . e L 1 is the corresponding residual error.
As shown in Figure 2, the flow chart of SCN is presented.

2.3. Zebra Optimization Algorithm

To solve nonlinear optimization problems, the ZOA primarily encompasses initialization, foraging behavior, and defensive strategies. The specific algorithm of conventional ZOA is as follows.
  • Phase 1: Initialization
Each zebra is directly mapped to a decision variable within the search domain. Therefore, each zebra can be viewed as a candidate solution to the question. The number of zebras could be represented by a matrix, as shown in Equation (9).
X = X 1 X 2 X N N × m = x 1,1 x 1 , j x 1 , m x i , 1 x i , j x i , m x N , 1 x n , j X N , m N × m
In Equation (9), X denotes the population of zebras, X i represents the i-th zebra, x i , j denotes the value of the i-th zebra in the j-th dimension.
The original positions of the zebras are randomly assigned within the search domain. ZOA randomly assigns the original positions of zebras using Equation (10).
x i , j = l a j + r a n d · m a j l a j
In Equation (10), l a j and m a j show the lower and upper bounds within the search domain and rand denotes a number chosen at random within the interval [0, 1].
The values of the decision variables are assessed to determine the value of the objective function. Therefore, a fitness function is utilized to evaluate the optimal candidate solution for the corresponding problem, as illustrated in Equation (11).
F = F 1 F i F N N × 1 = F X 1 F X i F X n N × 1
In Equation (11), F represents a vector of fitness values, where F i denotes the fitness obtained by the i-th zebra.
  • Phase 2: Foraging behavior
At this stage, the process of the zebra searching for food is to update the location of the zebra in the search domain. In ZOA, the best individuals in the population are considered as pioneer zebras, guiding others to search for food in different locations. The foraging behavior is described by Equation (12).
x i , j n e w , P 2 = x i , j + r · P Z j I · x i , j
Here, x i , j n e w , P 2 denotes the new value of the i-th zebra in the j-th dimension, P Z j represents the pioneer zebra within the population. The variable r embodies a random value within the interval [0, 1]. I 1 ,   2 , and I = r o u n d ( 1 + a ) , where “a” represents a random value spanning [0, 1]. As I increases, a greater number of zebras are moving during the iteration.
After the foraging behavior, zebra updates the position in the search space using Equation (13) as follows:
X i = X i n e w , P 2   ,   F i n e w , P 2 < F i X i                   ,   e l s e
where X i n e w , P 2 represents the new status of the i-th zebra after phase 2. F i n e w , P 2 represents the fitness value of the zebra at the new state.
  • Phase 3: Defense strategies
At this stage, using the process of zebra defensive behaviors against predators, the position of zebras in the search domain is updated. When faced with large predators, zebras choose the escape strategy; whereas, in the face of smaller predators, they choose the offensive strategy. The likelihood of larger and smaller predators attacking zebras is equal.
The escape strategy is represented using the S1 pattern described in Equation (14), and the offensive strategy is developed according to the S2 pattern described in Equation (14).
x i , j n e w , P 3 = S 1 : x i , j + R · 2 r 1 · 1 t T · x i , j ,                             P s 0.5 ; S 2 : x i , j + r · A Z j I · x i , j ,                                                         e l s e ,
In Equation (14), x i , j n e w , P 3 is the updated value for i-th zebra within the j-th dimension, T denotes the maximum number of iterations, t represents the current iteration number, and R is a constant with a value of 0.01. P s is the probability that a zebra switches between escape or defense strategies, which is a random number in the range [0, 1]. AZ represents the state of the zebra being attacked, A Z j represents the dimension where it is located.
Position updates are performed using Equation (15).
X i = X i n e w , P 3   , F i n e w , P 3 < F i ; X i   , e l s e ,
Here, X i n e w , P 2 represents the new status of the i-th zebra after phase 3, and F i n e w , P 3 denotes the new fitness value of i-th zebra at new state.
In summary, the flow diagram of ZOA is depicted in Figure 3.

3. Improved Zebra Optimization Algorithm (IZOA)

In the previous section, the basic ZOA process is presented. This section will present the improved methods for ZOA. The solution of ZOA is significantly influenced by the initial population distribution, and an uneven initial population distribution can impair its global search capability. Therefore, this paper employs Chebyshev chaotic mapping to improve the initialization phase of ZOA, which can shorten the convergence path, reduce ineffective searches in the early stages, enhance convergence efficiency, and mitigate the risk of local optima. As the search process progresses into the mid-phase, the fitness of the zebra population tends to stabilize or its diversity declines, at which point ZOA still remains susceptible to local optima. To avoid getting trapped in local optima, an opposition-based differential evolution (ODE) is introduced during the mid-phase search. Its mutation and opposition-based population generation mechanisms effectively disturb the current population, enabling ZOA to escape stagnation zones and further reducing the risk of local optima. In the late search phase, to avoid convergence oscillations and premature convergence while preventing ZOA from settling into suboptimal solutions, this paper adopts a nonlinear decreasing strategy to balance local exploitation and global exploration, thereby effectively enhancing convergence precision. In summary, the IZOA proposed in this study integrates Chebyshev chaotic mapping, ODE, and nonlinear decreasing strategy.

3.1. Chebyshev Chaotic Mapping

The accuracy of the ZOA solution is affected by the uniformity of the population distribution during initialization [34]. The random initialization positions of the ZOA are predominantly governed by “rand” values in Equation (10), which may result in an uneven distribution of the zebra population within the search space. The paper introduces Chebyshev chaotic mapping to substitute the random numbers used in the random initialization of the ZOA, thereby achieving an initial population with high diversity in the solution space. The discrete mapping equation for the Chebyshev chaotic map is given by Equation (16).
x n 1 = cos i · a r c c o s x n ,   x n 1 ,   1
Here, i denotes the order of the mapping, n represents the number of iterations, and x indicates an element within the sequence of the mapping.

3.2. Population Mutation Mechanism Based on Opposition-Based Differential Evolution (ODE)

The paper introduces the ODE [35] to optimize the population of the ZOA. By introducing an opposite population and differential evolution throughout the search procedure, the quality of the ZOA population is enhanced, which in turn improves the search capability.
(a)
Opposition-Based Learning (OBL)
In most cases, the optimization algorithm begins with one or several random points. Ideally, the aim of the optimization algorithm is to find the optimal value of the objective function as soon as feasible. The best scenario occurs when the randomly initialized population is close to the optimal value, resulting in rapid convergence. The worst scenario involves the optimal value lying in the opposite search direction of the population, requiring a large number of iterations and a significant amount of time to reach the optimal value. In the absence of any prior information, it is nearly impossible to determine the best initial guess. Therefore, optimization should be conducted in all directions during the search.
The opposite candidate solution x ˇ is defined according to Equation (17).
x ˇ = a + b x
Here x is a real number and x a , b .
Similarly, in solving high-dimensional problems, the opposite candidate solutions can be generalized to N-dimensional space, for which the solution is given by Equation (18).
x ˇ k = a k + b k x k
Here x k a k , b k , k 1,2 , , N , and x ˇ k is the opposite candidate solution.
Let h x be the fitness function, X = x 1 , x 2 , x 3 , , x N be the forward candidate solution within the N-dimensional space, where x 1 , x 2 , x 3 , , x N are real numbers, and X ˇ = x 1 ˇ , x 2 ˇ , x 3 ˇ , , x N ˇ be the opposite candidate solution. If h X h X ˇ , then replace X with the opposite solution X ˇ , otherwise, retain the X . Therefore, both forward and reverse solutions in ZOA are evaluated simultaneously to keep better solutions for the next iteration.
(b)
Differential Evolution (DE)
The differential evolution (DE) primarily consists of mutation, crossover, and selection. Compared to genetic algorithms, DE tends to be more adept at preserving excellent individuals. The specific process of DE is as follows.
(1)
Mutation
DE randomly selects two distinct individual vectors from the population, adding its vector difference weighted to another individual to generate a mutation individual V i , G , which is calculated by Equation (19).
V i , G = X r 1 , G + F · X r 2 , G X r 3 , G
Here, X r i , G is a solution vector in the G-th iteration and i = 1,2 , 3 , , N p ,   N p represents the population size, r 1 , r 2 , r 3 are random different integers from i . The parameter F 0 , 2 is a real constant to adjust the scaling of the differential vector X r 2 , G X r 3 , G . A higher value of F increases the diversity of the generated population, while a lower value of F accelerates the convergence rate.
(2)
Crossover
Some genes of the mutated individual are exchanged with the target individual based on a certain probability, thereby producing experimental vector U i , G . The binomial cross is described by Equation (20).
U i , G = V i , G ,                 i f   r a n d j 0 , 1 C R   o r   j = P X i , G ,               o t h e r w i s e
Here, C R 0 , 1 is the crossover rate, r a n d j 0 , 1 represents a random number in the interval (0, 1) generated for the j-th dimension, j = 1,2 , 3 , , D (where D is the dimensionality of the problem). P 1,2 , 3 , D is a predetermined random integer, employed to ensure that at least one gene is present in the crossover operation from the experimental vector U i , g to the mutation individual V i , G .
(3)
Selection
After the crossover operation, the greedy strategy is employed to determine which individuals to retain. The fitness values of U i , G and X i , G are compared, and the selection operation is represented by Equation (21).
X i , G = U i , G ,                                             i f   f U i , G f X i , G ; X i , G ,                                                   o t h e r w i s e
Here f * represents the fitness function.
In order to improve the performance of the DE and overcome issues of premature convergence, integrating OBL into DE results in the ODE strategy, which can yield more suitable initial candidate solutions. The process of ODE is as follows (see Figure 4):

3.3. Nonlinear Decreasing Strategy

In the escape strategy for the defense phase, zebras update their positions utilizing the S1 model as specified in Equation (14). It should be noted that the choice of the R value has a profound impact on the position update of the zebras, thereby affecting the optimization accuracy of the ZOA. To improve the optimization capability, the paper introduces a nonlinear decreasing strategy to replace the R value in the S1 model, as shown in Equation (22).
R u = 0.8 · e 0.01 t
The improved formula is presented as Equation (23).
x i , j n e w , P 2 = S 1 : x i , j + R u · 2 r 1 · 1 t T · x i , j ,                           P s 0.5 ; S 2 : x i , j + r · A Z j I · x i , j ,                                                         e l s e ,
The introduction of the nonlinear decreasing strategy balances the association between global search ability and local search ability, enabling the algorithm to have strong global search capability in the early stages and sophisticated local search capability in the later stages, thereby enhancing the optimization accuracy of the algorithm.
In summary, this paper introduces an improvement strategy during the initial, middle, and final stages of the ZOA search. The comparison between the improved and original algorithm flowchart is illustrated in the Figure 5.
IZOA can optimize the main hyperparameter of SCN, including regularization coefficient r and scaling factors λ. In summary, this article proposes a new PV power generation prediction model IZOA-SCN.

4. Establishment of IZOA-SCN Model

The essence of the SCN model revolves around its groundbreaking supervision mechanism, affected by the r and λ. Specifically, in traditional SCN, the value of r affects the contractility of the supervisory mechanism and the compactness of the network, cycling through the non-negative increasing sequence of candidates [0.9, 0.99, 0.999, 0.9999, 0.99999] to ensure the constant efficacy of the supervisory mechanism. The rate of decline of the residual sequence is also influenced by the regularization coefficient r. A higher r value can lead to a reduction in the learning speed of the network. Conversely, a lower parameter r guarantees a swift reduction in the network residuals.
To ensure the requirement of the inequality constraint ξ L , m 0 , the scaling factors λ is selected from the set [0.5, 1, 5, 10, 30, 50, 100, 150, 200, 250], determining the efficiency of finding network parameters and the capacity for generalization. In traditional SCN, λ is essential in defining the scope of parameters w L and b L . As the scope of λ widens, the search domain for weights and thresholds also increased, enhancing the efficiency of finding network parameters and guaranteeing a solution exists for inequality constraint. However, this also increases model complexity, causing the model to be more responsive to questionable data and more prone to overfitting.
The selection of r and λ should depend on data rather than being fixed to a specific set of values. However, the theoretical foundations for the selection of appropriate hyperparameters remain insufficient. Therefore, to improve the accuracy of short-term PV power prediction of SCN under various weather scenarios, the paper introduces the IZOA to optimize the λ and r.
The modeling process for IZOA-SCN to PV power forecasting is as follows:
Step 1: Preprocess historical PV power generation data and meteorological data and use Pearson correlation coefficient to select model input features.
Step 2: Utilizing the K-means to cluster PV data, three weather scenarios are obtained.
Step 3: Initialize the parameters of IZOA and SCN: population size (P), maximum number of iterations (T), optimizing the lower bound ( l b ), optimizing the upper bound ( u b ), the maximum number of the hidden nodes ( L m a x ), tolerance error (Ɛ), maximum number of candidate nodes ( T m a x ), scaling factors (λ), regularization coefficient (r), initial scaling ratio (F), and crossover rate (CR).
Step 4: Constructing the IZOA-SCN model. The IZOA utilizes r and λ as population individuals and employs the network residual of SCN as the fitness function to explore the optimal candidate pool sequence of two hyperparameters.
Step 5: Determine the termination condition and finalize the sequence of parameters. Iterations terminate when the tolerance error is met or the maximum number of iterations is reached, obtaining the optimal pool of parameters for r and λ.
Step 6: Perform short-term PV forecasting and produce the ultimate PV forecasting outcomes.
Step 7: Analyze and focus on the prediction results and related errors.
In summary, the flowchart for PV power forecasting model is as follows (see Figure 6).

5. Results and Data Analysis

The experiments are conducted on the MATLAB 2024 platform, utilizing hardware with the following specifications: Intel (R) Core (TM) i7-14650HX 2.20 GHz CPU (Intel Corporation, Santa Clara, CA, USA), 16 GB of RAM, a 64-bit Windows operating system, and an NVIDIA GeForce RTX 4060 graphics card (NVIDIA Corporation, Santa Clara, CA, USA).
The PV power data utilized in this study are collected from a PV power station in the Ningxia, China. PV data is collected at 15 min intervals from March to May 2020, amounting to 3864 points. Since PV power generation produces minimal output at night, the chosen data collection period is from 9:30 a.m. to 8:00 p.m, ensuring that each data point used represents valid PV power generation output. The data for validating the model’s generalizability are obtained from a PV power station in northwest China. The dataset spans from November 2020 to January 2021, with a sampling interval of 15 min. The chosen data collection period is from 9:30 a.m. to 8:00 p.m.

5.1. Optimizer Performance Analysis

In this section, to evaluate the correctness of the IZOA algorithm’s improvement strategies and the reliability of selecting the ZOA algorithm, six benchmark test functions are employed to assess the algorithm’s performance. As shown in Table 1, f 1 x ,   f 2 x ,   a n d   f 3 ( x ) are unimodal test functions, which serve as a good set to evaluating the exploitation capability of the algorithm, since they have only one global optimum and no local optima. f 4 x ,   f 5 x ,   a n d   f 6 ( x ) are multimodal functions, which provide a suitable test set for assessing the exploration ability of the algorithm, as they contain multiple local optima. As shown in Table 2, the average values (AVG), standard deviations (STD), and optimal values obtained by IZOA, ZOA, PSO, and several classical optimization algorithms on test functions are presented. The AVG is used to demonstrate the central tendency of the algorithms, the STD serves to quantify the dispersion of optimization results, while the optimal values provide an intuitive observation of the algorithms’ solution accuracy. The population size for all algorithms is set to 30, with a maximum iteration count of 500. Each model is independently run 20 times to ensure statistical reliability.
Table 2 demonstrates that, compared to other optimization algorithms on unimodal functions, IZOA achieves solutions that are closest to the theoretical optimum, exhibiting significant performance superiority. This indicates that the improvement strategies proposed in this paper are effective in enhancing solution accuracy. The ZOA algorithm ranks second, obtaining the next-best optimal values after IZOA, which also provides a reliable basis for selecting the ZOA algorithm in this study. Furthermore, IZOA exhibits the lowest STD, indicating superior optimization stability of the model.
In the case of multimodal functions, IZOA still provides relatively accurate optimal solutions for the functions, while ZOA performs second only to IZOA. The simulation results show that both the IZOA and ZOA algorithms possess strong exploration capabilities in precisely scanning the search space and passing local optimal regions.

5.2. Data Processing

5.2.1. Meteorological Characteristics Selection

The output power of PV systems is affected by various elements, which are primarily divided into external environmental factors and internal factors of the PV system. Internal factors such as component parameters and the efficiency of PV energy conversion remain relatively stable after the installation of the PV panels and can be ignored during the prediction process. External environmental factors related to weather primarily include GHI, relative humidity, and snow depth, among others.
The paper utilizes Pearson correlation coefficient analysis to select input features closely related to PV power output [36]. Pearson correlation coefficient is calculated by Equation (24).
ρ x , y = C o v X , Y σ x . σ y = i = 1 n x i E X y i E Y i = 1 n X i E X 2 · i = 1 n y i E Y 2
Here, C o v ( X , Y ) is the covariance of variables X and Y, σ x , σ y is the standard deviations of variables X and Y. E X , E Y is the mathematical expectation of variables X and Y, and ρ x , y represents the correlation coefficient of variables X and Y, with a value range of [−1, 1]. The magnitude of the Pearson correlation coefficient indicates the degree of linear relationship between variables X and Y. A greater absolute value indicates a stronger correlation.
The Pearson correlation coefficients for each input feature with PV output power are presented in Table 3.
According to Table 3, global horizontal irradiance, dew point temperature, and atmospheric precipitation exhibit positive correlations with PV power output. Cloud opacity, zenith angle, azimuth, relative humidity, snow depth, and pressure demonstrate negative correlations with PV power output.
The measured GHI includes direct normal irradiance (DNI) and diffuse horizontal irradiance (DHI). DNI refers to the amount of radiation received when sunlight passes through direct radiation, while DHI is the amount of radiation received after sunlight is scattered by the atmosphere.
The absolute values of the correlation coefficients for GHI with zenith angle are 0.99 and 0.83, demonstrating a strong correlation with PV power output. In addition, the absolute values of the Pearson correlation coefficients with cloud opacity for relative humidity are 0.20 and 0.44, showing a moderate correlation with PV power output. Furthermore, the absolute values of the Pearson correlation on coefficients for other meteorological features are all less than 0.1, showing very weak correlation with PV power output.
This study employs Shapley additive explanation (SHAP) analysis to further enhance the reliability of input feature selection. SHAP is an interpretability framework for machine learning that assigns each feature an importance value reflecting its contribution to the predictions of the model. SHAP values offer a quantitative assessment of feature influence, enabling precise evaluation of how different input variables affect predictive outcomes. SHAP adopts an additive feature attribution method that treats all features as “contributors” jointly influencing the final prediction outcome. This comprehensive approach ensures that each feature’s contribution is quantified relative within all other features. For each individual sample, the model generates a prediction, and the corresponding SHAP values represent the numerical attribution of each feature’s contribution to that specific prediction outcome.
As shown in Figure 7 and Figure 8, SHAP is employed to interpret the characteristics of input for SCN, with features ranked in descending order of importance based on mean absolute SHAP values. Positive SHAP values correspond to positive effects, while negative values correspond to negative effects. The color bar in Figure 7 illustrates that a color closer to the upper end represents a higher feature value, while a color nearer to the lower end corresponds to a smaller feature value. Furthermore, a wider color bar reflects a more significant feature impact, suggesting that such a feature is more critical.
In Figure 7, GHI, zenith angle, and cloud opacity have a higher contribution ranking. GHI exhibits the most significant influence among all variables. The SHAP values of GHI demonstrate a wide distribution. The light purple segments indicate that higher GHI corresponds to greater PV power output, while the light blue segments indicate that lower GHI values correspond to reduced PV power output. Similarly, the zenith angle and cloud opacity also exhibit broad SHAP value distributions. Unlike GHI, their light purple segments correspond to lower PV power output, whereas the pale blue portions are associated with higher PV power output. The contributions of the remaining input features appear less distinct. As shown in Figure 9, GHI, zenith angle, and cloud opacity exhibit the highest mean absolute SHAP values, providing further evidence to support the conclusion derived from Figure 8.
By analyzing both correlation coefficients and SHAP values, this paper chooses GHI, zenith angle, and cloud opacity as input variables for the predictive model.

5.2.2. Weather Clustering Method Based on K-Means

This paper employs K-means clustering to reduce the uncertainty in PV power output caused by weather variations. For two time series sequences X and Y of equal length, each containing p samples, the Euclidean distance metric is computed as depicted in Equation (25).
D X , Y = a = 1 p X a Y a 2
In Equation (27), X and Y represent time series sequences of equal length, D is Euclidean distance metric.
In K-means clustering, the selection of the number of clusters (K) directly impacts the clustering results. However, the determination of the value of k is often defined artificially, lacking a theoretical foundation. Therefore, this paper utilizes the silhouette coefficient (SC) to determine the optimal number of clusters. The formula for calculating the SC is depicted in Equation (26).
S C = D b D a M a x D a , D b
Here, D a represents the average distance from a certain sequence to other sequences within the same cluster, and D b denotes the average distance from that sequence to sequences in other clusters. The range of the SC coefficient spans from [−1, 1]. The closer SC approaches one, the better the clustering effectiveness. A value of zero indicates cluster overlap.
This paper calculates the SC values for different categories with the number of clusters ranging from two to eight, and the results are illustrated in Figure 9.
Based on Figure 9, it is evident that the SC reaches its peak value of 0.61 when the number of clusters is set to three. Therefore, this paper chooses three as the number of clusters. The clustering outcomes are illustrated in Figure 10, Figure 11 and Figure 12.
From Figure 10, Figure 11 and Figure 12, it can be observed that each PV power curve of various categories exhibits unique characteristics [37]. Among the three types of photovoltaic (PV) output curves, category 1 has the highest peak. Its peaks are generally above 100 MW and exhibit obvious regularity. The occurrence of this situation can be attributed to the consistent sunlight radiation received by the PV panels, thereby resulting in no fluctuations in PV power. Therefore, category 1 is defined as sunny patterns. The peak values of category 2 curves are typically below 100 MW, primarily due to the intermittent shading of solar panels caused by the movement of cloud. Therefore, category 2 is defined as cloudy patterns. Category 3 curves are the most special, featuring the lowest peak and exhibiting marked volatility. This is due to the fact that the solar radiation received by PV panels becomes unstable on rainy days or sudden weather changes. Category 3 is defined as rainy patterns. This study establishes short-term PV power prediction model under the aforementioned three weather patterns.

5.3. Results

5.3.1. Evaluating Indicator

The paper utilizes the mean absolute error (MAE), mean square error (MSE), root mean square error (RMSE), mean absolute percentage error (MAPE), and the coefficient of determination (R2) to evaluate the predictive model performance [38], with specific formulas as follows:
M A E = 1 n i = 1 n y i y i *
M S E = 1 n i = 1 n y i y i * 2
R M S E = 1 n i = 1 n y i y i * 2
M A P E = 1 n i n y i y i * y i
R 2 = 1 i = 1 n ( y i y i * ) 2 i = 1 n ( y i y ¯ )
where y i denotes the true value of the PV power for the i-th sample, y i * represents the predicted value of the PV power for the i-th sample, n signifies the number of samples, and y ¯ indicates the average PV power.

5.3.2. Forecast Results and Analysis

The parameter settings for the IZOA-SCN are as follows: population size (pop) is 30, the maximum iterations ( G m a x ) is 50, population dimensions (dim) is 2, maximum number of candidate nodes ( T m a x ) is 100, tolerance error (ε) is 0.01, the maximum number of the hidden nodes ( L m a x ) is 50, and the activation function g(x) is sigmoid. The upper bound ( u b ) for r is set at 0.9, and the lower bound ( l b ) is set at 0.9999999. The upper bound ( u b ) for λ is set at 250, and the lower bound ( l b ) is set at 0.5 [39].
To verify the accuracy of the proposed model, the paper compares the predictive results of SCN, ZOA-SCN, LSTM, PSO-SCN, SSA-SCN, TCN, and GRU. Each model is run independently 100 times to record the optimal results. The predicted photovoltaic power generation under different weather patterns is compared using five assessment indicators, further validating the precision of each prediction model. The prediction results are illustrated for the sunny pattern in Figure 13, for the cloudy pattern in Figure 14, and for the rainy pattern in Figure 15. The evaluation indicator is presented in Table 2, Table 3 and Table 4. The bar charts shown in Figure 16, Figure 17 and Figure 18 display the evaluation metrics for various weather patterns.
In the case of the sunny pattern, Figure 13 demonstrates the forecasting results from various models. The prediction curves of SCN, LSTM, and GRU exhibit similar trends to the actual PV power curve. However, GRU and LSTM predict values that are significantly lower than the actual value near the peak. The SCN predicts values that are higher than the true values near the peak, with slight fluctuations occurring at other time points. Thanks to the architecture of the SCN network, the fitting performance of the SCN network is generally superior to that of the LSTM and GRU overall. The performance of SCN in predicting around the peak is unstable due to the influence of manually set hyperparameters on the SCN. ZOA-SCN is capable of selecting the optimal values for SCN model parameters, thereby diminishing model error. As illustrated by the red curve in Figure 13, the fitting curve of ZOA-SCN is essentially consistent with the true values. The tracking performance of PSO-SCN and SSA-SCN in the peak region is second only to that of ZOA-SCN. However, traditional ZOA is prone to falling into local optima, which restricts the precision of the model and produces deviations from the true values at later points of prediction. The IZOA-SCN method can effectively predict PV power under sunny pattern, showing superior generalization performance and robustness.
To enhance the understanding of the prediction results, this study adopted a more intuitive bar chart to present the evaluation indicators, as shown in Figure 14 and Table 4, which displays the distribution of evaluation metrics for the four models under sunny pattern. It can be intuitively seen that, due to the unique supervision mechanism of the SCN, the performance indices of the SCN are generally superior to the LSTM. Additionally, the method of optimizing the parameters of the SCN through ZOA and IZOA has significantly improved the prediction performance. Compared to SCN, ZOA-SCN reduced the MAE, MSE, RMSE, and MAPE by 73.3%, 92.1%, 75.6%, and 76.7%, respectively. The IZOA proposed in this paper effectively addresses the issue of ZOA being prone to get stuck in local optima and being unable to generate the optimal parameter set. IZOA-SCN performed even better in all aspects. Compared to ZOA-SCN, IZOA-SCN reduced the MAE, MSE, RMSE, and MAPE by 30.2%, 61.2%, 28.4%, and 26.4%, respectively. The above analysis indicates that the proposed prediction model in this paper has the highest accuracy under sunny pattern.
Regarding the cloudy pattern, the actual curve has some fluctuations. Figure 15 shows the prediction results of IZOA-SCN, ZOA-SCN, SCN, PSO-SCN, SSA-SCN, GRU, TCN, and LSTM. Obviously, the LSTM and GRU model has the worst fitting performance. After the actual values start to fluctuate, LSTM and GRU fail to effectively capture the changes in the actual PV power curve and gradually deviate from the real values. Although SCN can capture overall trends, it still exhibits errors at some turning points, failing to effectively capture local features, especially after the 25th sampling point. ZOA-SCN demonstrates excellent local fitting ability after adopting an optimized algorithm to obtain better parameter sets. IZOA-SCN demonstrates the best fitting effect due to the introduction of the improvement strategy to further enhance the ability of ZOA to search parameters.
Based on Figure 16 and Table 5, it can be observed that the MSE and MAPE of the models are relatively high. This indicates that the significant difference in waveform between the previous and subsequent periods under cloudy pattern, making prediction challenging. However, the evaluation indicators of models based on SCN are generally superior to those of LSTM, which also confirms the superiority of SCN. The ability of SCN to randomly allocate parameters is influenced by the parameter range of artificial settings, which prevents SCN from achieving the optimal prediction effect. Due to the combination of ZOA, the performance indicators of ZOA-SCN have been significantly improved. Compared to SCN, the MAE, MSE, RMSE, and MAPE of ZOA-SCN decreased by 43.6%, 82.9%, 58.7%, and 70.1%, respectively. Compared to ZOA-SCN, the MAE, MSE, RMSE, and MAPE of the IZOA-SCN are further decreased by 71.7%, 90.0%, 68.4%, and 69.3%, respectively. Considering the analysis provided above, the IZOA-SCN model proposed in this paper has the best evaluation indicator, once again verifying the accuracy of the IZOA-SCN, and demonstrating its superior predictive performance in situations of greater volatility.
Concerning the rainy pattern, owing to the impact of weather changes, the actual PV power curve exhibits multiple fluctuations. Figure 17 shows the prediction results of IZOA-SCN, ZOA-SCN, SCN, PSO-SCN, SSA-SCN, GRU, TCN, and LSTM. As shown in Figure 17, before the 15th sampling point, LSTM and SCN produced different degrees of prediction errors. However, as the network deepens, they gradually become able to capture the fluctuations in actual PV power. Despite ZOA-SCN being able to track the trends of the actual PV power curve largely, there remains a potential issue of overfitting. IZOA-SCN effectively addressed this problem, maintaining the best prediction results even during multiple fluctuations.
The Figure 18 and Table 6 show that both SCN and LSTM have poor evaluation indicators. With the automatic optimization of the parameters for SCN, both the MAE and RMSE of ZOA-SCN and IZOA-SCN are less than one, but the MAPE of ZOA-SCN is relatively high. After implementing three improvement strategies on ZOA, the MAPE of IZOA-SCN decreased to 0.5656, while MAE, MSE, and RMSE decreased to 0.2709, 0.0993, and 0.3152, respectively. Additionally, the coefficient of determination reached 0.99998, achieving the best evaluation metrics and effectively improving the accuracy of predictions.
To enhance the generalization capability of the model, this study further validates the proposed IZOA-SCN algorithm using a dataset from a PV power station in northwest China [40]. After data processing and clustering, three distinct PV output patterns corresponding to different weather are identified: sunny, cloudy, and rainy patterns. The prediction results are presented in Figure 19, Figure 20 and Figure 21, with the corresponding evaluation indicators shown in Table 5, Table 6 and Table 7.
As shown in Figure 19 and Table 7, under sunny pattern, the LSTM, GRU, and TCN models all exhibit significant deviations in the peak power segment, while the SCN-based model demonstrates closer alignment with the actual values. The SSA-SCN and PSO-SCN models show improved prediction accuracy due to the incorporation of optimization algorithms but still exhibit fluctuations at certain points. In contrast, the ZOA-SCN model successfully overcomes limitations. Among all models, IZOA-SCN demonstrates the best fitting performance, which is further corroborated by its corresponding lowest evaluation indicator. As illustrated in Figure 20 and Figure 21 and Table 8 and Table 9, the models’ tracking capabilities face challenges under cloudy and rainy pattern, where frequent weather variations cause multi-point fluctuations in the actual values. Under these demanding conditions, the proposed IZOA-SCN maintains superior tracking performance and the lowest evaluation indicator among all compared methods. Therefore, the comprehensive simulation results conclusively demonstrate that IZOA-SCN effectively enhances the accuracy of short-term photovoltaic power forecasting.
According to Table 10, due to its unique network architecture, the SCN achieves the shortest runtime while possessing accurate prediction results compared to LSTM, TCN, and GRU. The PSO-SCN, SSA-SCN, and ZOA-SCN models exhibit increased computational time compared to the original SCN due to the introduction of optimization algorithms. However, they still outperform recurrent neural networks such as LSTM and GRU in terms of efficiency. Although IZOA-SCN has a relatively elapsed time, the above simulation experiments demonstrate that its prediction accuracy is significantly improved, thereby compensating for the temporal drawback. This demonstrates the feasibility of the proposed IZOA-SCN model for short-term PV power forecasting. An important future work of this research is to optimize the network architecture to reduce elapsed time while maintaining prediction accuracy.

5.3.3. Model Evaluation Based on Statistical Experiments

In model evaluation, relying on indicators such as MAE and MSE to compare the advantages of different models is not entirely reliable. Therefore, this study further employs Friedman and Wilcoxon tests to demonstrate the efficacy of the IZOA-SCN algorithm.
The Friedman test is a non-parametric statistical method used to compare whether a group of algorithms exhibits statistically significant differences. It evaluates the null hypothesis that “all algorithms perform equally” by comparing the resulting p-value. If the p-value is less than the significance level (set at 0.05 in this study), the null hypothesis is rejected, indicating that “the algorithms’ performances differ significantly”. Conversely, if the p-value exceeds the significance level, the null hypothesis cannot be rejected. This study compares the p-values of seven different algorithms, with the detailed results presented in Table 11, Table 12 and Table 13.
As shown in Table 11, Table 12 and Table 13, the p-values of Friedman test are below 0.05 across all weather patterns, indicating statistically significant differences among at least two models. Subsequent Wilcoxon signed-rank tests further demonstrate that the proposed IZOA-SCN algorithm exhibits significant performance differences compared to all algorithms. Therefore, when combined with evaluation indicators, these statistical results confirm IZOA-SCN as the optimal algorithm.

5.3.4. Model Ablation Study

In this section, a series of ablation experiments will be conducted to demonstrate that each component of the proposed IZOA-SCN algorithm has a significant impact on PV power prediction results. Figure 22 and Table 14 present the ablation analysis results of the MAE, MSE, and RMSE for one-day PV power prediction.
The results demonstrate that both the ZOA optimization algorithm and its improvement strategies are essential for achieving high accuracy and low error, as they can effectively collaborate with each other. When the ZOA algorithm component is removed, the MAE, MSE, and RMSE decreased by 54.9%, 82.5%, and 58.2%, respectively, compared to the SCN model. This indicates that the ZOA algorithm effectively assists the SCN in obtaining optimal values for parameters, thereby significantly improving prediction accuracy. When the IZOA algorithm component is removed, the MAE, MSE, and RMSE increased by 88.97%, 99.11%, and 90.56%, respectively, compared to the SCN model. This demonstrates that IZOA plays a pivotal role in minimizing prediction errors to the greatest extent. Moreover, when the improvement component of ZOA is removed, the MAE, MSE, and RMSE increased by 75.56%, 94.91%, and 77.3%, respectively, compared to the complete IZOA-SCN model. This clearly demonstrates that the proposed IZOA algorithm effectively addresses the drawbacks of the original ZOA method. In summary, the ablation experiments conclusively validate the effectiveness of the proposed method. The results demonstrate that the integrated approach achieves optimal performance in PV power prediction when all components are implemented, fully realizing its advantages.
The proposed model in this paper involves a small number of manually set parameters. To make these parameter settings more reliable, ablation experiments are conducted on the parameters. First, in the SCN network architecture, while keeping T m a x constant, the number of L m a x is varied to 25, 50, 100, 125, and 150, with the results shown in the Table 15. Next, while keeping L m a x constant, the number of T m a x is adjusted to 25, 50, 75, 100, and 125, with the results presented in the Table 16.
According to Table 15 and Table 16, the study observes that when the maximum number of hidden nodes is fixed, the MAE, MSE, and RMSE of the SCN network architecture decrease sharply as L m a x increases, until L m a x reaches 100. However, further increasing L m a x beyond this point leads to a gradual rise in MAE, MSE, and RMSE. On the other hand, when L m a x is fixed, increasing T m a x beyond 50 results in diminishing returns, as the model fails to capture features more effectively. These analyses indicate that, for the based SCN architecture, the optimal parameter combination is T m a x = 50 and L m a x = 100, at which point the model achieves its best feature extraction capability.
For the ZOA-SCN model, the population size (pop) and the maximum number of iterations ( G m a x ) significantly influence the optimization capability of the ZOA. First, we keep the pop constant and varied G m a x to 40, 45, 50, 55, and 60, with the results shown in the Table 17. Next, we fixed G m a x and adjusted the pop to 20, 25, 30, 35, and 40, with the results presented in Table 18.
We observed that increasing either G m a x or pop may prevent ZOA from converging to the optimal value when solving optimization. Excessively high pop and G m a x may lead to model overfitting, while setting these parameters too low could prevent the model from searching for high-quality solutions in ZOA. When G m a x = 50 and pop = 30, ZOA enables SCN to achieve the best parameters, resulting in the smallest MAE, MSE, and RMSE.

6. Conclusions

In the context of global environmental degradation, the output of PV power generation is significantly influenced by weather changes, presenting a high degree of uncertainty. The precision of PV power prediction has presented as a notable challenge. Applying K-means clustering for classifying historical PV data significantly reduces the uncertainty caused by environmental factors on the output of PV power. Moreover, this study proposes an effective short-term PV power forecasting model based on IZOA-SCN. With three improvement strategies implemented for ZOA, the IZOA algorithm is provided for selecting the regularization parameters and scale factors of SCN, effectively addressing the issue of unstable prediction results due to manual setting of hyperparameters. Compared to LSTM, SCN, and ZOA-SCN, the proposed model exhibits the best prediction effect under three types of weather patterns, demonstrating superior generalization capabilities and robustness.
It is noteworthy that, with the progress of SCN research, robust SCN and deep SCN have been proposed, which may improve prediction performance. This study will attempt to replace the foundational model with robust SCN and deep SCN in the future, aiming to further explore the application of SCN in the field of PV power prediction.
The IZOA-SCN prediction model proposed in this study can accurately predict photovoltaic (PV) power under three common weather conditions. Accurate PV power prediction can effectively reduce solar curtailment. Beyond the field of PV power generation, the proposed model can also be applied to the prediction of other renewable energy sources, contributing to the advancement of renewable energy development. However, the model still has limitations. Due to the lack of consideration for certain extreme weather conditions, which exhibit more complex and harder-to-capture characteristics, the relationship between these conditions and PV power output becomes more intricate. Therefore, future research will focus on PV power prediction under such extreme weather conditions to enhance the robustness of models.

Author Contributions

Y.W.: Conceptualization, funding acquisition, and supervision. W.L.: Formal analysis, methodology, software, writing—original draft, and writing—review and editing. H.C.: Investigation. Y.M.: Data curation. B.Y.: Validation. Y.Y.: Visualization. All authors have read and agreed to the published version of the manuscript.

Funding

This project is supported by the National Natural Science Foundation of China (NSFC) (61673281).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data can be provided upon request.

Conflicts of Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

References

  1. Wang, H.; Yi, H.; Peng, J.; Wang, G.; Liu, Y.; Jiang, H.; Liu, W. Deterministic and probabilistic forecasting of photovoltaic power based on deep convolutional neural network. Energy Convers. Manag. 2017, 153, 409–422. [Google Scholar] [CrossRef]
  2. Ahmed, R.; Sreeram, V.; Mishra, Y.; Arif, M.D. 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]
  3. Semero, Y.K.; Zheng, D.; Zhang, J. A PSO-ANFIS based hybrid approach for short term PV power prediction in microgrids. Electr. Power Compon. Syst. 2018, 46, 95–103. [Google Scholar] [CrossRef]
  4. Ding, Z.; Wen, X.; Tan, Q.; Yang, T.; Fang, G.; Lei, X.; Zhang, Y.; Wang, H. A forecast-driven decision-making model for long-term operation of a hydro-wind-photovoltaic hybrid system. Appl. Energy 2021, 291, 116820. [Google Scholar] [CrossRef]
  5. Limouni, T.; Yaagoubi, R.; Bouziane, K.; Guissi, K.; Baali, E.H. Accurate one step and multistep forecasting of very short-term PV power using LSTM-TCN model. Renew. Energy 2023, 205, 1010–1024. [Google Scholar] [CrossRef]
  6. Zhang, C.; Tao, Z.; Xiong, J.; Qian, S.; Fu, Y.; Ji, J.; Nazir, M.S.; Peng, T. Research and application of a novel weight-based evolutionary ensemble model using principal component analysis for wind power prediction. Renew. Energy 2024, 232, 121085. [Google Scholar] [CrossRef]
  7. Pan, M.; Li, C.; Gao, R.; Huang, Y.; You, H.; Gu, T.; Qin, F. Photovoltaic power forecasting based on a support vector machine with improved ant colony optimization. J. Clean. Prod. 2020, 277, 123948. [Google Scholar] [CrossRef]
  8. Hu, K.; Cao, S.; Wang, L.; Li, W.; Lv, M. A new ultra-short-term photovoltaic power prediction model based on ground-based cloud images. J. Clean. Prod. 2018, 200, 731–745. [Google Scholar] [CrossRef]
  9. Almonacid, F.; Pérez-Higueras, P.; Fernández, E.F.; Hontoria, L. A methodology based on dynamic artificial neural network for short-term forecasting of the power output of a PV generator. Energy Convers. Manag. 2014, 85, 389–398. [Google Scholar] [CrossRef]
  10. Lin, G.-Q.; Li, L.-L.; Tseng, M.-L.; Liu, H.-M.; Yuan, D.-D.; Tan, R.R. An improved moth-flame optimization algorithm for support vector machine prediction of photovoltaic power generation. J. Clean. Prod. 2020, 253, 119966. [Google Scholar] [CrossRef]
  11. Fara, L.; Diaconu, A.; Craciunescu, D.; Fara, S. Forecasting of energy production for photovoltaic systems based on ARIMA and ANN advanced models. Int. J. Photoenergy 2021, 2021, 6777488. [Google Scholar] [CrossRef]
  12. Prema, V.; Rao, K.U. Development of statistical time series models for solar power prediction. Renew. Energy 2015, 83, 100–109. [Google Scholar] [CrossRef]
  13. Shi, J.; Lee, W.-J.; Liu, Y.; Yang, Y.; Wang, P. Forecasting power output of photovoltaic systems based on weather classification and support vector machines. IEEE Trans. Ind. Appl. 2012, 48, 1064–1069. [Google Scholar] [CrossRef]
  14. Gao, M.; Li, J.; Hong, F.; Long, D. Short-term forecasting of power production in a large-scale photovoltaic plant based on LSTM. Appl. Sci. 2019, 9, 3192. [Google Scholar] [CrossRef]
  15. Lim, S.-C.; Huh, J.-H.; Hong, S.-H.; Park, C.-Y.; Kim, J.-C. Solar power forecasting using CNN-LSTM hybrid model. Energies 2022, 15, 8233. [Google Scholar] [CrossRef]
  16. Zhou, X.; Cheng, Y.; Qiao, D.; Huo, Z. An adaptive surrogate model-based fast planning for swarm safe migration along halo orbit. Acta Astronaut. 2022, 194, 309–322. [Google Scholar] [CrossRef]
  17. Ye, N.; Long, T.; Meng, J.; Shi, R.; Zhang, B. Surrogate-assisted optimization for anti-ship missile body configuration considering high-velocity water touching. Chin. J. Aeronaut. 2023, 36, 268–281. [Google Scholar] [CrossRef]
  18. Chen, Q.; Wei, C.; Shi, Y.; Meng, Y. Satellite swarm reconfiguration planning based on surrogate models. J. Guid. Control. Dyn. 2020, 43, 1750–1756. [Google Scholar] [CrossRef]
  19. Wang, Y.; Liao, W.; Chang, Y. Gated recurrent unit network-based short-term photovoltaic forecasting. Energies 2018, 11, 2163. [Google Scholar] [CrossRef]
  20. 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]
  21. Kukharova, T.; Maltsev, P.; Novozhilov, I. Development of a Control System for Pressure Distribution During Gas Production in a Structurally Complex Field. Appl. Syst. Innov. 2025, 8, 51. [Google Scholar] [CrossRef]
  22. Wang, D. Randomized algorithms for training neural networks. Inf. Sci. 2016, 100, 126–128. [Google Scholar] [CrossRef]
  23. Mahoney, M.W. Randomized algorithms for matrices and data. Found. Trends® Mach. Learn. 2011, 3, 123–224. [Google Scholar]
  24. Zhu, H.; Sun, Y.; Jiang, T.; Zhang, X.; Zhou, H.; Hu, S.; Kang, M. An FCM based weather type classification method considering photovoltaic output and meteorological characteristics and its application in power interval forecasting. IET Renew. Power Gener. 2024, 18, 238–260. [Google Scholar] [CrossRef]
  25. Pao, Y.-H.; Takefuji, Y. Functional-link net computing: Theory, system architecture, and functionalities. Computer 1992, 25, 76–79. [Google Scholar] [CrossRef]
  26. Kushwaha, V.; Pindoriya, N.M. A SARIMA-RVFL hybrid model assisted by wavelet decomposition for very short-term solar PV power generation forecast. Renew. Energy 2019, 140, 124–139. [Google Scholar] [CrossRef]
  27. Elaziz, M.A.; Senthilraja, S.; Zayed, M.E.; Elsheikh, A.H.; Mostafa, R.R.; Lu, S. A new random vector functional link integrated with mayfly optimization algorithm for performance prediction of solar photovoltaic thermal collector combined with electrolytic hydrogen production system. Appl. Therm. Eng. 2021, 193, 117055. [Google Scholar] [CrossRef]
  28. Wang, D.; Li, M. Stochastic configuration networks: Fundamentals and algorithms. IEEE Trans. Cybern. 2017, 47, 3466–3479. [Google Scholar] [CrossRef]
  29. Liu, W.; Xu, Y. Randomised learning-based hybrid ensemble model for probabilistic forecasting of PV power generation. IET Gener. Transm. Distrib. 2020, 14, 5909–5917. [Google Scholar] [CrossRef]
  30. Dai, W.; Li, D.; Zhou, P.; Chai, T. Stochastic configuration networks with block increments for data modeling in process industries. Inf. Sci. 2019, 484, 367–386. [Google Scholar] [CrossRef]
  31. Trojovska, E.; Dehghani, M.; Trojovsky, P. Zebra optimization algorithm: A new bio-inspired optimization algorithm for solving optimization algorithm. IEEE Access 2022, 10, 49445–49473. [Google Scholar] [CrossRef]
  32. Gokulakrishan, D.; Ramakrishnan, R.; Saritha, G.; Sreedevi, B. An advancing method for web service reliability and scalability using ResNet convolution neural network optimized with zebra optimization Algorithm. Trans. Emerg. Telecommun. Technol. 2024, 35, e4968. [Google Scholar] [CrossRef]
  33. Karthick, M.; Rukkumani, V. Enhanced cascaded converters for switched reluctance motor-fed electric vehicles. IETE J. Res. 2024, 70, 914–935. [Google Scholar] [CrossRef]
  34. Wang, W.; Tian, J. An improved nonlinear tuna swarm optimization algorithm based on circle chaos map and levy flight operator. Electronics 2022, 11, 3678. [Google Scholar] [CrossRef]
  35. Rahnamayan, S.; Tizhoosh, H.R.; Salama, M.M.A. Opposition-based differential evolution. IEEE Trans. Evol. Comput. 2008, 12, 64–79. [Google Scholar] [CrossRef]
  36. Wang, Z.; Wang, C.; Cheng, L.; Li, G. An approach for day-ahead interval forecasting of photovoltaic power: A novel DCGAN and LSTM based quantile regression modeling method. Energy Rep. 2022, 8, 14020–14033. [Google Scholar] [CrossRef]
  37. Raza, M.Q.; Mithulananthan, N.; Summerfield, A. Solar output power forecast using an ensemble framework with neural predictors and Bayesian adaptive combination. Sol. Energy 2018, 166, 226–241. [Google Scholar] [CrossRef]
  38. Almeida, M.P.; Muñoz, M.; de la Parra, I.; Perpiñán, O. Comparative study of PV power forecast using parametric and nonparametric PV models. Sol. Energy 2017, 155, 854–866. [Google Scholar] [CrossRef]
  39. Yu, B.; Wang, Y.; Wang, J.; Ma, Y.; Li, W.; Zheng, W. A hybrid model for short-term offshore wind power prediction combining Kepler optimization algorithm with variational mode decomposition and stochastic configuration networks. Int. J. Electr. Power Energy Syst. 2025, 168, 110703. [Google Scholar] [CrossRef]
  40. Wang, Y.; Hao, Y.; Zhao, K.; Yao, Y. Stochastic configuration networks for short-term power load forecasting. Inf. Sci. 2025, 689, 121489. [Google Scholar] [CrossRef]
Figure 1. The SCN model structure.
Figure 1. The SCN model structure.
Sensors 25 03378 g001
Figure 2. The flow chart of SCN.
Figure 2. The flow chart of SCN.
Sensors 25 03378 g002
Figure 3. The flow chart of ZOA.
Figure 3. The flow chart of ZOA.
Sensors 25 03378 g003
Figure 4. The flow chart of ODE.
Figure 4. The flow chart of ODE.
Sensors 25 03378 g004
Figure 5. The improved algorithm comparison chart.
Figure 5. The improved algorithm comparison chart.
Sensors 25 03378 g005
Figure 6. The flowchart of PV power forecasting model.
Figure 6. The flowchart of PV power forecasting model.
Sensors 25 03378 g006
Figure 7. The summary plot for SCN.
Figure 7. The summary plot for SCN.
Sensors 25 03378 g007
Figure 8. Mean absolute SHAP value.
Figure 8. Mean absolute SHAP value.
Sensors 25 03378 g008
Figure 9. The SC coefficients for different numbers of clusters.
Figure 9. The SC coefficients for different numbers of clusters.
Sensors 25 03378 g009
Figure 10. The clustering results of category 1.
Figure 10. The clustering results of category 1.
Sensors 25 03378 g010
Figure 11. The clustering results of category 2.
Figure 11. The clustering results of category 2.
Sensors 25 03378 g011
Figure 12. The clustering results of category 3.
Figure 12. The clustering results of category 3.
Sensors 25 03378 g012
Figure 13. The predicted power output curves on sunny pattern.
Figure 13. The predicted power output curves on sunny pattern.
Sensors 25 03378 g013
Figure 14. The predicted power output curves on cloudy pattern.
Figure 14. The predicted power output curves on cloudy pattern.
Sensors 25 03378 g014
Figure 15. The predicted power output curves on rainy pattern.
Figure 15. The predicted power output curves on rainy pattern.
Sensors 25 03378 g015
Figure 16. The bar chart of sunny pattern evaluation indicator.
Figure 16. The bar chart of sunny pattern evaluation indicator.
Sensors 25 03378 g016
Figure 17. The bar chart of cloudy pattern evaluation indicator.
Figure 17. The bar chart of cloudy pattern evaluation indicator.
Sensors 25 03378 g017
Figure 18. The bar chart of rainy pattern evaluation indicator.
Figure 18. The bar chart of rainy pattern evaluation indicator.
Sensors 25 03378 g018
Figure 19. The predicted power output curves on sunny pattern.
Figure 19. The predicted power output curves on sunny pattern.
Sensors 25 03378 g019
Figure 20. The predicted power output curves on cloudy pattern.
Figure 20. The predicted power output curves on cloudy pattern.
Sensors 25 03378 g020
Figure 21. The predicted power output curves on rainy pattern.
Figure 21. The predicted power output curves on rainy pattern.
Sensors 25 03378 g021
Figure 22. The comparison chart of ablation experiment indicator across.
Figure 22. The comparison chart of ablation experiment indicator across.
Sensors 25 03378 g022
Table 1. Test function.
Table 1. Test function.
FunctionDimensionRange
f 1 x = i = 1 30 x i 2 30[−100, 100]
f 2 x = i = 1 30 x i + i = 1 30 x i 30[−10, 10]
f 3 x = i = 1 30 j = 1 i x j 2 30[−100, 100]
f 4 x = i = 1 30 x i 2 10 c o s 2 π x i + 10 30[−5.12, 5.12]
f 5 x = 20 e x p 0.2 1 30 i = 1 30 x i 2 e x p 1 30 i = 1 30 c o s 2 π x i + 20 + e 30[−32, 32]
f 6 x = i = 1 11 a i x 1 b i 2 + b i x 2 b i 2 + b i x 3 + x 4 2 30[−5, 5]
Table 2. Test results.
Table 2. Test results.
FunctionAlgorithmsAVGSTDOptimal
f 1 x IZOA7.0024 × 10−31404.9407 × 10−323
ZOA4.9393 × 10−25102.3053 × 10−261
GWO4.2078 × 10−271.2424 × 10−265.8831 × 10−29
WOA5.4801 × 10−751.7245 × 10−742.4443 × 10−83
PSO0.254090.246760.079196
RIME2.05230.678721.2152
f 2 x IZOA6.1121 × 10−17103.8899 × 10−175
ZOA2.922 × 10−1327.7955 × 10−1322.6854 × 10−138
GWO8.4728 × 10−175.5396 × 10−171.2437 × 10−17
WOA2.4134 × 10−527.2024 × 10−521.1527 × 10−56
PSO0.0635610.0248540.032937
RIME1.44351.08730.4416
f 3 x IZOA4.9213 × 10−19007.8331 × 10−214
ZOA7.7994 × 10−1612.4663 × 10−1603.9772 × 10−180
GWO9.9272 × 10−62.7574 × 10−52.8674 × 10−8
WOA38288.91614914.056511776.3969
PSO2384.48452198.1302606.7415
RIME1320.7304415.1079611.877
f 4 x IZOA000
ZOA000
GWO1.52182.78390
WOA5.6843 × 10−151.7975 × 10−140
PSO49.88599.676634.4649
RIME56.138815.784732.1465
f 5 x IZOA4.4409 × 10−1604.4409 × 10−16
ZOA4.4409 × 10−1604.4409 × 10−16
GWO1.0134 × 10−131.9036×10−147.8604 × 10−14
WOA4.7073 × 10−152.2469×10−154.4409 × 10−16
PSO0.461630.473460.084786
RIME2.20760.298681.891
f 6 x IZOA7.0024 × 10−31404.9407 × 10−323
ZOA4.9393 × 10−25102.3053 × 10−261
GWO4.2078 × 10−271.2424 × 10−265.8831 × 10−29
WOA5.4801 × 10−751.7245 × 10−742.4443 × 10−83
PSO0.254090.246760.079196
RIME2.05230.678721.2152
Table 3. Correlation coefficient between input features and PV power.
Table 3. Correlation coefficient between input features and PV power.
Attributes ρ x , y
Global horizontal irradiance0.99
Cloud opacity−0.20
Zenith angle−0.83
Azimuth−0.03
Dew point temperature0.06
Atmospheric precipitation0.07
Relative humidity−0.44
Snow depth−0.08
Pressure−0.05
Table 4. Sunny pattern evaluation indicator.
Table 4. Sunny pattern evaluation indicator.
Model (Sunny)MAEMSERMSEMAPE (%) R 2
SCN1.39843.30141.81701.64870.9977
ZOA-SCN0.37390.26090.44410.38360.9998
IZOA-SCN0.26090.10110.31800.28240.9999
LSTM1.53643.62321.90351.57080.9988
PSO-SCN0.71740.98820.99410.71220.9996
SSA-SCN0.70950.71100.84380.78370.9994
TCN1.33713.82141.95481.24510.9983
GRU1.16991.88551.37311.41820.9992
Table 5. Cloudy pattern evaluation indicator.
Table 5. Cloudy pattern evaluation indicator.
Model (Cloudy)MAEMSERMSEMAPE (%) R 2
SCN1.31654.55982.13546.22830.9982
ZOA-SCN0.74310.77790.88201.82630.9991
IZOA-SCN0.21010.07790.27910.56010.9997
LSTM1.95255.45502.33563.92530.9981
PSO-SCN1.25542.29691.51552.24590.9991
SSA-SCN0.85941.11761.05722.06120.9995
TCN1.5384.62892.15152.19540.9988
GRU1.57605.60702.36793.38800.9980
Table 6. Rainy pattern evaluation indicator.
Table 6. Rainy pattern evaluation indicator.
Model (Rainy)MAEMSERMSEMAPE (%) R 2
SCN1.12132.20441.48472.24540.9968
ZOA-SCN0.48320.42490.65190.80740.9994
IZOA-SCN0.27090.09930.31520.56560.9998
LSTM2.09956.14422.47883.92410.9927
PSO-SCN0.84191.16251.07821.46240.9983
SSA-SCN0.71930.76520.87471.38400.9990
TCN1.14361.84261.35742.14310.9995
GRU1.78365.06942.25153.23020.9977
Table 7. Sunny pattern evaluation indicator.
Table 7. Sunny pattern evaluation indicator.
Model (Sunny)MAEMSERMSEMAPE (%) R 2
SCN0.51650.62640.79146.82090.9995
ZOA-SCN0.36850.19670.44341.83580.9998
IZOA-SCN0.24320.08360.28924.68970.9999
LSTM0.71930.78800.887712.56430.9990
PSO-SCN0.47950.35830.59866.64810.9997
SSA-SCN0.46080.26620.515915.42010.9998
GRU0.61560.57100.775618.36600.9994
TCN0.64731.22111.105012.50530.9994
Table 8. Cloudy pattern evaluation indicator.
Table 8. Cloudy pattern evaluation indicator.
Model (Cloudy)MAEMSERMSEMAPE (%) R 2
SCN0.45790.36470.603912.25800.9995
ZOA-SCN0.23380.13890.37289.07990.9998
IZOA-SCN0.18880.05370.23196.14430.9999
LSTM0.51440.37060.608712.98210.9994
PSO-SCN0.44510.34140.584312.07810.9995
SSA-SCN0.36190.20750.45558.19890.9997
GRU0.47290.35630.596914.44120.9995
TCN0.43920.29340.541614.50310.9995
Table 9. Rainy pattern evaluation indicator.
Table 9. Rainy pattern evaluation indicator.
Model (Rainy)MAEMSERMSEMAPE (%) R 2
SCN0.30990.17910.42327.09370.9996
ZOA-SCN0.14270.03140.17726.45460.9998
IZOA-SCN0.05120.00530.07320.74950.9999
LSTM0.58410.66990.818416.47260.9985
PSO-SCN0.26440.16450.40566.55220.9998
SSA-SCN0.27890.12940.35986.43200.9998
GRU0.46640.29620.544216.35020.9995
TCN0.72610.71880.847815.9550.9989
Table 10. Elapsed time of the model.
Table 10. Elapsed time of the model.
Weather PatternModelElapsed Time (s)
SunnySCN1.779
ZOA-SCN13.871
IZOA-SCN30.652
LSTM20.173
PSO-SCN14.527
SSA-SCN17.769
GRU18.449
TCN15.592
CloudySCN1.850
ZOA-SCN16.987
IZOA-SCN38.551
LSTM21.024
PSO-SCN18.618
SSA-SCN17.301
GRU20.673
TCN17.099
RainySCN1.971
ZOA-SCN20.745
IZOA-SCN45.501
LSTM20.767
PSO-SCN22.219
SSA-SCN23.444
GRU21.394
TCN20.915
Table 11. Statistical comparison results under sunny pattern.
Table 11. Statistical comparison results under sunny pattern.
Model (Sunny)Wilcoxon TextFriedman Text
ZOA0.011342 < 0.05
SCN0.0067885 < 0.05
LSTM1.9587 × 10−6 < 0.05
SSA-SCN0.022494 < 0.055.223610314 × 10−15 < 0.05
PSO-SCN7.8198 × 10−6 < 0.05
GRU0.00010889 < 0.05
TCN9.3297 × 10−5 < 0.05
Table 12. Statistical comparison results under cloudy pattern.
Table 12. Statistical comparison results under cloudy pattern.
Model (Cloudy)Wilcoxon TextFriedman Text
ZOA0.019704 < 0.05
SCN0.0012284 < 0.05
LSTM0.0048087 < 0.05
SSA-SCN0.0062941 < 0.051.1907238022 × 10−10 < 0.05
PSO-SCN0.014011 < 0.05
GRU0.0048087 < 0.05
TCN0.0060593 < 0.05
Table 13. Statistical comparison results under rainy pattern.
Table 13. Statistical comparison results under rainy pattern.
Model (Rainy)Wilcoxon TextFriedman Text
ZOA1.8409 × 10−6 < 0.05
SCN0.013531 < 0.05
LSTM0.0067885 < 0.05
SSA-SCN9.3297 × 10−5 < 0.051.01269394479 × 10−30 < 0.05
PSO-SCN1.6479 × 10−8 < 0.05
GRU2.5418 × 10−8 < 0.05
TCN1.6479 × 10−8 < 0.05
Table 14. Comparison of ablation experiment indicator.
Table 14. Comparison of ablation experiment indicator.
ModelMAEMSERMSE
IZOA-SCN0.16080.03610.1901
ZOA-SCN0.65800.70870.8418
SCN1.45874.05712.0142
Table 15. Ablation study on hidden nodes.
Table 15. Ablation study on hidden nodes.
Hidden Nodes MAE   ( T m a x = 50 ) MSE   ( T m a x = 50 ) RMSE   ( T m a x = 50 )
L m a x = 25 3.390819.09444.3697
L m a x = 50 2.2658.71722.9525
L m a x = 75 2.14747.96842.8228
L m a x = 100 1.46374.18352.0454
L m a x = 125 2.14688.07452.8416
L m a x = 150 2.18798.45402.9076
Table 16. Ablation study on candidate nodes.
Table 16. Ablation study on candidate nodes.
Candidate Nodes MAE   ( L m a x = 100 ) MSE   ( L m a x = 100 ) RMSE   ( L m a x = 100 )
T m a x = 25 2.761417.94934.2367
T m a x = 50 1.46374.18352.0454
T m a x = 75 1.94046.98392.6427
T m a x = 100 2.22237.71082.7768
T m a x = 125 2.805914.87413.8367
T m a x = 150 2.808914.72043.8567
Table 17. Ablation study on maximum iterations.
Table 17. Ablation study on maximum iterations.
Maximum Iterations MAE   ( p o p = 30 ) MSE   ( p o p = 30 ) RMSE   ( p o p = 30 )
G m a x = 40 0.497000.352660.59385
G m a x = 45 0.382410.227950.47744
G m a x = 50 0.368480.196650.44345
G m a x = 55 0.610540.575630.75870
G m a x = 60 1.187301.122101.76690
Table 18. Ablation study on population size.
Table 18. Ablation study on population size.
Population Size MAE   ( G m a x = 50 ) MSE   ( G m a x = 50 ) RMSE   ( G m a x = 50 )
p o p = 20 0.657550.567950.75362
p o p = 25 0.562880.518220.71988
p o p = 30 0.368480.196650.43345
p o p = 35 0.399020.241340.49126
p o p = 40 0.430380.282950.53193
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

Wang, Y.; Li, W.; Chen, H.; Ma, Y.; Yu, B.; Yu, Y. Short-Term Photovoltaic Power Forecasting Based on an Improved Zebra Optimization Algorithm—Stochastic Configuration Network. Sensors 2025, 25, 3378. https://doi.org/10.3390/s25113378

AMA Style

Wang Y, Li W, Chen H, Ma Y, Yu B, Yu Y. Short-Term Photovoltaic Power Forecasting Based on an Improved Zebra Optimization Algorithm—Stochastic Configuration Network. Sensors. 2025; 25(11):3378. https://doi.org/10.3390/s25113378

Chicago/Turabian Style

Wang, Yonggang, Wenpeng Li, Haoran Chen, Yuanchu Ma, Bingbing Yu, and Yadong Yu. 2025. "Short-Term Photovoltaic Power Forecasting Based on an Improved Zebra Optimization Algorithm—Stochastic Configuration Network" Sensors 25, no. 11: 3378. https://doi.org/10.3390/s25113378

APA Style

Wang, Y., Li, W., Chen, H., Ma, Y., Yu, B., & Yu, Y. (2025). Short-Term Photovoltaic Power Forecasting Based on an Improved Zebra Optimization Algorithm—Stochastic Configuration Network. Sensors, 25(11), 3378. https://doi.org/10.3390/s25113378

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