Energy loss in bends and fittings pipe through gate valve