Managing accidents and failures of hydraulic structures