JOURNAL OF AGRICULTURAL ENGINEERING, cilt.57, sa.1, 2026 (SCI-Expanded, Scopus)
Conventional analyses of agricultural energy systems often ignore the concepts of exergy degradation and irreversibilities, which results in an incomplete understanding of useful energy loss. Ignoring these factors can lead to poor input and technology choices that ultimately harm sustainability. To fill this gap, we introduce an AI-supported framework designed to predict and explicitly optimize exergy efficiency and cumulative exergy consumption (CExC), specifically in maize cultivation, by using controllable inputs. This research represents a novel endeavor, as it is, to the best of our knowledge, the first study aimed at optimizing exergy efficiency at the crop production level through the application of machine learning techniques to various input variables. This study utilizes a comprehensive input-output dataset comprising 112 observations and encompassing seven input variables-human labor, machinery, diesel fuel, seed, fertilizer, chemicals, and water-alongside a singular output variable (output energy). The target variables, exergy efficiency and CExC, are calculated by systematically mapping energy flows into the exergy domain. Our methodological approach integrates neighborhood component analysis (NCA) for effective feature selection, principal component analysis (PCA) for dimensionality reduction, and XGBoost for predictive modeling. Furthermore, the optimization of hyperparameters is conducted through a genetic algorithm (GA) to enhance model performance. Implementation of this framework was carried out in Python 3.11, utilizing libraries such as scikit-learn and XGBoost. The evaluation of model performance was conducted using three metrics: mean absolute error (MAE), mean squared error (MSE), and the coefficient of determination (R²). The study's results indicate a MAE of 1.5027, a MSE of 4.7553, and an R² of 0.99. These metrics indicate an exceptional model fit within the low-to-moderate efficiency spectrum (0-30%) while exhibiting minimal bias. Such findings suggest that the proposed framework can effectively inform sustainable input planning strategies aimed at mitigating energy waste and decreasing reliance on fossil fuels, all while preserving agricultural output. Moreover, insights derived from the analysis highlight which adjustments in labor, fertilizer, and machinery contribute most significantly to exergy efficiency gains. Additionally, the integration of economic and CO2 metrics into the model, as well as the exploration of real-time decision support systems in field trials, would represent valuable advancements in this endeavor. Future work will focus on creating plot-level datasets that include harmonized covariates, such as soil properties, water regime, weather conditions, and pest pressure. These datasets will support causal inference and threshold estimation, fully disaggregated with separate measures for nitrogen (N), phosphorus (P), potassium (K, including K2O), as well as diesel and electricity usage.