This paper proposes a new model for the analysis of liability, builds the relationship between the level of liabilities and macroeconomic variables such as GDP, interest rates, exchange rates. We study the long-time behavior of Hamiltonian dynamic system which models the evolution of the liability. We obtain some examples of Hamiltonians can be adapted to depict the debt sustainability, which satisfy the no-Ponzi game condition.