An extensive analysis is performed for the use of a model recently introduced for sorption induced volume dilation in glassy polymers, which can be combined with the nonequilibrium lattice fluid model (NELF) for the description of gas and vapor solubility in glassy polymers in a wide temperature range below the glass transition, from dry to fully plasticized conditions. The procedure extends the capability of previous versions of NELF model, as it refers to correlation and prediction of solubility of vapors and swelling agents. To this aim, the model counts on an additional out-of-equilibrium parameter for the polymeric species that interprets its pseudoequilibrium compressibility, and it can be retrieved from the analysis of pure component...