AC system in dqo representation
This package declares the functions that are used to implement the AC three-phase balanced models using the DQ0 representation.
Extends from PartialPhaseSystem (Base package of all phase systems).
Name | Description |
---|---|
j | Rotation(pi/2) of vector around {0,0,1} and projection on North plane |
rotate | Rotate a vector of an angle theta (anti-counterclock) |
jj | Vectorized version of j |
thetaRel | Return absolute angle of rotating system as offset to thetaRef |
thetaRef | Return absolute angle of rotating reference system |
phase | Return phase |
phaseVoltages | Return phase to neutral voltages |
phaseCurrents | Return phase currents |
phasePowers | Return phase powers |
phasePowers_vi | Return phase powers |
systemVoltage | Return system voltage as function of phase voltages |
systemCurrent | Return system current as function of phase currents |
activePower | Return total power as function of phase powers |
Inherited | |
phaseSystemName="UnspecifiedPhaseSystem" | Name of the phase system represented by the package |
n | Number of independent voltage and current components |
m | Number of reference angles |
Current | Current for connector |
Voltage | Voltage for connector |
ReferenceAngle | Reference angle for connector |
product | Multiply two vectors |
divide | Divide two vectors |
Rotation(pi/2) of vector around {0,0,1} and projection on North plane
Extends from (Return vector rotated by 90 degrees).
Type | Name | Default | Description |
---|---|---|---|
Real | x[n] |
Type | Name | Description |
---|---|---|
Real | y[n] |
Rotate a vector of an angle theta (anti-counterclock)
Extends from (Rotate a vector of an angle theta (anti-counterclock)).
Type | Name | Default | Description |
---|---|---|---|
Real | x[n] | ||
Angle | theta | [rad] |
Type | Name | Description |
---|---|---|
Real | y[n] |
Vectorized version of j
Extends from Modelica.Icons.Function (Icon for functions).
Type | Name | Default | Description |
---|---|---|---|
Real | xx[:, :] | array of voltage or current vectors |
Type | Name | Description |
---|---|---|
Real | yy[size(xx, 1), size(xx, 2)] | array of rotated vectors |
Return absolute angle of rotating system as offset to thetaRef
Extends from (Return absolute angle of rotating system as offset to thetaRef).
Type | Name | Default | Description |
---|---|---|---|
Angle | theta[m] | [rad] |
Type | Name | Description |
---|---|---|
Angle | thetaRel | [rad] |
Return absolute angle of rotating reference system
Extends from (Return absolute angle of rotating reference system).
Type | Name | Default | Description |
---|---|---|---|
Angle | theta[m] | [rad] |
Type | Name | Description |
---|---|---|
Angle | thetaRef | [rad] |
Return phase
Type | Name | Default | Description |
---|---|---|---|
Real | x[n] |
Type | Name | Description |
---|---|---|
Angle | phase | [rad] |
Return phase to neutral voltages
Extends from (Return phase to neutral voltages).
Type | Name | Default | Description |
---|---|---|---|
Voltage | V | system voltage [V] | |
Angle | phi | 0 | phase angle [rad] |
Type | Name | Description |
---|---|---|
Voltage | v[n] | phase to neutral voltages [V] |
Return phase currents
Extends from (Return phase currents).
Type | Name | Default | Description |
---|---|---|---|
Current | I | system current [A] | |
Angle | phi | 0 | phase angle [rad] |
Type | Name | Description |
---|---|---|
Current | i[n] | phase currents [A] |
Return phase powers
Extends from (Return phase powers).
Type | Name | Default | Description |
---|---|---|---|
ActivePower | P | active system power [W] | |
Angle | phi | 0 | phase angle [rad] |
Type | Name | Description |
---|---|---|
Power | p[n] | phase powers [W] |
Return phase powers
Extends from (Return phase powers).
Type | Name | Default | Description |
---|---|---|---|
Voltage | v[n] | phase voltages [V] | |
Current | i[n] | phase currents [A] |
Type | Name | Description |
---|---|---|
Power | p[n] | phase powers [W] |
Return system voltage as function of phase voltages
Extends from (Return system voltage as function of phase voltages).
Type | Name | Default | Description |
---|---|---|---|
Voltage | v[n] | [V] |
Type | Name | Description |
---|---|---|
Voltage | V | [V] |
Return system current as function of phase currents
Extends from (Return system current as function of phase currents).
Type | Name | Default | Description |
---|---|---|---|
Current | i[n] | [A] |
Type | Name | Description |
---|---|---|
Current | I | [A] |
Return total power as function of phase powers
Extends from (Return total power as function of phase powers).
Type | Name | Default | Description |
---|---|---|---|
Voltage | v[n] | phase voltages [V] | |
Current | i[n] | phase currents [A] |
Type | Name | Description |
---|---|---|
ActivePower | P | active system power [W] |