Step up/down chopper
This is a conventional step up/down chopper (buck-boost converter) model. It consists of a transistor, and inductance and free wheeling diode.
Class made after the examples in Modelica.Electrical.PowerConverters.DCDC.
Note that a plain buck-boost would invert voltage, and not be consistent with the output pin interface; therefore there is an internal inversion.
if not useHeatPort then LossPower = diode.LossPower + transistor.LossPower; end if;
| Quantity | Description |
|---|---|
transistor | Switching transistor |
diode | Free wheeling diode |
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
useConstantEnable | Boolean | 1 | true | Disable boolean input and use constantEnable, if true (inherited) |
constantEnable | Boolean | 1 | true | Constant enabling of firing signals (inherited) |
m | Integer | 1 | 3 | Number of phases (inherited) |
useHeatPort | Boolean | 1 | false | = true, if heatPort is enabled (inherited) |
T | Modelica.Units.SI.Temperature | K | 293.15 | Fixed device temperature if useHeatPort = false (inherited) |
RonTransistor | Modelica.Units.SI.Resistance | Ohm | 1e-05 | Transistor closed resistance |
GoffTransistor | Modelica.Units.SI.Conductance | S | 1e-05 | Transistor opened conductance |
L | Modelica.Units.SI.Inductance | H | 25e-3 | Charging inductance |
VkneeTransistor | Modelica.Units.SI.Voltage | V | 0 | Transistor threshold voltage |
RonDiode | Modelica.Units.SI.Resistance | Ohm | 1e-05 | Closed diode resistance |
GoffDiode | Modelica.Units.SI.Conductance | S | 1e-05 | Opened diode conductance |
VkneeDiode | Modelica.Units.SI.Voltage | V | 0 | Diode forward threshold voltage |
| Name | Kind | Type | Unit | Description |
|---|---|---|---|---|
dc_p1 | Connection | Modelica.Electrical.Analog.Interfaces.PositivePin | V; A | Positive DC |
dc_n1 | Connection | Modelica.Electrical.Analog.Interfaces.NegativePin | V; A | Negative DC |
dc_p2 | Connection | Modelica.Electrical.Analog.Interfaces.PositivePin | V; A | Positive DC |
dc_n2 | Connection | Modelica.Electrical.Analog.Interfaces.NegativePin | V; A | Negative DC |
enable | Input signal | Modelica.Blocks.Interfaces.BooleanInput | - | Enables fire and notFire |
fire_p | Input signal | Modelica.Blocks.Interfaces.BooleanInput | - | Firing signal of positive potential transistor |
heatPort | Connection | Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | K; W | Conditional heat port |