modelCCM_DCM2
Average CCM-DCM model with no losses and transformer
Extends from Interfaces.SwitchNetworkInterface (Interface for the averaged switch network models).
Information
Application: two-switch PWM converters, CCM or DCM with (possibly) transformer.
Limitations: ideal switches.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | dmin (from SwitchNetworkInterface) | 1e-3 | Minimum duty cycle |
| Real | dmax (from SwitchNetworkInterface) | 1 | Maximum duty cycle |
| Modelica.SIunits.Inductance | Le | Equivalent DCM inductance | |
| Modelica.SIunits.Frequency | fs | Switching frequency | |
| Real | n | 1 | Transformer turns ratio 1:n (primary:secondary) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p1 (from TwoPort) | Positive pin of the left port (potential p1.v > n1.v for positive voltage drop v1) | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n1 (from TwoPort) | Negative pin of the left port | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | p2 (from TwoPort) | Positive pin of the right port (potential p2.v > n2.v for positive voltage drop v2) | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n2 (from TwoPort) | Negative pin of the right port | |
| Modelica.Blocks.Interfaces.RealInput | d (from SwitchNetworkInterface) | Duty cycle |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | v1 (from TwoPort) | Voltage drop over the left port | |
| Modelica.SIunits.Voltage | v2 (from TwoPort) | Voltage drop over the right port | |
| Modelica.SIunits.Current | i1 (from TwoPort) | Current flowing from pos. to neg. pin of the left port | |
| Modelica.SIunits.Current | i2 (from TwoPort) | Current flowing from pos. to neg. pin of the right port |