Electrolysis of sodium hydroxide solution