A model of a typical diode with the knee voltage and conducting mode differential resistance. The diode can be used as a passive single quadrant switch, conducting positive on-state currents and blocking negative off-state voltages. Note: the model does not include reverse recovery losses yet, this will be implemented in the future.