We present an online stochastic model predictive control framework for demand charge management for a grid-connected consumer with attached electrical energy storage. The consumer we consider must satisfy an inflexible but stochastic electricity demand, and also receives a stochastic electricity inflow. The optimization problem formulated solves a stochastic cost minimization problem, with given weather forecast scenarios converted into forecast demand and inflow. We introduce a novel weighting scheme to account for cases where the optimization horizon spans multiple demand charge periods. The optimization scheme is tested in a setting with building demand and photovoltaic array inflow data from a real office building. The simulation study allows us to compare various design and modeling alternatives, ultimately proposing a policy based on causal affine decision rules.
@article{arxiv.2007.02928,
title = {Multiperiod Stochastic Peak Shaving Using Storage},
author = {Benjamin Flamm and Guillermo Ramos and Annika Eichler and John Lygeros},
journal= {arXiv preprint arXiv:2007.02928},
year = {2020}
}