Operational Safety of Dams and Reservoirs: Understanding the reliability of flow-control systems