Next Article in Journal
Temperature Dependence of H2/Air and CH4/Air Deflagrations
Previous Article in Journal
Exploring Activated Carbons for Sustainable Biogas Upgrading: A Comprehensive Review
Previous Article in Special Issue
Method for Calculating Heat Transfer in a Heat Accumulator Using a Phase Change Material with Intensification Due to Longitudinal Fins
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Dispatch of a Virtual Power Plant Considering Distributed Energy Resources Under Uncertainty

by
Obed N. Onsomu
1,2,*,
Erman Terciyanlı
2 and
Bülent Yeşilata
1
1
Energy Systems Engineering, Ankara Yildirim Beyazıt University, Ankara 06090, Turkey
2
Research and Development, INAVITAS, Ankara 06090, Turkey
*
Author to whom correspondence should be addressed.
Energies 2025, 18(15), 4012; https://doi.org/10.3390/en18154012
Submission received: 23 June 2025 / Revised: 16 July 2025 / Accepted: 18 July 2025 / Published: 28 July 2025
(This article belongs to the Special Issue Review Papers in Energy Storage and Related Applications)

Abstract

The varying characteristics of grid-connected energy resources necessitate a clear and effective approach for managing and scheduling generation units. Without proper control, high levels of renewable integration can pose challenges to optimal dispatch, especially as more generation sources, like wind and solar PV, are introduced. As a result, conventional power sources require an advanced management system, for instance, a virtual power plant (VPP), capable of accurately monitoring power supply and demand. This study thoroughly explores the dispatch of battery energy storage systems (BESSs) and diesel generators (DGs) through a distributionally robust joint chance-constrained optimization (DR-JCCO) framework utilizing the conditional value at risk (CVaR) and heuristic-X (H-X) algorithm, structured as a bilevel optimization problem. Furthermore, Binomial expansion (BE) is employed to linearize the model, enabling the assessment of BESS dispatch through a mathematical program with equilibrium constraints (MPECs). The findings confirm the effectiveness of the DRO-CVaR and H-X methods in dispatching grid network resources and BE under the MPEC framework.

1. Introduction

The global energy sector has embraced green energy initiatives aimed at reducing carbon emissions. This shift has accelerated the adoption of renewable energy technologies and has successfully promoted access to clean and affordable power worldwide. Notably, renewable energy has seen significant expansion, with 2023 alone accounting for 4.5%, equivalent to approximately 1310 TWh of the total global energy production [1].
Similarly, the findings in [2] project that renewable energy generation could rise from 28% in recent years to 68% by 2030, with a long-term projection of 91% by 2050. Given this substantial growth, implementing effective control and management strategies becomes vital to ensure the stable operation of the power grid. This is particularly important as renewable energy sources are inherently variable and less predictable, introducing uncertainties that complicate grid operation. Such variability may result in operational inefficiencies, such as the curtailment of excess energy, which leads to resource wastage. These challenges can be mitigated by applying robust control strategies, especially those that coordinate the dispatch of BESSs and DGs efficiently.
Research indicates that BESSs play a key role in maintaining grid stability, especially in frequency regulation [3]. This is further supported by a 42% improvement in cost-effectiveness between 2020 and 2030 [3]. Consequently, integrating BESSs with DGs offers a dependable solution to secure the grid against both internal and external disturbances, which typically should remain within defined thresholds. This study introduces a strategic control framework for generation units by applying a DR-JCCO technique in a bilevel structure to demonstrate the value of optimized dispatch for renewable integration.
Bilevel programming (BP) has emerged as a rapidly advancing field in optimization. Since the 1990s, it has gained recognition alongside other methods, such as stochastic and robust optimization [4]. BP problems are generally complex and demand specialized solution techniques, particularly when uncertainty is incorporated into the optimization model. It is well-suited for modeling interactions between two distinct decision-making agents, commonly referred to as the leader and the follower, which use a structured set of binding and non-binding constraints under uncertainty. The origin of bilevel modeling dates back to H. von Stackelberg in 1934 [5], and the mathematical application was later introduced by Bracken and McGill in 1973 [6]. The concept involves two agents making decisions that meet their respective objectives under clearly defined constraints.
Recently, BP has attracted significant attention, with various practical applications emerging. When uncertainties are integrated into single-level optimization, stochastic methods are generally adopted [7]. Bilevel formulations allow for a problem structure that can be addressed using established solvers. Mathematical approaches typically involve MPECs and equilibrium problems with equilibrium constraints (EPECs); the application of both these techniques depends on the problem structure. EPEC models are particularly useful in scenarios involving multiple VPPs [8], as they help determine fair pricing strategies for different market participants with varied bidding behaviors. In contrast, MPEC models are suited to single-level problems where bids from other entities are treated deterministically. In many cases, integer programming (IP) is used to solve MPEC problems [9], while binary decision strategies are also adopted to approximate nonlinear, continuous variables [10]. Mathematical formulation plays a pertinent role in accurately framing problems as robust, stochastic, or distributionally robust. In such cases, chance constraints incorporating probabilistic thresholds are used to confine system behaviors within acceptable limits.
Although the distributionally robust optimization problem (DROP) poses computational challenges due to its extreme conservative nature and complexity, which often results in static solutions that make it difficult to draw general conclusions, it has shown significant performance compared to robust or stochastic optimization in terms of minimal information loss and better out-of-sample performance. To address these limitations, approximation algorithms, such as conditional value at risk (CVaR), Bonferroni techniques, and moment-based methods are often applied. CVaR replaces the probability threshold in traditional chance constraints by estimating the expected losses beyond the value at risk (VaR). This approach is widely regarded as one of the most effective techniques for approximating joint chance-constrained problems. CVaR accounts for losses within a defined probability threshold and is also known as an expected shortfall. In [11], CVaR is used to assess system reliability under both stochastic and fuzzy uncertainties, helping to adjust the conservativeness of solutions when considering worst-case scenarios.
According to [12], the heuristic-X algorithm, termed as ALSO-X, outperforms the traditional CVaR method in solving chance-constrained problems across known distributions. It also performs well under type-∞ Wasserstein ambiguity sets, which use Wasserstein distance to quantify worst-case scenarios across several distributions. This method offers increased robustness by maintaining a fixed distance between distributions.
In addition, type-q Wasserstein ambiguity sets are another viable approach for evaluating worst-case deviations. Unlike the type-∞ formulation, this method only measures the distance between a nominal distribution and a group of alternatives, offering more flexibility and less conservativeness. The key challenge lies in ensuring robust solutions without compromising solution flexibility. The latter approach is often favored due to its reduced conservatism compared to type-∞ ambiguity sets. Studies, such as [13,14], have examined these approximation algorithms and concluded that, under certain conditions, the methods may yield sub-optimal results. This study advances the field by adopting these techniques and applying diverse solvers to derive optimal solutions under a unified framework in the energy sector.
This work is divided into the following sections.
Section 2 introduces the previous work and proposes approximation methods. Section 3 presents the solution methodology, which entails the mathematical modeling of DERs and the contribution of this research work. Section 4 details the numerical notation of the approximation algorithms using the existing mathematical equations. Section 5 presents the results followed by discussion, conclusion, future work, acknowledgements, conflicts of interest, and references.

2. Previous Work

The use of BP in the context of a VPP is a novel contribution of this study. In this framework, the VPP aims to maximize its profits in DM, while the second-level agent is considered to be the ISO, whose role is to clear the electricity market by minimizing operational costs, managing congestion, and ensuring that electricity is delivered to consumers at affordable prices. Table 1 illustrates this interaction and also presents selected studies that have applied bilevel modeling.

