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 |
---|---|
phaseVoltages | Return phase to neutral voltages |
systemVoltage | Return system voltage as function of phase voltages |
Inherited | |
j | Direct current has no complex component |
rotate | Rotate a vector of an angle theta (anti-counterclock) |
thetaRel | Return absolute angle of rotating system as offset to thetaRef |
thetaRef | Return absolute angle of rotating reference system |
phase | Return phase |
phaseCurrents | Return phase currents |
phasePowers | Return phase powers |
phasePowers_vi | Return phase powers |
systemCurrent | Return system current as function of phase currents |
activePower | 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 | Current for connector |
Voltage | Voltage for connector |
ReferenceAngle | Reference angle for connector |
jj | Vectorized version of j |
product | Multiply two vectors |
divide | 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;