Computer-aided risk assessment at urban scale. Model definition and validation on a case study