A multi-layer agent-based model for the analysis of energy distribution networks in urban areas