Before workers can perform periodic maintenance inside a hydrogen-cooled turbine generator, the hydrogen (H2) cooling gas must be purged and replaced with a breathable atmosphere (air). However, air/H2 mixtures are potentially explosive, so a maintenance purge is used that proceeds in two stages. First, carbon dioxide CO2 is used to purge out the H2. Then in the second stage, air purges out the CO2.