3. Solution Methodology

This study applies a DR-JCCO framework to solve the optimization problem. The proposed methodology adopts a two-level structure known as the bilevel approach. In this setup, the ISO is responsible for minimizing the operational costs within the power system, formulated as a minimization objective. Meanwhile, the second-level objective is handled by the VPP operator, who seeks to maximize the overall social benefit derived from DERs.
Once the optimization stages are defined, joint chance constraints are introduced and maintained below a specified probability threshold. To handle this, DR-JCCO is employed, where the probability constraints are approximated using known probability distributions.
Both CVaR and H-X approaches will be implemented and compared in terms of their conservativeness and performance in addressing uncertainties within the grid network. Their effectiveness will be evaluated using wind power scenarios, particularly examining their impact on BESS charge and discharge performance. The binomial expansion (BE) technique is also used to develop the MPEC formulation for modeling the BESS dispatch, making it compatible with commercial solvers, such as Gurobi.
This study offers the following fundamental contributions:
  • The adoption of a data-driven strategy to directly optimize the overall social welfare of market participants.
  • The implementation of a bilevel optimization model where the first stage minimizes operational costs and the second stage maximizes social welfare.
  • The proposal of a novel CVaR and H-X approximation techniques to coordinate DG commitment and BESS dispatch in the DR-JCCO model, an application which is considered to be the first of its kind.
The workflow for obtaining the results is illustrated in Figure 1.

3.1. Generators

DGs are conventional sources of generating energy, and they are modeled using the following equations:
P i j + P j G = k π j P j k + P j d
Q i j + q j g = k π j Q j k + q j d
V j = V j R i j P i j + X i j Q i j V o
where P i t G [32] is generator power, which is quantified as p j G and then multiplied by the incremental generation cost of conventional DGs (USD/MWh) γ , which is the cost incurred when DGs are utilized. P i j is the injected active power, while Q i j is the reactive power for the grid network (see Equation (2)). P j k is the active power, P j d is the demand, q j g is the generated reactive power, and q j d is the required reactive power at bus j , as shown by Equation (3). V j is the bus j voltage magnitude, V o is the slack bus, R i j is the resistance, and X i j is the reactance.
The following Equation (4) is the generator cost function:
C j G , t G = a j p j G 2 + b j p j G
where C i G , t G is the total generated power from the generator, which is approximated as shown by Equation (5) and then limited in Equation (6). a j and b j are both coefficients for the quadratic cost function, i.e., Equation (4).
p j G j π 0 p 0 j C i G , t G γ Ω G P i t G
0 P i t G P m a x   t T

3.2. Wind Turbine

Equation (7) is associated with the Weibull distribution function, a standard equation usually applied to obtain WT power output. Equation (7) is as follows:
f ( v c , k ) = k s v s k 1 e v s k
The correlation that exists between wind speed and the WT output P w T , t : t T can be represented by the following empirical Equation (8).
P W T = P w T , r v r v v c o P w T , r v v c i v r v c i v c i v v r 0 v < v c i   or   v > v c o

3.3. BESS

Equation (9) represents the battery cost function using k 1 and k 2 as coefficients; although they can be ignored for simplicity purposes, they are factored into the utility degradation function.
Equation (10) shows the minimum BESS discharging and charging power, while the rest of the equations define constraints that ensure that the safe operating conditions for the BESS are not violated.
i B Ω B E S S B E S S C , t B E S S = t = 1 T λ t P t E C P t E D + k 1 d t + k 2 d t 2
P m i n E D P t E D , P t E C P m a x E C
S O C i t = E i , t B E S S / E i , R B E S S
S O C m i n S O C i t S O C m a x
E i , t + 1 B E S S = E i , t B E S S P i , t B E S S Δ t E i , t B E S S η Δ t
P i , t B E S S P i B E S S , D i s χ i , t D i s
P i , t B E S S P i B E S S , C h r χ i , t C h r
χ i , t D i s + χ i , t C h r 1

4. VPP Uncertainty Management

Minimizing the variability of renewables into the grid network, especially WP, entails detailed modeling of energy generation assets. By proposing a probabilistic modeling approach, both system parameters and variables are introduced and allocated a threshold that could secure the grid network and minimize extreme power supply and demand deviations. Equations (17)–(20) are as follows:
B t = b t P v p p + U t ,   t T
R t B t δ t 1 ε t   t T
v P t = b t T ( [ l n P t l n R t ] P t ) d b t t T
Z t = P t v t P t V t ,   t T
where b t i s used to represent real-time energy shortfall under the expected true probability P t ; since it cannot be quantified at the first stage of the optimization process, a reference distribution R t is applied, where b t [33] historical samples are usually used to obtain a reference distribution. For the two distributions to be applied, they have to be symmetrical about the mean. In the literature, techniques, such as Wasserstein distance and the Kullback–Leibler (KL) method have been used in [34,35]. The KL method [33] has been used to quantify the divergence between the two distributions as defined by Equation (19), while Z t represents ambiguity set in Equation (20). Equation (21) is as follows:
i n f P t Z t P t B t δ t 1 ε t ,   t T
B t is further compared to δ t which is a given constant that has a probability interval of 1 ε t for all t . In order to obtain Equation (23), Equation (17) is input into Equation (21).
R t b t P v p p + U t + δ t 1 ε t   t T
Finally, Equation (17) is approximated by Equation (24).
R t b t b 11 t 1 ε t   t T
X P v p p + U t + δ t b t 11   t T
Two objective functions are given by both Equations (25) and (37). The rest of the equations are balancing equation constraints (Equation (26)) and constraints that define the operation of the VPP endogenous DERs.
M i n P v p p , P B D , P G , P E C , P E D t = 1 T i G Ω G G C , t G + C i , t B E S S i B Ω B E S S B E S S + ξ o p P t V P P
P t V P P = i , g P i t G + i , B E S S P i t B E S S + i , w P i t W + i , p v P i , p v p v + P i t B D
V min V j V max
V i V j V i
P m i n v p p P t , s v p p P m a x v p p   , t
P m i n B D P t , s B D P m a x B D   , t
B t = b t P i t v p p + P i t G , t T
  i n f         P t Z P t   B t δ t 1 ε t ,   t T
i , g P g , t + 1 G P g , t G R g G U , t < T , g i , g
i , g P g , t G P g , t + 1 G R g G D , t < T , g i , g
t = 1 M U P α g , t + 1 G 1 M U P g G , β g , t G = 1
M U P t = 1 1 α g , t + 1 G M D N g G , γ g , t G B = 1
M a x   P r o f i t P V P P , P D B , P G , ξ C = t = 1 T ξ C P t V P P t = 1 T χ t i n C P t D B Δ t γ t g G i g Ω G P i , t G +     G i g Ω G S U C g V P P β g , t V P P

4.1. DR-JCCO-Approximating Algorithms

Convex approximations can be very handy in tracking DROPs. CVaR is known to be the best approximation of DROPs as it enables tractability of DROPs and reduces the conservatism of results; however, it can vary from case to case. The following subsection introduces mathematical notations to illustrate how the two concepts differ within the context of energy systems. The H-X algorithm is introduced as a new convex approximation algorithm; according to the study in [36], it is the best so far in approximating DROPs.

4.1.1. CVaR Application

