modelSW2
Switched model implemented with switch x 2
Extends from Interfaces.SwitchNetworkInterface (Interface for the averaged switch network models).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | dmin (from SwitchNetworkInterface) | 1e-3 | Minimum duty cycle |
| Real | dmax (from SwitchNetworkInterface) | 1 | Maximum duty cycle |
| Real | dMax | 1 | Maximum duty cycle |
| Real | dMin | 0 | Minimum duty cycle |
| Modelica.SIunits.Frequency | fs | Switching frequency | |
| Modelica.SIunits.Time | startTime | 0 | Start time |
| Modelica.SIunits.Resistance | RD | 1.E-5 | Forward state-on differential resistance (closed resistance) |
| Modelica.SIunits.Voltage | VD | 0 | Forward threshold voltage |
| Modelica.SIunits.Resistance | Ron | 1.E-5 | Closed switch resistance |
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 | |
| Modelica.Electrical.Analog.Ideal.IdealClosingSwitch | sw1 | ||
| Control.SwitchingPWM | signalPWM | ||
| Modelica.Electrical.Analog.Ideal.IdealClosingSwitch | sw2 | ||
| Control.DeadTime | deadTime |