Next Article in Journal
Towards the Necessary Decarbonization of Historic Buildings: A Review
Previous Article in Journal
Effect of Changes in Mains Voltage on the Operation of the Low-Power Pellet Boiler
Previous Article in Special Issue
Renewable Energy Expansion in West Pomerania: Integrating Local Potential with Global Sustainability Goals
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Prediction Accuracy of Stackelberg Game Model of Electricity Price in Smart Grid Power Market Environment

1
College of Automotive and Mechanical Engineering, Harbin Cambridge University, Harbin 150069, China
2
College of Mechanical and Electrical Engineering, Northeast Forestry University, Harbin 150040, China
3
School of Computer and Big Data, Heilongjiang University, Harbin 150080, China
*
Author to whom correspondence should be addressed.
Energies 2025, 18(3), 501; https://doi.org/10.3390/en18030501
Submission received: 18 December 2024 / Revised: 14 January 2025 / Accepted: 17 January 2025 / Published: 22 January 2025
(This article belongs to the Special Issue Policy and Economic Analysis of Energy Systems)

Abstract

:
With the deepening of power market reform and the increasingly fierce competition in the power market, the accurate prediction of electricity price has become an important demand for power market participants to make scientific decisions, optimize resource allocation, and reduce risks. Electricity price forecast can provide a key reference for the power market, help market participants make wise decisions, promote competition and efficient operation and cope with complex market fluctuations, provide a scientific basis for various entities to optimize resource allocation, reduce risks and improve benefits, and promote the sustainable development of the power industry. This study presents a dynamic retail price prediction method for smart grid based on the Stackelberg game model. Firstly, the correlation test is used to verify the strong correlation between electric load and electricity price. Secondly, the parameters of the Stackelberg model are determined, and the load and electricity price are tested using the white noise test. Finally, by comparing the BP neural network model and quantifying the model parameters, the superiority of the model is verified. The results show that the Stackelberg game model has higher prediction accuracy than the BP neural network model in electricity price prediction.

1. Introduction