In the literature, VaR is typically used to estimate investment risk by setting a predefined threshold level. However, CVaR extends beyond VaR by capturing the expected shortfall that occurs beyond this threshold. The mathematical formulations for VaR and CVaR are presented in Equation (38) and Equation (39), respectively.
Let X ~ be a random variable and denote its probability distribution and CDF by P and Q X ~ ( ) , respectively. At a given risk level ε , 1 ε , the VaR of X ~ can be represented by the following Equation (38):
V a R 1 ε ( X ~ ) : = m i n s s : Q X ~ ( s ) 1 ε
C V a R 1 ε ( X ~ ) : = m i n β β + 1 ε E P [ X ~ β ] +

4.1.2. H-X

The modeling approach for the H-X algorithm is structurally similar to that of CVaR. However, the key distinction lies in the iterative procedure, where the algorithm searches for the optimal value of t by evaluating between predefined lower and upper bounds. The minimum value obtained within this range is then assigned to t , thereby enhancing the tractability and feasibility of the problem, as shown in the following Equation (40).
X ( t ) : = min t x X , s ( ) 0 E s ξ ˜ : e q u a t i o n   4.40 , c x t

4.1.3. General MPEC Formulation

The MPEC approach facilitates the transformation of a two-objective function into a single-objective formulation, enabling faster solutions through the use of available optimization solvers. Equations (25) and (37) are further modeled using a binary expansion technique to derive a single-level objective function that incorporates all relevant constraints. When implementing the MPEC method, both complementarity constraints and the Big-M notation are carefully considered.
In this model, the VPP output and market prices are treated as decision variables, as defined in Equation (A7). Their interaction results in a nonlinear expression, which poses challenges for standard solvers. To ensure tractability, the problem must be reformulated as a mixed-integer linear programming (MILP) model using appropriate mathematical notation. The linearization process is detailed in Appendix A, where the Big-M parameter B M must be sufficiently large to ensure an accurate transformation without compromising model integrity. The bilinear terms involved are represented as x = P V P P and y = ξ o p .

5. Results

The modeling process utilizes the parameters and decision variables defined earlier, with the optimization problem solved using the Gurobi solver. The simulations were conducted on a system with the following specifications: Intel(R) Core(TM) i5-6200U CPU, with 2.40 GHz and 16.0 GB RAM (15.9 GB usable). As outlined in Table 1, the proposed bilevel framework facilitates the design of a VPP capable of participating in the electricity market and evaluating the profit margins for VPP operators. This dual-objective structure enables the VPP to coordinate the internal scheduling of generation units by minimizing operational costs, while supporting participation in the DM, which operates on a 24 h basis.
To address the optimization problems, different structural formats were adopted. The CVaR formulation was implemented using CVXPY, while the H-X algorithm, due to its iterative nature in determining the optimal value t within upper and lower bounds, was structured and executed using Python 3.13.2 and spyder 5.5.1 as the integrated development environment (IDE) structured in the Gurobi 11.0.0 format. WP scenarios were generated and integrated into the optimization model to reflect variability in wind generation. These scenarios serve to capture the extent of wind power fluctuations. Figure 2 illustrates the set of generated wind power scenarios.
The optimization model incorporates uncertainty bands that represent deviations in power generation, with both the maximum and minimum power levels illustrated in Figure 3. These quantified deviations define an uncertainty region, which allows the decisionmaker to evaluate the influence of such uncertainties on the overall performance of the power system network.
Figure 4 illustrates the generated power along with the corresponding region used to evaluate the level of uncertainty associated with the wind power plant.

5.1. DR-JCCO-CVaR

The CVaR method applied to ensure the tractability of the DR-JCCO model yields results that demonstrate how a bilevel VPP structure can effectively coordinate the dispatch of DGs to provide baseload, alongside the BESS and WPP. The model incorporates uncertainty scenarios, and the resulting variability allows the VPP to adapt its output in coordination with DERs to meet prevailing demand.
Figure 5 illustrates a scenario of BESS underutilization, which arises due to DG1 and DG2 being dispatched at their maximum capacities instead of prioritizing the BESS. In this case, the maximum charging and minimum discharging rates for the BESS are set at 100 MW. The figure offers a detailed depiction of power contributions from the VPP and DGs. At the boundaries of the time horizon, the VPP matches the demand profile by dispatching the required power. Around hour 7, the power supply stabilizes until approximately hour 12, after which the VPP output begins to decline, as indicated by a reduction in DG1 and DG2 contributions. Furthermore, the figure highlights the underutilization of the BESS, which is primarily attributed to the prioritization of the power supply from the DGs.
Figure 6 presents the expanded profile of the BESS storage level over time. Proper sizing of the storage system is critical and must align with the appropriate specifications and operational requirements, such as battery capacity, maximum and minimum state of charge (SoC), C-rate, and depth of discharge (DoD). With accurate sizing, BESS monitoring becomes more manageable, ensuring an optimal charge–discharge cycle. The BESS capacity essentially defines the amount of energy that can be supplied to meet the prevailing demand.
In this scenario, Figure 5 reflects the underutilization of the BESS, as only a limited amount of power is discharged. Discharging occurs briefly around hours 2 and 4, followed by a gradual increase in charging power, which stabilizes between hours 6 and 16 before reaching approximately 135 MWh. The marked minimum and maximum SoC thresholds remain unaffected due to the BESS being underutilized in this instance. The total operational cost under the CVaR-based approach amounts to USD 490,906.39, indicating an increase compared to when DR-JCCO is applied with H-X, as will be seen in subsequent sections.
The second demonstration case is under the CVaR framework involving the scheduling of DG1 and DG2, where DG1 operates at a constant output of 300 MW and DG2 at 400 MW continuously over the 24 h period. The BESS is then dispatched to meet the remaining portion of the demand, as illustrated in Figure 7 and Figure 8, respectively. The dispatch decisions for the generators are influenced by their respective fuel cost parameters, whereby DG1 is prioritized due to its lower operational cost relative to DG2.
An expanded illustration of the BESS storage level under SoC constraints is presented using a smoothed SoC curve, as shown by Figure 8. The initial SoC is at 50% and, after undergoing charging and discharging cycles, the BESS retains the same energy level. It is important to note that the storage capacity is limited by predefined SoC bounds, with the maximum and minimum levels set at 90% and 20%, respectively. Additionally, the smoothen curve in Figure 8 is not always representative of actual physical systems, where the profile may vary depending on operational conditions. The curve can be compared to the one in Figure 9.
Meanwhile, Figure 10 presents the power output from DG1, which operates at a constant maximum capacity of 300 MW and incurs the lowest fuel cost. DG2, on the other hand, supplies up to 400 MW and is scheduled to adjust its output based on the prevailing system demand. Alongside the BESS, these resources are coordinated to meet the total energy requirement. The VPP aggregates and dispatches the units optimally, closely following the illustrated demand profile. The peaks observed in the VPP output curve highlight the method’s responsiveness in aligning with demand fluctuations. The BESS discharges primarily at the two ends of the time horizon, as depicted in the charge–discharge profile in Figure 10. Furthermore, the CVaR-based algorithm introduces slight variations in the dispatch results, such as the charge–discharge behavior shown in the same figure. According to the figure, the BESS initiates charging between hour 5 and hour 10 with relatively high active power; this is followed by a decrease in charging rate and a brief spike at approximately hour 13. Subsequently, the charging power becomes zero. From hour 15, the BESS remains idle, neither charging nor discharging, until hour 21, when the BESS starts discharging. The total operational cost in this case is approximately USD 342,800.23, indicating that the BESS is both appropriately sized and efficiently scheduled.
Curtailment planning was not included in the model, as shown in Figure 11, since the generated WP was considered sufficient. Consequently, the model concentrated on dispatching DGs and the BESS. The H-X algorithm performed curtailment of the wind power to demonstrate advanced modeling of DERs under continuous scheduling.
In summary, the total profit achieved using the CVaR approach was approximately USD 500,000, aggregated over the scenarios generated. This outcome, depicted in Figure 12, is based on the assumption that the traded quantities correspond closely to the utilized scenarios and the observed power levels.

