Did you ever find an answer to this? I'd like to do the same calculation. The post here suggests that you can assume an Air Fuel Ratio of 14.5 and use Lambda, or the equivalence ratio (pid 44), to correct it. However, this would use the same formula as for a gasoline engine, which sounds like it may be incorrect.
If you ever figured it out, I'd greatly appreciate the help.