Junction diode ideal