The invention discloses a power distribution network power supply
recovery method based on safety
reinforcement learning, and the method comprises the steps: firstly constructing a Markov
decision process MDP according to the characteristics of a power distribution network power supply
recovery problem, and the MDP comprises a state, an action, a
state transition probability, a reward function and a discount factor; secondly, on the basis of the constructed MDP, a security
reinforcement learning model is built to solve the MDP, and the security
reinforcement learning model comprises an HSAC
algorithm, an invalid action shielding module and a
security check layer; and finally, performing offline training on the safety reinforcement learning model, and performing recursive solution on the power supply
recovery problem of the power distribution network real-time scene by using the trained safety reinforcement learning model so as to output an optimal power supply recovery
decision scheme. According to the method, the invalid action shielding module and the
security check layer are introduced, so that the action space is effectively reduced, the decision generated by the model is ensured to meet the key security constraint, and the
model learning process is accelerated while the security of power supply recovery is improved.