We use solenoid valves for emergency oxygen at the fish farm where I work. When the power is on, they are closed; but if the power goes out, they open up, bleeding oxygen directly into the tanks. They are also programmed to release O2 if the dissolved oxygen drops below a certain value.