Diode Models and Bipolar Models