fixed perform hydraulic calculation