Mathematical Simulation of the Effects of Ionizing Radiation on Semiconductors