A surgical system comprises a pressurized irrigation fluid source; an irrigation line fluidly coupled to the pressurized irrigation fluid source; a hand piece fluidly coupled to the irrigation line; an irrigation pressure senor located at or along the pressurized irrigation fluid source or irrigation line; and a controller for controlling the pressurized irrigation fluid source. The controller controls the pressurized irrigation fluid source based on a reading from the irrigation pressure sensor and an estimated flow value modified by a compensation factor.