Simple diode fitting including series and shunt resistance