Determination of critical cavitation limit in the pressure control devices