A real-time operation of the Three Gorges Reservoir with flood risk analysis