Modelling of methane production and emissions