In which is the length of the conduit.
The program will calculate the cross sectional area, hydraulic radius top width and depth at the upstream, midpoint and downstream sections of the link. The link solution is pivoted on the midpoint cross sectional area in the dominant dynamic wave terms and
and the non-linear term in the dynamic wave equation uses the upstream and downstream link cross sectional areas. In the finite difference equation in SWMM 5 the pipe shown below would have one length but use the cross sectional information from the upstream, midpoint and downstream points of the link.
The bend in the pipe would be modeled using the "other" category of losses