Thermal-Electrical Analogy for Dynamic Urban-Scale Energy Modeling