Planning new towns and electric vehicle infrastructure