Effectiveness and reliability analysis of emergency measures for flood prevention