Single pulse rectifier
The circuit is represented by a system model implementing the equations:
The diode is modeled as a piecewise linear resistor whose resistance
is small when the diode is on (i>=0), and large when off (i<0).