Flexible Approach for Resilient Urban System