Several rural farms have installed anaerobic digestion systems as manure management systems. Such systems are also used to provide electricity and heating. In these systems, biogas is generated from anaerobic digestion of biomass waste and combusted in a boiler and an engine-generator set, to produce heat and electricity respectively. This paper calculates the size and mode of operation of a biomass waste to energy conversion system that would result in maximum revenue for a given herd size. A Tabu Search optimisation technique is used. A number of equally good solutions are generated. These solutions are plotted on a Pareto front and the best solution is defined as one that lies on this Pareto front. Optimisation of a biomass waste to energy conversion system reduces reliance on electricity from the grid. It also reduces reliance on the use of propane or other fossil fuels for heating.