Electricity price forecasting can provide critical decision-making support for electricity market participants, including power generators, grid operators, consumers, etc., to help optimize electricity production, distribution, and consumption strategies, so as to effectively manage the balance between power supply and demand, reduce costs, improve economic efficiency, and ensure the stable operation of the power system. Kostrzewski M. et al. [1] proved that the Bayesian stochastic volatility model for day-ahead electricity price probability prediction is better than other non-Bayesian models considering parameter uncertainty and jump and exogenous variables. Florian Ziel et al. [2] made probabilistic predictions of electricity prices in the day-ahead electricity market, extended the X model based on the bid–ask curve of day-ahead electricity, and successfully simulated the realistic electricity price model, especially in the long-term forecast, providing valuable results for detecting the probability of price spikes. Michał Narajewski et al. [3] proposed a new method to predict the hourly electricity price probability by simulating the trajectory of the trading window, and the hybrid model performed well in the German intraday continuous market, which can effectively predict the price distribution in the last 3 h after trading, and the method is applicable to other European continuous markets; the introduction of XBID can also reduce market volatility. Rahul Kumar Agrawal et al. [4] provided a new marginal electricity price prediction model for power positioning that uses a correlation vector machine as the core, combined with extreme gradient enhancement and elastic network regression, to show high accuracy and computational efficiency on real-time data of the New England electricity market, with an average absolute error of 2.6, which is better than other models, and the training time is only 88 s. Kostmann M. et al. [5] found that, despite advanced forecasting techniques, prediction errors may lead to uneconomical consumer participation in the market, and the pricing mechanism needs to be re-examined. Alonso M. et al. [6] used the model averaging method to predict electricity prices by combining multiple price factor models to improve the accuracy of the forecast, especially in the spot price prediction of MIBEL in the Iberian electricity market. Ugurlu U. et al. [7] used a multi-layer gated recurrent unit (GRU) as a new electricity price prediction technique, and experiments showed that the three-layer GRU outperformed other neural network structures and statistical techniques in the Turkish advanced market. Janczura J [8] proposed a new method for the probabilistic prediction of electricity price based on mean point prediction and the expected regression of different models, which was applied to the day-ahead electricity price in the German market, and the results showed that its accuracy was higher than that of the quantile regression mean method, but the variance stability transformation should be applied first. Grothe O. et al. [9] proposed a general method based on the copula technique to generate multivariate probabilistic forecasts that depend on the number of hours based on the univariate point prediction of day-ahead electricity prices, and validated it on five benchmark datasets. Zhang et al. [10] proposed an adaptive hybrid model based on variational decomposition, adaptive particle swarm optimization, seasonal autoregressive integrated moving average, and deep belief network, which empirically showed that it could significantly improve the accuracy and stability of electricity price prediction. Chen et al. [11] proposed an adaptive functional autoregressive (AFAR) prediction model to accurately predict stationary and non-stationary electricity price curves through time-varying operators, and simulation and empirical studies have shown that its performance is better than that of many alternative methods. Zhang R. et al. [12] proposed a hybrid deep learning framework including feature preprocessing, deep learning point prediction, error compensation, and probabilistic prediction modules for day-ahead electricity price forecasting, and the PJM market data verification showed that it has a competitive advantage over other methods. Cai Q. et al. [13] proposed a variable electricity price mechanism considering the deviation rate of wind power, and encouraged wind farms to configure energy storage to reduce output deviation by adjusting the electricity price. The results showed that the mechanism effectively reduced wind curtailment and promoted the coordination between wind power and the power grid.
The grid trading system is shown in Figure 1. This study describes in detail a smart grid retail electricity price forecasting method based on a dynamic Stackelberg model. The model takes into account a two-stage pricing strategy between the power producer and the retailer, as well as between the retailer and the consumer. In order to realize the adaptability and dynamics of electricity price prediction, reinforcement learning technology was used in this study. In addition, this study evaluates the performance and quality of dynamic pricing systems in demand response programs. Simulations of consumers throughout the day show that retail electricity prices are consistently higher than wholesale prices. However, when consumer dissatisfaction due to low consumption rates peaks, retail electricity prices are adjusted to levels close to wholesale prices.

2. Model Building

2.1. Time Series Forecasting Models

2.1.1. Stackelberg Model

When applying time series models for problem analysis, the cumulative autoregressive moving average model (Stackelberg) is a commonly used one [14]. The model structure is relatively simple, can effectively capture the characteristics of electricity price series, is easy to construct, and has high prediction accuracy, which is especially suitable for stationary time series or univariate time series that reach a stationary state after differential processing. The standard form of the Stackelberg model is shown in Equations (1)–(3):
φ ( B ) ( 1 B ) d Y t = θ ( B ) ε t
φ ( B ) = 1 φ 1 B φ 2 B 2 φ p B p
θ B = 1 θ 1 B θ 2 B 2 θ q B q
where B is defined as the lag operator BpYt = Yt−p, and d is the difference order of the stationary sequence. φ1, φ2, …, φp is the autoregressive coefficient and θ1, θ2, …, θq is the moving average coefficient. Yt is any random time series, and εt is a white noise series with an average of 0 and σ2 ≠ 0 variance. p is the number of autoregressive terms, which is the highest order of the partial autocorrelation function whose value is not 0; q is the number of moving average terms, which is the highest order of the autocorrelation function with a value of not 0. If d = q = 0, the model is a pure autoregressive model AR(p). If p = d = 0, the model is a pure moving average model MA(q). If d = 0, the model degenerates into an ARMA model and can only be used to analyze stationary sequences. When P = Q = D = 0, the model is a general Stackelberg model.

2.1.2. The Steps to Build the Stackelberg Model

