Mathematical modelling of the operation of a multistage flood control system using parallel computations