5.2. DR-JCCO-H-X

The H-X algorithm employs an iterative process to monitor the DR-JCCO and its convergence, effectively reducing the conservativeness typically associated with DROPs, as demonstrated in this section. Once the optimal value of t is determined, all VPP resources are scheduled to satisfy the demand. Figure 13 illustrates the scenarios generated relative to the optimal t value.
When applying the H-X algorithm to discharge the BESS, the SoC decreases very quickly, indicating that the iterative loop converges to optimality rapidly. Due to the high time efficiency of H-X, the BESS is dispatched to meet demand whenever the supply from DG1 and DG2 is insufficient. Around hour 20, the SoC reaches zero, as shown in Figure 14. The spikes in these figures represent the BESS’s charge–discharge cycles, which could raise concerns regarding the battery’s long-term health and safety. Although this method is fast and accurately approximates the DR-JCCO problem, frequent charge–discharge cycles may reduce the BESS’s efficiency over time.
Additionally, Figure 15 illustrates wind power generation, curtailment, and an adjusted demand profile. Curtailment is implemented by applying a percentage of wind power for reduction along with penalization parameters. In cases of wind power surplus, 80% of the generated wind power is utilized, while the remainder is curtailed using the wind usage fraction (WUF) and curtailment fraction (CF). For demonstration, the model uses values of 0.9 for WUF and 0.5 for CF.
The instantaneous response of the H-X algorithm in dispatching distributed generation assets makes it well-suited for ensuring continuous power supply within power networks. Furthermore, the demand curve in Figure 15 has been adjusted to reflect realistic, time-varying demand conditions.
This strategy is crucial for evaluating the effects of overgeneration in the grid system. For example, Figure 16 shows wind curtailment peaks at approximately 0.12 MW when a WUF of 0.9 is applied, which is relatively low compared to a curtailment fraction of 0.5, whereby curtailed wind power is about 2.9 MW at maximum, as indicated in Figure 15.
The figures can be rescaled to provide a clearer representation of the BESS charge–discharge cycles alongside the power output from DG1 and DG2. Specifically, Figure 17 offers a zoomed-in view of scenarios where dispatchable generators are activated, particularly during periods when the VPP’s total supply falls short of demand. The figure illustrates the underutilization of the BESS, marked by brief and rapid charging and discharging periods. This limited utilization is attributed to the adequacy of the overall VPP supply in meeting the system’s demand, thereby relegating the BESS to cover only minor fluctuations. Furthermore, the BESS operational constraints are enforced, with the minimum SoC set at 20% and the maximum SoC of 90% indicated by a red dashed line. DG2 and DG1 operate during high-demand hours, approximately at hours 22 and 23, respectively. This dispatch strategy is informed by the algorithm’s capability to account for operational cost factors, including fuel usage, as well as startup and shutdown costs. Consequently, the method supports the efficient coordination and deployment of DERs through the VPP framework to reliably meet the demand.
Subsequently, the VPP schedules the dispatch of its generation assets by first coordinating internal resources through the DR-JCCO-H-X framework. As shown in Figure 18, this coordination mechanism enables the VPP to dynamically respond to demand fluctuations, with the energy output from the BESS decreasing progressively over time. The approach also safeguards the operational integrity of the BESS by ensuring that its charge–discharge cycles remain within the defined state-of-charge limits.
Furthermore, the interdependence between the BESS storage capacity and the generation capacity of DGs has been established. For example, if the BESS has a storage capacity of 400 MWh while the DGs are inadequately sized (e.g., 50 MW and 100 MW), the BESS tends to remain underutilized. This underutilization translates to reduced VPP profitability, as infrequent charge–discharge cycles are scheduled to avoid high operational expenses, particularly those associated with dispatching the DGs solely for BESS charging, which can be prohibitively costly. To avoid escalating costs, the VPP preferentially dispatches other internal resources to meet the demand while minimally charging the BESS. Consequently, the generation capacity of DG1 and DG2 directly influences the charging and discharging behavior of the BESS, as illustrated in Figure 18. Notably, the figure shows a decline in BESS activity, with a complete discharge occurring around hour 19, after which the VPP relies solely on DGs to satisfy the demand. It is important to note, however, that in practical applications, frequent and rapid charge–discharge cycles are generally discouraged, as they may compromise the structural integrity of the storage cells and accelerate the degradation of the BESS over time.
Moreover, as illustrated in Figure 18, the limited capacity of the BESS enabled the VPP to optimally schedule the majority of its available generation resources. This is further supported by Figure 19, which displays the profits that can be obtained with respect to the specific size of the BESS.
Furthermore, Figure 20 and Figure 21 illustrate the variation in the demand profile when wind power is integrated into the VPP’s energy portfolio. The overall demand notably decreases due to the contribution of wind generation. Despite this, the curtailment of wind power remains necessary to effectively manage surplus renewable energy and maintain supply–demand balance. In this scenario, the curtailed portion of wind power is strategically utilized to charge the BESS, thereby enhancing system flexibility and storage efficiency.
Meanwhile, Figure 22 presents the calculated profits resulting from the VPP’s operation using the H-X algorithm. These profits are derived based on the system demand and the VPP’s capability along with its internal resources to supply sufficient power to meet that demand.
Regarding the use of the binary expansion (BE) method, a modeling approach is adopted to develop a bidding strategy for the VPP within the proposed bilevel optimization framework. This model is specifically designed to linearize continuous variables, which are otherwise difficult to handle using standard solvers, like Gurobi or CPLEX. The mathematical formulation defines system-level constraints for storage units, distributed generators, and the VPP itself. As a result, the VPP is able to efficiently dispatch DGs and the BESS in response to demand while adhering to a predefined threshold.
The binary expansion technique reformulates the VPP model by addressing continuous variables whose multiplication leads to nonlinear expressions that are challenging to solve. The profit maximization objective function (Equation (37)) is simulated under the imposed system constraints outlined in Appendix A. Initially, the approach facilitates the cost-effective dispatch of DG1 and DG2 generators. For example, when DG1 has a fuel cost of USD 2.58/MMBtu, the algorithm minimizes operational costs by prioritizing the generator with the lowest cost. As depicted in Figure 23, the VPP dispatch is constrained to a maximum of 2000 MW, a limit imposed by the TSO. Within this boundary, the VPP coordinates its internal resources to ensure real-time demand fulfillment.
The dispatch schedule for DG1 and DG2, as illustrated in Figure 24, is determined based on their respective fuel consumption costs, as mentioned earlier. Additionally, the BESS is utilized to supply power between hour 5 and hour 13, thereby enabling the VPP to fulfill the system demand during this period.
As the total generation capacity of the VPP increases, the BESS is dispatched more frequently to support load demand. However, the VPP’s output remains constrained by the capabilities of its internal assets. For example, when a 3000 MW load is required, the VPP can only supply up to 2800 MW. Nonetheless, the complete dispatch of all available generators remains a key priority for the TSO to ensure demand is met. Figure 25 illustrates the 24 h dispatch schedule of VPP output, with power oversupply observed at hour 2 and hour 18.
Figure 26 illustrates a case where a 200 MWh BESS is charged and discharged at a fixed rate of 100 MW, applying the BE method as a standalone approach. In this instance, the storage profile follows a largely linear trend, steadily increasing and then slightly decreasing during discharge events. In contrast, the CVaR and H-X formulations incorporate complementarity constraints that are specifically designed to manage nonlinearities present in the system model, rendering them more suitable for long-term BESS operational strategies.
This study has evaluated the performance of three principal optimization techniques. In addition to assessing operational cost minimization and profit generation under uncertainty, the methods were analyzed using several key performance indicators, including the number of nodes explored, simplex iterations, computational time (in seconds), objective value, number of solutions identified, and the optimality gap metric, which reflects the quality of the best solution relative to the best known bound. These indicators collectively facilitate the evaluation of model performance in terms of solution accuracy, computational efficiency, and algorithm robustness.
Figure 27 provides a comparative analysis; the results reveal that the DR-JCCO approach incurs the highest number of simplex iterations, followed closely by the DR-JCCO-H-X method. This observation supports the notion that increased iteration counts correspond with a greater number of explored nodes and improved solution quality, as evidenced by the performance of the CVaR-based formulation.
Additionally, Figure 28 presents a comparison of the objective values achieved by each method, which correlates with the number of solutions identified. On average, the solution count is lower for the DR-JCCO method compared to the H-X and CVaR algorithms. The higher objective values observed for the H-X and CVaR approaches indicate a greater number of feasible solutions or a faster convergence rate, thereby demonstrating superior overall performance.
The results presented in Table 2 reveal that the H-X algorithm achieves a better solution gap than CVaR, although it yields lower solution quality and requires more time to find a feasible solution. In contrast, the DR-JCCO method requires less computational time compared to the other two approaches, with fewer iterations, which aligns with its higher solution conservativeness. Table 2 also compares the methods in terms of solution conservativeness and tractability: CVaR and H-X algorithms reduce solution regularity and enhance the tractability of general DR-JCCO problems. whereas DR-JCCO alone exhibits higher solution regularity but very low tractability despite its faster convergence, as illustrated in Figure 27.
Figure 29 demonstrates that fewer iterations or explored nodes do not always lead to better solution quality; rather, they may signify lower computational effort, which could come at the cost of solution accuracy.

