The invention belongs to the field of oil and gas field exploration and development, and discloses a numerical reservoir model optimization and history fitting method and related device.The method comprises the steps that firstly,
geological exploration data are utilized, a
spatial clustering algorithm is adopted to automatically determine the local updating range of a structural model, and structural
layers and stratums are optimized through spatial interpolation; outputting an optimized construction model and uncertainty measurement; based on the model and
logging lithofacies attribute data, adaptively identifying a lithofacies updating key area and variation function parameters by applying a
machine learning
algorithm, and performing lithofacies
simulation to output an optimized lithofacies model; combining the
porosity, permeability and saturation attribute data, adaptively determining an attribute optimization range and variation function parameters by adopting a
probabilistic neural network, and outputting an optimized attribute model through
phase control attribute modeling; a three-dimensional oil-water two-phase
black oil seepage model is constructed, a
global optimization algorithm is adopted to automatically adjust parameters based on a target function,
simulation data is calculated until convergence, optimal parameters are output to complete historical fitting, and efficient and reliable intelligent support is provided for complex oil reservoir development.