an algebraic thermal calculation method and its