This invention discloses a method, apparatus, equipment, and medium for repairing defects in pressure vessels. The
defect repair method includes: acquiring the size and location information of a defect located on the
flange sealing surface, the size information including the
maximum depth of the defect, and the location information including a first radial distance between the maximum outline of the defect and the maximum outline of the sealing ring indentation, and a second radial distance between the maximum outline of the defect and the center circle of the sealing ring; determining the
repair method for the defect based on the size and location information, the
repair method including removing burrs, sharp edges, and protrusions,
grinding to remove the defect, and
grinding after
welding repair; and repairing the defect according to the
repair method. This invention first determines the repair method for the defect based on the size and location information, and then repairs the defect according to the repair method. That is, different repair methods are used for different defects, which helps to improve the feasibility of the repair method and the efficiency of
defect repair.