(1)
In order to meet the requirements of the variance homogeneity assumption of the model, the logarithmic transformation of the original load series {xt} and the electricity price series {yt} is carried out first.
(2)
The stationarity of the logarithmic transformation sequence {ln yt} of electricity price series and logarithmic transformation sequence {ln xt} of load series is tested. If the stationarity of the sequence meets the established criteria, the next steps are continued. If the stationarity of the sequence does not meet the requirements, the logarithmic difference processing should be performed on the sequence and the stationarity test should be re-performed. If the test results show that the sequence still does not meet the stationarity criterion, second-order differential processing should be further performed until the stationarity of the sequence meets the established requirements.
(3)
A Stackelberg model is established for the input sequence after n-order difference {∇n ln xt}, as shown in Equation (4).
n ln x i t = Θ x i ( B ) Φ x i ( B ) ε x i t
(4)
A Stackelberg model is established for the input sequence after nth order difference {∇n ln yt}, as shown in Equation (5).
n ln y i t = Θ y i ( B ) Φ y i ( B ) ε y i t
(5)
The structure of the Stackelberg model is determined using Equation (6) by examining the correlation coefficients of the logarithmic sequences ∇n ln xt and ∇n ln yt that are stationary after NTH difference.
y t = μ + i = 1 k Θ i ( B ) Φ i ( B ) B l i x i t + ε t
(6)
The residual sequence {εt} is fitted as follows:
ε t = Θ ( B ) Φ ( B ) a t
where {at} is a zero-mean white noise sequence.
Figure 2 shows the flowchart for modeling the Stackelberg model.

3. Data and Parameters of the Stackelberg Model

3.1. Research and Analysis of Input Data

The load data and electricity price data recorded once an hour from 6:00 a.m. on 12 February 2020 to 9:00 a.m. on 16 February 2020 from a certain area of the United States were selected from the PJM electricity market website, and the load x and electricity price y of the two data series entered were studied and analyzed.
Figure 3 shows the relationship between load x and electricity price y.
As can be seen from the above figure, the load and electricity price fluctuate greatly, so the logarithmic transformation of load x and electricity price y is carried out, which can make the change trend of the two series close to their average, respectively, which is conducive to the subsequent study of the data.
Figure 4 shows the relationship between the logarithm of load lnx and the logarithm of electricity price lny.
Figure 5 shows the relationship between the logarithm of the load Δlnx and the logarithm of the electricity price Δlny.

3.2. Correlation Checks

Pearson correlation coefficients and Spearman rank correlation coefficients are two of the most commonly used methods to measure the strength of the linear correlation between two variables. Through the calculation of correlation in MATLAB 2020b, the Pearson correlation coefficient between the logarithm of the hourly electricity price ln y and the logarithm of the load of the sample data lnx is r1 = 0.7029, which is strongly correlated. The Spearman correlation coefficient between the logarithm of the hourly tariff lny and the logarithm of the load in the sample data lnx is r2 = 0.6904. It can be seen that there is a strong correlation between the logarithm of the electricity price lny and the logarithm of the load lnx, and the two variables are positively correlated. The above data and the analysis of the Pearson correlation coefficient and the Spearman correlation coefficient verify that, as an exogenous variable, load has a great impact on the change in electricity price.

3.3. Parameters of the Stackelberg Model

The parameters of the Stackelberg model need to meet the stationary and non-white-noise requirements required for time series.

3.3.1. Differential Order d and How It Is Determined

In most cases, the tariff sequences are highly volatile and exhibit the characteristics of non-stationary time series. During the modeling process, it is difficult to directly model the data sequence due to the different randomness of the sequence at different time points, so it is necessary to pre-process the data appropriately. When dealing with non-stationary time series, non-stationary is converted to stationary series using differential techniques. When a non-stationary time series experiences a difference of d, the value of d is the order of the difference if the sequence no longer contains the root of the unit [15].

3.3.2. Methods for Determining the Lag Order p and q

The Box–Jenkins model recognition method is usually used to determine the lag order p and q, that is, the judgment is based on the tailing and truncation of the ACF and PACF of the sample. Then, the final order is determined according to the AIC criteria. In addition, the selection of p and q also needs to meet these two conditions: all parameters must pass the significance test and the AIC value is minimized.

