LBL logo

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

Buildings.Electrical.PhaseSystems.ThreePhase_d.phaseVoltages Buildings.Electrical.PhaseSystems.ThreePhase_d.phaseVoltages

Return phase to neutral voltages

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
VoltageV system voltage [V]
Anglephi0phase angle [rad]

Outputs

TypeNameDescription
Voltagev[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 Buildings.Electrical.PhaseSystems.ThreePhase_d.systemVoltage

Return system voltage as function of phase voltages

Information

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
Voltagev[n] [V]

Outputs

TypeNameDescription
VoltageV[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;

http://simulationresearch.lbl.gov/modelica