Buildings.Electrical.AC.ThreePhasesBalanced.Loads

Package with load models for three-phase balanced AC systems

Information

This package contains models that represent different types of three phases balanced AC loads.

Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).

Package Content

Name Description
Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Capacitive Capacitive Model of a capacitive and resistive load
Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Impedance Impedance Model of a resistive load
Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Inductive Inductive Model of an inductive and resistive load
Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Resistive Resistive Model of a resistive load
Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples Examples Package with example models

Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Capacitive Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Capacitive

Model of a capacitive and resistive load

Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Capacitive

Information

Model of a capacitive load. See Buildings.Electrical.AC.OnePhase.Loads.Capacitive for more information.

Extends from Buildings.Electrical.AC.OnePhase.Loads.Capacitive (Model of a capacitive and resistive load).

Parameters

TypeNameDefaultDescription
Modeling assumption
BooleanlinearizedfalseIf true, the load model is linearized
LoadmodeBuildings.Electrical.Types.L...Type of load model (e.g., steady state, dynamic, prescribed power consumption, etc.)
Booleanuse_pf_infalseIf true, the power factor is defined by an input
Nominal conditions
PowerP_nominal0Nominal power (negative if consumed, positive if generated). Used if mode <> Buildings.Electrical.Types.Load.VariableZ_P_input [W]
VoltageV_nominal.start480Nominal voltage (V_nominal >= 0) [V]
Realpf0.8Power factor
Initialization
InitModeinitModeBuildings.Electrical.Types.I...Initialization mode for homotopy operator

Connectors

TypeNameDescription
input RealInputyFraction of the nominal power consumed [1]
input RealInputPowPower consumed [W]
input RealInputpf_inPower factor [1]

Modelica definition

model Capacitive "Model of a capacitive and resistive load" extends Buildings.Electrical.AC.OnePhase.Loads.Capacitive( redeclare Interfaces.Terminal_n terminal, V_nominal(start=480)); end Capacitive;

Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Impedance Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Impedance

Model of a resistive load

Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Impedance

Information

Model of a three-phase balanced impedance.

If inductive=true, then the inductance is a parameter, otherwise the capacitance is a parameter.

The boolean parameter star is used to select whether the star (Y) or triangle (D) configuration is used to connect the impedance. By default, the impedance is assumed to be connected with a star configuration.

When the connection type changes from star to triangle, the value of the impedance is recomputed in such a way that the nominal power consumed by the impedance does not change.

Extends from Buildings.Electrical.Interfaces.Impedance (Partial model representing a generalized impedance).

Parameters

TypeNameDefaultDescription
replaceable package PhaseSystemPartialPhaseSystemPhase system
BooleaninductivetrueIf true, the load is inductive, otherwise it is capacitive
ResistanceR1Resistance [Ohm]
InductanceL0Inductance [H]
CapacitanceC0Capacitance [F]
BooleanstartrueType of load connection: true = star, false = triangle
Initialization
InitModeinitModeBuildings.Electrical.Types.I...Initialization mode for homotopy operator
Variable load
Resistance
Booleanuse_R_infalseIf true, R is specified by an input
ResistanceRMin1e-4Minimum value of the resistance [Ohm]
ResistanceRMax1e2Maximum value of the resistance [Ohm]
Capacitance
Booleanuse_C_infalseIf true, C is specified by an input
CapacitanceCMin1e-4Minimum value of the capacitance [F]
CapacitanceCMax1e2Maximum value of the capacitance [F]
Inductance
Booleanuse_L_infalseIf true, L is specified by an input
InductanceLMin1e-4Minimum value of the inductance [H]
InductanceLMax1e2Maximum value of the inductance [H]

Connectors

TypeNameDescription
replaceable package PhaseSystemPhase system
input RealInputyFraction of the nominal power consumed [1]
input RealInputPowPower consumed [W]
input RealInputy_RInput that sepecify variable R
input RealInputy_CInput that sepecify variable C
input RealInputy_LInput that sepecify variable L

