Partial pressures and calculations