Based on input data on the number of cattle and pigs on each farm, and the transport distance between each farm and the nearest centralised biogas plant, the model calculates the economic profit of the farmer and the greenhouse gas emissions for three manure management alternatives: (1) no biogas production; (2) farm scale biogas production; and (3) centralised biogas production. The model could minimise the greenhouse gas emissions, maximise the profit for the farmers or a combination of the two. Results from the case study showed that both options for anaerobic digestion (farm scale and centralised biogas production) are beneficial in terms of the reduction of greenhouse gases and can be profitable for the farmers. The case study has validated the functionality and usefulness of the model. Some improvements are suggested for further development and use. Finn artikkelen under "relevante dokumenter". Artikkelen er basert på denne masteroppgaven.