Buildings.Electrical.PhaseSystems.ThreePhase_d
AC system covering only resistive loads with three symmetric phases
Information
This package declares the functions that are used to implement the AC three-phase balanced and purely resistive models.
Extends from DirectCurrent (DC system).
Package Content
Name | Description |
---|---|
![]() |
Return phase to neutral voltages |
![]() |
Return system voltage as function of phase voltages |
Inherited | |
![]() |
Direct current has no complex component |
![]() |
Rotate a vector of an angle theta (anti-counterclock) |
![]() |
Return absolute angle of rotating system as offset to thetaRef |
![]() |
Return absolute angle of rotating reference system |
![]() |
Return phase |
![]() |
Return phase currents |
![]() |
Return phase powers |
![]() |
Return phase powers |
![]() |
Return system current as function of phase currents |
![]() |
Return total power as function of phase powers |
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 for connector |
![]() |
Voltage for connector |
![]() |
Reference angle for connector |
![]() |
Vectorized version of j |
![]() |
Multiply two vectors |
![]() |
Divide two vectors |
Buildings.Electrical.PhaseSystems.ThreePhase_d.phaseVoltages
Return phase to neutral voltages
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Type | Name | Default | Description |
---|---|---|---|
Voltage | V | system voltage [V] | |
Angle | phi | 0 | phase angle [rad] |
Outputs
Type | Name | Description |
---|---|---|
Voltage | v[n] | phase to neutral voltages [V] |
Modelica definition
redeclare function phaseVoltages "Return phase to neutral voltages"
extends Modelica.Icons.Function;
input SI.Voltage V "system voltage";
input SI.Angle phi = 0 "phase angle";
output SI.Voltage v[n] "phase to neutral voltages";
algorithm
v := {V}/sqrt(3);
end phaseVoltages;
Buildings.Electrical.PhaseSystems.ThreePhase_d.systemVoltage
Return system voltage as function of phase voltages
Information
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
Type | Name | Default | Description |
---|---|---|---|
Voltage | v[n] | [V] |
Outputs
Type | Name | Description |
---|---|---|
Voltage | V | [V] |
Modelica definition
redeclare function systemVoltage
"Return system voltage as function of phase voltages"
extends Modelica.Icons.Function;
input SI.Voltage v[n];
output SI.Voltage V;
algorithm
V := sqrt(3)*v[1];
end systemVoltage;