ENnextH function

determine the next hydraulic step