An Engineering Approach to Energetic and Environmental Planning on a Local Scale