6. Discussion

The results show the ability of the VPP to meet most of the demand, with residual load handled by the BESS in most Cases. Note that under uncertainty involving the demand variation attributed to both supply and energy price volatility. The demand could fluctuate with increase or decrease in energy prices, and this is where the optimization techniques play a crucial role by limiting extreme variations that can cause peak demand in the early mornings and evenings. To monitor and manage the demand in a more optimal manner, the BESS steps in to alleviate peaks and allocate energy supply to regions which are insufficiently fed by the available energy generation resources to meet the available demand. The DR-JCCO in its pure form effectively manages uncertainties related to renewable energy sources and conventional generation assets within predefined thresholds; however, it is limited, as it is less tractable and suffers from a regularity of solutions leading to compliance challenges during the optimization process of the BESS and DGs.
The simulations conducted using the CVaR and H-X algorithms present a distinctive approach to solving JCC problems. Usually, the demand is not fully satisfied with DR-JCCO, suggesting possible supply shortages. Despite this, DR-JCCO remains a leading approach that integrates distributional and robust optimization to effectively schedule and operate DERs.
It is imperative to note that choosing the most suitable method involves a trade-off and largely depends on the specific problem context. These methods demonstrate enhanced performance when integrating BESS and renewables into the grid. Although CVaR delivers high-quality results, the H-X algorithm emerges as a strong alternative for sizing the BESS due to its faster convergence, reduced computational complexity, and improved problem tractability. The H-X method results in rapid BESS charge–discharge cycles while maintaining efficient overall handling of the DR-JCCO problem. Notably, H-X benefits from determining an optimal parameter t , which is achieved after nearly all scenarios have been evaluated and the probability threshold remains feasible, as illustrated in Figure 13.
It is essential to carefully select constraints to optimize the system’s use within safety limits. Minimizing charge–discharge cycles helps extend the lifespan of the BESS, although durability is also influenced by other factors, such as cycling aging, depth of discharge (DoD), charge rates, and thermal conditions. Figure 5 illustrates how battery stress is mitigated by reducing the cycling frequency while increasing the power supply from DGs. However, even if the BESS remains idle, its longevity is not guaranteed due to calendric aging effects [37], which degrade cells chemically over time. Therefore, minimizing idle periods is recommended to slow self-degradation.
Overall, the CVaR framework promotes smooth BESS operation and optimally schedules DGs to meet demand efficiently. Given DG1’s startup and heat rate costs of USD 10.5/MMBtu and DG2’s at USD 11/MMBtu, with respect to the startup costs of USD 100 and USD 120 per event, the optimization prioritizes DG1 by maintaining a steady output (e.g., 300 MW over 24 h). When demand exceeds DG supply, the BESS and VPP coordination balances the system. In instances of BESS underutilization, DGs fulfill most of the demand. The total operational cost with this approach was approximately USD 490,906.
Applying the H-X algorithm allows easier tracking of profits and reduces operational costs by limiting DG use; the more expensive DG is reserved for peak hours to cover residual load. Our results confirm that effective VPP scheduling depends on the appropriate sizing of both the BESS and DGs, as an oversized BESS with low wind and DG production leads to underutilization of the BESS. Power generated by DGs can be stored for peak consumption, and curtailed wind power can supplement the energy mix. Also, sizing decisions must consider both demand and DG power output. Typically, DGs operate continuously over 24 h to avoid cold start costs, with the VPP regulating generation during low demand to charge the BESS for later dispatch during peak demand. Hence, the H-X algorithm provides numerous performance advantages, enabling BESS discharge based on the optimal parameter t and scenario sets. To explore changes in BESS storage capacity, further robust analysis through parameter tuning is necessary. The CVaR results closely aligned with H-X in terms of BESS charge–discharge behavior. Differences in VPP costs and profits among the two methods arise partly from model parameters and constraints embedded in the optimization formulations.
Finally, it is important to note that the CVaR and H-X strategies schedule generation units and coordinate resources to follow the demand profile, therefore placing BESS at the core of the optimization.

6.1. Conclusions

The findings highlight the successful application of advanced optimization techniques for integrating renewable energy sources into the power grid. This article’s objective was established through a thorough review of the existing literature, supporting the adoption of DR-JCCO due to its advantages of reduced computational burden and lower information loss compared to traditional methods, such as RO and SP. Achieving the right balance in integrating BESS, DGs, and RERs allows for a comprehensive assessment of grid reliability and the quantification of uncertainties’ impact on the overall safety of power transmission networks. It was noted that conventional approaches, like RO and SO, are hindered by significant information loss and high computational demands. These drawbacks motivated the implementation of a DR-JCCO framework within a bilevel optimization structure for modeling the VPP. In terms of improving tractability, existing approaches, such as CVaR, although popular, were found to be inadequate to fully meet the study’s objectives. This research advances the field by proposing a bilevel, data-driven model tailored to energy systems, which integrates distributional robustness with resilience considerations while minimizing information loss. Emphasis was placed on implementing algorithms capable of effectively solving the problem, notably the H-X algorithm, a novel contribution to integrated energy system modeling. The demonstrated effectiveness of the H-X algorithm in reducing operational costs and optimizing BESS utilization underscores its potential superiority and suitability within the DR-JCCO framework.

