Components Source vsin = sin wave vdc otheres d = diode (select diff model) r = resistor gnd_earth = ground