A Climatic Model of Urban Energy Budgets