Optimization of isolation valve operation and identification of critical components for enhancing the resilience of water distribution systems