6.2. Future Work

The VPP model incorporating WP and DGs presents a novel approach to integrating RESs into the grid network. The overall mathematical modeling of the VPP in a bilevel framework was explored as seen in Appendix A, with BE being employed to linearize nonlinear models, laying the groundwork for further investigation into alternative mathematical tools that could enhance the linearization process.
Additionally, the following sub-topics will need to be considered in subsequent studies:
  • Improvement of the H-X algorithm: Further research is needed to enhance the computation of the optimal t values within the H-X algorithm. This would improve its ability to regulate the charge–discharge cycles of the BESS, thereby facilitating more efficient long-term usage of the storage system and reducing degradation rates during operation.
  • Dispatch of multiple VPPs: A potential area for future exploration involves the inclusion of multiple virtual power plants (VPPs). This would enable advanced analysis of coordinated scheduling and dispatch mechanisms across interconnected VPPs, a critical consideration for accurate and equitable settlement procedures in electricity markets.
  • Advancement of EPEC models: While MPECs have received considerable attention, EPECs remain underexplored, specifically in the context of distribution networks. Future work should aim to bridge this gap.

Author Contributions

Conceptualization, O.N.O.; methodology, O.N.O.; software, E.T.; validation, O.N.O., E.T. and B.Y.; formal analysis, O.N.O.; investigation, O.N.O.; resources, E.T.; data curation, O.N.O.; writing—original draft preparation, O.N.O.; writing—review and editing, B.Y.; visualization, O.N.O.; supervision, B.Y.; project administration, E.T.; funding acquisition, E.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by INAVITAS Energy R&D Inc. through TÜBİTAK 2244 program. The APC was funded by INAVITAS Energy R&D Inc.

Data Availability Statement

Data is available upon request.

Acknowledgments

The first author appreciates TUBITAK for its financial support during his doctoral studies under grant no. 119C128.

Conflicts of Interest

Author Erman Terciyanlı was employed by the company INAVITAS. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Nomenclature

Abbreviations
WPPWind power plant
ISOIndependent system operator
TNTransmission network
DNDistribution network
MGMicrogrid
DGDistributed generation
CHPCombined heat and power
DGsDiesel generators
DMDay-ahead market
EPECEquilibrium problem with equilibrium constraints
KKTKarush–Kuhn–Tucker
SPStochastic programming
RORobust optimization
JCCJoint chance-constrained
Sets and indices
iNumber of BESS index
J , g Number of generator index
T 24 h
CDFCumulative distribution function
System parameters
U t Generators’ total power
C i B , t B E S S Utility function for battery storage system
b t Difference between demand and renewable output
λ t Cost of storage energy per unit
P s V P P VPP generation
P s D B VPP demand (electricity)
ξ s Bid price
χ s Offer price
ξ o p TSO offering price
λ t i n C VPP cost in DA
γ t g Fuel cost
χ B p Buying price for VPP
C i , t G Cost function for the generator
S U C i , g V P P Startup cost
M U P i , g v p p Minimum up time for unit g
M D N i , g v p p Minimum downtime for unit g
Variables
P t V P P Aggregated VPP power in the electricity market
P t B D Power demand at time t
P i , t E D Discharged battery power
P i , t E C Battery charging power
P t V P P Cleared power in DA in period t
P t D B Cleared VPP demand in period t/BESS charged
P j , t G Optimal generator output in DA
ξ t c System market price
β g , t V P P Binary variable; if 1, the generator starts up
γ g , t G B Binary variable; if 0, the generator shuts down

Appendix A. Linearization of Continuous Variables

To linearize the problem, the first 2 n discrete points are used within a precise interval demarcated by the upper and lower bounds of y [ y l ,     y m ] which leads to the following Equation (A1):
y = y l + Δ y n = 1 n 2 n 1 z n
where z n is noted with n is being a binary variable and Δ y is a step size which is given by the following Equation (A2):
Δ y = y m y l 2 n
When n increases, Δ y decreases implying that the step size decreases with an increasing n value. Introducing x variable into Equation (A2) results in the following Equation (A3):
x y = x y l + Δ y n = 1 n 2 n 1 x z n
v n = x z n can be substituted into the following Equation (A4):
x y = x y l + Δ y n = 1 n 2 n 1 v n
Big-M notation relaxes the constraints, as shown by the following Equation (A5):
0 x v n B M 1 z n ,   n
0 v n B M z n ,   n
Applying the logic of v n , Equation (A5) is forced by z n = 0 and v n = 0 . In the case of z n = 1 , v n = x is forced into Equation (A6).
In short, Equation (A4) is the best approximating equation of a nonlinear equation with bilinear terms subject to the v n = x z n relationship; additionally, the loss of information can be controlled by using precise number of segments and applying O l o g 2 n , with n being the number of segments needed to express a linear function that can give outcomes that are relatively accurate.
In formulating the VPP bidding mechanism, ξ o p P v p p needs to be expanded by linearizing the objective function indicated by Equation (37) into Equation (A7), as follows:
Maximize   Profit   = ξ o p t P v p p t , n + Δ ξ n = 1 n z n 1 z v p p t , n i g Ω G G γ t g P G i , t + i g Ω G G S U C g v p p β v p p g , t

