Modelling anaerobic digestion in a biogas reactor: ADM1 model development with lactate as an intermediate (Part I)