Text this: Membrane process optimization for carbon capture