The systems, devices, and methods described herein describe a control system that automatically determines a trip speed for a surge operation or a swab operation. The control system is used to automatically adjust the trip speed during the respective surge or swab operation in order to optimize the trip speed according to the changing environment of the wellbore that the bottom hole assembly traverses without exceeding the fracture gradient in the wellbore location. A well plan identifies formations along the wellbore route, dynamic real-time tracking of the tubulars added to the drill string and removed therefrom identifies the current location of the BHA in the wellbore, and pressure and fractional gradient at the location of the BHA, and in some embodiments a real-time pressure measurement from the BHA, together are used to automatically determine the maximum tripping speed possible for the formation that the BHA is traversing.