There are two equations: Buswell's equation and modified Buswell's equation (modified by Boyle). I guess you got confused with these equations (Please read the attached article).
First, you have to know the elemental composition of the substrate used (CcHhOoNnSs) for CH4 production via anaerobic digestion.
Using the above elemental composition of the substrate, according to the modified Buswell equation, (c/2 + h/8 - o/4 - 3n/8 - s/4) moles of methane can be produced theoretically. Accordingly, you can calculate the value of TBMP.
I strongly recommend going through this article, All the information is given in details (which explain the original and the modified Buswell equation)
Article Theoretical analysis of biogas potential prediction from agr...
Mohamed Abd Elazeem when we are talking about the calculation part of the theoretical biochemical methane potential tests or TBMP then To begin, you must first determine the elemental makeup of the anaerobic digestion substrate (CcHhOoNnSs). According to the modified Buswell equation, (c/2 + h/8 - o/4 - 3n/8 - s/4) moles of methane can theoretically be created using the above elemental makeup of the substrate.