Influence of charging conditions on simulated temperature-programmed desorption for hydrogen in metals