Title: Calculation of discharge and overflow coefficients