Calculates discharge from a detention basin outlet orifice accounting for tailwater effects. The effective head is reduced when tailwater submerges the outlet, limiting outflow.