Searcharxiv⌕ Search

arXiv subjects

Jalal Kazempour

Publications and source records attributed to Jalal Kazempour.

At least 37 records · Page 2Linked to original sources

Contracting Strategies for Electrolyzers to Secure Grid Connection: The Dutch Case

In response to increasing grid congestion in the Netherlands, non-firm connection and transport agreements (CTAs) and capacity restriction contracts (CRCs) have been introduced, allowing consumer curtailment in exchange for grid tariff discounts or per-MW compensations. This study examines the interaction between an electrolyzer project, facing sizing and contracting decisions, and a network operator, responsible for contract activations and determining grid connection capacity, under the new Dutch regulations. The interaction is modeled using two bilevel optimization problems with alternating leader-follower roles. Results highlight a trade-off between CRC income and non-firm CTA tariff discounts, showing that voluntary congestion management by the network operator increases electrolyzer profitability at CRC prices below 10 euro per MW but reduces it at higher prices. Furthermore, the network operator benefits more from reacting to the electrolyzer owner's CTA decisions than from leading the interaction at CRC prices above 10 euro per MW. Ignoring the other party's optimization problem overestimates profits for both the network operator and the electrolyzer owner, emphasizing the importance of coordinated decision-making.

math.OC↗

Learning Prosumer Behavior in Energy Communities: Integrating Bilevel Programming and Online Learning

Dynamic pricing through bilevel programming is widely used for demand response but often assumes perfect knowledge of prosumer behavior, which is unrealistic in practical applications. This paper presents a novel framework that integrates bilevel programming with online learning, specifically Thompson sampling, to overcome this limitation. The approach dynamically sets optimal prices while simultaneously learning prosumer behaviors through observed responses, eliminating the need for extensive pre-existing datasets. Applied to an energy community providing capacity limitation services to a distribution system operator, the framework allows the community manager to infer individual prosumer characteristics, including usage patterns for photovoltaic systems, electric vehicles, home batteries, and heat pumps. Numerical simulations with 25 prosumers, each represented by 10 potential signatures, demonstrate rapid learning with low regret, with most prosumer characteristics learned within five days and full convergence achieved in 100 days.

math.OC↗

Flexibility of Integrated Power and Gas Systems: Gas Flow Modeling and Solution Choices Matter

Due to their slow gas flow dynamics, natural gas pipelines function as short-term storage, the so-called linepack. By efficiently utilizing linepack, the natural gas system can provide flexibility to the power system through the flexible operation of gas-fired power plants. This requires accurately representing the gas flow physics governed by partial differential equations. Although several modeling and solution choices have been proposed in the literature, their impact on the flexibility provision of gas networks to power systems has not been thoroughly analyzed and compared. This paper bridges this gap by first developing a unified framework. We harmonize existing approaches and demonstrate their derivation from and application to the partial differential equations. Secondly, based on the proposed framework, we numerically analyze the implications of various modeling and solution choices on the flexibility provision from gas networks to power systems. One key conclusion is that relaxation-based approaches allow charging and discharging the linepack at physically infeasible high rates, ultimately overestimating the flexibility.

eess.SY↗

How Can Energy Communities Provide Grid Services? A Dynamic Pricing Mechanism with Budget Balance, Individual Rationality, and Fair Allocation

Following recent Danish legislation promoting energy communities, we explore how to enable these communities to provide grid services to distribution system operators. In particular, we focus on "capacity limitation services", where we propose a bilateral agreement in which an energy community is given reduced grid import tariffs by setting a cap to its consumption level in certain hours. This requires a coordination mechanism between the community manager and the prosumers within the community. We enable this coordination by developing a bilevel optimization model to be solved by the community manager, aiming to set dynamic, i.e., time- and prosumer-differentiated, prices. This coordination mechanism enabled by dynamic pricing ensures desirable market properties including budget balance for the community manager and individual rationality for prosumers, while encouraging (but not guaranteeing) a fair allocation of collected benefits among prosumers.

math.OC↗

