Chance constrained stochastic model predictive controllers (CC-SMPCs) tradeoff full constraint satisfaction for economical plant performance under uncertainty. Previous CC-SMPC works are over-conservative in constraint violations leading to worse economic performance. Other past works require a priori information about the uncertainty set, limiting their application. This article considers a discrete linear time-invariant (LTI) system with hard constraints on inputs and chance constraints on states, with unknown uncertainty distribution, statistics, or samples. This work proposes a novel adaptive online update rule to relax the state constraints based on the time average of past constraint violations, to achieve reduced conservativeness in closed-loop. Under an ideal control policy assumption, it is proven that the time average of constraint violations asymptotically converges to the maximum allowed violation probability. The method is applied for optimal battery energy storage system (BESS) dispatch in a grid-connected microgrid (MG) with photovoltaic (PV) generation and load demand, with chance constraints on BESS state of charge (SOC). Realistic simulations show the superior electricity cost-saving potential of the proposed method as compared with the traditional economic model predictive control (EMPC) without chance constraints, and a state-of-the-art approach with chance constraints. We satisfy the chance constraints nonconservatively in closed-loop, effectively trading off increased cost savings with minimal adverse effects on BESS lifetime.
Monthly demand charges form a significant portion of the electric bill for microgrids with variable renewable energy generation. A battery energy storage system (BESS) is commonly used to manage these demand charges. Economic model predictive control (EMPC) with a reference trajectory can be used to dispatch the BESS to optimize the microgrid operating cost. Since demand charges are incurred monthly, EMPC requires a full-month reference trajectory for asymptotic stability guarantees that result in optimal operating costs. However, a full-month reference trajectory is unrealistic from a renewable generation forecast perspective. Therefore, to construct a practical EMPC with a reference trajectory, an EMPC formulation considering both non-coincident demand and on-peak demand charges is designed in this work for 24 to 48 h prediction horizons. The corresponding reference trajectory is computed at each EMPC step by solving an optimal control problem over 24 to 48 h reference (trajectory) horizon. Furthermore, BESS state of charge regulation constraints are incorporated to guarantee the BESS energy level in the long term. Multiple reference and prediction horizon lengths are compared for both shrinking and rolling horizons with real-world data. The proposed EMPC with 48 hour rolling reference and prediction horizons outperforms the traditional EMPC benchmark with a 2% reduction in the annual cost, proving its economic benefits.
In recent years, with the growing number of EV charging stations integrated into the grid, optimizing the aggregated EV load based on individual EV flexibility has drawn aggregators’ attention as a way to regulate the grid and provide grid services, such as day-ahead (DA) demand responses. Due to the forecast uncertainty of EV charging timings and charging energy demands, the actual delivered demand response is usually different from the DA bidding capacity, making it difficult for aggregators to profit from the energy market. This paper presents a two-layer online feedback control algorithm that exploits the EV flexibility with controlled EV charging timings and energy demands. Firstly, the offline model optimizes the EV dispatch considering demand charge management and energy market participation, and secondly, model predictive control is used in the online feedback model, which exploits the aggregated EV flexibility region by reducing the charging energy based on the pre-decided service level for demand response in real time (RT). The proposed algorithm is tested with one year of data for 51 EVs at a workplace charging site. The results show that with a 20% service level reduction in December 2022, the aggregated EV flexibility can be used to compensate for the cost of EV forecast errors and benefit from day-ahead energy market participation by USD 217. The proposed algorithm is proven to be economically practical and profitable.
This paper presents a novel optimization algorithm for electric vehicle (EV) aggregators aiming to maximize net revenue in demand response markets. Aggregated EV charging stations are modeled as a battery with time-varying capacity, enabling participation in these markets. Due to uncertainties in EV plug-in duration and energy demand, it is challenging for aggregators to fulfill bid capacities in real-time (RT). To address this, EV users specify minimum acceptable service levels, allowing aggregators to optimize both charging timing and energy demand in RT. The model is composed of two layers: (1) a Day-Ahead (DA) optimizer that determines optimal EV scheduling and DA demand response market bidding, and (2) a two-stage RT optimizer that fine-tunes the charging schedule using real-time flexibility to mitigate forecast errors. The RT optimizer leverages Model Predictive Control (MPC) in a two-stage structure to address the problem’s non-convexity, which arises from two coupled unknowns: the charging time and the charging energy demand. In the first stage, it determines a cost-optimal charging schedule that ensures full service levels. In the second stage, it optimizes the charging energy demand within a feasible range, bounded above by the first-stage trajectory and below by user-defined minimum service levels, to maximize demand response market revenue. A realistic baseline and a penalty term are integrated into the demand response market revenue term of the cost function to more accurately reflect real-world conditions. Simulation results demonstrate that the proposed method yields a net economic profit at least five times higher than that of immediate (or ‘dumb’) charging. During one month of simulations, the aggregator achieves revenue equivalent to $0.21 per kWh of demand reduction under forecast uncertainty, totaling $3441.