TECHNOLOGY FOCUS - ORGANIC CHEMISTRY - Preferred Process: The process further comprises: electrolyzing water to produce hydrogen and oxygen and recovering at least some of the hydrogen to produce at least a portion of the hydrogen feedstock; a step of recovering at least a portion of the oxygen from the water electrolysis to produce at least a portion of the oxygen feedstock; a step of adjusting the amount of the oxygen feedstock to the amount of the hydrocarbon feedstock fed to the partial oxidation reactor such that the partial oxidation reactor effluent contains some unoxidized hydrocarbon feedstock or essentially free of oxygen; a step of recycling a portion of the tail gas stream to the partial oxidation reactor; a step of withdrawing a purge stream from the tail gas stream and recycling essentially the remainder of the tail gas stream to the partial oxidation reactor; combusting the nitrogen rich purge stream to produce energy; and electrolyzing water to produce hydrogen and oxygen and recovering at least some of the hydrogen to produce at least a portion of the hydrogen feedstock and the combustion of the purge stream produces electricity. The tail gas stream contains nitrogen and the process further comprises separating at least a portion of the nitrogen from the waste gas stream to produce a nitrogen rich purge stream and nitrogen reduced waste gas stream that is recycled to the partial oxidation reactor. In the process, a membrane separator is used to separate the tail gas stream into the nitrogen reduced waste gas stream and the nitrogen rich purge stream. The combustion of the purge stream produces heat that is used to preheat at least one of the feedstock of the partial oxidation reactor. The electrolysis is conducted by running a fuel cell in reverse. In the process, additional carbon dioxide is provided by a carbon dioxide feed stream and at least a portion of the carbon dioxide stream is obtained from biogas. The additional carbon dioxide is provided by a carbon dioxide feed stream. The carbon dioxide feed stream is provided upstream or downstream from the partial oxidation reactor. Preferred Components: The partial oxidation reactor effluent contains less than 10 wt.% of unoxidized hydrocarbon feedstock based on the weight of the partial oxidation reactor effluent. The synthesis gas contains less than 4 wt.% of unoxidized hydrocarbon feedstock based on the weight of the partial oxidation reactor effluent. The synthesis gas, which is subjected to methanol synthesis, has a ratio of hydrogen minus carbon dioxide mole fraction to carbon dioxide plus carbon monoxide mole fraction of 1:1-3:1 (preferably 2:1). The partial oxidation reactor produces waste heat, which is used to generate electricity. In the process, at least a portion of the hydrocarbon feedstock is obtained from biogas. The hydrocarbon feedstock includes carbon dioxide. The biogas is obtained from anaerobic decomposition of biomatter. EXAMPLE - None given.