modelTwoPort
Common interface for power converters with two ports
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p1 | Positive pin of the left port (potential p1.v > n1.v for positive voltage drop v1) | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n1 | Negative pin of the left port | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | p2 | Positive pin of the right port (potential p2.v > n2.v for positive voltage drop v2) | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n2 | Negative pin of the right port |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | v1 | Voltage drop over the left port | |
| Modelica.SIunits.Voltage | v2 | Voltage drop over the right port | |
| Modelica.SIunits.Current | i1 | Current flowing from pos. to neg. pin of the left port | |
| Modelica.SIunits.Current | i2 | Current flowing from pos. to neg. pin of the right port |