3.3.3. AIC Guidelines

The AIC (Akaike Information Criterion) is a standard for measuring the fitness of statistical models that is based on the concept of entropy and provides a standard for estimating the complexity of the model and fitting the data that meets the requirements.
Typically, it is a weighted function of the number of unknown parameters for fitting accuracy and AIC, as defined in Equation (8).
A I C = 2 k 2 ln ( L )
In the formula, k is the number of unknown parameters in the model and L is the likelihood function.
If the difference between the two models is large and the difference occurs in the second term of Equation (8), and when there is no significant difference in the second term of the formula, the first term of the formula has the greatest impact on the value of the AIC, and the model meets the requirements.
Let n be the number of observations and RSS be the sum of the remaining squares; then, AIC becomes Equation (9).
A I C = 2 k + n ln ( R S S n )

3.3.4. BIC Guidelines

The Bayesian Information Criterion (BIC) is similar to the AIC and mainly focuses on model selection. In designing the model, the number of parameters was increased, which not only made the model more accurate, but also improved the likelihood function approximation. However, the method is overfitted. In order to solve this problem, both the AIC and BIC models add penalties related to the number of model parameters. The penalty term of the BIC is larger than that of the AIC, and when the number of samples is large, the model accuracy can be greatly reduced, resulting in excessive model complexity. The BIC formula is as shown in Equation (10).
B I C = k ln ( n ) 2 ln ( L )

3.3.5. Stationarity Test and White Noise Test

The stationarity test is the unit root test H0: β1 + β2 + … + βp = 1. If the sequence is assumed to have at least one unit root, the alternative assumption does not have a unit root. So, if pα, the null hypothesis cannot be rejected, there is a unit root, and the sequence is non-stationary. So, if p < α, the assumption is not true, there is no unit root, and the sequence is smoothed and valid.
White noise is the simplest stationary time series that is a series of independently distributed normal series in which each time series point is zero and the variance, σ2, is normally distributed. White noise is characterized by irregular sequences, repeated oscillations at the mean, and no trend. In model design, the white noise test is commonly used to analyze the residuals.
For white noise test (Ljung-Box), H0: ρ1 = ρ2 = … = ρm, and H1, at least one is present when ρk ≠ 0. The null hypothesis is that the values of the lagged m-order sequences do not interfere with each other and the autocorrelation function is zero; the alternative hypothesis is that there is a correlation between the sequences in the subsequent m-period. So, if pα, the null hypothesis cannot be rejected and the sequence is white noise. So, if p < α, the null hypothesis is rejected and the sequence is non-white-noise.
In this study, the logarithm of load lnx and the logarithm of electricity price lny are tested to test the stationarity of the two sets of sequences, as shown in Figure 6 and Figure 7.

3.4. Determination of Stackelberg Model Parameters

After accurate calculation, Δlnx white noise test results are shown in Table 1, Δlny white noise test results are shown in Table 2, the p value of the residual white noise of the load logarithm and the price logarithm is less than 0.05. Through the legislative white noise test, the obtained data are in line with the standard. This means that, at a significance level of 0.05, neither the load logarithm nor the price logarithm are white noise, so the relevant parameters are suitable for building the Stackelberg model.
Δlnx Stackelberg prediction model parameters are shown in Table 3, Δlny Stackelberg prediction model parameters are shown in Table 4. The residual series of the load lnx and the logarithmic series of the electricity price lny were fitted, respectively, and the estimate function was used to estimate the parameters of the constructed model and data samples.
From Figure 8, Figure 9, Figure 10 and Figure 11, it can be seen that the model has a high degree of fitting to the electricity price and load, respectively.
The number of interrelationships between the two residual sequences {ɛt1} and {ɛt2} was calculated, while the number of relationships between sequences {ɛt1} and {ɛt2} is shown in Figure 12.
Based on the number graph of the correlation between the residuals between the two sequences, the Stackelberg model with load as an exogenous variable was constructed, and the parameters of the model were calculated, as shown in Table 5.

