Discharge over a high point and crown vapor-pressure check
Inputs
Gravity siphon over a high point. Solves discharge from available head and checks vapor pressure at the crown.
Energy line through the crown
Same vapor-pressure limit
Barrel friction