Timespan minimisation for storm surge barrier control by