Modelling of open-channel systems