References

  1. Tiismus, H.; Maask, V.; Astapov, V.; Korõtko, T.; Rosin, A. State-of-the-Art Review of Emerging Trends in Renewable Energy Generation Technologies. IEEE Access 2025, 13, 10820–10843. [Google Scholar] [CrossRef]
  2. World Energy Transitions Outlook 2023. Available online: https://www.irena.org/Digital-Report/World-Energy-Transitions-Outlook-2023 (accessed on 28 February 2025).
  3. Onsomu, O.N.; Çetin, A.; Terciyanlı, E.; Yeşilata, B. Integration of Grid Scale Battery Energy Storage Systems and Application Scenarios. Eurasian J. Sci. Eng. Technol. 2024, 5, 76–86. [Google Scholar] [CrossRef]
  4. Beck, Y.; Ljubić, I.; Schmidt, M. A Brief Introduction to Robust Bilevel Optimization. arXiv 2022, arXiv:2211.16072. [Google Scholar] [CrossRef]
  5. Prat, E.; Chatzivasileiadis, S. Learning Active Constraints to Efficiently Solve Linear Bilevel Problems: Application to the Generator Strategic Bidding Problem. IEEE Trans. Power Syst. 2023, 38, 2376–2387. [Google Scholar] [CrossRef]
  6. Bracken, J.; McGill, J.T. Mathematical Programs with Optimization Problems in the Constraints. Oper. Res. 1973, 21, 37–44. [Google Scholar] [CrossRef]
  7. Birge, J.R.; Louveaux, F. Introduction to Stochastic Programming; Springer Series in Operations Research and Financial Engineering; Springer: New York, NY, USA, 2011; ISBN 978-1-4614-0236-7. [Google Scholar]
  8. Conejo, A.J.; Prieto, F.J. Mathematical programming and electricity markets. Top 2001, 9, 1–22. [Google Scholar] [CrossRef]
  9. Esfahani, M.M.; Hariri, A.; Mohammed, O.A. A Multiagent-Based Game-Theoretic and Optimization Approach for Market Operation of Multimicrogrid Systems. IEEE Trans. Ind. Inform. 2019, 15, 280–292. [Google Scholar] [CrossRef]
  10. Baillo, A.; Ventosa, M.; Rivier, M.; Ramos, A. Optimal Offering Strategies for Generation Companies Operating in Electricity Spot Markets. IEEE Trans. Power Syst. 2004, 19, 745–753. [Google Scholar] [CrossRef]
  11. Li, Y.; Li, H.; Wang, B.; Zhou, M.; Jin, M. Multi-objective unit commitment optimization with ultra-low emissions under stochastic and fuzzy uncertainties. Int. J. Mach. Learn. Cybern. 2021, 12, 1–15. [Google Scholar] [CrossRef]
  12. Jiang, N.; Xie, W. ALSO-X#: Better convex approximations for distributionally robust chance constrained programs. Math. Program. 2024. [Google Scholar] [CrossRef]
  13. Ben-Tal, A.; Nemirovski, A. Robust Convex Optimization. Math. Oper. Res. 1998, 23, 769–805. [Google Scholar] [CrossRef]
  14. Hanasusanto, G.A.; Roitch, V.; Kuhn, D.; Wiesemann, W. Ambiguous Joint Chance Constraints Under Mean and Dispersion Information. Oper. Res. 2017, 65, 751–767. [Google Scholar] [CrossRef]
  15. Guo, H.; Gong, D.; Zhang, L.; Wang, F.; Du, D. Hierarchical Game for Low-Carbon Energy and Transportation Systems Under Dynamic Hydrogen Pricing. IEEE Trans. Ind. Inform. 2023, 19, 2008–2018. [Google Scholar] [CrossRef]
  16. Zhao, W.; Diao, H.; Li, P.; Lv, X.; Lei, E.; Mao, Z.; Xue, W. Transactive Energy-Based Joint Optimization of Energy and Flexible Reserve for Integrated Electric-Heat Systems. IEEE Access 2021, 9, 14491–14503. [Google Scholar] [CrossRef]
  17. Cao, Y.; Wei, W.; Wang, J.; Mei, S.; Shafie-khah, M.; Catalao, J.P.S. Capacity Planning of Energy Hub in Multi-Carrier Energy Networks: A Data-Driven Robust Stochastic Programming Approach. IEEE Trans. Sustain. Energy 2020, 11, 3–14. [Google Scholar] [CrossRef]
  18. Chen, Y.; Guo, Q.; Sun, H.; Li, Z.; Wu, W.; Li, Z. A Distributionally Robust Optimization Model for Unit Commitment Based on Kullback–Leibler Divergence. IEEE Trans. Power Syst. 2018, 33, 5147–5160. [Google Scholar] [CrossRef]
  19. Zheng, W.; Huang, W.; Hill, D.J.; Hou, Y. An Adaptive Distributionally Robust Model for Three-Phase Distribution Network Reconfiguration. IEEE Trans. Smart Grid 2021, 12, 1224–1237. [Google Scholar] [CrossRef]
  20. Yan, M.; Shahidehpour, M.; Paaso, A.; Zhang, L.; Alabdulwahab, A.; Abusorrah, A. Distribution Network-Constrained Optimization of Peer-to-Peer Transactive Energy Trading Among Multi-Microgrids. IEEE Trans. Smart Grid 2021, 12, 1033–1047. [Google Scholar] [CrossRef]
  21. Wang, Z.; Chen, B.; Wang, J.; Kim, J. Decentralized Energy Management System for Networked Microgrids in Grid-Connected and Islanded Modes. IEEE Trans. Smart Grid 2016, 7, 1097–1105. [Google Scholar] [CrossRef]
  22. Saber, H.; Ehsan, M.; Moeini-Aghtaie, M.; Ranjbar, H.; Lehtonen, M. A User-Friendly Transactive Coordination Model for Residential Prosumers Considering Voltage Unbalance in Distribution Networks. IEEE Trans. Ind. Inform. 2022, 18, 5748–5759. [Google Scholar] [CrossRef]
  23. Wang, Z.; Chen, B.; Wang, J.; Begovic, M.M.; Chen, C. Coordinated Energy Management of Networked Microgrids in Distribution Systems. IEEE Trans. Smart Grid 2015, 6, 45–53. [Google Scholar] [CrossRef]
  24. Liu, Z.; Wang, L.; Ma, L. A Transactive Energy Framework for Coordinated Energy Management of Networked Microgrids with Distributionally Robust Optimization. IEEE Trans. Power Syst. 2020, 35, 395–404. [Google Scholar] [CrossRef]
  25. Sheikhahmadi, P.; Bahramara, S.; Mazza, A.; Chicco, G.; Catalão, J.P.S. Bi-level optimization model for the coordination between transmission and distribution systems interacting with local energy markets. Int. J. Electr. Power Energy Syst. 2021, 124, 106392. [Google Scholar] [CrossRef]
  26. Mahboubi-Moghaddam, E.; Nayeripour, M.; Aghaei, J.; Khodaei, A.; Waffenschmidt, E. Interactive Robust Model for Energy Service Providers Integrating Demand Response Programs in Wholesale Markets. IEEE Trans. Smart Grid 2018, 9, 2681–2690. [Google Scholar] [CrossRef]
  27. Daneshvar, M.; Mohammadi-Ivatloo, B.; Zare, K.; Asadi, S.; Anvari-Moghaddam, A. A Novel Operational Model for Interconnected Microgrids Participation in Transactive Energy Market: A Hybrid IGDT/Stochastic Approach. IEEE Trans. Ind. Inform. 2021, 17, 4025–4035. [Google Scholar] [CrossRef]
  28. Daneshvar, M.; Mohammadi-Ivatloo, B.; Zare, K.; Asadi, S. Two-Stage Robust Stochastic Model Scheduling for Transactive Energy Based Renewable Microgrids. IEEE Trans. Ind. Inform. 2020, 16, 6857–6867. [Google Scholar] [CrossRef]
  29. Zheng, X.; Qu, K.; Lv, J.; Li, Z.; Zeng, B. Addressing the Conditional and Correlated Wind Power Forecast Errors in Unit Commitment by Distributionally Robust Optimization. IEEE Trans. Sustain. Energy 2021, 12, 944–954. [Google Scholar] [CrossRef]
  30. Chen, Y.; Wei, W.; Liu, F.; Mei, S. Distributionally robust hydro-thermal-wind economic dispatch. Appl. Energy 2016, 173, 511–519. [Google Scholar] [CrossRef]
  31. Zhong, J.; Li, Y.; Wu, Y.; Cao, Y.; Li, Z.; Peng, Y.; Qiao, X.; Xu, Y.; Yu, Q.; Yang, X.; et al. Optimal Operation of Energy Hub: An Integrated Model Combined Distributionally Robust Optimization Method with Stackelberg Game. IEEE Trans. Sustain. Energy 2023, 14, 1835–1848. [Google Scholar] [CrossRef]
  32. Bagchi, A.; Xu, Y. Distributionally Robust Chance-Constrained Bidding Strategy for Distribution System Aggregator in Day-Ahead Markets. In Proceedings of the 2018 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm), Aalborg, Denmark, 29–31 October 2018; IEEE: Aalborg, Denmark, 2018; pp. 1–6. [Google Scholar]
  33. Wang, R.; Wang, P.; Xiao, G. A robust optimization approach for energy generation scheduling in microgrids. Energy Convers. Manag. 2015, 106, 597–607. [Google Scholar] [CrossRef]
  34. Ben-Tal, A.; Den Hertog, D.; De Waegenaere, A.; Melenberg, B.; Rennen, G. Robust Solutions of Optimization Problems Affected by Uncertain Probabilities. Manag. Sci. 2013, 59, 341–357. [Google Scholar] [CrossRef]
  35. Jiang, R.; Guan, Y. Data-driven chance constrained stochastic program. Math. Program. 2016, 158, 291–327. [Google Scholar] [CrossRef]
  36. Ahmed, S.; Luedtke, J.; Song, Y.; Xie, W. Nonanticipative duality, relaxations, and formulations for chance-constrained stochastic programs. Math. Program. 2017, 162, 51–81. [Google Scholar] [CrossRef]
  37. Wu, Y.; Liu, Z.; Liu, J.; Xiao, H.; Liu, R.; Zhang, L. Optimal battery capacity of grid-connected PV-battery systems considering battery degradation. Renew. Energy 2022, 181, 10–23. [Google Scholar] [CrossRef]
