modelDoubleOutputFlybackConverter
A double output flyback converter, built of nonideal (lossy) elements.
Losses of a transistor, diode, winding resistance,core losses and
magnetizing current are modeled. Optionally any lossy element can be
set to 0. All diodes are identical.
The duty cycle is set directly (as a dimensionless real number
between 0 and 1) and may vary during the simulation run.
Parameters
| Type | Name | Default | Description |
| Real | np | 1 | Primary side relative winding turns |
| Real | ns1 | 1 | First secondary side relative winding turns |
| Real | ns2 | 1 | Second secondary side relative winding turns |
| SI.Resistance | Rton | Defaults.Rton | Transistor's on-state resistance [Ohm] |
| SI.Voltage | Vdknee | Defaults.Vknee | Diode's knee voltage [V] |
| SI.Resistance | Rd | Defaults.Rd | Diode's conduction mode resistance [Ohm] |
| SI.Capacitance | C1 | Defaults.C | Capacitor's capacitance [F] |
| SI.Capacitance | C2 | Defaults.C | Capacitor's capacitance [F] |
| SI.Inductance | Lm | Defaults.L | Magnetizing inductance w.r.t. primary side [H] |
| SI.Resistance | Rlp | Defaults.Rl | Resistance of the primary winding [Ohm] |
| SI.Resistance | Rls1 | Defaults.Rl | Resistance of the secondary winding |
| SI.Resistance | Rls2 | Defaults.Rl | Resistance of the secondary winding |
| SI.Resistance | Rcore | 1.e+15 | Resistance modeling core losses [Ohm] |
| SI.Voltage | Vm | Defaults.Vm | PWM's sawtooth voltage amplitude [V] |
| SI.Voltage | Von | Defaults.Von | PWM's high level voltage [V] |
| SI.Frequency | fs | Defaults.fs | Switching frequency [Hz] |