Numerical modeling of the energy spectrum of the cosmic ray Forbush Decrease