Optimization of dry gas production systems