Urban Building Energy Modeling: an hourly energy balance model of residential buildings at a district scale