The invention discloses a multi-
energy system optimization scheduling method based on a
carbon flow theory and deep
reinforcement learning. The method comprises the following steps: firstly, carrying out mathematical description on a multi-
energy system dynamic
optimization problem based on a carbon emission flow theory, and establishing an objective function and constraint conditions of multi-
energy system optimization scheduling; then, the scheduling
decision problem is expressed as a Markov
decision process framework, a
reinforcement learning environment is created, and a
state space, an action space and a reward function of the multi-energy
system are defined; meanwhile, in the depth deterministic strategy gradient
algorithm, the training efficiency is improved by introducing an experience replay
mechanism based on proportion priority, the
overfitting risk in the network training process is reduced by adopting an L2 regularization measure, and the generalization ability of the network in the optimization scheduling decision of the multi-energy
system is improved. The method can respond to random fluctuation of a source side and a load side in real time, outputs a coordinated scheduling strategy, ensures low-carbon operation of a multi-energy
system, and overcomes the defect that a traditional
energy scheduling system cannot quickly adapt to changes.