Optimizing energy systems of livestock farms with computational intelligence for achieving energy autonomy

Tryhuba, A., Hutsol, T., Čėsna, J. et al. Optimizing energy systems of livestock farms with computational intelligence for achieving energy autonomy. Sci Rep 15, 10777 (2025). https://doi.org/10.1038/s41598-025-92836-6

https://www.nature.com/articles/s41598-025-92836-6

Abstract
The relevance of the study is due to the need to increase the energy autonomy of livestock farms by introducing innovative solutions based on computational intelligence. Given the significant energy consumption by livestock farms, as well as the reduced dependence on traditional energy sources, there is a need to optimise energy systems using renewable sources. The aim of the research is to develop a model for integrating computational intelligence to optimise energy systems of livestock farms to achieve their energy autonomy. The use of computational models will allow farmers to manage energy consumption more efficiently, minimise carbon emissions, and increase the overall stability of energy supply. The object of research is the energy systems of livestock farms, including traditional and renewable energy sources. The subject of the study is models and methods of optimisation based on computational intelligence used for energy resource management. The paper develops a model for optimising energy systems of livestock farms using a genetic algorithm that involves the systematic implementation of 5 steps. In contrast to traditional static models, the proposed model takes into account the possibility of dynamic adaptation of the structure of the energy supply system to real production conditions. This is done by taking into account the energy demand of livestock farms, the possibility of using renewable energy sources, and external factors such as power grid failures and weather conditions. The proposed model is based on a multi-criteria optimisation approach that simultaneously reduces CO₂ emissions, reduces energy costs and increases the energy sustainability of livestock farms. The genetic algorithm used in the model provides flexible parameter settings and the search for an optimal solution in the context of a variable and complex structure of the energy system. Based on the model, a Python 3.10 program was created to perform labour-intensive calculations for optimising the energy systems of livestock farms. According to the results of testing at the farm of Volyn Nova LLC (Volyn region, Ukraine), it was found that the implementation of the optimised energy system allows reducing CO₂ emissions from 1263 kg/day to 92.3 kg/day and increasing the use of renewable energy sources. Prospects for further research include the adaptation of the model to other types of livestock farms, as well as the development of integration solutions for the combined use of several renewable energy sources.

Keywords
farm, Model, Genetic algorithm, Efficiency, Computational intelligence, European green deal, Optimization, System, Energy supply, Livestock

Funding
This project has received funding from the ministry of Education of Science Repablic Poland for the Agricultural University in Kraków for the year 2024 and Ministry of Education, Science and Sports of the Republic of Lithuania and Research Council of Lithuania (LMTLT) under the Program ‘University Excellence Initiative’ Project ‘Development of the Bioeconomy Research Center of Excellence’ (BioTEC), agreement No S-A-UEI-23-14.