New York has been re-imagined as a self-sustaining city in a six-year research project that aims to tackle fears of global warming.