Measurement of actual carbon dioxide mass emitted from a diesel engine

I was wondering if there is a method to measure the actual total mass of carbon dioxide $(\ce{CO2})$ emitted from a diesel engine used for power generation. Infrared $\ce{CO2}$ sensors generally measure the gas concentration, describing the amount of gas by volume in the air, which is not useful in my application. Flow sensors are already installed in the diesel supply and return lines to determine the amount of diesel consumed, and hence the amount of $\ce{CO2}$ created, but I need to correlate these measurements with actual measurements of $\ce{CO2}$ mass produced at the output of the exhaust system.


Any idea on how to approach this problem would be greatly appreciated.


The question can be reformulated as to measure the $\ce{CO2}$ emission rate from the engine exhaust system. A typical solution in practice is to find a dedicated sensor or a monitoring system that does that.


