This example demonstrates the switching on of a resistive load operated by a step down chopper.
DC output voltage is equal to dutyCycle times the input voltage.
Plot current currentSensor.i, averaged current meanCurrent.y, total voltage voltageSensor.v and voltage meanVoltage.v.