added calculation for analytic model