3.5. Prediction Results and Analysis

3.5.1. Stackelberg Model Prediction Results Data Table

The absolute value of error and absolute percentage of error between predicted and actual electricity prices calculated by the Stackelberg model are shown in Figure 13.
According to the data in Figure 13, after excluding the two sets of data that could not be simulated, the remaining valid data total is 98 sets. Among them, there are only two groups with an absolute error value of more than 1, and only two groups with an absolute error percentage of more than 5%. At the same time, there were 32 sets of data with an absolute error percentage of less than 1%. This indicates that the Stackelberg electricity price prediction model constructed in this study has high prediction accuracy and high fitting degree.
Figure 14 shows how the price predicted by the Stackelberg model compares to the actual price.
As can be seen in Figure 14, the predicted values of the Stackelberg model are extremely close to the actual values, which indicates that the model has a high degree of fit and a certain degree of accuracy in predicting electricity prices.

3.5.2. Error Calculation and Analysis of the Prediction Results of the Stackelberg Model

The Stackelberg model was used for simulation, and the error between the predicted and actual electricity prices was analyzed. Through the calculation program, the obtained sum of squares of the residuals is 17.464, the mean square error (MSE) is 0.178, the coefficient of determination R2 is 0.984, the mean absolute error (MAE) is 0.341, and the root mean square error (RMSE) is 0.422. After detailed calculations of these error parameters, we found that their values were small, indicating that there was no significant deviation between the data predicted by the model and the real data. Therefore, it can be concluded that the fitting of the Stackelberg model was quite successful and met the expected goals.
In addition, the Stackelberg model takes into account the exogenous variable of load in the construction process, which greatly enhances the flexibility of the model. The model overcomes the limitation that traditional time series models often ignore other variables, thereby improving the accuracy of forecasting.

4. Electricity Price Prediction Model for BP Neural Network Model

4.1. BP Neural Networks

A BP neural network, or backpropagation neural network, is a multi-layered feedforward neural network. It receives data through the input layer, undergoes a nonlinear transformation of the hidden layer, and, finally, outputs the result through the output layer. In the training process, the backpropagation algorithm adjusts the weights of each layer to make the output gradually approximate the real value so as to realize the approximation of complex functions and pattern recognition. In this study, the electricity price prediction model of the BP neural network is compared with the Stackelberg model [16].

4.1.1. BP Neural Network Model Prediction Results

The BP neural network model is used to predict the electricity price, and Figure 15 shows the absolute value of the error between the actual value of the electricity price and the BP neural networks and the absolute value of the error percentage between the two models.
According to the data in Figure 15, among the 98 sets of data, only 18 sets of data have an absolute error value less than or equal to 1 between the prediction results and the actual value of the BP neural network model; however, there are three groups of data with an absolute error value of more than 10. In terms of the percentage error between the predicted value and the actual value, only 31 sets of data had an absolute error percentage of less than 10%; in addition, there was a group of data with an absolute error percentage of more than 100%. In contrast, the Stackelberg model had a prediction of a percentage error of just over 5% in absolute terms. Therefore, compared with the BP neural network model, the prediction error of the Stackelberg model is smaller, and its fitting degree is higher.

4.1.2. Comparison of Forecast Results

Figure 16 shows the image comparison between the prediction result of the BP neural network model and the actual value.
From Figure 16, it can be seen that the fitting degree of the model is low and the error is large.
Figure 17 shows the image comparison of the predicted electrical value and the actual value of the BP model and the Stackelberg model.
As can be seen from Figure 17, the Stackelberg model fits more closely than the BPNN model.

4.2. Error Analysis

