1. A computer implemented method to improve energy efficiency of a farm with livestock waste with a microgrid, comprising:
generating a comprehensive cooling, heating, and power (CCHP) microgrid model; performing on a computer a multiobjective
optimization to improve system efficiency of energy utilization and reduce environmental problems caused by animal waste;
displaying results of the optimization for review; modeling, an objective function of system operating cost (OC), including
biogas, fuel cost (FC), internal combustion engine (ICE) start up and shut down cost (SSC), equipment operation and maintenance
cost (OMC), and cost of electricity bought from the grid (EBC) as follows:
where ΔT is hourly time step, C_{Bio }is the biogas cost in dollars per liter ($/L), F_{t,GB,ACC }are fuel cost of ICEs, gas boiler, and absorption chiller for cooling in L/h, SU, SD are start up cost and shut down cost
in $, OM_{ICE,GB,ACC,AR }are operation and maintenance cost of ICEs, GB, ACC, and AR in $/kWh, P_{GB,ACC,AR,t }is output of gas boiler, absorption chiller for cooling and absorption refrigerator in time t in kW, C_{GriE }is electricity cost of the grid in $/kWh, P_{grid,t }is the power bought from the grid in kW, M is the number of generators, and N is a time t counter;
and optimizing the microgrid based on dispalyed result, start and shut down cost, operating and maintenance cost, and cost
of electricity; wherein the steps are carried out by a computer having a processor and memory.