Bayesian Regression Markets

Although machine learning tasks are highly sensitive to the quality of input data, relevant datasets can often be challenging for firms to acquire, especially when held privately by a variety of owners. For instance, if these owners are competitors in a downstream market, they may be reluctant to share information. Focusing on supervised learning for regression tasks, we develop a regression market to provide a monetary incentive for data sharing. Our mechanism adopts a Bayesian framework, allowing us to consider a more general class of regression tasks. We present a thorough exploration of the market properties, and show that similar proposals in literature expose the market agents to sizeable financial risks, which can be mitigated in our setup.

cs.LG↗

Privacy-Preserving Convex Optimization: When Differential Privacy Meets Stochastic Programming

Convex optimization finds many real-life applications, where--optimized on real data--optimization results may expose private data attributes (e.g., individual health records, commercial information), thus leading to privacy breaches. To avoid these breaches and formally guarantee privacy to optimization data owners, we develop a new privacy-preserving perturbation strategy for convex optimization programs by combining stochastic (chance-constrained) programming and differential privacy. Unlike standard noise-additive strategies, which perturb either optimization data or optimization results, we express the optimization variables as functions of the random perturbation using linear decision rules; we then optimize these rules to accommodate the perturbation within the problem's feasible region by enforcing chance constraints. This way, the perturbation is feasible and makes different, yet adjacent in the sense of a given distance function, optimization datasets statistically similar in randomized optimization results, thereby enabling probabilistic differential privacy guarantees. The chance-constrained optimization additionally internalizes the conditional value-at-risk measure to model the tolerance towards the worst-case realizations of the optimality loss w.r.t. the non-private solution. We demonstrate the privacy properties of our perturbation strategy analytically and through optimization and machine learning applications.

math.OC↗

Leveraging P90 Requirement: Flexible Resources Bidding in Nordic Ancillary Service Markets

The P90 requirement of the Danish transmission system operator, Energinet, incentivizes flexible resources with stochastic power consumption/production baseline to bid in Nordic ancillary service markets with the minimum reliability of 90%, i.e., letting them cause reserve shortfall with the probability of up to 10%. Leveraging this requirement, we develop a distributionally robust joint chance-constrained optimization model for aggregators of flexible resources to optimize their volume of reserve capacity to be offered. Having an aggregator of electric vehicles as a case study, we show how distributional robustness is key for the aggregator when making bidding decisions in a non-stationary uncertain environment. We also develop a heuristic based on a grid search for the system operator to adjust the P90 requirement and the level of conservativeness, aiming to procure the maximum reserve capacity from stochastic resources with least expected shortfall.

eess.SY↗

Energy-Intensive Industries Providing Ancillary Services: A Real Case of Zinc Galvanizing Process

Energy-intensive industries can adapt to help balance the power grid. By using a real-world case study of a zinc galvanizing process in Denmark, we show how a modest investment in power control of the furnace enables the provision of various ancillary services. We consider two types of services, namely frequency containment reserve (FCR) and manual frequency restoration reserve (mFRR), and numerically conclude that the monetary value of both services is significant, such that the pay-back time of investment is potentially within a year. The FCR service provision is more preferable as its impact on the temperature of the zinc is negligible.

eess.SY↗

Load Shifting Versus Manual Frequency Reserve: Which One is More Appealing to Flexible Loads?

This paper investigates how a thermostatically controlled load can deliver flexibility either in form of manual frequency restoration reserves (mFRR) or load shifting, and which one is financially more appealing to such a load. A supermarket freezer is considered as a representative flexible load, and a grey-box model describing its temperature dynamics is developed using real data from a supermarket in Denmark. Taking into account price and activation uncertainties, a two-stage stochastic mixed-integer linear program is formulated to maximize the flexibility value from the freezer. For practical reasons, we propose a linear policy to determine regulating power bids, and then linearize the mFRR activation conditions through the McCormick relaxation approach. For computational ease, we develop a decomposition technique, splitting the problem to a set of smaller subproblems, one per scenario. Examined on an out-of-sample simulation based on real Danish spot and balancing market prices in 2022, load shifting shows to be more profitable than mFRR provision, but is also more consequential for temperature deviations in the freezer.