Figure 1. Mathematical modeling and algorithmic flow.
Figure 1. Mathematical modeling and algorithmic flow.
Energies 18 04012 g001
Figure 2. Wind power scenarios.
Figure 2. Wind power scenarios.
Energies 18 04012 g002
Figure 3. Wind power uncertainty bands.
Figure 3. Wind power uncertainty bands.
Energies 18 04012 g003
Figure 4. Wind power production.
Figure 4. Wind power production.
Energies 18 04012 g004
Figure 5. VPP, DGs, and BESS power.
Figure 5. VPP, DGs, and BESS power.
Energies 18 04012 g005
Figure 6. Battery storage level with SoC limits (underutilized BESS).
Figure 6. Battery storage level with SoC limits (underutilized BESS).
Energies 18 04012 g006
Figure 7. VPP power with a 200 MWh BESS.
Figure 7. VPP power with a 200 MWh BESS.
Energies 18 04012 g007
Figure 8. DGs and BESS dispatch.
Figure 8. DGs and BESS dispatch.
Energies 18 04012 g008
Figure 9. Smoothed BESS level with SoC limits.
Figure 9. Smoothed BESS level with SoC limits.
Energies 18 04012 g009
Figure 10. VPP–BESS charge–discharge power with DGs.
Figure 10. VPP–BESS charge–discharge power with DGs.
Energies 18 04012 g010
Figure 11. Zero wind curtailment.
Figure 11. Zero wind curtailment.
Energies 18 04012 g011
Figure 12. Total VPP profit under CVaR.
Figure 12. Total VPP profit under CVaR.
Energies 18 04012 g012
Figure 13. Optimal value and generated scenarios.
Figure 13. Optimal value and generated scenarios.
Energies 18 04012 g013
Figure 14. H-X SoC curve for the 30 MWh BESS.
Figure 14. H-X SoC curve for the 30 MWh BESS.
Energies 18 04012 g014
Figure 15. WP penetration levels and demand adjustment.
Figure 15. WP penetration levels and demand adjustment.
Energies 18 04012 g015
Figure 16. Wind power curtailment.
Figure 16. Wind power curtailment.
Energies 18 04012 g016
Figure 17. Underutilization scheme of a 200 MWh BESS.
Figure 17. Underutilization scheme of a 200 MWh BESS.
Energies 18 04012 g017
Figure 18. A 30 MWh BESS with DG1 and DG2.
Figure 18. A 30 MWh BESS with DG1 and DG2.
Energies 18 04012 g018
Figure 19. VPP optimal DERs dispatch and profit acquisition (>30 MWh <200 MWh BESS).
Figure 19. VPP optimal DERs dispatch and profit acquisition (>30 MWh <200 MWh BESS).
Energies 18 04012 g019
Figure 20. Demand profile adjustment.
Figure 20. Demand profile adjustment.
Energies 18 04012 g020
Figure 21. WP generation and curtailment.
Figure 21. WP generation and curtailment.
Energies 18 04012 g021
Figure 22. VPP profit under the H-X algorithm.
Figure 22. VPP profit under the H-X algorithm.
Energies 18 04012 g022
Figure 23. VPP dispatch profile with 2000 MW maximum.
Figure 23. VPP dispatch profile with 2000 MW maximum.
Energies 18 04012 g023
Figure 24. Diesel generator power output.
Figure 24. Diesel generator power output.
Energies 18 04012 g024
Figure 25. VPP dispatch profile with 2800 MW maximum.
Figure 25. VPP dispatch profile with 2800 MW maximum.
Energies 18 04012 g025
Figure 26. BESS operational cycle.
Figure 26. BESS operational cycle.
Energies 18 04012 g026
Figure 27. Sum of simplex iterations and key metrics.
Figure 27. Sum of simplex iterations and key metrics.
Energies 18 04012 g027
Figure 28. Objective value comparison.
Figure 28. Objective value comparison.
Energies 18 04012 g028
Figure 29. Computational time and objective value display.
Figure 29. Computational time and objective value display.
Energies 18 04012 g029
Table 1. Existing bilevel models in the literature.
Table 1. Existing bilevel models in the literature.
Ref #Problem FormulationModeling LevelsUncertaintySolution Algorithms
Upper LevelLower Level
[9]BilevelDNMGROADMM
[15]BilevelEnergy hubEVsSP
[16]BilevelEnergy hubUsersTwo-stage ROC&CG
[17]Energy hubEnergy hubUsers and EVsKL-based DROCrafted C&CG
(linearization of USP)
[18]Single levelKL-based DROOuter approximation
[19]Single levelKL-based DROBenders decomposition
[20]Single levelKL-based DROC&CG
[21]BilevelDNMGStackelberg game
[22]BilevelDNMGROADMM
[23]BilevelDNMGNoncooperative game
[24]BilevelDNMGKKT
[25]BilevelDNMGDROKKT
[26]BilevelTNDNIGDTKKT
[27]BilevelTNDNROIterative method (two steps)
[28]Single levelTNMGIGDT-SP
[29]BilevelTNMGRO-SPDantzig–Wolfe
[30,31]Single levelMoment-based DRO Delayed constraint generation
ProposedBilevel VPPDay-ahead marketVPP ownersDR-JCCOCVaR&H-X
Table 2. Performance assessment of optimization techniques.
Table 2. Performance assessment of optimization techniques.
Optimization ApproachPerformance Metrics
Sum of IterationSumming Nodes ExploredSum of Time (s)Sum of GapSumming Simplex IterationsConservativeness of SolutionsTractability Level
DR-JCCO15172.738482230.02297000485HighLow
DR-JCCO-CVaR15275.549756790.028598226157ModerateHigh
DR-JCCO-H-X15165.901545950.021566176137LowBest
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

Onsomu, O.N.; Terciyanlı, E.; Yeşilata, B. Optimal Dispatch of a Virtual Power Plant Considering Distributed Energy Resources Under Uncertainty. Energies 2025, 18, 4012. https://doi.org/10.3390/en18154012

AMA Style

Onsomu ON, Terciyanlı E, Yeşilata B. Optimal Dispatch of a Virtual Power Plant Considering Distributed Energy Resources Under Uncertainty. Energies. 2025; 18(15):4012. https://doi.org/10.3390/en18154012

Chicago/Turabian Style

Onsomu, Obed N., Erman Terciyanlı, and Bülent Yeşilata. 2025. "Optimal Dispatch of a Virtual Power Plant Considering Distributed Energy Resources Under Uncertainty" Energies 18, no. 15: 4012. https://doi.org/10.3390/en18154012

APA Style

Onsomu, O. N., Terciyanlı, E., & Yeşilata, B. (2025). Optimal Dispatch of a Virtual Power Plant Considering Distributed Energy Resources Under Uncertainty. Energies, 18(15), 4012. https://doi.org/10.3390/en18154012

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