We introduce and study a class of online problems called online smoothed demand management $(\texttt{OSDM})$, motivated by paradigm shifts in grid integration and energy storage for large energy consumers such as data centers. In $\texttt{OSDM}$, an operator makes two decisions at each time step: an amount of energy to be purchased, and an amount of energy to be delivered (i.e., used for computation). The difference between these decisions charges (or discharges) the operator's energy storage (e.g., a battery). Two types of demand arrive online: base demand, which must be covered at the current time, and flexible demand, which can be satisfied at any time steps before a demand-specific deadline $Δ_t$. The operator's goal is to minimize a cost (subject to the constraints above) that combines a cost of purchasing energy, a cost for delivering energy (if applicable), and smoothness penalties on the purchasing and delivery rates to discourage fluctuations and encourage ``grid healthy'' decisions. $\texttt{OSDM}$ generalizes several problems in the online algorithms literature while being the first to fully model applications of interest. We propose a competitive algorithm called $\texttt{PAAD}$ (partitioned accounting \& aggregated decisions) and show it achieves the optimal competitive ratio. To overcome the pessimism typical of worst-case analysis, we also propose a novel learning framework that provides guarantees on the worst-case competitive ratio (i.e., to provide robustness against nonstationarity) while allowing end-to-end differentiable learning of the best algorithm on historical instances of the problem. We evaluate our algorithms in a case study of a grid-integrated data center with battery storage, showing that $\texttt{PAAD}$ effectively solves the problem and end-to-end learning achieves substantial performance improvements compared to $\texttt{PAAD}$.
翻译:本文提出并研究了一类称为在线平滑需求管理(OSDM)的在线问题,其动机源于数据中心等大型能源消费者在电网集成和储能方面的范式转变。在OSDM中,操作者在每个时间步做出两个决策:购买的能量数量,以及输送(即用于计算)的能量数量。这两个决策之间的差值会为操作者的储能设备(例如电池)充电(或放电)。在线到达两种类型的需求:基础需求(必须在当前时刻满足)和灵活需求(可在特定需求截止时间Δ_t之前的任意时间步满足)。操作者的目标是在满足上述约束的条件下最小化成本,该成本结合了能源购买成本、能源输送成本(如适用)以及对购买和输送速率的平滑性惩罚,以抑制波动并鼓励“电网健康”决策。OSDM概括了在线算法文献中的若干问题,同时首次完整建模了相关应用场景。我们提出了一种称为PAAD(分区计费与聚合决策)的竞争算法,并证明其达到了最优竞争比。为克服最坏情况分析中常见的悲观性,我们还提出了一种新颖的学习框架,该框架能在历史问题实例上通过端到端可微分学习优化算法性能的同时,保证最坏情况竞争比(即提供对非平稳性的鲁棒性)。我们通过一个配备电池储能的电网集成数据中心的案例研究评估了所提算法,结果表明PAAD能有效解决该问题,且端到端学习相比PAAD实现了显著的性能提升。