Hi
There is no specific reference.
Inspiration comes from Carlier or Lencastre.
The idea of this subroutine is to compute a discharge which could follow :
- a weir law if the water level is lower than the top level of the tube
- an orifice law otherwise
You have some parameters you could use to calibrate the head loss:
- CE and CS for the input/output head loss coefficient
- L12 for the linear head loss in the tubes
The description of each tube is a geometrical description.
Hope this helps
PS: Update your profile!