由于电力消耗波动、可再生能源供电不稳定以及人为和自然灾害等不可预测的事故,维持现代电网的稳定性变得越来越困难。由于电网运行必须考虑其对未来稳定性的影响,因此强化学习(RL)已被用于提供电网管理中的顺序决策。然而,现有的方法没有考虑环境约束。因此,学习策略具有在紧急情况下选择违反约束的行为的风险,这将升级过载的电力线的问题,并导致大规模停电。在这项工作中,我们提出了一种新的方法来解决这个问题,它建立在基于搜索的规划算法之上。在规划阶段,搜索空间被限制在由策略产生的动作集。所选择的动作严格遵循约束条件,通过系统提供的模拟功能对其结果进行测试。在学习阶段,为了解决梯度不能传播到策略的问题,我们引入了具有黑箱策略优化的进化策略(ES)来直接改进策略,从而最大化长期收益。在NeurIPS 2020 Learning to Run Power Network(L2RPN)竞赛中,我们的解决方案安全地管理了电网,并在两个赛道中均名列第一。
英文摘要:
Maintaining the stability of the modern power grid is becoming increasingly difficult due to fluctuating power consumption, unstable power supply coming from renewable energies, and unpredictable accidents such as man-made and natural disasters. As the operation on the power grid must consider its impact on future stability, reinforcement learning (RL) has been employed to provide sequential decision-making in power grid management. However, existing methods have not considered the environmental constraints. As a result, the learned policy has risk of selecting actions that violate the constraints in emergencies, which will escalate the issue of overloaded power lines and lead to large-scale blackouts. In this work, we propose a novel method for this problem, which builds on top of the search-based planning algorithm. At the planning stage, the search space is limited to the action set produced by the policy. The selected action strictly follows the constraints by testing its outcome with the simulation function provided by the system. At the learning stage, to address the problem that gradients cannot be propagated to the policy, we introduce Evolutionary Strategies (ES) with black-box policy optimization to improve the policy directly, maximizing the returns of the long run. In NeurIPS 2020 Learning to Run Power Network (L2RPN) competition, our solution safely managed the power grid and ranked first in both tracks.