Analyzing the spatial relationship between energy and the built environment