The City as an Open System