Designing the Future: An Intelligent System for Zero-Mile Food Production by Upcycling Wastewater