Sorry for the confusion. I meant I added 'energy' to product flow. Still, the calculation is wrong. For mass, it is 52:48 and for energy, it is 87:13.
I also did the conversion, 1 kg = 22.72 MJ for biogas. and 1Kg = 2.42 MJ for digester sludge ( Lower heating value). I set 'energy' as a reference to product flow.
Next when I have output of digester sludge amout= 1.85E8 MJ and biogas 2.52E8 MJ, the allocation is calculated as 87:13 that is different when I change the unit in output to ton.
Digester sludge = 1.85E8 t and biogas = 2.52E8 t gives 42:58 as allocation.
Sorry I don't see an option to add snips to explain you better.