Abstract
The increasing integration of distributed energy resources, renewable generation, and flexible loads has made Virtual Power Plant (VPP) market participation highly exposed to price volatility and operational uncertainty. This paper proposes Graph-X, a unified graph-structured deep learning and stochastic optimization framework for day-ahead electricity price forecasting and risk-aware VPP bidding. Unlike conventional temporal forecasting models, Graph-X captures structural market-clearing behavior by converting raw bids into continuous differentiable curves represented on a discrete price–quantity graph. The proposed architecture combines sparse graph convolutions, recurrent temporal learning, dilated temporal convolutions, and cyclical calendar encodings to model spatial, temporal, and operational market dependencies. Forecasts are further integrated with a stochastic bidding model governed by a coherent spectral risk measure to align prediction accuracy with financial performance. The framework is validated using historical hourly data from the ISO New England day-ahead electricity market. Results show that Graph-X achieves an MAE of 1.81 $/MWh and an R2 score of 0.944, outperforming GNN, LSTM, Transformer, and ARIMA baselines. In VPP bidding, Graph-X delivers an average daily profit of 52.3 k$, improving profitability by 18.1% (equivalent to $2.92 annually) over the GNN baseline, with an average inference time of 12.5 ms per forecast.
Keywords:
Virtual Power Plant; electricity price forecasting; graph neural network; market clearing; stochastic bidding; sparse graph convolution; risk-aware optimization; energy market participation MSC:
68T07; 90C15; 90C35
1. Introduction
The rapid integration of renewable energy resources, distributed generation, battery storage, electric vehicles, and flexible demand has significantly changed modern electricity market operation [1]. Virtual Power Plants (VPPs) have emerged as an effective mechanism for aggregating heterogeneous distributed energy resources into a coordinated market participant [2]. Early VPP studies showed that distributed energy resources can be coordinated to support market participation and system-level flexibility [3]. Subsequent research extended the VPP concept toward optimized scheduling and coordinated energy management under operational constraints. VPPs can participate in electricity markets by offering aggregated generation, storage flexibility, and demand response services [4,5].
However, VPP market participation remains difficult because renewable generation is uncertain and intermittent [6]. Electricity price uncertainty further increases the financial risk of VPP bidding decisions. Load demand variability also affects the ability of a VPP to satisfy market commitments reliably [7,8]. Therefore, accurate electricity price forecasting is essential for improving VPP bidding and operational decision-making [9]. Classical electricity price forecasting studies have analyzed price spikes, seasonality, volatility, and market uncertainty [10]. Probabilistic forecasting methods have also been proposed to represent uncertainty in electricity price prediction. Recent research shows that machine learning can improve day-ahead electricity price forecasting compared with traditional statistical models [11,12]. Neural network-based forecasting models are effective because they can learn nonlinear relationships in electricity market data [13]. LSTM models have been widely used for electricity price forecasting due to their ability to capture long-term temporal dependencies [14]. GRU-based models provide a simpler recurrent structure while preserving temporal learning capability [15]. CNN-LSTM architectures have also been used to extract local temporal patterns and sequential dependencies jointly. Temporal convolutional networks are useful for price forecasting because they capture long-range dependencies using dilated causal convolutions [16,17].
Transformer-based models have improved multi-horizon forecasting by using attention mechanisms for temporal feature selection. Despite these advances, many deep learning methods treat electricity prices mainly as time-series signals [18,19]. Such models often ignore the explicit supply–demand structure and market-clearing behavior of electricity markets [20]. Graph neural networks provide a useful way to model structural relationships among nodes in complex systems [21]. Graph convolutional networks have been applied to learn localized structural patterns from graph-based data [22]. Graph attention networks further improve graph learning by assigning adaptive importance to neighboring nodes [23]. Recent electricity forecasting studies show that graph-based models can capture spatial dependence among market zones and price areas [24]. Spatio-temporal graph neural networks can jointly model temporal price evolution and structural relationships in electricity markets. Graph-based electricity price forecasting has therefore become an important direction for market-aware prediction [25,26].
However, most graph-based electricity forecasting studies focus mainly on prediction accuracy [27]. They rarely connect graph-based forecasting with VPP bidding decisions and market participation outcomes [28]. In parallel, VPP bidding strategies have been studied using stochastic programming under uncertain renewable generation and market prices. Robust optimization has also been used to support VPP bidding under uncertainty [29,30]. CVaR-based risk measures are useful for controlling downside financial risk in electricity market participation [31]. Risk-aware VPP bidding models improve decision-making by balancing expected profit and market uncertainty. Strategic bidding studies have considered VPP participation in day-ahead and real-time electricity markets [32]. Joint energy and reserve market participation has also been investigated for VPPs with flexible resources. Recent studies have considered multi-level energy interaction among VPP resources for day-ahead bidding [33]. Other works have examined renewable-based VPP offering and bidding strategies in electricity markets. Although these optimization-based methods are valuable, they often do not exploit graph-based deep learning for market-clearing representation. They also rarely learn nonlinear feature-lag relationships from electricity market data [34]. This creates a gap between forecasting accuracy, bidding optimization, and practical VPP market performance [35]. The proposed Graph-X framework addresses this gap by integrating VPP resource coordination, stochastic uncertainty modeling, graph-structured market representation, sparse graph convolution, temporal learning, and risk-aware bidding into a unified model.
The research gap is that existing studies generally address electricity price forecasting, graph-based market modeling, and VPP bidding optimization as separate problems and the comparison of literature are shown in Table 1. Forecasting models often ignore the explicit supply–demand and price–quantity structure of market clearing, while optimization-based VPP bidding models do not fully learn nonlinear market behavior from data. Moreover, graph-based forecasting studies usually report accuracy improvements without connecting them to VPP profit, bidding effectiveness, inference speed, and practical market participation.
Table 1.
Comparative analysis of VPP market participation and price forecasting models.
This paper proposes Graph-X, a unified graph-based deep learning framework that integrates electricity price forecasting and VPP market bidding optimization within a single decision-making architecture. By coupling market-aware forecasting with stochastic bidding optimization, the proposed framework improves both prediction accuracy and economic performance.
The main contributions of this work are summarized as follows:
- A unified Graph-X framework is developed to jointly perform electricity price forecasting and risk-aware VPP bidding optimization through a graph-based market representation.
- A hybrid learning architecture combining sparse graph convolution, GRU, TCN, and calendar feature encoding is proposed to capture structural and temporal dependencies in electricity markets.
- A stochastic risk-aware bidding strategy is integrated with the forecasting model, directly linking prediction results to practical VPP market participation and profit optimization.
- Comprehensive validation against GNN, LSTM, Transformer, ARIMA, Graph Transformer, Temporal Fusion Transformer (TFT), and no-optimization baselines demonstrates superior forecasting accuracy, economic performance, and computational efficiency.
2. Mathematical Modeling
This section presents the mathematical formulation of the proposed Graph-X framework for Virtual Power Plant (VPP) market participation and day-ahead electricity price forecasting. The model integrates VPP resource coordination, uncertainty quantification, graph-based market representation, strategic bidding optimization, and deep learning within a unified framework. The formulation consists of three components: VPP operation and uncertainty modeling (Section 2.1), graph-based market representation and bidding optimization (Section 2.2), and Graph-X architecture with training strategy (Section 2.3).
2.1. Virtual Power Plant Resource Coordination and Uncertainty Quantification
The VPP aggregates heterogeneous distributed energy resources to enable coordinated market participation while managing diverse operational constraints and uncertainty sources. This section develops the mathematical framework for resource coordination and establishes the stochastic processes governing system uncertainties.
2.1.1. Aggregated Resource Coordination Framework
Consider a VPP-comprising dispatchable generation units indexed by , renewable energy sources indexed by , energy storage systems indexed by , and flexible demand resources indexed by . The operational horizon spans intervals of duration , with . The net power injection of the VPP at interval incorporates contributions from all resource categories along with coupling effects and aggregation losses. This relationship is expressed in (1), where the commitment status of each resource is governed by binary variables and captures nonlinear aggregation effects including transmission losses and resource coupling interactions:
The aggregation loss function can be further decomposed into quadratic and linear forms, as shown in (2), where is a positive semi-definite matrix capturing pairwise resource interactions:
For compactness in subsequent derivations, the net storage contribution is defined in (3) as the difference between discharging and charging power:
The commitment states for dispatchable units must respect physical minimum up and down times. The constraint set (4) enforces that once a unit is started, it remains online for at least consecutive intervals, while also ensuring minimum offline duration after shut-down:
The binary variables and in (4) represent start-up and shut-down commands respectively, with their mutual exclusivity preventing simultaneous contradictory signals. The power output of each dispatchable generator is bounded by its minimum stable level and maximum capacity when committed, as expressed in (5):
Ramping constraints between consecutive intervals are captured in (6), where the big-M formulation relaxes constraints when units are offline. The parameters and denote upward and downward ramp rates, respectively:
During start-up and shut-down transients, additional ramp limits apply due to thermal stresses. These are given in (7) and (8), where and represent start-up and shut-down ramp capabilities:
For energy storage systems, the state-of-charge evolution incorporates efficiency losses, self-discharge, and cycle-dependent degradation. The complete storage dynamics are captured in (9), where is the self-discharge rate, and are charging and discharging efficiencies, and represents temperature-dependent leakage:
The temperature-dependent leakage term in (9) is linearized around the nominal operating temperature in (10), where is the temperature coefficient:
Cycle counting for degradation tracking follows the symmetric depth-of-discharge metric in (11), where each half-cycle of significant depth contributes to cumulative wear:
The charging/discharging mutual exclusivity can be relaxed for certain storage technologies, leading to the complementary slackness condition expressed in (12):
As illustrated in Figure 1, the VPP aggregates heterogeneous energy resources through coordinated information flows while accounting for temporal constraints and uncertainties in renewable generation, load demand, and market prices. Flexible demand resources provide load adjustment subject to consumer comfort and recovery constraints. The constraint set (13) imposes limits on reduction magnitude, cumulative reduction budgets, minimum service levels, and event frequency within rolling windows. The recovery period in (13) ensures load restoration within acceptable timeframes, preventing prolonged demand suppression that could violate consumer comfort.
Figure 1.
Virtual Power Plant resource aggregation architecture with information flows, temporal constraints, and uncertainty propagation from renewable, load, and price nodes.
2.1.2. Stochastic Uncertainty Quantification
The constraints formulated in (1)–(13) operate under imperfect information. Renewable generation is inherently stochastic, market-clearing prices are unknown at bidding time, and actual demand deviates from forecasts. We therefore construct a multivariate stochastic process that captures the joint evolution of these uncertainties.
Define the complete uncertainty vector . Its dynamics follow the coupled system in (14), combining autoregressive behavior, Gaussian innovations, and Poisson-driven jumps. The state transition matrix captures temporal correlations across components:
The jump term in (14) incorporates random magnitudes through with . The covariance decomposition enables efficient representation of both common shocks and idiosyncratic variations, where is a low-rank factor matrix and is diagonal.
For renewable generation specifically, the uncertainty structure must respect physical constraints. The physics-informed parameterization in (15) relates actual generation to its forecast through a time-varying coefficient of variation :
The power curve in (15) maps meteorological variables to generation, combining a kernel integral for nonlinear conversion characteristics with a site-specific correction term. This relationship is expanded in (16):
Meteorological variables themselves evolve according to the vector autoregressive process of order one in (17), where and are coefficient matrices and is Gaussian white noise:
Electricity price uncertainty exhibits distinct stylized facts: mean reversion, volatility clustering, and sensitivity to renewable infeed. The regime-switching process in (18) captures these features, where the regime variable follows a Markov chain:
The mean-reversion speed and long-term mean in (18) are regime-dependent, as is the sensitivity to aggregate renewable generation. The volatility follows GARCH (1,1) dynamics with regime-specific parameters .
The log-price return can be related to the original price through the inverse transformation in (19), which is useful for scenario generation:
Demand uncertainty decomposes into systematic patterns and residual variation. The base load model in (20) combines Fourier harmonics for diurnal periodicity with indicator functions for special periods :
Exogenous variables such as temperature and humidity contribute linearly to demand, as shown in (21) with coefficients :
The volatility function in (22) follows an exponential parameterization that scales with peak periods through factor
The normalized demand uncertainty is then expressed in (23) as the ratio of residual to its time-varying standard deviation:
While marginal distributions are essential, the joint dependence among uncertainty components critically determines portfolio risk. The copula-based dependence structure in (24) captures both upper and lower tail dependencies. The Gumbel–Hougaard copula with parameter handles extreme co-movements, while pair-copula terms accommodate heterogeneous bivariate dependencies:
The measures , , and in (24) quantify Kendall’s rank correlation, upper tail dependence, and lower tail dependence respectively. These are critical for risk-aware decision-making under extreme market conditions.
2.2. Graph-Theoretic Market Representation and Stochastic Bidding Optimization
The market-clearing mechanism determines the equilibrium price and dispatched quantities through the intersection of aggregated supply and demand curves. To capture both the structural characteristics of market bids and their economic interactions, the electricity market is represented as a graph. Unlike conventional time-series models, the proposed market graph preserves price–quantity relationships and supply–demand interactions, where each node represents a price–quantity state and the edges describe spatial and economic relationships. This graph-based representation enables effective extraction of market-aware features for electricity price forecasting and VPP bidding optimization. The market bidding graph is defined as.
Define the market bidding graph as:
where (VM) denotes the set of graph vertices, (EM) represents the edge set, (XM) denotes node features, and (AM) is the weighted adjacency matrix. The vertices correspond to discretized price–quantity coordinates forming a two-dimensional grid with resolution . Therefore, the total number of graph nodes is:
where
Before graph construction, the submitted discrete market bids are transformed into continuous differentiable supply and demand curves. For a supply-side participant (i) submitting (Ji) price–quantity pairs, the aggregated supply curve at price (p) is expressed as:
The basis functions () combine sigmoid activation and Gaussian localization:
which provides a differentiable approximation while maintaining the characteristics of stepwise market bids. Similarly, the aggregated demand curve is represented as:
where the demand basis function is defined as:
Real market bids are discrete price–quantity pairs. We adopt a continuous approximation using smooth basis functions to enable differentiable graph-based learning. This does not model discrete clearing mechanisms (e.g., uniform pricing) exactly. Grid resolution controls approximation fidelity vs. computational cost.
The market-clearing price (p*(t)) is obtained when the aggregated supply equals the aggregated demand:
This equilibrium point corresponds to the intersection of supply and demand surfaces embedded within the discretized price–quantity graph.
For each grid node ((h,w)), the node feature matrix (XM) contains two channels representing supply and demand characteristics. The first channel describes supply-side information weighted by supply elasticity, whereas the second channel represents demand-side characteristics:
The modulation factors describing sub-grid positioning are:
The price and quantity coordinates of each graph node are obtained through affine mapping:
To represent the complex relationships existing among market states, the adjacency matrix (AM) is constructed using three complementary edge mechanisms:
- 1.
- Spatial adjacency edges:These edges connect neighboring price–quantity nodes in the discretized grid and preserve local continuity of the market surface.
- 2.
- Economic similarity edges:These weighted edges connect economically similar nodes within a predefined (K)-neighborhood. The connection strength decreases according to the distance in price and quantity space using a Gaussian kernel.
- 3.
- Supply–demand coupling edges:These edges directly connect supply and demand nodes with equivalent dispatched quantities, representing the physical market-clearing interaction.
Accordingly, the weighted adjacency matrix is defined as:
where () defines the (K)-neighborhood:
The first condition captures local spatial connectivity, the second assigns stronger weights to economically similar price–quantity states through Gaussian distance decay, and the third establishes direct market-clearing relationships between supply and demand nodes. Therefore, (AM) integrates both geometric and economic information, enabling the sparse graph convolution module to learn meaningful market-clearing patterns. As illustrated in Figure 2, the aggregated supply and demand bids are transformed into a multi-edge market graph, enabling equilibrium price localization through discrete price–quantity grid encoding and graph-based market clearing.
Figure 2.
Market-clearing graph construction from aggregated bid curves, discrete price–quantity grid encoding, multi-edge graph topology, and equilibrium price localization.
2.2.1. Stochastic Bidding Optimization Framework
The VPP participates in the electricity market by submitting price–quantity bids that reflect its aggregated resource capability, operational constraints, and risk preference. Since the actual market outcome depends on uncertain renewable generation, electricity prices, load variations, and competing participants’ bidding behaviors, the bidding strategy is formulated as a stochastic optimization problem. The objective is to maximize the expected economic return while controlling potential financial losses caused by unfavorable market realizations. Let the bidding decision of the VPP be represented by a supply offer curve consisting of price–quantity pairs:
where () and () denote the submitted bidding price and quantity, respectively. Considering the uncertainty vector () characterized, the risk-aware stochastic bidding problem is formulated as:
The probabilistic forecasts generated by Graph-X serve as uncertainty inputs to this stochastic optimization problem. Specifically, the forecasted price distribution is used to sample market price scenarios in the objective function, enabling the VPP to optimize bids under price uncertainty. This integration ensures that forecasting accuracy directly influences bidding decisions and economic outcomes.
The first term represents the expected market profit, while () represents the downside financial risk associated with uncertain market outcomes. The coefficient () controls the tradeoff between economic performance and risk mitigation. A larger () produces a more conservative bidding strategy by assigning greater importance to potential losses.
The cleared quantity is determined by comparing the realized market price with submitted bid prices. The monotonicity condition ensures that the submitted supply curve remains physically meaningful and non-decreasing. The total VPP operating cost consists of generation operation cost, energy storage degradation cost, renewable curtailment penalty, and demand response compensation:
The generation cost function considers conventional operating costs and nonlinear penalties associated with operation beyond technical limits:
The degradation cost of storage resources considers accumulated energy throughput, state-of-charge conditions, and temperature effects:
To quantify financial uncertainty, a coherent spectral risk measure is adopted instead of relying only on expected profit or conventional variance-based risk metrics. The spectral formulation provides flexibility in assigning different importance levels to losses across the distribution and generalizes Conditional Value-at-Risk (CVaR). The risk measure is defined as:
where () represents the bidding profit distribution. The parameter () defines the confidence level of extreme losses and is set to 0.05 in this study, corresponding to a 5% tail-risk region. The parameter () determines the emphasis assigned to severe losses beyond the VaR threshold, where larger values increase risk aversion by placing greater weight on unfavorable outcomes.
The parameter () controls the decay behavior of the weighting function and regulates the transition between normal market fluctuations and extreme loss events. In this study, the values of () and () are selected to achieve a balanced risk-return tradeoff. Specifically, excessively small () values may underestimate extreme market risks and lead to aggressive bidding decisions, while excessively large values may reduce profitability due to overly conservative operation. Similarly, () is selected to provide smooth risk weighting without excessively penalizing moderate deviations. Therefore, the adopted spectral risk parameters provide an appropriate balance between expected profit maximization and protection against severe market uncertainty.
Market clearing with strategic VPP participation is formulated through an equilibrium condition, where the clearing price is determined by the interaction between the aggregated supply and demand curves. Unlike a pure price-taking formulation, the proposed model considers the influence of VPP bidding decisions through the aggregated supply function. The equilibrium price is obtained by minimizing the mismatch between total supply and demand:
where () represents the market-clearing equilibrium price. The aggregated supply and demand functions include the contribution of the VPP and other market participants, which are expressed as:
The variational inequality in (41) ensures that the market equilibrium satisfies the physical and economic constraints while maintaining bidding feasibility.
Where () and () represent the VPP’s submitted supply and demand behaviors, respectively. Therefore, the VPP bidding strategy directly modifies the aggregated market curves and influences the resulting equilibrium price.
The market equilibrium is further characterized using a variational inequality formulation:
where () denotes the equilibrium solution and (K) represents the feasible decision space incorporating market price limits, quantity constraints, operational constraints, and market power mitigation requirements. This equilibrium formulation enables the proposed framework to capture the interaction between VPP bidding decisions and market-clearing outcomes.
Although actual electricity markets employ discrete block bids and stepwise clearing prices, this study adopts a continuous approximation of the price–quantity relationship to construct the market graph and enable efficient learning of supply–demand interactions. The discretized graph representation preserves the essential economic characteristics of market clearing while avoiding excessive complexity caused by directly modeling all discrete bidding combinations. This assumption mainly affects the mathematical representation rather than the physical bidding process, since the final bidding decisions are obtained through the constrained stochastic optimization framework.
2.2.2. Strategic VPP Market Equilibrium Representation
In practical electricity markets, a VPP aggregator with significant aggregated capacity may influence market-clearing outcomes through its submitted bids. Therefore, the proposed framework extends the conventional price-taking assumption by incorporating the impact of VPP bidding decisions on the market equilibrium. The VPP bid curve modifies the aggregated supply function, which subsequently affects the equilibrium clearing price. The strategic interaction between the VPP and the market is represented as:
where () represents the VPP bidding strategy and () denotes the aggregated bids of other market participants. The equilibrium price is obtained by solving the supply–demand balance:
where the aggregated supply function includes the VPP contribution:
Therefore, the VPP bidding decision influences both cleared quantity and market equilibrium price. This formulation enables the proposed Graph-X framework to evaluate risk-aware bidding strategies under strategic market participation. Detailed multi-agent interactions among multiple competing VPPs are beyond the scope of this study and will be investigated in future work.
2.3. Graph Neural Network Architecture and Learning Dynamics
The preceding sections established the physical and economic constraints governing VPP operations (Section 2.1) and the graph-structured representation of market clearing (Section 2.2). We now integrate these components into a deep learning architecture-termed Graph-X that learns to map market graph representations and historical data to price forecasts and optimal bids. The selected hyperparameters were determined through sensitivity analysis by balancing forecasting accuracy, VPP economic performance, and computational efficiency. Detailed results are provided in Appendix A.
2.3.1. Sparse Graph Convolutional Feature Extraction
The bidding graph constructed in Section 2.2.1 exhibits extreme sparsity: approximately 99% of vertices contain zero-valued features. Standard convolutional operations applied uniformly would be computationally prohibitive. We therefore develop a sparse graph convolution that selectively computes on active vertices.
Let the input tensor to the graph processing branch be , where is batch size, temporal length, channels, and spatial dimensions. The sparse convolution operation in (51) applies kernel only at active locations:
The active set in (52) includes vertices with non-zero features and their -neighborhood, ensuring gradient flow to economically relevant regions:
The neighborhood expansion in (53) defines which inactive cells receive gradient information:
For efficient implementation, the kernel is decomposed into a low-rank factorization of rank in (55). The factorization rank M determines the balance between feature representation capability and computational efficiency. A small rank reduces computational complexity but may discard important graph patterns, whereas an excessively large rank increases memory requirements and computational cost with limited accuracy improvement. Therefore, the rank selection is investigated through a sensitivity analysis considering forecasting accuracy and computational efficiency. In this study, candidate values are evaluated, and the final rank is selected based on the tradeoff between prediction performance and computational requirements, reducing computational complexity from to :
The sparse convolution output is then approximated in (56) using the decomposed kernel with mask enforcing sparsity:
The masked input in (56) is defined in (57) through element-wise multiplication with the active set indicator:
Following spatial feature extraction, temporal dynamics are captured through a Gated Recurrent Unit. The GRU operations in control information flow through reset, update, and candidate gates:
The input represents the flattened spatial features at time after sparse convolutional encoding.
2.3.2. Multi-Branch Architecture Integration and Training Dynamics
The complete Graph-X architecture integrates three parallel processing branches. The dimension alignment and concatenation in (58) combine sparse graph convolutional, temporal convolutional, and calendar encoding branches:
The Temporal Convolutional Network processes price sequences through dilated causal convolutions. The operation at layer is given in (59), where the dilation factor grows exponentially with depth:
Residual connections in (60) stabilize gradient flow in deep configurations, with the dilation factor defined as :
The calendar encoding uses cyclical transformations to preserve periodicity. The encoding in (61) maps temporal features to sine-cosine coordinates for hour, day, and month, supplemented by weekend and holiday indicators:
2.3.3. Probabilistic Graph-X Forecasting Head and Uncertainty Quantification
The regression head in (62) employs a nonlinear ReLU activation to improve the model’s ability to capture complex nonlinear relationships between fused graph features and electricity prices. Given the fused representation (ffused) obtained from the three parallel branches in (49), the proposed probabilistic output layer estimates multiple conditional quantiles of the day-ahead electricity price:
where () denotes the selected quantile levels. The median prediction () represents the expected market price, while the lower and upper quantiles provide the uncertainty boundaries required for risk-aware bidding. Therefore, the probabilistic Graph-X head enables the forecasting module to capture extreme price fluctuations before the bidding optimization process.
The combined MSE and MAE loss in (63) simultaneously improves prediction accuracy while reducing the influence of outliers during model optimization. The quantile loss function is defined as:
where the asymmetric quantile loss function is expressed as:
The additional regularization terms in (65) improve generalization by promoting sparse graph representations, temporal smoothness, and parameter stability, the final training objective combines the quantile loss with conventional forecasting losses:
where () and () maintain prediction accuracy, while () enables probabilistic price estimation.
The two-stage training strategy pre-trains each branch independently with auxiliary probabilistic prediction heads. The regularization terms in (66) promote sparsity in the bid branch, temporal smoothness in the price branch, and weight decay in the calendar branch:
In the second training stage, all branches are jointly fine-tuned with branch-specific learning rates. The parameter update in (67) employs a learning rate hierarchy: which reflects the different optimization characteristics of each feature extraction branch:
The gradient dynamics during joint training reveal the contribution of each branch. The average gradient norm and normalized contribution ratio for branch (b) are calculated as:
The gradient propagation through the bid branch follows the chain rule through the fused representation and bid embedding. The sparse convolution active-set restriction maintains a high contribution ratio () by concentrating gradient updates on economically active market regions rather than uniformly distributing learning signals over the entire graph space. As illustrated in Figure 3, Graph-X integrates three parallel feature-extraction branches, sparse graph convolution, temporal and calendar encoding, and a two-stage training strategy with branch-specific gradient optimization and price forecasting and VPP bidding procedure are shown in Algorithm 1.
| Algorithm 1: Graph-X Framework for Price Forecasting and VPP Bidding |
| Input: Historical price (), market bids, calendar data, VPP parameters, uncertainty (), and risk coefficient (). |
| Output: Probabilistic price forecasts (), optimal bid (), cleared power (), spectral risk (), and optimal profit (). |
| Initialize Graph-X parameters and preprocess the input data. |
| For each interval (), do |
| Compute () using (1)–(3). |
| If constraints (4)–(13) are satisfied, then |
| Retain (), (), (), and (). |
| Else |
| Adjust the VPP resource schedule. |
| End If |
| Generate uncertainty scenarios (\xi(t)) using (14)–(24). |
| Construct (), (), and () using (25)–(33). |
| If (), then |
| Apply sparse graph convolution and GRU to obtain (). |
| Else |
| Ignore inactive graph nodes (). |
| End If |
| Extract () using TCN and () using the calendar MLP. |
| Fuse (), (), and () through the probabilistic Graph-X forecasting head. |
| Generate quantile price forecasts: |
| Construct the price uncertainty interval: |
| These quantile forecasts are then passed as uncertainty inputs to the spectral risk-aware bidding optimization (Equations (34)–(41)), establishing a direct pipeline from prediction to decision-making. |
| End For |
| While validation loss decreases, update Graph-X parameters using the quantile-based training objective. |
| If validation loss increases, stop training and retain the best model. |
| Use the probabilistic price forecasts () as uncertainty inputs for the spectral risk-aware bidding optimization. |
| Solve (34)–(41). If: |
| accept (); otherwise revise the bidding strategy. |
| Return: |
Figure 3.
Graph-X architectural overview encompassing three-branch feature extraction, sparse convolution mechanics, temporal processing modules, calendar encoding, two-stage training procedure, and branch-level gradient dynamics.
3. Experimental Setup
The full experimental setup used for testing the proposed Graph-X model is described in this section. It covers data acquisition from the ISO New England market, feature engineering, details of the VPP resource setup, data preprocessing, and baseline comparison methodology. The experimental design enables a rigorous and reproducible assessment of Graph-X’s forecasting accuracy and VPP market participation effectiveness under different evaluation criteria. To ensure a fair and reproducible evaluation, the dataset was divided chronologically into training, validation, and testing subsets with a ratio of 60%, 20%, and 20%, respectively. The chronological split prevents information leakage by ensuring that future data is not used to predict past data. The training set was used for model parameter optimization, the validation set was employed for hyperparameter selection and early stopping, and the final performance was evaluated using the unseen test set. To reduce the influence of random initialization and stochastic training variations, all experiments were independently repeated 10 times with different random seeds (seeds: 0–9), and the reported results are presented as the mean ± standard deviation across these runs. This rigorous experimental design ensures that the observed performance improvements are not artifacts of favorable random initialization. Detailed implementation settings and computational configurations are provided in Appendix C.
3.1. Data Source and Market Description
The proposed Graph-X framework was evaluated using historical day-ahead market data from the ISO New England (ISO-NE) electricity market, obtained through the ISO Express public data portal [36,37,38]. ISO-NE was selected because it provides comprehensive market information, including hourly locational marginal prices, system demand, renewable generation, and operational signals, while exhibiting significant demand variability and price volatility. These real-world data enable the evaluation of Graph-X under realistic market conditions. The main data categories used in this study are summarized in Table 2.
Table 2.
ISO New England day-ahead market data summary.
3.2. Forecasting Target, Input Features, and VPP Configuration
The forecasting target is the day-ahead locational marginal price (LMP) ($/MWh), which serves as the basis for VPP bidding decisions. The input features include historical electricity prices with lag intervals of 1–168 h (t − 1, t − 2, …, t − 168), system demand, renewable generation, calendar variables, and graph-based market representations derived from aggregated supply–demand curves. These features capture temporal, operational, and market-clearing characteristics to improve forecasting accuracy. The detailed feature specifications are summarized in Table 3.
Table 3.
Input feature specifications for Graph-X framework.
For the VPP market participation analysis, the ISO-NE market data were integrated with representative VPP operational profiles comprising dispatchable generators (10–50 MW), solar PV (20–100 MW), wind farms (30–150 MW), battery energy storage systems (10–50 MW, 2–4 h duration, 85–92% efficiency, 10–90% SOC), and flexible demand response resources (5–20% peak load reduction). These resources were used to construct bidding strategies and evaluate VPP economic performance under uncertain market conditions. The corresponding VPP configuration parameters are summarized in Table 4.
Table 4.
VPP resource configuration parameters.
3.3. Data Preprocessing and Temporal Partitioning
All datasets were synchronized to an hourly resolution to ensure temporal consistency. Missing values were interpolated using linear interpolation, while extreme price spikes were retained to preserve realistic market behavior. Continuous variables were normalized using Z-score normalization (or robust scaling where appropriate) to ensure all features contribute equally to the learning process.
Chronological Data Partition: The dataset was divided into training, validation, and testing sets in chronological order with proportions of 60%, 20%, and 20%, respectively. This chronological split is critical for time-series forecasting to prevent data leakage, as it ensures that the model never sees future data during training. The validation set was used for hyperparameter tuning and early stopping, while the testing set was reserved exclusively for final performance evaluation. All partitioning decisions were made prior to any model development to ensure unbiased evaluation.
3.4. Implementation, Computational Environment, and Baseline Comparison
All experiments were conducted with Python 3.12 and PyTorch as the main deep learning framework and PyTorch Geometric 2.4.0 for graph neural network operations. Other libraries were NumPy and Pandas for data manipulation, SciKit-learn to implement the baseline models and evaluate the metrics, and Matplotlib and Seaborn for visualization and diagnostic plotting. The experiments were performed on a dedicated PC having Intel Core i9-13900HX processor (24 cores), 128 GB DDR5 (4800 MHz) memory, 1 TB NVMe SSD storage and NVIDIA GeForce RTX 4090 graphics card (24 GB GDDR6). Sparse graph convolution, recurrent temporal learning and temporal convolutional processing were all implemented with the help of GPU acceleration. The proposed Graph-X model took approximately 3.2 h to train and the average inference time was 12.5 ms per forecasting, making it suitable for near real-time use for VPP market decision-making. The peak GPU memory consumption during training was 6.2 GB (attributed to gradient computation, optimizer states, and activation storage), whereas the inference phase requires only 2.1 GB due to the absence of gradient-related overhead. The total number of trainable parameters is 4.2 million. A detailed computational performance comparison of all models is given in Table 5 and Table 6
Table 5.
Chronological data partitioning.
Table 6.
Computational performance comparison across models.
The proposed Graph-X framework was compared with GNN, LSTM, Transformer, ARIMA, and a no-optimization baseline to evaluate forecasting accuracy, computational efficiency, and VPP bidding performance. ARIMA serves as a traditional univariate statistical reference (using only lagged prices), while the primary comparison is conducted among multivariate learning-based models (GNN, LSTM, Transformer) that utilize comparable input features. Performance was assessed using MAE, RMSE, R2 R, residual analysis, convergence behavior, inference time, daily profit, annual savings, profit improvement, bidding success rate, and risk-adjusted return, providing a comprehensive evaluation of both forecasting and VPP market participation.
4. Results and Discussion
This section evaluates the performance of the proposed Graph-X framework in terms of forecasting accuracy, VPP market participation, computational efficiency, and robustness. All reported results are averaged over 10 independent training runs with different random seeds (seeds 0–9), and the corresponding standard deviations are provided to reflect performance variability. To assess the statistical significance of the improvements, a paired two-sided t-test was conducted between Graph-X and each baseline model using the prediction errors from the test samples. Detailed sensitivity analyses of key hyperparameters, including graph grid size, neighborhood radius r, and risk coefficient λ, are provided in Appendix A.
4.1. Graph-X Model Performance Diagnostics
To evaluate the forecasting behavior of Graph-X, Figure 4 presents the forecast error distribution and feature–lag correlation analysis. As shown in Figure 4a, the prediction errors remain within −1.9 to +2.5 $/MWh throughout the 12 h forecasting horizon, indicating stable performance under varying market conditions. The smoothed error trend further demonstrates that Graph-X effectively captures market dynamics without introducing excessive error fluctuations. Figure 4b illustrates the correlation between input features, time-lag indices, and forecasting errors. Most correlation values remain within ±3σ, with only a few localized regions reaching approximately +8.2σ and −7.5σ, indicating that forecasting errors are concentrated in a limited number of feature–lag combinations. Overall, these results demonstrate the robustness, stability, and interpretability of the proposed Graph-X framework for day-ahead electricity price forecasting. The performance stability across the 10 independent runs is quantified as MAE = 1.81 ± 0.14 $/MWh, confirming consistent forecasting accuracy regardless of random initialization.
Figure 4.
Graph-X model performance. The different color shows different values which is subjected to the right side color bar show values.
4.2. Graph-X Price Forecast Diagnostics
The price forecasting diagnostics of Graph-X is shown in Figure 5 for 120 h forecast. The results are compared with Graph-X and other models like GNN, LSTM, and ARIMA models in Figure 5a. The Graph-X forecast is more effective at capturing the actual price movement, especially in moments of price volatility, crashes, biases, and price peaks, demonstrating greater flexibility in navigating the dynamic behavior of the market. The residual cross-correlation matrix between the feature indices and time lags is displayed in Figure 5b. Low mean residual (0.12) and a small standard deviation (1.85) of the residuals suggest that the forecasting error dispersion is well-controlled and the forecasting error is relatively low. The skewness of −0.34 and the kurtosis of 3.21 indicate that the residual distribution is slightly negatively skewed with moderate tail behaviors. Most of the correlations that involve features are still weak, and a few localized regions of positive and/or negative spillover can be identified. This is a validation that the dependencies of relevant temporal features are well captured by Graph-X with a minor systematic residual propagation.
Figure 5.
Graph-X price forecast.
4.3. Graph-X Error Distribution and Gradient Dynamics
The results of the proposed Graph-X model with the distribution of forecasting error and training behavior are analyzed in Figure 6. The hourly mean absolute error is displayed in bar, violin and trend lines as shown in Figure 6a for all 24 h. Error peaks are observed around the evening peak (around 6.5 MWh) and elevated error regions are seen during the morning ramp and evening high demand periods. The warning and critical threshold lines are another reminder that the majority of the errors are within an acceptable range, although there are more errors on peak-load periods. Figure 6b shows the gradient flow during network layers and training epochs. The heatmap reveals regions where the gradient is vanishing and exploding, and the trajectory plots demonstrate how the behavior of the gradient evolves into a more desirable region for training. The later epochs are in closer convergence with the marker, suggesting that the model begins to converge as training progresses. Overall, the results in Figure 6 show that Graph-X exhibits interpretable error behavior for various market conditions within every hour and stable learning dynamics achieved by the multi branch graph-based architecture.
Figure 6.
Graph-X error distribution.
4.4. Graph-X Classification and Distribution Diagnostics
The predictive usefulness of the Graph-X is assessed by the criterion of predicting the reliability of the prediction in Figure 7 by the method of discrimination and residual distribution analysis. As shown in Figure 7a, the performance of Graph-X with the highest AUC value of 0.944 is better than that of baseline GNN with 0.871, Transformer with 0.841, LSTM with 0.823, and ARIMA with 0.583. This means that Graph-X can discriminate better and can distinguish more accurately and inaccurately between forecasting states for various thresholds. The residual distribution of Graph-X is compared with a number of benchmark models in Figure 7b. The median (IQR) residual from the graph does not deviate from 0, showing low bias and compact error dispersion, with Graph-X having a median (IQR) residual of −0.03 (−0.12, 1.23). The residual spreads and median shifts for GNN, LSTM and ARIMA are larger, in contrast. The results in this paper confirm that Graph-X leads to both better predictive discrimination and more stable and less biased forecasting errors.
Figure 7.
Graph-X classification and distribution.
4.5. Graph-X Learning Dynamics and Convergence Analysis
As shown in Figure 8a, the training and validation losses of Graph-X converge and have a decreasing trend over 200 epochs and eventually go below the target loss threshold of 0.25. The model slowly moves into a stable convergence area and stabilizes at the end without excessive overfitting, despite some loss peaks in the initial training phase and an initial overshoot. The gradient distribution and learning-rate performance are shown in Figure 8b. The gradient statistics reveal a mean gradient norm of 0.758 and a standard deviation of 0.687, a maximum of 2.500 and a minimum of 0.050, and about 20% sparsity. The memory-efficient sparse convolution design contributes to the moderate 6.2 GB training memory footprint, while the 2.1 GB inference memory enables practical deployment on resource-constrained edge devices. The results show that Graph-X maintains stable gradient flow in the input, hidden, and output layers of the network and avoids vanishing and exploding gradients. The cosine learning-rate schedule also helps to achieve smoother optimization than constant and step-decay schedules.
Figure 8.
Graph-X learning dynamics and convergence.
The effect of rank M on Graph-X performance was evaluated under identical conditions. As shown in Table 7, increasing M improves accuracy but increases computational cost. Since improvements become marginal beyond M = 16, this value is selected as the optimal tradeoff between accuracy and efficiency.
Table 7.
Sensitivity analysis of low-rank factorization rank.
Based on these results, M = 16 was selected as the optimal rank, consistent with the model complexity analysis in Table 9.
The Figure 9 shows that the impact of strategic VPP participation is evaluated by comparing the price-taking and strategic equilibrium cases. The results show that considering VPP market influence improves profitability while causing moderate changes in clearing price and risk exposure, with stronger effects observed during peak and congested market conditions.
Figure 9.
Sensitivity analysis of strategic VPP participation under different market conditions.
4.6. VPP Market Participation Performance
Figure 10 evaluates the economic and forecasting performance of Graph-X for VPP market participation. Compared with the baseline GNN model, Graph-X achieves the highest average daily profit of 52.3 ± 2.1 k$, while the GNN-based bidding strategy obtains 44.3 ± 3.4 k$. Therefore, the proposed risk-aware Graph-X bidding strategy provides an additional profit of approximately 8.0 k$ per day, corresponding to an improvement of 18.1% compared with the GNN baseline.
Figure 10.
VPP market performance.
Statistical significance was evaluated using a paired two-sided t-test between Graph-X and each baseline model based on the prediction errors of the test samples. For the comparison between Graph-X and GNN, the t-test yielded and p < 0.001, confirming that the observed improvements are statistically significant at the 1% significance level. Similar significance levels were obtained for comparisons with LSTM, Transformer, and ARIMA baselines. The use of a paired design is appropriate here because the same test samples are evaluated by all models, eliminating inter-sample variability from the comparison.
For electricity price forecasting, Graph-X achieves an MAE of 2.20 $/MWh, outperforming the GNN and LSTM baselines, which obtain MAE values of 4.51 $/MWh and 4.49 $/MWh, respectively. Compared with the GNN model, Graph-X reduces the forecasting error by approximately 51.2%, demonstrating the advantage of incorporating market graph structures and temporal dependencies into the forecasting process.
Considering the daily profit improvement, the corresponding annual economic benefit is estimated to be approximately 2.92 million dollars per year, highlighting the practical value of the proposed Graph-X framework for VPP market participation and risk-aware bidding decision-making.
4.7. Graph-X Comprehensive Model Diagnostics
Graph-X is comprehensively diagnosed in terms of prediction errors, residual characteristics, feature contribution, and computational efficiency in Figure 11. As indicated in Figure 11a, the predicted prices of the Graph-X model are very close to the actual market prices as the R2 value is 0.944 and the MAE is 1.81 $/MWh. In comparison, the base line GNN achieves R2 of 0.942 and MAE of 4.51 $/MWh, making the forecasting accuracy of Graph-X superior, as shown in Figure 11b. Ljung-Box test results p-value = 0.127, which means that there is no significant residual autocorrelation. This implies that the model indeed has some ability to reflect the time structure of prices and that there are no strong systematic patterns in the residuals. The most important input features are ranked in Figure 11c, with price history, renewable forecast and load profile being the highest ranked. This is proof that Graph-X is using a variable that is economical in the market prediction. Figure 11d compares the computational efficiency of different model architectures. Graph-X achieves an efficiency score of 0.588, representing a 58.5% improvement over the GNN baseline. The proposed framework requires 3.2 h for training, 12.5 ms for inference, and comprises 4.2 million trainable parameters. During training, the peak GPU memory consumption is 6.2 GB (including gradients, optimizer states, and activations), whereas the inference stage requires only 2.1 GB due to the absence of gradient computation and optimizer states. This memory-efficient inference is particularly advantageous for real-time VPP deployment where low-latency decision-making is essential. These results demonstrate that Graph-X achieves a favorable balance between forecasting accuracy and computational requirements. A detailed scalability analysis of Graph-X for different market sizes is provided in Appendix D. In Figure 11b (top-right plot), the asterisk (*) marks specific hourly time lags (such as the 12-h and 24-h peak periods) where residual autocorrelation spikes above the 95% confidence interval boundary line.
Figure 11.
Graph-X comprehensive model.
ARIMA is a univariate statistical reference using only lagged prices. Since it does not incorporate exogenous variables (load, renewable generation, calendar features), it is positioned as a traditional benchmark rather than a direct competitor. The main comparison is conducted among multivariate learning-based models (GNN, LSTM, Transformer) with comparable inputs. The main comparison of the proposed multivariate framework is therefore conducted with learning-based models, including GNN, LSTM, and Transformer, which utilize comparable input information as shown in Table 8.
Table 8.
Comparative performance of Graph-X against baseline models.
Table 6 compares Graph-X with GNN, LSTM, Transformer, ARIMA, and no-optimization baselines. Graph-X achieves the best overall performance with the lowest forecasting error, highest prediction accuracy, improved daily profit, and competitive computational efficiency. Compared with GNN, Graph-X reduces the average inference time from 18.3 ms to 12.5 ms while improving forecasting performance. The ARIMA comparison highlights the advantage of data-driven approaches over traditional statistical forecasting, while GNN, LSTM, and Transformer provide a more direct evaluation among multivariate learning-based models. These results demonstrate the effectiveness of the proposed sparse graph-based framework for efficient VPP bidding decisions.
The sensitivity analysis demonstrates that increasing the model size improves forecasting performance only marginally beyond the selected Graph-X configuration. Although Graph-X-Large achieves slightly lower error, it introduces significantly higher computational cost. Therefore, the selected Graph-X architecture with 4.2 million parameters provides the best trade-off between prediction accuracy and computational efficiency as shown in Table 9.
Table 9.
Impact of Graph-X model complexity on forecasting performance and computational cost.
The probabilistic forecasting capability of Graph-X is evaluated using quantile predictions and prediction interval metrics. As shown in Figure 12, the generated uncertainty intervals successfully capture price fluctuations and widen during high-volatility periods. The proposed model achieves reliable uncertainty calibration while maintaining narrow prediction intervals, demonstrating its suitability for risk-aware VPP bidding optimization.
Figure 12.
Probabilistic electricity price forecasting performance of Graph-X with quantile prediction and 95% prediction intervals.
The sensitivity analysis demonstrates the robustness of the proposed Graph-X framework under different parameter settings. The results in Figure 13, show that M = 16 and r = 3 achieve the best tradeoff between forecasting accuracy and computational efficiency, while the variation of λ reveals the expected profit–risk balance in VPP bidding decisions.
Figure 13.
Sensitivity analysis of key Graph-X hyperparameters: (a) low-rank factorization rank M, (b) graph neighborhood size r, and (c) risk coefficient λ.
Figure 14 demonstrates that Graph-X maintains stable forecasting accuracy and bidding performance under different VPP resource configurations. The proposed framework achieves lower prediction errors, higher profit improvement, and effective risk reduction, confirming its adaptability to diverse operating conditions.
Figure 14.
Generalization analysis of Graph-X under diverse VPP resource configurations.
Figure 15 demonstrates the superior forecasting accuracy of Graph-X over modern benchmark methods. A detailed architectural comparison between Graph-X and representative benchmark methods is provided in Appendix B.
Figure 15.
Performance comparison of Graph-X with modern forecasting methods.
5. Conclusions
This paper presented Graph-X, a unified graph-based deep learning framework for Virtual Power Plant market participation and day-ahead electricity price forecasting. The proposed approach addresses a key limitation of conventional forecasting and bidding models by jointly capturing temporal price dynamics, graph-structured market-clearing behavior, and risk-aware VPP bidding decisions within a single framework. By representing electricity market interactions as a price–quantity graph, Graph-X moves beyond purely time-series-based forecasting and provides a more market-aware learning structure. The integration of sparse graph convolution, recurrent temporal learning, temporal convolutional modeling, and calendar-based feature encoding enables the framework to capture both structural and temporal dependencies in electricity market data. The stochastic bidding component further connects forecasting accuracy with practical economic performance under renewable generation, demand, and price uncertainty. Comparative results against multivariate deep learning benchmarks (GNN, LSTM, Transformer) and a traditional statistical reference (ARIMA) confirm Graph-X’s superior accuracy and economic performance, reducing residual error, enhancing VPP profit-oriented bidding performance, and maintaining fast inference capability suitable for real-time market operation. Overall, the proposed framework provides an effective and computationally efficient solution for intelligent VPP participation in modern electricity markets. The proposed Graph-X architecture is adaptable to different market environments and time periods by updating market-specific inputs (price signals, bidding information, operational constraints) while maintaining the same learning and optimization structure. For instance, applying Graph-X to other markets such as PJM or ERCOT would require only retraining with local data, without architectural modifications. A limitation of the current framework is the continuous approximation of discrete market bids. Future work will investigate direct integration with discrete market settlement mechanisms, as well as extensions toward multi-market coordination, real-time balancing markets, uncertainty-aware probabilistic forecasting, and hardware-level validation using real VPP operational data.
Author Contributions
Conceptualization, U.A.; methodology, M.A.N., V.K. and U.A.; software, U.A.; validation, V.K. and S.R.H.; formal analysis, M.A.N. and U.A.; investigation, M.A.N., V.K. and U.A.; data curation, M.A.N. and U.A.; writing—original draft preparation, U.A.; writing—review and editing, V.K., M.A.N. and S.R.H.; supervision, S.R.H.; project administration, S.R.H. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The data presented in this study are openly available in Github at https://github.com/usamaseu/Graph-X-Reproducibility-Suite (accessed on 10 August 2026).
Conflicts of Interest
The authors declare no conflicts of interest.
Nomenclature
| Symbol | Description | Unit/Dimension |
| Time interval | h | |
| Scheduling horizon | ||
| Electricity market-clearing price | ||
| Forecasted electricity price | ||
| Total VPP power output | ||
| Dispatchable generation output | ||
| Battery charging power | ||
| Battery discharging power | ||
| Battery state of charge | ||
| Demand response adjustment | ||
| Aggregated supply quantity | ||
| Aggregated demand quantity | ||
| Cleared market power | ||
| Optimal VPP bid | ||
| VPP profit | ||
| Spectral risk measure | Dimensionless | |
| Confidence level | Dimensionless | |
| Risk-aversion parameter | Dimensionless | |
| Risk-weighting parameter | Dimensionless | |
| Risk coefficient | Dimensionless | |
| Market uncertainty vector | Dimensionless | |
| Market-bidding graph | Dimensionless | |
| Graph vertex set | Dimensionless | |
| Graph edge set | Dimensionless | |
| Market feature matrix | Dimensionless | |
| Graph adjacency matrix | Dimensionless | |
| Input feature tensor | ||
| Sparse convolution output | Dimensionless | |
| Convolution kernel | Dimensionless | |
| Convolution-kernel factorization rank | Dimensionless | |
| Active-region mask | Dimensionless | |
| Neighborhood radius | Dimensionless | |
| Bid-branch feature vector | Dimensionless | |
| Price-branch feature vector | Dimensionless | |
| Calendar feature vector | Dimensionless | |
| Fused feature representation | Dimensionless | |
| Actual and predicted values, respectively | Problem-dependent | |
| Mean squared-error loss | Problem-dependent | |
| Mean absolute-error loss | Problem-dependent | |
| Trainable model parameters | Dimensionless | |
| Learning rate | Dimensionless | |
| Average gradient norm of branch at epoch | Dimensionless | |
| Gradient-contribution ratio of branch at epoch | Dimensionless |
Appendix A. Hyperparameter Sensitivity Analysis of Graph-X
To investigate the robustness of the proposed Graph-X framework, sensitivity analyses are conducted for three critical hyperparameters: market graph grid size, neighborhood radius (r) of sparse graph convolution, and risk coefficient) ( in the stochastic bidding optimization. Each parameter is varied individually while keeping all other model settings unchanged. The forecasting accuracy, economic performance, and computational requirements are evaluated to determine the influence of each parameter.
Table A1.
Sensitivity Analysis of Market Graph Grid Size.
Increasing the grid resolution improves performance by preserving more detailed market-clearing information. However, beyond 32 × 32, the accuracy improvement becomes marginal while computational cost increases significantly. Therefore, 32 × 32 is selected as the optimal grid resolution.
Table A2.
Sensitivity Analysis of Neighborhood Radius (r).
A small neighborhood radius restricts information propagation among economically related market states. Increasing (r) beyond 2 introduces redundant information and increases computational complexity. Therefore, (r = 2) provides the best trade-off.
Table A3.
Sensitivity analysis of Risk Coefficient (\lambda).
A smaller risk coefficient prioritizes profit maximization but increases uncertainty exposure, whereas a larger value produces conservative bidding with reduced profit. The selected value (\lambda = 0.5) provides a balanced trade-off between economic return and risk mitigation.
Appendix B. Comparative Analysis of Graph-X and Modern Benchmark Methods
To further clarify the novelty of the proposed Graph-X framework, Table A4 compares its key architectural characteristics with representative conventional, deep learning, and graph-based forecasting methods. Unlike existing approaches, Graph-X jointly integrates graph-structured market representation, temporal learning, market-aware feature extraction, and risk-aware bidding optimization within a unified framework.
Table A4.
Architectural comparison of Graph-X with representative electricity price forecasting methods.
Appendix C. Implementation Details of the Graph-X Framework
To improve the reproducibility of the proposed Graph-X framework, the complete implementation settings, training configuration, computational environment, and data availability are summarized in Table A5.
Table A5.
Implementation details of the proposed Graph-X framework.
Appendix D. Scalability Analysis of Graph-X
Table A6.
Computational scalability of Graph-X for different market sizes.
The scalability analysis indicates that Graph-X exhibits near-linear growth in computational time and memory with increasing market size due to its sparse graph representation. This demonstrates that the proposed framework remains computationally practical for larger electricity market applications.
References
- Wozabal, D.; Rameseder, G. Optimal bidding of a virtual power plant on the Spanish day-ahead and intraday market for electricity. Eur. J. Oper. Res. 2020, 280, 639–655. [Google Scholar] [CrossRef] [Scilit]
- Hong, T.; Pinson, P.; Wang, Y.; Weron, R.; Yang, D.; Zareipour, H. Energy Forecasting: A Review and Outlook. IEEE Open Access J. Power Energy 2020, 7, 376–388. [Google Scholar] [CrossRef] [Scilit]
- 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] [Scilit]
- Sadeghi, S.; Jahangir, H.; Vatandoust, B.; Golkar, M.A.; Ahmadian, A.; Elkamel, A. Optimal bidding strategy of a virtual power plant in day-ahead energy and frequency regulation markets: A deep learning-based approach. Int. J. Electr. Power Energy Syst. 2021, 127, 106646. [Google Scholar] [CrossRef] [Scilit]
- Tan, C.; Wang, J.; Geng, S.; Pu, L.; Tan, Z. Three-level market optimization model of virtual power plant with carbon capture equipment considering copula-CVaR theory. Energy 2021, 237, 121620. [Google Scholar] [CrossRef] [Scilit]
- Baringo, L.; Freire, M.; García-Bertrand, R.; Rahimiyan, M. Offering Strategy of a Price-Maker Virtual Power Plant in Energy and Reserve Markets. Sustain. Energy Grids Netw. 2021, 28, 100558. [Google Scholar] [CrossRef] [Scilit]
- Uniejewski, B.; Weron, R. Regularized quantile regression averaging for probabilistic electricity price forecasting. Energy Econ. 2021, 95, 105121. [Google Scholar] [CrossRef] [Scilit]
- Lago, J.; Marcjasz, G.; De Schutter, B.; Weron, R. Forecasting day-ahead electricity prices: A review of state-of-the-art algorithms, best practices and an open-access benchmark. Appl. Energy 2021, 293, 116983. [Google Scholar] [CrossRef] [Scilit]
- Imani, M.H.; Bompard, E.; Colella, P.; Huang, T. Forecasting Electricity Price in Different Time Horizons: An Application to the Italian Electricity Market. IEEE Trans. Ind. Appl. 2021, 57, 5726–5736. [Google Scholar] [CrossRef] [Scilit]
- Toubeau, J.-F.; Nguyen, T.-H.; Khaloie, H.; Wang, Y.; Vallée, F. Forecast-Driven Stochastic Scheduling of a Virtual Power Plant in Energy and Reserve Markets. IEEE Syst. J. 2022, 16, 5212–5223. [Google Scholar] [CrossRef] [Scilit]
- Pourghaderi, N.; Fotuhi-Firuzabad, M.; Kabirifar, M.; Moeini-Aghtaie, M.; Lehtonen, M.; Wang, F. Reliability-Based Optimal Bidding Strategy of a Technical Virtual Power Plant. IEEE Syst. J. 2022, 16, 1080–1091. [Google Scholar] [CrossRef] [Scilit]
- Maiz, S.; Baringo, L.; García-Bertrand, R. Expansion Planning of a Price-Maker Virtual Power Plant in Energy and Reserve Markets. Sustain. Energy Grids Netw. 2022, 32, 100832. [Google Scholar] [CrossRef] [Scilit]
- Kumar, V.; Niazi, M.A.; Aslam, U.; Saeed, N.; Aurangzeb, M.; Shah, S.A.A. A holistic optimization framework for virtual power plants with physics-informed battery degradation and probabilistic stability constraints. Future Batter. 2026, 9, 100146. [Google Scholar] [CrossRef] [Scilit]
- Alkawaz, A.N.; Abdellatif, A.; Kanesan, J.; Khairuddin, A.S.M.; Gheni, H.M. Day-Ahead Electricity Price Forecasting Based on Hybrid Regression Model. IEEE Access 2022, 10, 108021–108033. [Google Scholar] [CrossRef] [Scilit]
- Narajewski, M. Probabilistic Forecasting of German Electricity Imbalance Prices. Energies 2022, 15, 4976. [Google Scholar] [CrossRef] [Scilit]
- Su, H.; Peng, X.; Liu, H.; Quan, H.; Wu, K.; Chen, Z. Multi-Step-Ahead Electricity Price Forecasting Based on Temporal Graph Convolutional Network. Mathematics 2022, 10, 2366. [Google Scholar] [CrossRef] [Scilit]
- Yang, C.; Du, X.; Xu, D.; Tang, J.; Lin, X.; Xie, K.; Li, W. Optimal bidding strategy of renewable-based virtual power plant in the day-ahead market. Int. J. Electr. Power Energy Syst. 2023, 144, 108557. [Google Scholar] [CrossRef] [Scilit]
- Mei, S.; Tan, Q.; Liu, Y.; Trivedi, A.; Srinivasan, D. Optimal bidding strategy for virtual power plant participating in combined electricity and ancillary services market considering dynamic demand response price and integrated consumption satisfaction. Energy 2023, 284, 128592. [Google Scholar] [CrossRef] [Scilit]
- Nguyen-Hong, N.; Quang, K.B.; Thanh, L.P.V.; Huynh, D.B. Offering strategy of a price-maker virtual power plant in the day-ahead market. Int. J. Renew. Energy Dev. 2023, 12, 666–676. [Google Scholar] [CrossRef] [Scilit]
- Cantillo-Luna, S.; Moreno-Chuquen, R.; Celeita, D.; Anders, G. An Intra-Day Electricity Price Forecasting Based on a Probabilistic Transformer Neural Network Architecture. Energies 2023, 16, 6767. [Google Scholar] [CrossRef] [Scilit]
- Xu, J.; Hu, B.; Zhang, P.; Zhou, X.; Xing, Z.; Hu, Z. Regional electricity market price forecasting based on an adaptive spatial-temporal convolutional network. Front. Energy Res. 2023, 11, 1168944. [Google Scholar] [CrossRef] [Scilit]
- Niazi, M.A.; Kumar, V.; Aslam, U.; Hassan, S.R.; Lee, K.; Shabbir, N. A Semantic Risk-Aware Optimization Framework for Virtual Power Plant Dispatch Using Large Language Models. Energies 2026, 19, 2820. [Google Scholar] [CrossRef] [Scilit]
- Song, C.; Jing, X. Bidding strategy for virtual power plants with the day-ahead and balancing markets using distributionally robust optimization approach. Energy Rep. 2023, 9, 637–644. [Google Scholar] [CrossRef] [Scilit]
- Yoon, S.-J.; Ryu, K.-S.; Kim, C.; Nam, Y.-H.; Kim, D.-J.; Kim, B. Optimal Bidding Scheduling of Virtual Power Plants Using a Dual-MILP Approach under a Real-Time Energy Market. Energies 2024, 17, 3773. [Google Scholar] [CrossRef] [Scilit]
- Aliyon, K.; Ritvanen, J. Deep learning-based electricity price forecasting: Findings on price predictability and European electricity markets. Energy 2024, 308, 132877. [Google Scholar] [CrossRef] [Scilit]
- Meng, A.; Zhu, J.; Yan, B.; Yin, H. Day-ahead electricity price prediction in multi-price zones based on multi-view fusion spatio-temporal graph neural network. Appl. Energy 2024, 369, 123553. [Google Scholar] [CrossRef] [Scilit]
- Aslam, U.; Ahmad, A.; Kumar, V.; Niazi, M.A.; Saeed, N.; Aurangzeb, M. Health-Aware V2G Scheduling: A Multi-Modal Transformer Optimization Framework. Future Batter. 2026, 10, 100170. [Google Scholar] [CrossRef] [Scilit]
- Shi, W.; Wang, Y.F. A robust electricity price forecasting framework based on heteroscedastic temporal Convolutional Network. Int. J. Electr. Power Energy Syst. 2024, 161, 110177. [Google Scholar] [CrossRef] [Scilit]
- Song, Y.; Chu, Y.; Yoon, Y.; Jin, Y. Virtual Power Plant Bidding Strategies in Pay-as-Bid and Pay-as-Clear Markets: Analysis of Imbalance Penalties and Market Operations. Energies 2025, 18, 1383. [Google Scholar] [CrossRef] [Scilit]
- Du, H.; Hu, J.; Fang, Y.; Xie, D. Optimal bidding strategy for virtual power plant participating in joint energy and reserve market considering physical-economic feasible operation region. Energy 2025, 336, 138410. [Google Scholar] [CrossRef] [Scilit]
- Mujeeb, A.; Hu, Z.; Wang, J.; Diao, R.; Liu, L.; Bao, Z.; Ullah, S. Optimizing Virtual Power Plant Operations in Energy and Frequency Regulation Reserve Markets: A Risk-Averse Two-Stage Scenario-Oriented Stochastic Approach. Int. Trans. Electr. Energy Syst. 2025, 2025, 6640754. [Google Scholar] [CrossRef] [Scilit]
- Kong, Y.; Chen, Y.; Du, J.; Yang, Y.; Xu, Q. A Bidding Strategy for Virtual Power Plants in the Day-Ahead Market. Energies 2025, 18, 4874. [Google Scholar] [CrossRef] [Scilit]
- Nemati, H.; Sánchez, P.; Baringo, A.; Ortega, A. Single-level flexible robust optimal bidding of Renewable-Only Virtual Power Plant in energy and secondary reserve markets. Energy 2025, 328, 136421. [Google Scholar] [CrossRef] [Scilit]
- Nickelsen, D.; Müller, G. Bayesian hierarchical probabilistic forecasting of intraday electricity prices. Appl. Energy 2025, 380, 124975. [Google Scholar] [CrossRef] [Scilit]
- Han, L.; Wang, J. A regional electricity price prediction method based on Transformer and Graph Neural Networks. Alex. Eng. J. 2025, 128, 52–64. [Google Scholar] [CrossRef] [Scilit]
- ISO New England Inc. Hourly Day-Ahead LMPs. ISO Express Pricing Reports. Available online: https://www.iso-ne.com/isoexpress/web/reports/pricing/-/tree/lmps-da-hourly (accessed on 15 January 2026).
- ISO New England Inc. Hourly Day-Ahead Cleared Demand. ISO Express Load and Demand Reports. Available online: https://www.iso-ne.com/isoexpress/web/reports/load-and-demand/-/tree/dmnd-da-hourly-cleared (accessed on 15 January 2026).
- ISO New England Inc. ISO Express: Real-Time and Historical Data for Informed Market Decisions. ISO New England. Available online: https://www.iso-ne.com/markets-operations/iso-express (accessed on 15 January 2026).
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.














