Risk analysis of technological hazards: simulation of scenarios and application of a local vulnerability index