After simulating the BP neural network model, the error analysis of the predicted and actual electrical values was performed. Through calculation, the residual sum of squares between the two data sets was 2528.064, with a mean square error of 25.797, a coefficient of determination of 0.555, a mean absolute error of 3.557, and a root mean square error of 5.079. These error parameter values are generally high, indicating that the model has large errors. To further understand the error distribution, these parameters were compared with the Stackelberg model, and the detailed results are shown in Table 6.
According to the analysis results in Table 6, compared with the Stackelberg model, the neural network BP method shows large errors and biases in electricity price prediction, the difference between the predicted value and the actual value is more significant, and the image of the prediction result is more disorganized. Although the calculation process of the neural network BP method is relatively simple, the fitting error of the model is large, so, compared with the neural network BP method, the Stackelberg model is more suitable for predicting this group of multivariable electricity price data.
After the in-depth study of BP neural network related data, it can be concluded that the model has certain advantages when processing the calculation and prediction tasks of large amounts of data. However, the insufficient sample data size in this study is one of the main reasons for the large error when using the BP neural network model for prediction.

5. Conclusions

Electricity price forecasting is crucial in power market operation by helping market participants cope with fluctuations and optimize supply scheduling, providing operators with optimal resource allocation decisions to improve efficiency, guiding power trading, reducing transaction costs, improving benefits, assisting energy management to improve utilization efficiency, and providing consumers with low-cost electricity guidance.
In this study, a dynamic retail electricity price prediction method of smart grid based on the Stackelberg game model is proposed. By comparing the predicted electricity price and the actual electricity price, and calculating the error parameters, the validity of the model in electricity price prediction is verified. At the same time, the proposed method is compared with the traditional BP neural network model. The results show that the Stackelberg game model has a higher goodness of fit and better robustness and prediction accuracy in the field of electricity price prediction. It provides a stable and reliable method for electricity price forecasting, which is conducive to the stable operation of the electricity market and the decision making of suppliers and consumers.

Author Contributions

Conceptualization, Z.Z. (Zhichao Zhang); methodology, X.L.; software, Y.Z.; validation, Z.Z. (Zhaogong Zhang) and B.L.; formal analysis, Z.Z. (Zhichao Zhang); investigation, Z.Z. (Zhichao Zhang); resources, X.L.; data curation, Y.Z.; writing—original draft preparation, Z.Z. (Zhaogong Zhang); writing—review and editing, B.L.; visualization, B.L.; supervision, Z.Z. (Zhichao Zhang); project administration, Z.Z. (Zhichao Zhang); funding acquisition, Z.Z. (Zhichao Zhang). All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Natural Science Foundation of Heilongjiang Province (LH2023F010).

Data Availability Statement

