Modeling pathways toward sustainable crop production in controlled environment agriculture