The invention relates to the technical field of high-proportion
new energy power systems, in particular to a
power grid multi-source flexibility demand dynamic quantification method and device and a medium, and the method comprises the steps: collecting the historical prediction data and actual data of a
power grid, carrying out the data cleaning of the collected
power grid data, and carrying out the
data conversion; fitting edge distribution of historical prediction errors through
kernel density estimation, and establishing a joint
probability model; establishing a
recurrent neural network model, training the
recurrent neural network model, and dynamically updating parameters and weights of the joint
probability model, thereby forming a dynamic collaborative modeling framework in combination with the joint
probability model and the
recurrent neural network model; on the basis of a dynamic collaborative modeling framework, an uncertainty scene is generated, a flexibility demand boundary is calculated and output, a complex correlation among
wind power, photovoltaic and load power prediction errors is accurately described, reliable input is provided for flexibility demand calculation, dynamic adjustment of
model parameters according to a planning scene is achieved, and the flexibility demand calculation precision is improved. And the flexibility evaluation is always matched with the current
system state.