Formulation of Macroscopic Transport Models for Numerical Simulation of Semiconductor Devices