Application of valves in the oil and gas industry