eess.SY↗

Learning to Bid in Forward Electricity Markets Using a No-Regret Algorithm

It is a common practice in the current literature of electricity markets to use game-theoretic approaches for strategic price bidding. However, they generally rely on the assumption that the strategic bidders have prior knowledge of rival bids, either perfectly or with some uncertainty. This is not necessarily a realistic assumption. This paper takes a different approach by relaxing such an assumption and exploits a no-regret learning algorithm for repeated games. In particular, by using the \emph{a posteriori} information about rivals' bids, a learner can implement a no-regret algorithm to optimize her/his decision making. Given this information, we utilize a multiplicative weight-update algorithm, adapting bidding strategies over multiple rounds of an auction to minimize her/his regret. Our numerical results show that when the proposed learning approach is used the social cost and the market-clearing prices can be higher than those corresponding to the classical game-theoretic approaches. The takeaway for market regulators is that electricity markets might be exposed to greater market power of suppliers than what classical analysis shows.

cs.GT↗

Feature-Driven Strategies for Trading Wind Power and Hydrogen

This paper develops a feature-driven model for hybrid power plants, enabling them to exploit available contextual information such as historical forecasts of wind power, and make optimal wind power and hydrogen trading decisions in the day-ahead stage. For that, we develop different variations of feature-driven linear policies, including a variation where policies depend on price domains, resulting in a price-quantity bidding curve. In addition, we propose a real-time adjustment strategy for hydrogen production. Our numerical results show that the final profit obtained from our proposed feature-driven trading mechanism in the day-ahead stage together with the real-time adjustment strategy is very close to that in an ideal benchmark with perfect information.

eess.SY↗

Unit Commitment Predictor With a Performance Guarantee: A Support Vector Machine Classifier

The system operators usually need to solve large-scale unit commitment problems within limited time frame for computation. This paper provides a pragmatic solution, showing how by learning and predicting the on/off commitment decisions of conventional units, there is a potential for system operators to warm start their solver and speed up their computation significantly. For the prediction, we train linear and kernelized support vector machine classifiers, providing an out-of-sample performance guarantee if properly regularized, converting to distributionally robust classifiers. For the unit commitment problem, we solve a mixed-integer second-order cone problem. Our results based on the IEEE 6- and 118-bus test systems show that the kernelized SVM with proper regularization outperforms other classifiers, reducing the computational time by a factor of 1.7. In addition, if there is a tight computational limit, while the unit commitment problem without warm start is far away from the optimal solution, its warmly-started version can be solved to (near) optimality within the time limit.

math.OC↗

On the Efficiency of Energy Markets with Non-Merchant Storage

Energy market designs with non-merchant storage have been proposed in recent years, with the aim of achieving optimal market integration of storage. In order to handle the time-linking constraints that are introduced in such markets, existing works commonly make simplifying assumptions about the end-of-horizon storage level, e.g., by imposing an exogenous level for the amount of energy to be left for the next time horizon. This work analyzes market properties under such assumptions, as well as in their absence. We find that, although they ensure cost recovery for all market participants, these assumptions generally lead to market inefficiencies. Therefore we consider the design of markets with non-merchant storage without such simplifying assumptions. Using illustrative examples, as well as detailed proofs, we provide conditions under which market prices in subsequent market horizons fail to reflect the value of stored energy. We show that this problem is essential to address in order to preserve market efficiency and cost recovery. Finally, we propose a method for restoring these market properties in a perfect-foresight setting.

math.OC↗

Synergy Among Flexible Demands: Forming a Coalition to Earn More from Reserve Market

