Distributed Energy Systems: Constraints and Opportunities in Urban Environments