Adaptive energy discretization of the semiconductor Boltzmann equation