Integrating Machine Learning for Crop and Energy Optimization in Agrivoltaic Gardening Systems
Article Sidebar
Main Article Content
An Agrivoltaic gardening system offers a promising pathway to simultaneously addressing food security and renewable energy production through the integration of photovoltaic panels and crop cultivation. However, balancing crop productivity and energy generation remains a complex challenge due to variable microclimatic conditions and crop-specific responses to partial shading. This study presents a machine learning–based framework for optimizing both crop yield and photovoltaic energy output in small-scale agrivoltaics gardening systems. Using multi-source data including solar irradiance, soil moisture, temperature, panel configuration parameters, and crop growth indicators, supervised learning models were developed to predict crop yield and energy performance. Random Forest and Artificial Neural Network models demonstrated strong predictive capability, achieving coefficients of determination (R²) above 0.85 for crop yield estimation under shaded conditions. Multi-objective optimization revealed design configurations that improved combined land-use efficiency by up to 10% compared to conventional layouts. The results highlight the potential of machine learning to support adaptive design and real-time decision-making in agrivoltaics gardening, particularly in resource-constrained environments. This work contributes to emerging research on AI-enabled agrivoltaics and provides a scalable framework for sustainable food–energy co-production.
Downloads
References
Abdelali, A., Hicham, G., Nadège, T., Brahim, E, Mounir, A., et al. (2025). Digital twin technology and artificial intelligence in energy transition: A comprehensive systematic review of applications. Energy Reports, Volume 13, pp.5196 - 5218. https://doi.org/10.1016/j.egyr.2025.04.060ff. ffhal-05055048
Alsalami, Z., Mohammed, G. & Srinivas, T. (2025). Enhancing Crop Yield Prediction Using IoT-Based Soil Moisture and Nutrient Sensors. SHS Web of Conferences, https://doi.org/10.1051/iciaites/2025042701029
Awais, M., Wang, X., Hussain, S., Aziz, F., & Mahmood, M. Q. (2025). Advancing Precision Agriculture Through Digital Twins and Smart Farming Technologies: A Review. AgriEngineering, 7(5),137. https://doi.org/10.3390/agriengineering7050137
Channing, P. (2025, August 6). Digital Twin Models for Crop Yield Prediction. Anvil Labs. URL: https://anvil.so/post/digital-twin-models-for-crop-yield-prediction, accessed on December 28th, 2025
Channing, P. (2025, May 27). Digital Twins for Crop Yield Forecasting. Anvil Labs. URL: https://anvil.so/post/digital-twins-for-crop-yield-forecasting, accessed on December 29th, 2025
Christos, P., Sjoukje, O. & Ioannis, N.A. (2021). Introducing digital twins to agriculture. Computers and Electronics in Agriculture, Volume 184, https://doi.org/10.1016/j.compag.2020.105942
Dinesh, H., & Pearce, J. M. (2016). The potential of agrivoltaic systems. Renewable and Sustainable Energy Reviews, volume 54, https://doi.org/10.1016/j.rser.2015.10.024
Ding, H., Tao, S., Zhang, L., Li, Y., Wu, X., Zhang, J., Guo, J., Bao, E., & Cao, K. (2025). Optimization Design of Agrivoltaic Systems Based on Light Environment Simulation. Agriculture, 15(23), 2437. https://doi.org/10.3390/agriculture15232437
Domenico, M., Andrea, D.Z., Claudio, P. & Sonia, L. (2025). Optimizing agrivoltaic systems: A comprehensive analysis of design, crop productivity and energy performance in open-field configurations. Applied Energy, Volume 390, https://doi.org/10.1016/j.apenergy.2025.125750
Doubleday, K., Oleskewicz, K., Ovaitt, S., Hickey, T., Herbert, S. & Macknick, J. (2025). Impacts of year-to-year weather variability and inter-panel spacing on agrivoltaic crop yields in Massachusetts. Agroforestry Systems. Volume 99. https://doi.org/10.1007/s10457-025-01248-y
Ikram, A. & Aslam, W. (2024). Enhancing Intercropping Yield Predictability. IEEE Access, Volume 12, https://doi.org/10.1109/ACCESS.2024.3486101
Kai, L., Hanna, F., Chong, S.C., Thomas, H., Benny, T., Brittany, S., James, M., Julia, C. & Jordan, M. (2025). Comprehensive Evaluation of Agrivoltaics Research: Breadth, Depth, and Insights for Future Research. Energies, MDPI, vol. 18(17), pages 1-42
Koch, O., Moore, J., Hörl, J. et al. (2025). Sheltered by trees: long-term yield dynamics in temperate alley cropping agroforestry with changing water availability. Agron. Sustain. Dev. 45(27), https://doi.org/10.1007/s13593-025-01022-5
Kumpanalaisatit, M., Setthapun, W., Sintuya, H., Pattiya, A. & Jansri, N.S. (2022). Current Status of Agrivoltaic Systems and Their Benefits to Energy, Food, Environment, Economy, and Society. Sustainable Production and Consumption, Volume 33, https://doi.org/10.1016/j.spc.2022.08.013
Malashin, I., Tynchenko, V., Gantimurov, A., Nelyub, V., Borodulin, A., & Tynchenko, Y. (2024). Predicting Sustainable Crop Yields: Deep Learning and Explainable AI Tools. Sustainability, 16(21), 9437. https://doi.org/10.3390/su16219437
Md Sanzid, H.E., Mahbub, E.S., Shamima, N., Abu S.A R & A.K.M. Muzahidul, I. (2025). CropSynergy: Harnessing IoT Solutions for Smart and Efficient Crop Management. Crop Design, https://doi.org/10.1016/j.cropd.2025.100127.
Mehta, K., & Zörner, W. (2025). Optimizing Agri-PV System: Systematic Methodology to Assess Key Design Parameters. Energies, 18(14), 3877. https://doi.org/10.3390/en18143877
Melesse, T.Y. (2025). Digital twin-based applications in crop monitoring. Heliyon, Volume 11(2), https://doi.org/10.1016/j.heliyon.2025.e42137
Nguyen, D.C., Lo Thi, H.V., Liudmila, A.G. & Tran, T.T. (2025). IoT and the prospect of smart agriculture development. E3S Web Conf. 646 00048, https://doi.org/10.1051/e3sconf/202564600048
Nivethithaa, K.K. (2025). Crop Digital Twin: A Smart Framework for Predictive and Sustainable Agriculture. International Research Journal of Modernization in Engineering Technology and Science. Volume 7(12), https://www.doi.org/10.56726/IRJMETS86475
Olayiwola, O., Cali, U., Elsden, M., & Yadav, P. (2025). Enhanced Solar Photovoltaic System Management and Integration: The Digital Twin Concept. Solar, 5(1), 7. https://doi.org/10.3390/solar5010007
Parween, S., Pal, A., Snigdh, I., Kumar, V. (2021). An IoT and Machine Learning-Based Crop Prediction System for Precision Agriculture. In: Bora, P.K., Nandi, S., Laskar, S. (eds) Emerging Technologies for Smart Cities. Lecture Notes in Electrical Engineering, vol 765. Springer, Singapore. https://doi.org/10.1007/978-981-16-1550-4_2
Sarowar, M.S., Falguny, B.E., Asura, K.M. & Md. Mohsin, S.R. (2023). Crop Yield Prediction: Robust Machine Learning Approaches for Precision Agriculture. 2023 26th International Conference on Computer and Information Technology (ICCIT). https://doi.org/10.1109/ICCIT60459.2023.10441634
Sebastia, Z., Silvia, M.L., Yuri, B. & Pietro, E.C. (2026). Optimisation of agrivoltaic systems within the water-energy-food nexus. Journal of Cleaner Production, Volume 538, https://doi.org/10.1016/j.jclepro.2025.147275.
Sebastian, Z., Silvia, M.L., Álvaro, F., Alejandro, C., Eduardo, F.F., Tekai, E.K.Z., Erlend, H.H., Magnus, M.N., Jonathan, L., Matthew, B., Max, T., Stefano, A., Shiva, G. & Pietro, E.C. (2025). Modelling, simulation, and optimisation of agrivoltaic systems: A Comprehensive Review. Applied Energy, Volume 386, https://doi.org/10.1016/j.apenergy.2025.125558
Tharushi, I.S., W.M., Pabasara U.W., Rebecca, J.Y. & Ron, W. (2022). A multi-objective optimization framework for building-integrated PV envelope design balancing energy and cost. Journal of Cleaner Production, Volume 342, https://doi.org/10.1016/j.jclepro.2022.130930
Widmer, J., Christ, B., Grenz, J. & Norgrove, L. (2024). Agrivoltaics, a promising new tool for electricity and food production: A systematic review. Renewable and Sustainable Energy Reviews, Volume 192, https://doi.org/10.1016/j.rser.2023.114277
Zhang, R., Zhu, H., Chang, Q., & Mao, Q. (2025). A Comprehensive Review of Digital Twins Technology in Agriculture. Agriculture, 15(9), 903. https://doi.org/10.3390/agriculture15090903
Zito, F., Giannoccaro, N. I., Serio, R., & Strazzella, S. (2024). Analysis and Development of an IoT System for an Agrivoltaics Plant. Technologies, 12(7), 106. https://doi.org/10.3390/technologies12070106

This work is licensed under a Creative Commons Attribution 4.0 International License.
All articles published in our journal are licensed under CC-BY 4.0, which permits authors to retain copyright of their work. This license allows for unrestricted use, sharing, and reproduction of the articles, provided that proper credit is given to the original authors and the source.