City-integrated renewable energy design for low-carbon and climate-resilient communities