Diode simulations with KADI2D