Junction losses in open channel flows