Text this: Achieving sustainable goals in agroecosystems through the optimization of agricultural resources integrating the water-nitrogen-carbon nexus