OPTIMIZING ENERGY SYSTEMS OF LIVESTOCK FARMS WITH COMPUTATIONAL