Data will be made available on request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Kostrzewski, M.; Kostrzewska, J. Probabilistic electricity price forecasting with Bayesian stochastic volatility models. Energy Econ. 2019, 80, 610–620. [Google Scholar] [CrossRef]
  2. Ziel, F.; Steinert, R. Probabilistic mid- and long-term electricity price forecasting. Renew. Sustain. Energy Rev. 2020, 94, 251–266. [Google Scholar] [CrossRef]
  3. Narajewski, M.; Ziel, F. Ensemble forecasting for intraday electricity prices: Simulating trajectories. Appl. Energy 2020, 279, 115801. [Google Scholar] [CrossRef]
  4. Agrawal, R.K.; Muchahary, F.; Tripathi, M.M. Ensemble of relevance vector machines and boosted trees for electricity price forecasting. Appl. Energy 2019, 250, 540–548. [Google Scholar] [CrossRef]
  5. Kostmann, M.; Härdle, W.K. Forecasting in blockchain-based local energy markets. Energies 2019, 12, 2718. [Google Scholar] [CrossRef]
  6. Alonso, A.M.; Bastos, G.; García-Martos, C. Electricity price forecasting by averaging dynamic factor models. Energies 2016, 9, 600. [Google Scholar] [CrossRef]
  7. Ugurlu, U.; Oksuz, I.; Tas, O. Electricity price forecasting using recurrent neural networks. Energies 2018, 11, 1255. [Google Scholar] [CrossRef]
  8. Janczura, J. Expectile regression averaging method for probabilistic forecasting of electricity prices. Comput. Stat. 2024, 1–18. [Google Scholar] [CrossRef]
  9. Grothe, O.; Kächele, F.; Krüger, F. From point forecasts to multivariate probabilistic forecasts: The Schaake shuffle for day-ahead electricity price forecasting. Energy Econ. 2023, 120, 106602. [Google Scholar] [CrossRef]
  10. Zhang, J.; Tan, Z.; Wei, Y. An adaptive hybrid model for short term electricity price forecasting. Appl. Energy 2020, 258, 114087. [Google Scholar] [CrossRef]
  11. Chen, Y.; Li, B. An adaptive functional autoregressive forecast model to predict electricity price curves. J. Bus. Econ. Stat. 2017, 35, 371–388. [Google Scholar] [CrossRef]
  12. Zhang, R.; Li, G.; Ma, Z. A deep learning based hybrid framework for day-ahead electricity price forecasting. IEEE Access 2020, 8, 143423–143436. [Google Scholar] [CrossRef]
  13. Cai, Q.; Zhu, Y.; Yang, X.; E, L. Alterable Electricity Pricing Mechanism Considering the Deviation of Wind Power Prediction. Sustainability 2020, 12, 1848. [Google Scholar] [CrossRef]
  14. Ding, Y.; Xu, Q.; Hao, L.; Xia, Y. A Stackelberg Game-based robust optimization for user-side energy storage configuration and power pricing. Energy 2023, 283, 128429. [Google Scholar] [CrossRef]
  15. Zheng, Z.; Zheng, C.; Wei, Z.; Xu, L. Analysis of charging tariffs for residential electric vehicle users based on Stackelberg game. Energy Rep. 2024, 12, 1765–1776. [Google Scholar] [CrossRef]
  16. Yi, M.; Xie, W.; Mo, L. Short-term electricity price forecasting based on bp neural network optimized by SAPSO. Energies 2021, 14, 6514. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of the power grid trading system.
