The invention discloses a
transformer substation switching operation risk pre-control method and
system based on deep
reinforcement learning, and relates to the technical field of
power system automation, and the method comprises the steps: collecting
transformer substation equipment data in real time,
processing the collected data, generating a standardized
time series data set, building a
system topology structure represented by multiple graphs based on the processed data, and carrying out the pre-control of the
transformer substation switching operation risk. Integrating dynamic characteristics, based on a
system topological structure, generating a switching operation decision sequence, dynamically adjusting a risk boundary threshold, based on a real-
time system state, evaluating the security of the decision sequence, intercepting operations which do not conform to a security boundary, performing reward attribution on contributions of operation sequence steps, and constructing a digital twin environment; the model performance is improved through interactive calibration of real data and
simulation data. According to the substation switching operation risk pre-control method based on deep
reinforcement learning, high-precision risk prediction is realized, the early warning time is sufficient, and the operation sequence is optimized, so that the safety of substation switching operation is remarkably improved.