We address potential synergy among flexible demands and how they may earn more collectively than individually by forming a coalition and bidding to the reserve market. We consider frequency-supporting ancillary service markets, particularly the manual Frequency Restoration Reserve (mFRR) market. The coalition of flexible demands provides more reliable mFRR services, where in comparison to individual demands, is penalized less for their potential failure and is paid more for their successful activation. This synergy effect is quantified as a function of the number of homogeneous assets in the coalition. A subsequent payment allocation mechanism using Shapley values is proposed to distribute the total earnings of the coalition among demands, while incentivizing them to remain in the coalition. For our numerical study, we use real price data from the Danish mFRR market in 2022.

eess.SY↗

A Conic Model for Electrolyzer Scheduling

The hydrogen production curve of the electrolyzer describes the non-linear and non-convex relationship between its power consumption and hydrogen production. An accurate representation of this curve is essential for the optimal scheduling of the electrolyzer. The current state-of-the-art approach is based on piece-wise linear approximation, which requires binary variables and does not scale well for large-scale problems. To overcome this barrier, we propose two models, both built upon convex relaxations of the hydrogen production curve. The first one is a linear relaxation of the piece-wise linear approximation, while the second one is a conic relaxation of a quadratic approximation. Both relaxations are exact under prevalent operating conditions. We prove this mathematically for the conic relaxation. Using a realistic case study, we show that the conic model, in comparison to the other models, provides a satisfactory trade-off between computational complexity and solution accuracy for large-scale problems.

math.OC↗

Electrolyzer Scheduling for Nordic FCR Services

The cost competitiveness of green hydrogen production via electrolysis presents a significant challenge for its large-scale adoption. One potential solution to make electrolyzers profitable is to diversify their products and participate in various markets, generating additional revenue streams. Electrolyzers can be utilized as flexible loads and participate in various frequency-supporting ancillary service markets by adjusting their operating set points. This paper develops a mixed-integer linear model, deriving an optimal scheduling strategy for an electrolyzer providing Frequency Containment Reserve (FCR) services in the Nordic synchronous region. Depending on the hydrogen price and demand, results show that the provision of various FCR services, particularly those for critical frequency conditions (FCR-D), could significantly increase the profit of the electrolyzer.

math.OC↗

Online Decision Making for Trading Wind Energy

We propose and develop a new algorithm for trading wind energy in electricity markets, within an online learning and optimization framework. In particular, we combine a component-wise adaptive variant of the gradient descent algorithm with recent advances in the feature-driven newsvendor model. This results in an online offering approach capable of leveraging data-rich environments, while adapting to the nonstationary characteristics of energy generation and electricity markets, also with a minimal computational burden. The performance of our approach is analyzed based on several numerical experiments, showing both better adaptability to nonstationary uncertain parameters and significant economic gains.

cs.LG↗

Optimization of Hybrid Power Plants: When Is a Detailed Electrolyzer Model Necessary?

Hybrid power plants comprising renewable power sources and electrolyzers are envisioned to play a key role in accelerating the transition towards decarbonization. It is common in the current literature to use simplified operational models for electrolyzers. It is still an open question whether this is a good practice, and if not, when a more detailed operational model is necessary. This paper answers it by assessing the impact of adding different levels of electrolyzer details, i.e., physics and operational constraints, to the optimal dispatch problem of a hybrid power plant in the day-ahead time stage. Our focus lies on the number of operating states (on, off, standby) as well as the number of linearization segments used for approximating the non-linear hydrogen production curve. For that, we develop several mixed-integer linear models, each representing a different level of operational details. We conduct a thorough comparative ex-post performance analysis under different price conditions, wind farm capacities, and minimum hydrogen demand requirements, and discuss under which operational circumstances a detailed model is necessary. In particular, we provide a case under which a simplified model, compared to a detailed one, results in a decrease in profit of 1.8% and hydrogen production of 13.5% over a year. The key lesson learned is that a detailed model potentially earns a higher profit in circumstances under which the electrolyzer operates with partial loading. This could be the case for a certain range of electricity and hydrogen prices, or limited wind power availability. The detailed model also provides a better estimation of true hydrogen production, facilitating the logistics required.

math.OC↗