Taking into account the fact that CH4 leakage from the cogeneration engine is 15% of the CH4 emissions. Taking into account the fact that all the ammonia present in the wastewater is converted into nitrite in the partial nitrification reactor and supposing a leakage of the N2O from the cogeneration engine similar to that of the CH4.