This example shows the operation of a full wave rectifier using ideal diodes.
G. Sybille (Hydro-Quebec)
A convenient way of disabling snubbers of all switches in the model is to select the Disable snubbers in switching devices option in powergui Preferences tab. Alternatively, you can individually disable the snubbers of selected switches by specifying Rs = inf in their block menus.
In order to simulate diodes as ideal switches, the Disable Ron resistances in switching devices and Disable forward voltages in switching devices options in the powergui Preferences tab are also selected.
The elimination of the snubbers reduces the circuit stiffness so that you can use a non-stiff solver such as ode45. This solver produces correct results and good simulation speed.