Gas Equilibrium calculator