The electricity produced by the generator can then be used to convert earth atmosphere into methanol.

This process actually takes the "green house gas" carbon dioxide (CO²) out of the atmosphere during the process. Yes, green house gas is converted into clean energy in the form of methanol during the process.

Another positive in this approach is that methanol works in current internal combustion engines, including gas and diesel versions. Methanol is not ethanol.