Closed-form solutions of the energy balance equation for drip laterals under the Darcy-Weisbach resistance formula