modelTwoPort
Component with two electrical ports, including current
Information
TwoPort is a partial model that consists of two ports. Like OnePort each port has two pins. It is assumed that the current flowing into the positive pin is identical to the current flowing out of pin n. This currents of each port are provided explicitly as currents i1 and i2, the voltages respectively as v1 and v2.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ADMSL.MSL.Electrical.Analog.Interfaces.PositivePin | p1 | Positive pin of the left port (potential p1.v > n1.v for positive voltage drop v1) | |
| MSL.Electrical.Analog.Interfaces.NegativePin | n1 | Negative pin of the left port | |
| MSL.Electrical.Analog.Interfaces.PositivePin | p2 | Positive pin of the right port (potential p2.v > n2.v for positive voltage drop v2) | |
| MSL.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 |
Revisions
- 1998
by Christoph Clauss
initially implemented