SinglePhase2Level
Single-phase DC to AC converter
![]()
Library
Modelica/Electrical/PowerConverters/DCAC
Description
This is a single-phase two level inverter. The boolean signals fire_p and fire_n shall not be true at the same time to avoid DC bus short circuits. The inverter consists of two transistors and two anti parallel free wheeling diodes.
An example of a single-phase inverter with PWM voltage control is included inExamples.DCAC.SinglePhaseTwoLevel.
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_RonTransistor | RonTransistor | Transistor closed resistance | Scalar | |
mo_GoffTransistor | GoffTransistor | Transistor opened conductance | Scalar | |
mo_VkneeTransistor | VkneeTransistor | Transistor threshold voltage | Scalar | |
mo_RonDiode | RonDiode | Diode closed resistance | Scalar | |
mo_GoffDiode | GoffDiode | Diode opened conductance | Scalar | |
mo_VkneeDiode | VkneeDiode | Diode threshold voltage | Scalar | |
mo_useHeatPort | useHeatPort | = true, if heatPort is enabled | Number | 0 |
mo_T | T | Fixed device temperature if useHeatPort = false | Scalar | |
mo_m | m | Number of phases | Scalar | |
mo_T_heatPort | T_heatPort | T_heatPort | Structure | |
mo_T_heatPort/fixed | fixed | Cell of scalars | true | |
mo_T_heatPort/start | start | Cell of scalars |

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_useConstantEnable | useConstantEnable | Disable boolean input and use constantEnable, if true | Number | 0 |
mo_constantEnable | constantEnable | Constant enabling of firing signals | Scalar | true |

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'vDC' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
dc_p | implicit | Positive DC input | input | 1 |
dc_n | implicit | Negative DC input | output | 1 |
ac | implicit | AC output | input | 2 |
fire_p | implicit | Firing signal of positive potential transistor | input | 3 |
fire_n | implicit | Firing signal of negative potential transistor | input | 4 |
Port 6 | implicit | Conditional heat port | input | mo_useHeatPort |
Port 7 | implicit | Enables fire and notFire | input | 1-mo_useConstantEnable |