Determination of the density of defect states by thermally stimulated conductivity studied from numerical simulations