Modelling economic dimension of community resilience