Electrolysis experiment to simulate upper atmosphere chemistry