Effects of oxygen removal on ATP production