Upscaling of compositional flow simulation based on a non-equilibrium formulation