Physics and deep learning based methods for compositional reservoir simulation