Impact of thermodynamic modeling in helium recovery and upgrading processes