Biomass, together with other renewable sources, is increasingly used to provide energy to minigrids and distributed generation systems. Particularly, biogas production seems an interesting solution as it can be used to produce electricity, heat and bio-methane (through an upgrading system). In addition, biogas can be relatively easily stored in gasometers to compensate for small request variations. On the other hand, the amounts of heat, electricity and bio-methane produced are strictly dependent one on the others. A poly-generation scenario was considered starting from an existing case study made up of a digester, a 600kW el micro gas turbine and an upgrading system for bio-methane production. An off-design system simulation was carried ou...