An hybrid simulator for managing hydraulic structures operational modes to ensure the safety of territories with complex river basin from flooding