category: literaturenote citekey: rojasinnocentirobustoptimizationframeworkflexible2025 title: "A Robust Optimization Framework for Flexible Industrial Energy Scheduling: Application to a Cement Plant with Market Participation" authors: "Rojas-Innocenti, Sebastián; Baeyens, Enrique; Martín-Crespo, Alejandro; Saludes-Rodil, Sergio; Escudero, Fernando Frechoso" year: 2025 date: 2025-00-00 2025 url: "https://arxiv.org/abs/2506.10824v1" zotero_key: V3P3QF6R zotero_storage: 5CRBV92Z collections: transpordi_planeerimine folder: 001_artiklid firstAuthor: "Rojas-Innocenti, Sebastián"
Sebasti´an Rojas-Innocenti1 , Enrique Baeyens2 , Alejandro Mart´ın-Crespo1 , Sergio Saludes-Rodil1 , Fernando Frechoso Escudero3 1CARTIF Technology Centre, Valladolid, Spain 2Universidad de Valladolid, Instituto de las Tecnolog´ıas Avanzadas de la Producci´on, Spain 3Universidad de Valladolid, Departamento de Ingenier´ıa El´ectrica, Spain
This paper presents a scenario based robust optimization framework for short term energy scheduling in electricity intensive industrial plants, explicitly addressing uncertainty in planning decisions. The model is formulated as a two-stage Mixed Integer Linear Program (MILP) and integrates a hybrid scenario generation method capable of representing uncertain inputs such as electricity prices, renewable generation, and internal demand. A convex objective function combining expected and worst case operational costs allows for tunable risk aversion, enabling planners to balance economic performance and robustness. The resulting schedule ensures feasibility across all scenarios and supports coordinated use of industrial flexibility assets, including battery energy storage and shiftable production. To isolate the effects of market volatility, the framework is applied to a real world cement manufacturing case study considering only dayahead electricity price uncertainty, with all other inputs treated deterministically. Results show improved resilience to forecast deviations, reduced cost variability, and more consistent operations. The proposed method offers a scalable and risk-aware approach for industrial flexibility planning under uncertainty.
Keywords: Robust Optimization, Industrial Energy Scheduling, Flexibility Planning, Uncertainty Modeling, Scenario Generation, Two-Stage MILP, Electricity Markets.
The increasing penetration of variable renewable energy sources has introduced significant volatility into electricity markets, posing new challenges for electricity-intensive industrial consumers. These facilities are now expected to deliver demand-side flexibility—not only to reduce energy costs but also to support grid stability. However, effective participation in electricity markets requires decisions to be made under uncertainty, particularly in short-term operations, where both prices and internal demand may deviate from forecasts.
Prior studies have explored industrial demand-side flexibility primarily through deterministic optimization models [25, 24], which assume perfect foresight of electricity prices and production needs. While valuable for baseline assessments, these models may underperform in practice due to their inability to cope with the high uncertainty present in volatile markets or variable-load processes.
To address this limitation, we propose a robust optimization framework formulated as a twostage Mixed Integer Linear Program (MILP). The model explicitly accounts for multiple sources of uncertainty—including day-ahead electricity prices, renewable generation, and internal demand—via a hybrid, data-driven scenario generation approach. The objective function is defined as a convex combination of expected and worst-case operational costs, enabling decision-makers to tune the risk aversion level through a continuous parameter. The resulting solution is guaranteed to be feasible under all considered scenarios and coordinates the operation of industrial flexibility assets such as battery energy storage systems (BESS) and shiftable production processes.
The framework is applied to a real-world cement manufacturing plant in Spain. Although the model can handle multiple uncertainty sources, the case study focuses specifically on price uncertainty to isolate its effect on scheduling and flexibility activation.
Structure of the paper: Section 2 reviews relevant literature on industrial flexibility and robust optimization. Section 3 presents the proposed methodology, including the scenario generation and MILP formulation. Section 4 describes the industrial use case. Section 5 provides simulation results, and Section 7 concludes with key findings and future research directions.
This section reviews two complementary strands of literature that form the foundation for the proposed robust scheduling framework: Deterministic optimization approaches for industrial demand response, and robust optimization methods for energy systems under uncertainty.
Industrial demand-side response (DSR) is increasingly seen as a key enabler of power system flexibility [26, 22]. Deterministic optimization techniques—such as MILP, heuristics, and Model Predictive Control (MPC)—are commonly used to align electricity consumption with price signals while maintaining process feasibility [6, 36].
In the cement industry, flexibility is primarily concentrated in stages like raw milling and grinding, which are decoupled from the kiln through intermediate storage [13, 17, 28]. For instance, Rombouts et al. [27] estimate that around 24% of electricity usage in a Belgian cement plant is shiftable. Other examples include the use of genetic algorithms to reduce energy costs under timeof-use tariffs [19], and MILP-based scheduling to participate in ancillary service markets [35, 30].
Similar flexibility is observed in the steel industry, where electric arc furnaces (EAFs) operate in batches and tolerate scheduling shifts [21]. Boldrini et al. [6] propose a MILP model for joint participation in day-ahead and reserve markets, achieving both cost savings and revenue improvements.
Other sectors—such as pulp and paper [2], water treatment [31], and food processing [23]—also exploit flexibility through storage or interruptible loads. Recent meta-analyses show that industrial sites with BESS outperform residential systems in up-regulation services [1].
Overall, these works confirm the technical and economic potential of industrial DSR. However, their reliance on perfect foresight restricts their effectiveness in real-world settings marked by uncertainty.
Robust optimization provides a viable alternative to deterministic models for planning under uncertainty. By ensuring feasibility across a range of possible realizations, these models enhance resilience against forecast deviations [3, 29, 4, 9].
For example, Fang et al. [10] develop robust schedules for industrial loads under price uncertainty, outperforming both deterministic and stochastic models. Other applications include building control [20], microgrids [16].
More recent studies have extended robust optimization to complex industrial systems. Yang et al. [33] introduce a two-stage framework for wind uncertainty and demand response in large consumers. Xu et al. [32] propose a distributionally robust model for spatiotemporal renewable uncertainty with embedded demand response.
These contributions reflect a growing shift toward risk-aware, uncertainty-resilient industrial energy management.
Despite the progress outlined above, several important research gaps remain—particularly in the cement sector. First, few studies jointly optimize production scheduling and flexibility activation under realistic, scenario based uncertainty. Most existing models rely on deterministic formulations or limited uncertainty representations, which fail to capture the variability inherent in real industrial environments. Second, there is a lack of models that incorporate a tunable risk aversion mechanism, limiting the ability to balance expected cost and robustness in a systematic way. Finally, only a handful of works consider the integration of market based flexibility mechanisms such as the SIDC, or the simultaneous use of BESS alongside process level flexibility.
This study addresses these gaps by proposing a scenario based robust MILP framework that enables explicit risk tuning through a convex combination of worst case and expected costs. The model embeds key industrial constraints—including binary scheduling decisions, inventory management, and detailed BESS operation—within a unified and computationally tractable formulation. To demonstrate practical relevance, the framework is validated through a real world case study in cement manufacturing, using empirical market data and representative operational parameters.
In doing so, the paper contributes a practical, modular, and industry ready tool for robust energy scheduling in uncertainty prone industrial environments.
This section presents the integrated methodological framework for flexible industrial production scheduling under uncertainty. The approach combines a hybrid scenario generation technique with a two-stage robust Mixed Integer Linear Programming model, extending previously validated twostage formulations with explicit uncertainty modeling.
The methodology integrates two main components:
The two-stage structure is preserved across deterministic and robust models, with uncertainty treatment being the primary differentiator.
To explicitly incorporate uncertainty into the optimization model, a hybrid scenario generation technique is adopted. The process consists of three sequential phases designed to generate a compact yet expressive set of scenarios that represent the variability of key inputs:
This three-phase structure encapsulates the key strengths of the hybrid scenario generation method. Table 1 summarizes its main design features and advantages, highlighting how each step contributes to building a compact, representative, and risk-aware scenario set suitable for robust optimization.
Table 1: Key Features of the Hybrid Scenario Generation Approach
| Feature | Advantage |
|---|---|
| Forecast anchoring | Captures underlying temporal structure |
| Stochastic perturbation | Reflects realistic short-term forecast uncertainty |
| Clustering | Compresses the scenario space while preserving variability |
| Probability assignment | Enables risk-weighted cost evaluation |
Theoretical Justification. This scenario generation methodology builds upon well-established principles in scenario-based robust optimization [7, 8, 4] and portfolio-based risk-return tradeoffs [18]. It has been successfully applied in various energy systems contexts, including microgrids and distributed energy resources [12]. By clustering representative trajectories, the approach strikes a balance between statistical richness and computational tractability—two key requirements for efficient robust MILP formulation.
The deterministic two-stage MILP framework developed and validated in previous studies [25, 24] optimizes production scheduling and flexibility activation assuming perfect foresight.
$$\min \Phi = \sum{t \in \mathcal{T}} \left( \pi{b,t} P_{b,t} + \piU (P{C,t} + P{D,t}) + \sum{i \in \mathcal{S}} \pi{S,i,t} I{i,t} \right) \Delta t \tag{1}$$
• Mass Balance:
$$\sum_{k \in \mathcal{K}} \Pik Y{k,t} + \sum{i \in \mathcal{S}} I{i,t-1} = \sum{i \in \mathcal{S}} I{i,t}, \quad \forall t \in \mathcal{T}$$ (2)
• Power Balance:
$$P{b,t} + P{D,t} + P{PV,t} = P{s,t} + P{C,t} + \sum{k \in \mathcal{K}} Pk Y{k,t}, \quad \forall t \in \mathcal{T}$$
$$(3)$$
• Inventory Limits:
$$I{i,\min} \le I{i,t} \le I_{i,\max}, \quad \forall i \in \mathcal{S}, \ t \in \mathcal{T}$$ (4)
• Demand Coverage:
$$\sum{i \in \mathcal{S}} I{i,t} \ge D_t, \quad \forall t \in \mathcal{T}$$ (5)
• BESS Dynamics:
$$SOCt = SOC{t-1} + (P{C,t} - P{D,t})\Delta t, \quad \forall t \in \mathcal{T}$$ (6)
• BESS Limits:
$$C_{\text{max}}(1 - \text{DoD}) \le \text{SOC}t \le C{\text{max}}, \quad \forall t \in \mathcal{T}$$ (7)
• Charging/Discharging Power Limits:
$$0 \le P_{C,t} \le PC^{\max}, \quad 0 \le P{D,t} \le P_D^{\max}, \quad \forall t \in \mathcal{T}$$ (8)
• Grid Import Limit:
$$0 \le P_{b,t} \le P_b^{\max}, \quad \forall t \in \mathcal{T}$$ (9)
• Minimum Uptime and Downtime Constraints:
$$(Y{k,t+1} - Y{k,t})Mk^{\text{ON}} \le \sum{j=1}^{Mk^{\text{ON}}} Y{k,t+j}, \quad \forall k \in \mathcal{K}, \ t \le N_T - M_k^{\text{ON}}$$ (10)
$$\sum_{j=1}^{Mk^{\text{OFF}}} Y{k,t+j} \le (1 + Y{k,t+1} - Y{k,t}) M_k^{\text{OFF}}, \quad \forall k \in \mathcal{K}, \ t \le N_T - M_k^{\text{OFF}}$$ (11)
Conceptual Overview Flexibility is activated by adjusting the baseline plan through continuous intraday market participation, subject to operational feasibility.
• Pm,t: Power traded in the SIDC at time t (positive for purchases, negative for sales).
$$\Phi^{\dagger} = \sum{t \in \mathcal{T}} \left( \pi{b,t} P{b,t} + \pi{m,t} P_{m,t} + \piU (P{C,t} + P{D,t}) + \sum{i \in \mathcal{S}} \pi{S,i,t} I{i,t} \right) \Delta t$$ (12)
• SIDC Trading Period:
$$P_{m,t} = 0, \quad \forall t < \tau_1 \text{ or } t > \tau_2 \tag{13}$$
$$|P_{m,t}| \le LC1, \quad \forall t \in [\tau_1, \tau_2]$$ (14)
• Grid Import Outside Trading Window:
$$P{b,t} = P{b,t}^*, \quad \forall t \le \tau_2 \tag{15}$$
• Updated Power Balance:
$$P{b,t} + P{m,t} + P{D,t} + P{PV,t} = P{s,t} + P{C,t} + \sum_{k \in \mathcal{K}} Pk Y{k,t}, \quad \forall t \in \mathcal{T}$$
$$(16)$$
Flexibility Revenue The flexibility benefit is quantified as:
$$\Delta \Phi = \Phi^* - \Phi^{\dagger}$$ (17)
where a positive ∆Φ indicates profitable market participation.
Building on the deterministic structure, a scenario-based robust MILP model is developed to account for uncertainty in day-ahead electricity prices, PV generation, and production demand.
$$\min\left[ (1 - \alpha) \max{s \in S} \Phi^{\mathrm{BL},s} + \alpha \sum{s \in S} \rho_s \Phi^{\mathrm{BL},s} \right]$$ (18)
where ΦBL,s is the baseline cost in scenario s, ρs is the probability weight of scenario s, and α ∈ [0, 1] controls the risk aversion.
$$\min \left[ (1 - \alpha) \max{s \in S} \Phi^{\text{FLX},s} + \alpha \sum{s \in S} \rho_s \Phi^{\text{FLX},s} \right]$$ (19)
where ΦFLX,s denotes the total flexible production cost under scenario s.
Constraints All system constraints (mass balance, power balance, BESS dynamics, demand satisfaction, trading limits) are enforced independently for each (t, s) pair, summarized in table 2.
Table 2: Comparison of Constraint Application in Deterministic vs Robust Models
| Constraint Type | Deterministic Model | Robust Model |
|---|---|---|
| Power balance | For each t |
For each (t, s) (Adaptive) |
| BESS dynamics | For each t |
For each (t, s) (Adaptive) |
| Inventory dynamics | For each t |
For each (t, s) (Adaptive) |
| Demand satisfaction | For each t |
For each (t, s) (Adaptive) |
| SIDC trading | Only in Stage 2 | In Stage 2 across (t, s) (Adaptive) |
| Minimum uptime/downtime | For each t |
Shared across scenarios (Non-Adaptive) |
Rationale for the Weighted Robust Objective Instead of pursuing a purely conservative (min-max) optimization, the proposed framework adopts a weighted robust objective that allows explicit tuning between worst-case protection and expected cost minimization [3, 4, 29]. This is achieved through a convex combination governed by the parameter α:
This formulation enables the decision-maker to flexibly tailor the optimization strategy based on the system's criticality, tolerance to risk, and operational context.
The framework distinguishes between decision adaptiveness and sequential scheduling stages:
This framework combines scenario-based uncertainty modeling with a layered optimization approach that distinguishes between non-adaptive and adaptive decisions. By integrating robust scheduling with tunable risk aversion, it ensures feasibility across all scenarios while enabling realtime use of flexibility assets. The two-stage structure delivers reliable non-adaptive planning and adaptive responsiveness—achieving resilience to forecast deviations and capturing value from arbitrage opportunities. This design is particularly suited to industrial systems, where rigid operational constraints coexist with strategically deployable flexibility.
The methodological pipeline consists of the following sequential steps:
The proposed framework offers a comprehensive and tractable approach for robust industrial energy scheduling under uncertainty. It presents several advantages:
However, some limitations must be noted. Computational burden increases with the number of scenarios, potentially affecting scalability. Moreover, solution quality is inherently linked to the statistical representativeness of the scenario set—a critical factor when applying the method in real-world settings.
This section applies the proposed robust optimization framework to a real-world industrial setting, demonstrating its practical relevance and effectiveness under uncertainty. A medium-scale Portland cement manufacturing plant located in Spain serves as the testbed. The focus is placed on the plant's raw milling subprocess and associated flexibility assets, with the objective of quantifying the operational and economic value of scenario-based robust scheduling in the presence of uncertain electricity prices.
The selected facility represents a typical energy-intensive cement production plant. Among its processes, the raw milling unit is identified as the most flexible and power-demanding component, making it well-suited for demand-side optimization [24, 25].
The raw mill consumes approximately 6.0 MW during operation and produces raw meal at a rate of 360.0 t/h. The output is stored in a silo with a total capacity of 15 000.0 t, with a minimum inventory requirement of 9000.0 t to ensure uninterrupted feeding of the kiln. The kiln's demand is a constant inflow 240.0 t/h, reflecting a deterministic operational requirement of the plant.
To enhance flexibility, the plant is equipped with a lithium-ion Battery Energy Storage System of 1.0 MWh capacity, operating at a charge/discharge C-rate of 0.5 h−1 . While the modeling framework can accommodate uncertainty in on-site photovoltaic generation, PV is excluded in this study to isolate the roles of production and storage flexibility. Key system parameters are summarized in Table 3.
Table 3: Main operational parameters of the cement plant.
| Parameter
Description | | | Units | | |
|--------------------------|-----------------------------------|--------|-------|--|--|
| Production System | | | | | |
| Pmill | Power consumption of raw mill | 6 | MW | | |
| Πmill | Raw meal production rate | 360 | t/h | | |
| Dt | Kiln demand (constant) | 240 | t/h | | |
| Imax | Silo storage capacity | 15,000 | t | | |
| Imin | Minimum inventory requirement | 9,000 | t | | |
| MON | Minimum continuous operation time | 6 | h | | |
| MOFF | Minimum downtime before restart | 3 | h | | |
| Energy Storage System | | | | | |
| BESS Capacity | Battery storage capacity | 1 | MWh | | |
| BESS C-rate | Charge/discharge rate | 0.5 | h−1 | | |
| PV Capacity | Installed PV capacity | 0 | MW | | |
The simulation model integrates realistic inputs from both electricity markets and plant operations:
To explicitly model uncertainty in day-ahead prices, the hybrid scenario generation approach from Section 3.2 is implemented:
This method produces a compact, representative scenario set that supports tractable optimization while preserving market variability.
To reflect practical industrial workflows, a two-stage fixed-horizon simulation structure is adopted:
This hierarchical structure reflects real-world planning workflows, in which strategic commitments are made in advance, while operational recourse is exploited in near real-time.
To investigate the effect of risk preference, simulations are conducted across a range of values for the robustness parameter α ∈ [0, 1], enabling a detailed trade-off analysis.
All optimization problems are solved using the SCIP solver [5, 15], accessed via PySCIPOpt. Simulations were executed on a workstation equipped with an Intel® Core™ i5-1135G7 CPU (2.4–4.2 GHz) and 16 GB of RAM, running Windows 11 Pro. This configuration provides context for the reported solution times and confirms the tractability of the model on standard computing hardware.
The scope of the case study is defined by a set of focused assumptions that ensure analytical clarity while preserving practical relevance. The analysis centers on the cement industry and uses real operational data from a single facility. Although the modeling framework is generalizable, this industrial focus enables a high fidelity evaluation of robust scheduling in a realistic setting.
Only two flexible assets are activated in the simulations: the raw mill and the BESS. PV generation is deliberately excluded to isolate the specific contributions of storage and process level flexibility. Regarding uncertainty, only day-ahead electricity prices are modeled as stochastic variables. All other inputs—including internal demand, technical specifications, and operational constraints—are treated as deterministic.
SIDC prices are assumed to be known within the flexibility window, consistent with their real time visibility and the market design that allows operators to react up to gate closure. All scheduling and trading decisions strictly adhere to system level feasibility requirements, including ramp limits, energy balances, storage dynamics, and SIDC trading rules.
These assumptions narrow the analytical focus, allowing for precise evaluation of how robust optimization affects scheduling outcomes under market price uncertainty. Future work may relax some of these simplifications to capture broader system dynamics and interactions across assets and sites.
The next section presents and discusses the simulation results, highlighting the economic and operational implications of different robustness levels in the energy scheduling process.
This section presents the main findings from the simulation experiments. The analysis is structured in three parts. First, we examine the generated electricity price scenarios. Second, we evaluate the cost-performance trade-off across different risk aversion levels via an α-sweep. Finally, we assess the operational behavior of flexibility assets—including the BESS, the raw mill, and SIDC market participation—under selected risk preferences.
To model uncertainty in day-ahead electricity prices, we implement a hybrid scenario generation procedure that combines statistical forecasting with stochastic simulation and data-driven reduction. This enables the construction of a compact yet expressive set of price trajectories for robust optimization.
Synthetic Ensemble Generation. The process begins with a seasonal ARIMA model trained on historical market prices, producing a deterministic forecast that captures autocorrelation, seasonality, and long-term trends. Forecast residuals are then sampled and injected into the predicted series, inflated by a factor β = 1.5 to account for market volatility. This results in an ensemble of 500 stochastic price trajectories, each spanning a 7-day horizon (168 hourly points), reflecting realistic short-term price dynamics.
Figure 2 (left) illustrates this ensemble (light blue), alongside the main forecast (dashed black). The variability across trajectories captures potential market conditions, but their volume is computationally prohibitive for direct inclusion in the MILP formulation.
Scenario Reduction via Clustering. To address tractability, we reduce the ensemble to a representative subset using K-Means clustering. Each cluster centroid defines a scenario, and its probability is proportional to the number of trajectories in the cluster.
The number of clusters k is determined using two complementary diagnostics: the Elbow method, which identifies the point at which adding more clusters yields diminishing returns in reducing intra-cluster variance (inertia), and the Silhouette score, which evaluates how well each point fits within its assigned cluster. As shown in Figure 1, both methods indicate a turning point at k = 8, suggesting a suitable trade-off between scenario diversity and computational efficiency.
Final Scenario Set. Figure 2 (right) presents the reduced scenario set used in the robust MILP. Each trajectory corresponds to a cluster centroid and is assigned a weight based on its frequency. The expected price profile—obtained as the weighted average—is shown in dashed orange. Opacity encodes probability: darker trajectories are more likely.
This reduced set preserves key statistical features of the ensemble, including peak hours, daily fluctuations, and low-probability extremes, enabling reliable and efficient optimization.
Figure 1: Selection of the number of clusters. Left: Elbow method identifies diminishing returns beyond k = 8. Right: Silhouette scores indicate reduced clustering quality after k = 8.
Figure 2: Left: Full ensemble of 500 stochastic price trajectories and baseline ARIMA forecast. Right: Reduced set of 8 representative scenarios. The expected price profile is shown in dashed orange. Trajectory opacity reflects scenario probability.
Scenario Probabilities. Table 4 summarizes the scenario probabilities, ordered by frequency. Scenario 6 dominates the distribution (61.6%), followed by a few moderately likely trajectories. Scenario 4, highlighted in the table, represents the price profile with the highest cumulative cost, despite its low probability of occurrence (3.8%).
Implications for Optimization. By optimizing over this reduced and weighted scenario set, the robust MILP ensures feasibility under diverse price realizations. The worst-case scenario in terms of total electricity cost does not necessarily align with the highest-price trajectory; rather, it emerges from interactions between prices, asset constraints, and operational decisions.
This structured treatment of uncertainty enables the model to anticipate market risk while preserving computational tractability—an essential feature for deployment in industrial scheduling environments. The next section explores how this scenario structure translates into robust planning outcomes across varying levels of risk aversion.
To evaluate how risk preferences influence scheduling decisions and cost performance, we conduct a sensitivity analysis over the robustness parameter α ∈ [0, 1]. As introduced in the methodology,
Table 4: Scenario probabilities after clustering.
| Scenario | Probability (%) |
|---|---|
| s6 | 61.6 |
| s2 | 15.2 |
| s5 | 8.2 |
| s1 | 6.2 |
| s4 | 3.8 |
| s7 | 3.8 |
| s3 | 0.8 |
| s0 | 0.4 |
α governs the trade-off between minimizing the expected operational cost (α = 1) and protecting against the worst-case scenario cost (α = 0). Intermediate values yield risk-averse schedules.
The optimization problem is solved for five representative values of α (0, 0.2, 0.5, 0.8, 1) using the reduced set of 8 representative price scenarios. The results are presented in Figure 3, showing the evolution of expected cost, worst-case cost, and the resulting robust objective for both scheduling stages.
Figure 3: Trade-off between expected cost and worst-case cost across values of α. Results shown for Stage 1 (baseline scheduling) and Stage 2 (flexibility activation).
• Performance bounds. At α = 0, Stage 1 yields a worst-case cost of 1020.2 AC, while Stage 2 reduces this to 237.7 AC. At α = 1, expected costs are as low as 191.8 AC and 17.5 AC, respectively.
Numerical Results. Tables 5 and 6 report the exact cost metrics used to compute the curves in Figure 3.
Table 5: Cost metrics for Stage 1 (baseline scheduling) across α values.
| α | Expected Cost (€) | Worst-Case Cost (€) | Robust Objective (€) |
|---|---|---|---|
| 0.0 | 628.20 | 1020.15 | 1020.15 |
| 0.2 | 244.78 | 1020.15 | 865.08 |
| 0.5 | 212.55 | 1038.57 | 625.56 |
| 0.8 | 191.84 | 1096.86 | 372.85 |
| 1.0 | 191.84 | 1096.86 | 191.84 |
Table 6: Cost metrics for Stage 2 (flexibility activation) across α values.
| Expected Cost (€) | Worst-Case Cost (€) | Robust Objective (€) |
|---|---|---|
| 19.46 | 237.69 | 237.69 |
| 15.67 | 226.15 | 184.05 |
| 15.67 | 226.15 | 120.91 |
| 18.38 | 247.83 | 64.27 |
| 17.52 | 284.78 | 17.52 |
Interpretation. Moderate values of α (e.g., 0.5–0.8) offer the best trade-offs: they achieve substantial reductions in worst-case cost relative to risk-neutral solutions while avoiding the overly conservative outcomes of min–max strategies. The inclusion of flexibility mechanisms in Stage 2 further enhances this trade-off, delivering both lower expected costs and greater robustness.
This analysis confirms that the convex risk-weighting scheme effectively balances cost-efficiency and protection, making it suitable for industrial settings where economic performance must be safeguarded against market volatility.
To further assess the benefits of robust optimization, we compare its performance against a deterministic scheduling strategy across three representative risk-aversion levels: α ∈ {0, 0.5, 1}. This comparison focuses exclusively on Stage 1 (baseline scheduling).
The deterministic strategy is computed by optimizing the MILP over the expected price profile—that is, the weighted average of all scenario trajectories—thus assuming perfect foresight of average conditions. Once this single schedule is obtained, it is evaluated ex post across all scenarios, without re-optimization, to analyze its performance under uncertainty. The comparison includes several performance metrics: expected cost, worst-case cost, cost variability (expressed as weighted standard deviation), battery usage, and solver time.
To ensure that the reported variability captures not only the dispersion of cost outcomes but also their likelihood, the standard deviation is computed using scenario probabilities as weights. This probabilistic formulation offers a more accurate and meaningful measure of uncertainty, in line with the scenario-based nature of the modeling framework.
Importantly, because the deterministic schedule is fixed and does not depend on α, its performance metrics remain constant across rows. In contrast, the robust strategy is re-optimized for each α value, adapting decisions to the level of risk aversion. The results are presented in Table 7.
Table 7: Performance comparison of deterministic and robust strategies in Stage 1 across selected α values.
| α | Strategy | Worst-Case Cost (€) |
Expected Cost (€) |
Weighted Std. Dev. (€) |
Battery Use (MWh) |
Solve Time (s) |
|---|---|---|---|---|---|---|
| 0 | Deterministic | 1248.04 | 171.62 | 308.11 | 12.8 | 1.40 |
| Robust | 1221.62 | 359.79 | 253.13 | 27.16 | 38.41 | |
| 0.5 | Deterministic | 1248.04 | 171.62 | 308.11 | 12.8 | 1.78 |
| Robust | 1223.23 | 266.76 | 295.55 | 32.40 | 22.67 | |
| 1 | Deterministic | 1248.04 | 171.62 | 308.11 | 12.8 | 1.32 |
| Robust | 1285.30 | 248.30 | 296.85 | 33.20 | 18.35 |
Interpretation. The comparative results highlight several meaningful trends:
Clarification on Stage 2. A direct deterministic comparison is not provided for Stage 2 because this stage builds upon the Stage 1 schedule and introduces SIDC market participation. The baseline in Stage 2 refers to a robust model without intraday trading (see Section 3.4.2), and thus no deterministic counterpart exists. Therefore, performance analysis in Stage 2 focuses exclusively on robust strategies under varying α values.
This comparison reinforces the practical advantage of risk-aware planning: while deterministic models offer simplicity and lower computational effort, they perform poorly in extreme scenarios. Robust optimization, by contrast, delivers more resilient schedules at the cost of moderately higher average expense and solve time—a trade-off that is often acceptable in mission-critical industrial settings.
This subsection analyzes how key flexible assets—the BESS, the raw mill, and intraday trading via the SIDC—respond to varying degrees of risk aversion, governed by the parameter α. For each configuration α ∈ {0.0, 0.5, 1.0}, we examine the corresponding operational behavior under the worst-case scenario associated with each robust strategy. This approach reveals how non-adaptive scheduling decisions shape adaptive asset-level operations under adverse price conditions.
Figure 4 (left) presents the BESS state-of-charge (SoC) trajectories in Stage 1 (baseline scheduling), under each strategy's respective worst-case scenario. The top panel displays both expected and worst-case day-ahead price profiles, while the lower panels illustrate the resulting SoC evolution across three risk aversion levels. Although actual BESS operation depends on scenario realization, evaluating all cases under worst-case conditions provides a meaningful comparison of how nonadaptive decisions condition adaptive system behavior when exposed to extreme volatility.
Clear patterns emerge as α varies:
These trends are quantified in Figure 4 (right), which plots the cumulative energy throughput—the total amount of energy charged and discharged over time. This metric acts as a proxy for battery utilization intensity. Throughput reaches approximately 33.0 MWh in the risk-neutral case, compared to about 27.0 MWh under the fully robust configuration, indicating that risk appetite directly shapes battery deployment.
Stage 2 results follow a similar pattern (Figure 5). With SIDC trading allowed in hours 24–48, the system gains additional degrees of freedom for arbitrage. The SoC profiles for α = 0.5 and α = 1.0 closely align, while the α = 0.0 case exhibits restrained engagement. These findings confirm that the BESS dynamically adapts its operation to the risk profile encoded in the scheduling stage, thereby acting as a key instrument for economic optimization under uncertainty.
Figure 6 illustrates how the system engages with the SIDC market across different levels of risk aversion α, focusing on the authorized trading window between hours 24 and 48. The left panel shows the hourly SIDC energy transactions under each α configuration, overlaid with the corresponding baseline grid purchases from Stage 1. The right panel plots the cumulative volume of SIDC energy traded over time (selling and buying), offering insight into the temporal dynamics of market participation.
A notable finding is the near-constancy of total traded volume: in all cases, the optimizer schedules approximately 55.0 MWh of SIDC transactions. This consistency highlights the strategic value of SIDC engagement as a reliable flexibility mechanism, largely invariant to the chosen robustness setting. However, the temporal structure of these trades slightly varies with α:
Figure 4: Left: Hourly BESS SoC profiles in Stage 1 under worst-case scenario. Right: Cumulative battery throughput across α values.
These behaviors suggest that while the overall quantity of intraday market participation is robust to changes in risk preference, the optimizer's temporal strategy—that is, when and how energy is traded—is sensitive to perceived uncertainty. This sensitivity stems from the indirect influence of the first-stage baseline schedule, which constrains feasible adjustments in the SIDC window.
It is also important to note that SIDC prices are treated as deterministic in the model's second stage. Therefore, the optimizer's decisions are driven by known price spreads between day-ahead and intraday markets rather than by SIDC price uncertainty. As a result, robustness influences SIDC participation indirectly—by shaping the flexibility of the baseline schedule and modulating the system's willingness to deviate from it.
Finally, SIDC transactions operate in close coordination with BESS behavior. This co-activation strategy enables the system to buffer variability, optimize economic outcomes, and respond adaptively to evolving market conditions—reinforcing the value of integrated flexibility in risk-aware scheduling.
Figures 7 and 8 illustrate the operation of the raw mill during Stage 1 (baseline scheduling) and Stage 2 (flexibility activation), respectively. As detailed in Section 3, the binary scheduling decisions Yk,t governing the raw mill are non-adaptive variables—i.e., they are made prior to scenario realization and are held fixed across all uncertainty outcomes for a given α value. This structure mirrors the rigidity of industrial production commitments, which must often be determined in advance due to operational and safety constraints.
Figure 5: Left: Hourly BESS SoC profiles in Stage 2 (with SIDC) under worst-case scenario. Right: Cumulative battery throughput across α values.
The left panels in each figure show the mill's on/off status over time, superimposed on representative day-ahead price trajectories. Although the underlying schedule is scenario-invariant, different risk preferences (α values) lead to different pre-optimized patterns. Specifically, more conservative configurations (e.g., α = 0.0) tend to avoid operation during periods of high volatility or cost exposure, whereas risk-neutral settings (e.g., α = 1.0) are more opportunistic, scheduling production in line with expected arbitrage opportunities. Nonetheless, these differences are muted due to structural constraints—such as minimum uptime/downtime requirements and continuous kiln demand—that restrict the optimizer's flexibility.
To quantify these variations, the right panels display the cumulative number of switching events, defined as the total count of on/off transitions over the planning horizon. This metric serves as a proxy for the schedule's aggressiveness and mechanical stress on production assets.
In Stage 1 (Figure 7), the switching patterns are almost indistinguishable across different α values, reflecting the raw mill's inherent scheduling rigidity. However, in Stage 2 (Figure 8), the availability of recourse via SIDC trading and battery flexibility slightly relaxes this rigidity. These auxiliary mechanisms absorb part of the system's temporal imbalance, enabling the optimizer to meet energy needs with reduced reliance on mill switching. As a result, marginal reductions in switching frequency are observed for moderately conservative and risk-neutral configurations.
While the smoothing effect is modest, it underscores a key design insight: flexibility-enhancing assets can reduce operational wear and enable less aggressive production strategies. However, such benefits remain bounded by the physical and process limitations of industrial systems—particularly when core scheduling decisions must be scenario-agnostic.
This reinforces the necessity of distinguishing between non-adaptive and adaptive decision layers in robust industrial scheduling. While assets like BESS and SIDC trading offer dynamic response capabilities, large-scale production units such as the raw mill require conservative planning grounded in structural feasibility.
The operational analysis reveals a clear stratification in the behavior of flexible assets under uncertainty, shaped by the hierarchical structure of the robust optimization framework. Each asset
Figure 6: Left: Hourly SIDC energy transacted compared to baseline day-ahead grid purchases across α levels. Right: Cumulative SIDC energy traded over time.
exhibits a distinct role and degree of responsiveness depending on its place in the decision hierarchy and the system's risk preferences:
Collectively, these observations underscore the importance of a modular and layered control architecture. The model distinguishes between:
Figure 7: Raw mill operational status (left) and cumulative switching events (right) in Stage 1 across α values.
This design philosophy ensures robustness without sacrificing economic performance. It enables reliable non-adaptive planning while embedding adaptive layers that react to real-time conditions—a critical capability in volatile electricity markets. The result is a scheduling strategy that is not only resilient to forecast deviations but also capable of capturing value from emerging arbitrage opportunities.
Such hybrid decision frameworks are particularly well-suited to industrial settings, where operational inflexibility coexists with strategic flexibility assets. By aligning asset characteristics with decision levels, the proposed model provides a coherent and effective approach to short-term energy scheduling under uncertainty.
This study has introduced a scenario-based robust optimization framework for short-term energy scheduling in electricity-intensive industrial plants, with a specific focus on managing uncertainty. The proposed methodology integrates hybrid scenario generation, two-stage MILP modeling, and a tunable risk-averse objective via the parameter α, allowing planners to balance cost efficiency with operational robustness.
Applied to a real-world cement manufacturing facility, the framework demonstrates how coordinated use of industrial flexibility—through Battery Energy Storage System dispatch and intraday continuous market participation—can substantially reduce electricity costs while hedging against price volatility.
Figure 8: Raw mill operational status (left) and cumulative switching events (right) in Stage 2 across α values. Slight smoothing is observed.
α highlighted the trade-off between worst-case protection and expected cost. Intermediate values (e.g., α = 0.5–0.8) emerged as practical compromises, delivering robust yet costeffective schedules.
While effective, the current implementation relies on several simplifying assumptions that limit its generalizability. Only day-ahead electricity prices were treated as uncertain; other sources of variability—such as internal demand or PV generation—were held fixed or excluded from the simulations. The model also omits degradation effects, both in terms of BESS cycling and process wear due to frequent switching of production equipment. Furthermore, the plant is modeled as a price-taker, which may not hold in illiquid markets or under strategic bidding behavior. Finally, the case study is limited to a single industrial site, without accounting for network-level interactions or multi-site coordination. These assumptions were adopted to ensure tractability and clarity in the initial implementation, but future work should aim to relax them in order to improve realism and broaden applicability.
The proposed framework opens multiple avenues for future extension:
In conclusion, this work provides a practical and theoretically grounded approach for industrial energy consumers to manage uncertainty and leverage flexibility. The scenario-based robust optimization framework delivers resilient, economically efficient schedules while laying the groundwork for broader extensions in scale, complexity, and environmental scope.
Sebasti´an Rojas-Innocenti: Conceptualization, Data Curation, Formal analysis, Investigation, Methodology, Resources, Software, Visualization, Validation, Writing - Original Draft, Writing - Review & Editing. Enrique Baeyens: Conceptualization, Formal analysis, Investigation, Methodology, Resources, Supervision, Validation, Visualization, Writing - Review & Editing. Alejandro Mart´ın-Crespo: Funding acquisition, Methodology, Resources, Validation, Writing - Review & Editing, Visualization. Sergio Saludes-Rodil: Funding acquisition, Project administration, Validation, Resources, Writing - Review & Editing, Supervision. Fernando Frechoso-Escudero: Resources, Supervision, Writing - Review & Editing, Visualization.
All authors have read and approved the final version of the manuscript.
We appreciate the assistance of Fortia Energ´ıa for providing the related information on the Industrial Case Study.
This research has been supported by funding from the European Commission under a project related to industrial flexibility and energy transition.
The authors have no relevant financial or non-financial interests to disclose.
All electricity market data used in this study are publicly available from the Spanish System Operator Information System (e·sios) platform, operated by Red El´ectrica de Espa˜na (REE). The data—including day-ahead and intraday electricity prices—can be accessed at: https://www. esios.ree.es/en.
[5] Ksenia Bestuzheva, Mathieu Besan¸con, Wei-Kun Chen, Antonia Chmiela, Tim Donkiewicz, Jasper van Doornmalen, Leon Eifler, Oliver Gaul, Gerald Gamrath, Ambros Gleixner, Leona Gottwald, Christoph Graczyk, Katrin Halbig, Alexander Hoen, Christopher Hojny, Rolf van der Hulst, Thorsten Koch, Marco L¨ubbecke, Stephen J. Maher, Frederic Matter, Erik M¨uhmer, Benjamin M¨uller, Marc E. Pfetsch, Daniel Rehfeldt, Steffan Schlein, Franziska Schl¨osser, Felipe Serrano, Yuji Shinano, Boro Sofranac, Mark Turner, Stefan Vigerske, Fabian Wegscheider, Philipp Wellner, Dieter Weninger, and Jakob Witzig. The SCIP Optimization Suite 8.0. ZIB-Report 21-41, Zuse Institute Berlin, 2021. http://nbn-resolving.de/urn: nbn:de:0297-zib-85309.
[6] Annika Boldrini, Derck Koolen, Wina Crijns-Graus, Machteld van den Broek, and Ernst Worrell. The demand response potential in a decarbonising iron and steel industry: A review of flexible steelmaking. SSRN. https://papers.ssrn.com/abstract=4472250, 2023. Last accessed on 2024-07-25.
[7] Giuseppe C Calafiore and Marco Claudio Campi. The scenario approach to robust control design. IEEE Transactions on Automatic Control, 51(5):742–753, 2006. doi: 10.1109/TAC. 2006.875041.
[8] Marco Claudio Campi and Simone Garatti. The exact feasibility of randomized solutions of uncertain convex programs. SIAM Journal on Optimization, 19(3):1211–1230, 2009. doi: 10.1137/080724453.
[9] Antonio J. Conejo, Miguel Carri´on, and Juan M. Morales. Decision Making Under Uncertainty in Electricity Markets, volume 153 of International Series in Operations Research & Management Science. Springer, 2010. ISBN 978-1-4419-7420-4. doi: 10.1007/978-1-4419-7421-1. URL https://doi.org/10.1007/978-1-4419-7421-1.
[10] J. Fang, C. Li, Q. Yang, and Y. Li. Robust day-ahead scheduling of industrial flexible loads considering electricity price uncertainty. Applied Energy, 310:118544, 2022.
[11] Rob J Hyndman and George Athanasopoulos. Forecasting: principles and practice. OTexts, 2nd edition, 2018. URL https://otexts.com/fpp2/.
[12] Mohammad E Khodayar and Lei Wu. Scenario-based stochastic program for energy management in microgrids with intermittent resources. IEEE Transactions on Smart Grid, 6(4): 1977–1985, 2015. doi: 10.1109/TSG.2015.2395521.
[13] Eunjung Lee, Keon Baek, and Jinho Kim. Evaluation of demand response potential flexibility in the industry based on a data-driven approach. Energies, 13(23):6355, 2020. ISSN 1996-1073. doi: 10.3390/en13236355.
[14] Stuart P Lloyd. Least squares quantization in pcm. IEEE Transactions on Information Theory, 28(2):129–137, 1982. doi: 10.1109/TIT.1982.1056489.
[15] Stephen Maher, Matthias Miltenberger, Jo˜ao Pedro Pedroso, Daniel Rehfeldt, Robert Schwarz, and Felipe Serrano. PySCIPOpt: Mathematical programming in python with the SCIP optimization suite. In Mathematical Software – ICMS 2016, pages 301–307. Springer International Publishing, 2016. doi: 10.1007/978-3-319-42432-3 37.
[16] Frauke Oldewurtel, Alessandra Parisio, Colin N. Jones, Doreen Gyalistras, Martin Gwerder, Valentin Stauch, and Manfred Morari. Use of model predictive control and weather forecasts for energy efficient building climate control. Energy and Buildings, 45(1):15–27, 2010. doi: 10.1016/j.enbuild.2011.09.022.
[17] Daniel Olsen. Opportunities for energy efficiency and demand response in the california cement industry. Lawrence Berkeley National Laboratory. https://escholarship.org/uc/ item/7856f8vn, 2011.
[18] Benedetta Pagnoncelli, Daniel Reich, and Marco Claudio Campi. Risk-return trade-off with the scenario approach in practice. Journal of Optimization Theory and Applications, 142(2): 399–413, 2009. doi: 10.1007/s10957-009-9527-3.
[19] Manuel Parejo Guzm´an, Benito Navarrete Rubia, Pedro Mora Peris, and Rafaela Alfalla-Luque. Methodological development for the optimisation of electricity cost in cement factories: the use of artificial intelligence in process variables. Electrical Engineering, 104(3):1681–1696, 2022. doi: 10.1007/s00202-021-01409-z.
[20] A. Parisio and L. Glielmo. Stochastic model predictive control for economic/environmental operation management of microgrids: An experimental case study. Journal of Process Control, 43:24–37, 2016.
[21] Moritz Paulus and Frieder Borggrefe. The potential of demand-side management in energyintensive industries for electricity markets in germany. Applied Energy, 88(2):432–441, 2011. ISSN 0306-2619. doi: 10.1016/j.apenergy.2010.03.017. URL https://www.sciencedirect. com/science/article/pii/S0306261910000814.
[22] Erika Pierri, Christine Schulze, Christoph Herrmann, and Sebastian Thiede. Integrated methodology to assess the energy flexibility potential in the process industry. Procedia CIRP, 90:677–682, 2020. ISSN 2212-8271. doi: 10.1016/j.procir.2020.01.124. URL https: //www.sciencedirect.com/science/article/pii/S2212827120303024.
[23] Mehdi Rahmani-Andebili. Residential electricity demand flexibility: A review on appliancelevel characterization, metrics, and control strategies. Renewable and Sustainable Energy Reviews, 178:113244, 2023. doi: 10.1016/j.rser.2023.113244.
[24] Sebasti´an Rojas-Innocenti, Enrique Baeyens, Alejandro Mart´ın-Crespo, Sergio Saludes-Rodil, and Fernando Frechoso. A comparative analysis of electricity consumption flexibility in different industrial plant configurations, 2024. URL https://arxiv.org/abs/2411.09279.
[25] Sebasti´an Rojas-Innocenti, Enrique Baeyens, Alejandro Mart´ın-Crespo, Sergio Saludes-Rodil, and Fernando Frechoso-Escudero. Enhancing industrial flexibility and market participation in cement manufacturing through optimized production scheduling. arXiv:2403.06573. https: //doi.org/10.48550/arXiv.2403.06573, 2024.
[26] Katarzyna Ewa Rollert. Demand response aggregators as institutional entrepreneurs in the european electricity market. Journal of Cleaner Production, 353:131501, 2022. ISSN 0959- 6526. doi: 10.1016/j.jclepro.2022.131501. URL https://www.sciencedirect.com/science/ article/pii/S0959652622011222.
[27] G. Rombouts and R. Laforce. Flexible electricity use in cement raw-milling: Empirical assessment at plant scale. Energy, 273:126380, 2023. doi: 10.1016/j.energy.2023.126380.
[28] Martijn Rombouts. Flexible electricity use in the cement industry: Laying the foundation for a not so concrete future. MSc. Thesis. Utrech University. https://studenttheses.uu.nl/ handle/20.500.12932/39926, 2021. Last accessed on 2024/07/25.
[29] A. Shapiro, D. Dentcheva, and A. Ruszczy´nski. Lectures on Stochastic Programming: Modeling and Theory. SIAM, 2009.
[30] A. Tong, F. El Mellouhi, and A. Mezrhab. Pv-coupled battery storage for tertiary reserve provision in north-african cement plants. Journal of Cleaner Production, 421:139887, 2024. doi: 10.1016/j.jclepro.2023.139887.
[31] Davide Torregrossa, Karsten Hansen, and Andrea G. Capodaglio. Energy optimization of wastewater treatment plants through demand response participation: A real case study. Journal of Environmental Management, 182:643–652, 2016. doi: 10.1016/j.jenvman.2016.08.004.
[32] Lei Xu, Yifan Zhang, and Hao Wang. An improved typical scenario-based distributionally robust co-dispatch model for renewable power systems with demand response. Frontiers in Energy Research, 12:1401080, 2024. doi: 10.3389/fenrg.2024.1401080.
[33] Zhaorui Yang, Yu He, Jing Zhang, Yubo Pan, Haoyong Chen, and Cancan Li. Twostage distributed robust optimization scheduling considering demand response and direct purchase of electricity by large consumers. Electronics, 13(18):3685, 2024. doi: 10.3390/ electronics13183685.
[34] Jie Zhang, Jianhui Wang, Yao Wang, Yilu Liu, Chen Chen, and Zhenyu Huang. A review on probabilistic forecasting of wind power generation. Renewable and Sustainable Energy Reviews, 32:255–270, 2014. doi: 10.1016/j.rser.2014.01.033.
[35] X. Zhang and D. Wu. Mpc–milp co-optimization of cement grinding for automatic generation control markets. IEEE Transactions on Industrial Informatics, 19(10):10758–10769, 2023. doi: 10.1109/TII.2023.3281148.
[36] XinZhang Zhao, Ben He, Fang Yuan Xu, Loi Lei Lai, Chenhao Yang, Sha Lu, and Dongxing Li. A model of demand response scheduling for cement plant. In 2014 IEEE International Conference on Systems, Man, and Cybernetics (SMC), pages 3042–3047, 2014. doi: 10.1109/ SMC.2014.6974393.