Comparison of the tanks-in-series and the dispersion models for non ideal flow of fluid