TECHNOLOGY FOCUS - ORGANIC CHEMISTRY - Preferred Process: The process (I) 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; recovering at least a portion of the oxygen from the water electrolysis to produce at least a portion of the oxygen feedstock; and adjusting the oxygen feedstock to the hydrocarbon feedstock fed to the partial oxidation reactor such that the partial oxidation reactor effluent contains some unoxidized hydrocarbon feedstock and is essentially free of oxygen. The partial oxidation reactor effluent contains less than 10 wt % unoxidized hydrocarbon feedstock based on the weight of the partial oxidation reactor effluent. The synthesis gas contains less than 4 wt % unoxidized hydrocarbon feedstock based on the weight of the partial oxidation reactor effluent. The synthesis gas is subjected to methanol synthesis and 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 process (II) further comprises recycling a portion of the tail gas stream to the partial oxidation reactor; withdrawing a purge stream from the tail gas stream and recycling essentially the remainder of the tail gas stream to the partial oxidation reactor; separating at least a portion of the nitrogen from the waste gas stream to produce a nitrogen rich purge stream and a nitrogen reduced waste gas stream that is recycled to the partial oxidation reactor. The tail gas stream contains nitrogen. The membrane separator is used to separate the tail gas stream into the nitrogen reduced waste gas stream and the nitrogen rich purge stream. The process further comprising combusting the nitrogen rich purge stream to produce energy. The combustion of the purge stream produces heat (used to preheat at least one of the feedstocks of the partial oxidation reactor). The process (II) 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 and where the combustion of the purge stream produces electricity. The partial oxidation reactor produces waste heat and the waste heat is used to generate electricity. The electrolysis is conducted by running a fuel cell in reverse and at least a portion of at least one of the hydrocarbon feedstock and the hydrogen feedstock (includes carbon dioxide) is obtained from biogas. The 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/downstream from the partial oxidation reactor. The carbon dioxide feed stream is provided from the partial oxidation reactor. The biogas is obtained from anaerobic decomposition of biomatter. The tail gas stream contains nitrogen and the process further comprises subjecting the tail gas stream to a separation process such that the recycle stream is nitrogen reduced; the purge stream is nitrogen rich and at least a portion of at least one of the hydrocarbon feedstock, the hydrogen in the synthesis gas and the carbon dioxide in the synthesis gas is obtained from biogas. The process (III) further comprises separating the tail gas stream into at least two streams comprising a purge stream and a recycle stream, the recycle stream comprising a substantial portion of the tail gas stream; and recycling the recycle stream to the partial oxidation reactor. The partial oxidation reactor effluent is fed to a reformer to produce a reformed synthesis gas and at least a portion of the hydrogen stream is combined with the reformed synthesis gas to produce the methanol synthesis gas. The process (III) further comprising combining a carbon dioxide feedstock with the partial oxidation reactor effluent to produce a carbon dioxide rich synthesis gas stream and feeding the carbon dioxide rich synthesis gas stream to the reformer to produce a reformed synthesis gas; and at least a portion of the hydrogen stream is combined with the reformed synthesis gas to produce the methanol synthesis gas; and introduced to the reformer or a feedstream to the reformer (where at least a portion of electricity used to electrolyze the water is valley power and at least a portion of at least one of the hydrocarbon feedstock and the hydrogen feedstock is obtained from biogas).