Figure 1. Schematic diagram of the power grid trading system.
Energies 18 00501 g001
Figure 2. Flowchart of Stackelberg modeling.
Figure 2. Flowchart of Stackelberg modeling.
Energies 18 00501 g002
Figure 3. Relationship between load x and electricity price y.
Figure 3. Relationship between load x and electricity price y.
Energies 18 00501 g003
Figure 4. Relationship between lnx and lny.
Figure 4. Relationship between lnx and lny.
Energies 18 00501 g004
Figure 5. Relationship between Δlnx and Δlny.
Figure 5. Relationship between Δlnx and Δlny.
Energies 18 00501 g005
Figure 6. Time series diagram and autocorrelation coefficient diagram of the raw data of the logarithm lnx of the load and the first-order difference Δlnx data.
Figure 6. Time series diagram and autocorrelation coefficient diagram of the raw data of the logarithm lnx of the load and the first-order difference Δlnx data.
Energies 18 00501 g006
Figure 7. Temporal series and autocorrelation coefficient plots of the logarithmic Δlny data and first-order difference lny data of the electricity price.
Figure 7. Temporal series and autocorrelation coefficient plots of the logarithmic Δlny data and first-order difference lny data of the electricity price.
Energies 18 00501 g007
Figure 8. Residual sequence {εt1} of the logarithmic sequence of load lnx.
Figure 8. Residual sequence {εt1} of the logarithmic sequence of load lnx.
Energies 18 00501 g008
Figure 9. Predicted and actual values of the load using the Stackelberg model.
Figure 9. Predicted and actual values of the load using the Stackelberg model.
Energies 18 00501 g009
Figure 10. The residual sequence{εt2} of the logarithmic series of the electricity price ln y.
Figure 10. The residual sequence{εt2} of the logarithmic series of the electricity price ln y.
Energies 18 00501 g010
Figure 11. Predicted and actual values of electricity prices using the Stackelberg model.
Figure 11. Predicted and actual values of electricity prices using the Stackelberg model.
Energies 18 00501 g011
Figure 12. Number of residuals.
Figure 12. Number of residuals.
Energies 18 00501 g012
Figure 13. Stackelberg model prediction results.
Figure 13. Stackelberg model prediction results.
Energies 18 00501 g013
Figure 14. Comparison between the estimated value of electricity and the actual value of the Stackelberg model.
Figure 14. Comparison between the estimated value of electricity and the actual value of the Stackelberg model.
Energies 18 00501 g014
Figure 15. Data analysis results of the BP neural network model’s predicted and true values.
Figure 15. Data analysis results of the BP neural network model’s predicted and true values.
Energies 18 00501 g015
Figure 16. Comparison between the estimated value of electricity and the actual value of the BP neural network model.
Figure 16. Comparison between the estimated value of electricity and the actual value of the BP neural network model.
Energies 18 00501 g016
Figure 17. Comparison of the estimated value of electricity and the actual value of the two models.
Figure 17. Comparison of the estimated value of electricity and the actual value of the two models.
Energies 18 00501 g017
Table 1. Δlnx establishes the results of the white noise test of the residual of the Stackelberg model.
Table 1. Δlnx establishes the results of the white noise test of the residual of the Stackelberg model.
Delay OrderChi-Square Statisticp-Value
6112.9622980
12184.2385810
18231.1741890
Table 2. Δlny establishes the results of the white noise test of the Stackelberg model residuals.
Table 2. Δlny establishes the results of the white noise test of the Stackelberg model residuals.
Delay OrderChi-Square Statisticp-Value
66.2799530.392571
1227.7890300.005939
1833.8028610.013320
Table 3. Δlnx Stackelberg prediction model parameters.
Table 3. Δlnx Stackelberg prediction model parameters.
ParameterParameter Estimatest-Valuep-Value
μ1.2941540.1027990.000225244
φ0.6602885.357920.123236
θ−1−8.144260.122786
Table 4. Δlny Stackelberg prediction model parameters.
Table 4. Δlny Stackelberg prediction model parameters.
ParameterParameter Estimatest-Valuep-Value
μ−20.2993−0.009205950.000571415
φ−0.0324844−0.3530570.0920089
θ−1−13.74890.0727328
Table 5. Parameters of the prediction model for Stackelberg electricity prices.
Table 5. Parameters of the prediction model for Stackelberg electricity prices.
ParameterParameter Estimatest-Valuep-Value
μ−4.8816−1.59150.1155
φ−0.7215−1.58740.1124
θ0.66031.39070.1643
Table 6. Comparison of error parameters of the Stackelberg model with the BP neural network model.
Table 6. Comparison of error parameters of the Stackelberg model with the BP neural network model.
Stackelberg ModelBP Neural Network Model
Sum of squares of residuals SSE17.4642528.064
Mean square error MSE0.178225.797
Coefficient of determination R20.9840.555
Mean absolute error MAE0.3413.557
Root mean square error RMSE0.4225.079
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

Zhang, Z.; Li, X.; Zhao, Y.; Zhang, Z.; Li, B. Prediction Accuracy of Stackelberg Game Model of Electricity Price in Smart Grid Power Market Environment. Energies 2025, 18, 501. https://doi.org/10.3390/en18030501

AMA Style

Zhang Z, Li X, Zhao Y, Zhang Z, Li B. Prediction Accuracy of Stackelberg Game Model of Electricity Price in Smart Grid Power Market Environment. Energies. 2025; 18(3):501. https://doi.org/10.3390/en18030501

Chicago/Turabian Style

Zhang, Zhichao, Xue Li, Yanling Zhao, Zhaogong Zhang, and Bin Li. 2025. "Prediction Accuracy of Stackelberg Game Model of Electricity Price in Smart Grid Power Market Environment" Energies 18, no. 3: 501. https://doi.org/10.3390/en18030501

APA Style

Zhang, Z., Li, X., Zhao, Y., Zhang, Z., & Li, B. (2025). Prediction Accuracy of Stackelberg Game Model of Electricity Price in Smart Grid Power Market Environment. Energies, 18(3), 501. https://doi.org/10.3390/en18030501

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