The goal of the work is development of a computer code for calculation of plasma-driven accumulation of hydrogen isotopes in plasma facing materials and of hydrogen permeation through PFM. The feature of the code if to compare with those used for the same purposes is incorporation of the chemisorption state in the model equations. An initial model of the code is described. The code demonstrates very good agreement with experiments on hydrogen re-emission and permeation. (C) 1998 Elsevier Science S.A. All rights reserved.