On The Generation Of Electrolytic Bubbles In Artificial-Photosynthetic Devices