but Essentially manure from animals and humans contain normally the appropriate proportion of Nitrogen and Phosphorus for plants but it is of course essential to get the methane for cooking or other purposes. first . there are many options with which to do that but the principle is the same
Consider the use of Managed Ecosystem Fermentation which converts the phosphorous and nitrogen into proteins that can be harvested and used in commercial applications. The advantage of MEF is it produces multiple organic chemicals simultaneously. All of these chemicals have more value than methane.
That said, MEF would only be used in urban environments where there is a high concentration of waste that cannot be reused in agriculture.
In the case of waste water, MEF has shown that it can break the waste of the waste water plant (sewer cake) into water, grit and proteins. As this source of waste would not be acceptable for the production of animal feed, the proteins produced can be used incorporated into adhesives or used as surfacing material on paper products (not used for human food consumption). The grit can be used for covering landfill material.
Attached is a photo showing the decomposition of sewer cake. The flask on the right was inoculated with the fluid from the MEF process. It broke the sewer cake colloid in less than 24 hours. We believe that the MEF microbes consumed the residual cellulose in the sewer cake thereby releasing the grit/flocculant. The flask on the right is sewer cake in water after 24 hours.