Somehow I missed this extremely significant sentence. Let’s go through the energy sources and sinks.
So far the only source of energy is the windmills, extracting kinetic energy from the wind and generating electrical power.
OK, so all of our windmill-produced electrical power is going into electrolysis. Some of this energy goes into breaking the H[sub]2[/sub]O bonds, some of it goes into pushing back the atmosphere to make room for those gases, and some of it is wasted as heat.
Even if you could somehow recover the buoyancy energy, that’s just energy your windmills put into the system to start with. The highest point in the Atlas mountains is about 4100 meters, which would permit us to recover only about 40% of the available buoyant work.
As described earlier, enclosing the H[sub]2[/sub] in a closed piping system will not permit recovery of buoyancy energy. You will have to compress and/or pump the H[sub]2[/sub] to get it up to the mountains, and that will take energy.
When you bond a kilogram of hydrogen with oxygen, you only get as much energy out as you put into breaking those hydrogen-oxygen bonds during the electrolysis process. This ignores the inefficiency of the electrolysis process. You do not get out more energy than you put in.
As noted upthread, 50% is a reasonable efficiency figure for modern large-scale steam-cycle power plants. So if your windmill puts 1 watt into an inefficient electrolysis process, your Atlas Mountain power plant will produce much less than half a watt of electrical power.
Odd, I’m struggling with this one. Folks, we’ve got a bunch of liquid water 4100 meters up in the Atlas Mountains. As this stuff flows down to our basin in the Sahara, we definitely can generate some hydroelectric power with it along the way.
So where did the energy in this 4000-meter-high water come from? 