Airbus interview question

Modelling a flow rate through dam