Modelica definition

model Impedance "Model of a resistive load" extends Buildings.Electrical.Interfaces.Impedance( redeclare package PhaseSystem = PhaseSystems.OnePhase, redeclare Interfaces.Terminal_n terminal); parameter Boolean star = true "Type of load connection: true = star, false = triangle"; protected Modelica.SIunits.Angle theRef "Absolute angle of rotating reference system"; Modelica.SIunits.AngularVelocity omega "Frequency of the quasi-stationary sine waves"; Modelica.SIunits.Reactance X(start = 1) "Complex component of the impedance"; equation theRef = PhaseSystem.thetaRef(terminal.theta); omega = der(theRef); // Inductance of each line if inductive then X = omega*L_internal; else X = -1/(omega*C_internal); end if; // Ohm's law if star then terminal.v = {{R_internal,-X}*terminal.i, {X,R_internal}*terminal.i}; else terminal.v = {{R_internal/3,-X/3}*terminal.i, {X/3,R_internal/3}*terminal.i}; end if; end Impedance;

Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Inductive Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Inductive

Model of an inductive and resistive load

Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Inductive

Information

Model of an inductive load. See Buildings.Electrical.AC.OnePhase.Loads.Inductive for more information.

Extends from Buildings.Electrical.AC.OnePhase.Loads.Inductive (Model of an inductive and resistive load).

Parameters

TypeNameDefaultDescription
Modeling assumption
BooleanlinearizedfalseIf true, the load model is linearized
LoadmodeBuildings.Electrical.Types.L...Type of load model (e.g., steady state, dynamic, prescribed power consumption, etc.)
Booleanuse_pf_infalseIf true, the power factor is defined by an input
Nominal conditions
PowerP_nominal0Nominal power (negative if consumed, positive if generated). Used if mode <> Buildings.Electrical.Types.Load.VariableZ_P_input [W]
VoltageV_nominal.start480Nominal voltage (V_nominal >= 0) [V]
Realpf0.8Power factor
Initialization
InitModeinitModeBuildings.Electrical.Types.I...Initialization mode for homotopy operator

Connectors

TypeNameDescription
input RealInputyFraction of the nominal power consumed [1]
input RealInputPowPower consumed [W]
input RealInputpf_inPower factor [1]

Modelica definition

model Inductive "Model of an inductive and resistive load" extends Buildings.Electrical.AC.OnePhase.Loads.Inductive( redeclare Interfaces.Terminal_n terminal, V_nominal(start=480)); end Inductive;

Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Resistive Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Resistive

Model of a resistive load

Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Resistive

Information

Model of a resistive load. See Buildings.Electrical.AC.OnePhase.Loads.Resistive for more information.

Extends from Buildings.Electrical.AC.OnePhase.Loads.Resistive (Model of a resistive load).

Parameters

TypeNameDefaultDescription
Modeling assumption
BooleanlinearizedfalseIf true, the load model is linearized
LoadmodeBuildings.Electrical.Types.L...Type of load model (e.g., steady state, dynamic, prescribed power consumption, etc.)
Nominal conditions
PowerP_nominal0Nominal power (negative if consumed, positive if generated). Used if mode <> Buildings.Electrical.Types.Load.VariableZ_P_input [W]
VoltageV_nominal.start480Nominal voltage (V_nominal >= 0) [V]
Initialization
InitModeinitModeBuildings.Electrical.Types.I...Initialization mode for homotopy operator

Connectors

TypeNameDescription
input RealInputyFraction of the nominal power consumed [1]
input RealInputPowPower consumed [W]

Modelica definition

model Resistive "Model of a resistive load" extends Buildings.Electrical.AC.OnePhase.Loads.Resistive( redeclare Interfaces.Terminal_n terminal, V_nominal(start=480)); end Resistive;