Scientists have created a 3D model that identifies the critical bubble size to prevent huge energy losses in green hydrogen production.