Risk analysis to make sustainable and resilient decisions