Description: "Package with load models for three-phase balanced AC systems"

- Home > Modelica

## 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
--- | ---
Capacitive | Model of a capacitive and resistive load
Impedance | Model of a resistive load
Inductive | Model of an inductive and resistive load
Resistive | Model of a resistive load
Examples | Package with example models

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

Model of a capacitive and resistive load

### 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

Type | Name | Default | Description
--- | --- | --- | ---
Modelling assumption
Boolean | linearized | false | If true, the load model is linearized
Load | mode | Buildings.Electrical.Types.L... | Type of load model (e.g., steady state, dynamic, prescribed power consumption, etc.)
Boolean | use_pf_in | false | If true, the power factor is defined by an input
Nominal conditions
Power | P_nominal |  | Nominal power (negative if consumed, positive if generated) [W]
Voltage | V_nominal.start | 480 | Nominal voltage (V_nominal >= 0) [V]
Real | pf | 0.8 | Power factor
Initialization
InitMode | initMode | Buildings.Electrical.Types.I... | Initialization mode for homotopy operator

### Connectors

Type | Name | Description
--- | --- | ---
input RealInput | y | Fraction of the nominal power consumed [1]
input RealInput | Pow | Power consumed [W]
input RealInput | pf_in | Power 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

Model of a resistive load

### 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

Type | Name | Default | Description
--- | --- | --- | ---
replaceable package PhaseSystem | PartialPhaseSystem | Phase system
Boolean | inductive | true | If true, the load is inductive, otherwise it is capacitive
Resistance | R | 1 | Resistance [Ohm]
Inductance | L | 0 | Inductance [H]
Capacitance | C | 0 | Capacitance [F]
Boolean | star | true | Type of load connection: true = star, false = triangle
Initialization
InitMode | initMode | Buildings.Electrical.Types.I... | Initialization mode for homotopy operator
Variable load
Resistance
Boolean | use_R_in | false | If true, R is specified by an input
Resistance | RMin | 1e-4 | Minimum value of the resistance [Ohm]
Resistance | RMax | 1e2 | Maximum value of the resistance [Ohm]
Capacitance
Boolean | use_C_in | false | If true, C is specified by an input
Capacitance | CMin | 1e-4 | Minimum value of the capacitance [F]
Capacitance | CMax | 1e2 | Maximum value of the capacitance [F]
Inductance
Boolean | use_L_in | false | If true, L is specified by an input
Inductance | LMin | 1e-4 | Minimum value of the inductance [H]
Inductance | LMax | 1e2 | Maximum value of the inductance [H]

### Connectors

Type | Name | Description
--- | --- | ---
replaceable package PhaseSystem | Phase system
input RealInput | y | Fraction of the nominal power consumed [1]
input RealInput | Pow | Power consumed [W]
input RealInput | y_R | Input that sepecify variable R
input RealInput | y_C | Input that sepecify variable C
input RealInput | y_L | Input 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.AngularVelocity omega "Frequency of the quasi-stationary sine waves"; Modelica.SIunits.Reactance X(start = 1) "Complex component of the impedance"; equation omega = der(PhaseSystem.thetaRef(terminal.theta)); // 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

Model of an inductive and resistive load

### 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

Type | Name | Default | Description
--- | --- | --- | ---
Modelling assumption
Boolean | linearized | false | If true, the load model is linearized
Load | mode | Buildings.Electrical.Types.L... | Type of load model (e.g., steady state, dynamic, prescribed power consumption, etc.)
Boolean | use_pf_in | false | If true, the power factor is defined by an input
Nominal conditions
Power | P_nominal |  | Nominal power (negative if consumed, positive if generated) [W]
Voltage | V_nominal.start | 480 | Nominal voltage (V_nominal >= 0) [V]
Real | pf | 0.8 | Power factor
Initialization
InitMode | initMode | Buildings.Electrical.Types.I... | Initialization mode for homotopy operator

### Connectors

Type | Name | Description
--- | --- | ---
input RealInput | y | Fraction of the nominal power consumed [1]
input RealInput | Pow | Power consumed [W]
input RealInput | pf_in | Power 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

Model of a resistive load

### 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

Type | Name | Default | Description
--- | --- | --- | ---
Modelling assumption
Boolean | linearized | false | If true, the load model is linearized
Load | mode | Buildings.Electrical.Types.L... | Type of load model (e.g., steady state, dynamic, prescribed power consumption, etc.)
Nominal conditions
Power | P_nominal |  | Nominal power (negative if consumed, positive if generated) [W]
Voltage | V_nominal.start | 480 | Nominal voltage (V_nominal >= 0) [V]
Initialization
InitMode | initMode | Buildings.Electrical.Types.I... | Initialization mode for homotopy operator

### Connectors

Type | Name | Description
--- | --- | ---
input RealInput | y | Fraction of the nominal power consumed [1]
input RealInput | Pow | Power 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;