  The process of a non-equilibrium chemical composition formation in the crust
of a new born neutron star is considered, during cooling due to neutrino energy
losses. A model is constructed for explaining accumulation of a large quantity
of nuclear energy, which can maintain the X-ray luminosity of such compact
objects for a long period of time. We studied numerically the dependence of the
final chemical composition on various parameters of the model.
