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

- Home > Modelica

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads

Package with load models for three-phase unbalanced AC systems

### Information

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

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

### Package Content

Name | Description
--- | ---
Capacitive | Model of a three-phase unbalanced capacitive load without neutral cable
Capacitive_N | Model of a three-phase unbalanced capacitive load with neutral cable
Impedance | Model of a three-phase unbalanced impedance without neutral cable
Impedance_N | Model of a three-phase unbalanced impedance with neutral cable
Inductive | Model of a three-phase unbalanced inductive load without neutral cable
Inductive_N | Model of a three-phase unbalanced inductive load with neutral cable
Resistive | Model of a three-phase unbalanced resistive load without neutral cable
Resistive_N | Model of a three-phase unbalanced resistive load with neutral cable
Examples | Package with example models
BaseClasses | Package with base class models

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Capacitive

Model of a three-phase unbalanced capacitive load without neutral cable

### Information

This model represents a three-phase unbalanced capacitive load. The model extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.BaseClasses.LoadCtrl and uses the load model from the package Buildings.Electrical.AC.OnePhase.Loads. The model computes the voltages, currents and powers on each phase.

For more information, see Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.BaseClasses.LoadCtrl and Buildings.Electrical.AC.OnePhase.Loads.Capacitive.

Extends from BaseClasses.LoadCtrl (Partial model of a three-phase load with voltage controller without neutral cable).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
Boolean | plugPhase1 | true | If true, phase 1 is connected
Boolean | plugPhase2 | true | If true, phase 2 is connected
Boolean | plugPhase3 | true | If true, phase 3 is connected
LoadConnection | loadConn | Buildings.Electrical.Types.L... | Type of load connection (Yg or D)
Modelling assumption
Boolean | linearized | false | If =true introduce a linearization in the load
Load | mode | Buildings.Electrical.Types.L... | Parameters that specifies the mode of the load (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 |  | Nominal voltage (V_nominal >= 0) [V]
Real | pf | 0.8 | Power factor
Voltage CTRL
Boolean | voltageCtrl | false | This flag enables the voltage control
Real | vThresh | 0.1 | Threshold that activates voltage ctrl (ratio of nominal voltage)
Time | tDelay | 300 | Time to wait before plugging the load again after disconnection [s]
initialization
InitMode | initMode | Buildings.Electrical.Types.I... | Initialization mode for homotopy operator

### Connectors

Type | Name | Description
--- | --- | ---
input RealInput | y1 | Fraction of the nominal power consumed
input RealInput | Pow1 | Power consumed [W]
input RealInput | y2 | Fraction of the nominal power consumed
input RealInput | Pow2 | Power consumed [W]
input RealInput | y3 | Fraction of the nominal power consumed
input RealInput | Pow3 | Power consumed [W]
Terminal_n | terminal | Connector for three-phase unbalanced systems without neutral cable
input RealInput | pf_in_1 | Power factor of load on phase 1 [1]
input RealInput | pf_in_2 | Power factor of load on phase 2 [1]
input RealInput | pf_in_3 | Power factor of load on phase 3 [1]

### Modelica definition

model Capacitive "Model of a three-phase unbalanced capacitive load without neutral cable" extends BaseClasses.LoadCtrl( redeclare Buildings.Electrical.AC.OnePhase.Loads.Capacitive load1(pf=pf, use_pf_in=use_pf_in), redeclare Buildings.Electrical.AC.OnePhase.Loads.Capacitive load2(pf=pf, use_pf_in=use_pf_in), redeclare Buildings.Electrical.AC.OnePhase.Loads.Capacitive load3(pf=pf, use_pf_in=use_pf_in)); parameter Boolean use_pf_in = false "If true, the power factor is defined by an input"; parameter Real pf(min=0, max=1) = 0.8 "Power factor"; Modelica.Blocks.Interfaces.RealInput pf_in_1( min=0, max=1, unit="1") if (use_pf_in and plugPhase1) "Power factor of load on phase 1"; Modelica.Blocks.Interfaces.RealInput pf_in_2( min=0, max=1, unit="1") if (use_pf_in and plugPhase2) "Power factor of load on phase 2"; Modelica.Blocks.Interfaces.RealInput pf_in_3( min=0, max=1, unit="1") if (use_pf_in and plugPhase3) "Power factor of load on phase 3"; equation connect(pf_in_1, load1.pf_in); connect(pf_in_2, load2.pf_in); connect(pf_in_3, load3.pf_in); end Capacitive;

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Capacitive_N

Model of a three-phase unbalanced capacitive load with neutral cable

### Information

This model represents a three-phase unbalanced capacitive load. The model extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.BaseClasses.LoadCtrl_N and uses the load model from the package Buildings.Electrical.AC.OnePhase.Loads. The model computes the voltages, currents and powers on each phase.

This model has a connector with four cables and it represents the neutral cable. The current in the neutral cable is computed as the algebraic sum of the currents of the loads.

For more information, see Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.BaseClasses.LoadCtrl_N and Buildings.Electrical.AC.OnePhase.Loads.Capacitive.

Extends from BaseClasses.LoadCtrl_N (Partial model of a three-phase unbalanced load with voltage controller and neutral cable).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
Boolean | plugPhase1 | true | If true, phase 1 is connected
Boolean | plugPhase2 | true | If true, phase 2 is connected
Boolean | plugPhase3 | true | If true, phase 3 is connected
LoadConnection | loadConn | Buildings.Electrical.Types.L... | Type of load connection (Yg or D)
Modelling assumption
Boolean | linearized | false | If =true introduce a linearization in the load
Load | mode | Buildings.Electrical.Types.L... | Parameters that specifies the mode of the load (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 |  | Nominal voltage (V_nominal >= 0) [V]
Real | pf | 0.8 | Power factor
Voltage CTRL
Boolean | voltageCtrl | false | This flag enables the voltage control
Real | vThresh | 0.1 | Threshold that activates voltage ctrl (ratio of nominal voltage)
Time | tDelay | 300 | Time to wait before plugging the load again after disconnection [s]
initialization
InitMode | initMode | Buildings.Electrical.Types.I... | Initialization mode for homotopy operator

### Connectors

Type | Name | Description
--- | --- | ---
input RealInput | y1 | Fraction of the nominal power consumed
input RealInput | Pow1 | Power consumed [W]
input RealInput | y2 | Fraction of the nominal power consumed
input RealInput | Pow2 | Power consumed [W]
input RealInput | y3 | Fraction of the nominal power consumed
input RealInput | Pow3 | Power consumed [W]
Terminal4_n | terminal | Connector for three-phase unbalanced systems with neutral cable
input RealInput | pf_in_1 | Power factor of load on phase 1 [1]
input RealInput | pf_in_2 | Power factor of load on phase 2 [1]
input RealInput | pf_in_3 | Power factor of load on phase 3 [1]

### Modelica definition

model Capacitive_N "Model of a three-phase unbalanced capacitive load with neutral cable" extends BaseClasses.LoadCtrl_N( redeclare Buildings.Electrical.AC.OnePhase.Loads.Capacitive load1(pf=pf, use_pf_in=use_pf_in), redeclare Buildings.Electrical.AC.OnePhase.Loads.Capacitive load2(pf=pf, use_pf_in=use_pf_in), redeclare Buildings.Electrical.AC.OnePhase.Loads.Capacitive load3(pf=pf, use_pf_in=use_pf_in)); parameter Boolean use_pf_in = false "If true, the power factor is defined by an input"; parameter Real pf(min=0, max=1) = 0.8 "Power factor"; Modelica.Blocks.Interfaces.RealInput pf_in_1( min=0, max=1, unit="1") if (use_pf_in and plugPhase1) "Power factor of load on phase 1"; Modelica.Blocks.Interfaces.RealInput pf_in_2( min=0, max=1, unit="1") if (use_pf_in and plugPhase2) "Power factor of load on phase 2"; Modelica.Blocks.Interfaces.RealInput pf_in_3( min=0, max=1, unit="1") if (use_pf_in and plugPhase3) "Power factor of load on phase 3"; equation connect(pf_in_1, load1.pf_in); connect(pf_in_2, load2.pf_in); connect(pf_in_3, load3.pf_in); end Capacitive_N;

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Impedance

Model of a three-phase unbalanced impedance without neutral cable

### Information

This model represents a three-phase unbalanced impedance without neutral cable. The model extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.BaseClasses.Impedance and uses the load model from the package Buildings.Electrical.AC.OnePhase.Impedance. The model computes the voltages, currents and powers on each phase.

Extends from BaseClasses.Impedance (Partial model of a three-phase unbalanced impedance without neutral cable).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
Boolean | plugPhase1 | true | If true, phase 1 is connected
Boolean | plugPhase2 | true | If true, phase 2 is connected
Boolean | plugPhase3 | true | If true, phase 3 is connected
LoadConnection | loadConn | Buildings.Electrical.Types.L... | Type of load connection (Yg or D)
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]
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
--- | --- | ---
input RealInput | y_R | Input that sepecifies variable R
input RealInput | y_C | Input that sepecifies variable C
input RealInput | y_L | Input that sepecifies variable L
Terminal_n | terminal | Electrical connector

### Modelica definition

model Impedance "Model of a three-phase unbalanced impedance without neutral cable" extends BaseClasses.Impedance( redeclare Buildings.Electrical.AC.OnePhase.Loads.Impedance load1, redeclare Buildings.Electrical.AC.OnePhase.Loads.Impedance load2, redeclare Buildings.Electrical.AC.OnePhase.Loads.Impedance load3); equation end Impedance;

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Impedance_N

Model of a three-phase unbalanced impedance with neutral cable

### Information

This model represents a three-phase unbalanced impedance with neutral cable. The current in the neutral cable is computed as the algebraic sum of the currents of the loads. The model extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.BaseClasses.Impedance_N and uses the load model from the package Buildings.Electrical.AC.OnePhase.Impedance. The model computes the voltages, currents and powers on each phase.

Extends from BaseClasses.Impedance_N (Partial model of a three-phase unbalanced impedance with neutral cable).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
Boolean | plugPhase1 | true | If true, phase 1 is connected
Boolean | plugPhase2 | true | If true, phase 2 is connected
Boolean | plugPhase3 | true | If true, phase 3 is connected
LoadConnection | loadConn | Buildings.Electrical.Types.L... | Type of load connection (Yg or D)
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]
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
--- | --- | ---
input RealInput | y_R | Input that sepecifies variable R
input RealInput | y_C | Input that sepecifies variable C
input RealInput | y_L | Input that sepecifies variable L
Terminal4_n | terminal | Electrical connector

### Modelica definition

model Impedance_N "Model of a three-phase unbalanced impedance with neutral cable" extends BaseClasses.Impedance_N( redeclare Buildings.Electrical.AC.OnePhase.Loads.Impedance load1, redeclare Buildings.Electrical.AC.OnePhase.Loads.Impedance load2, redeclare Buildings.Electrical.AC.OnePhase.Loads.Impedance load3); equation end Impedance_N;

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Inductive

Model of a three-phase unbalanced inductive load without neutral cable

### Information

This model represents a three-phase unbalanced inductive load. The model extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.BaseClasses.LoadCtrl and uses the load model from the package Buildings.Electrical.AC.OnePhase.Loads. The model computes the voltages, currents and powers on each phase.

For more information, see Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.BaseClasses.LoadCtrl and Buildings.Electrical.AC.OnePhase.Loads.Inductive.

Extends from BaseClasses.LoadCtrl (Partial model of a three-phase load with voltage controller without neutral cable).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
Boolean | plugPhase1 | true | If true, phase 1 is connected
Boolean | plugPhase2 | true | If true, phase 2 is connected
Boolean | plugPhase3 | true | If true, phase 3 is connected
LoadConnection | loadConn | Buildings.Electrical.Types.L... | Type of load connection (Yg or D)
Modelling assumption
Boolean | linearized | false | If =true introduce a linearization in the load
Load | mode | Buildings.Electrical.Types.L... | Parameters that specifies the mode of the load (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 |  | Nominal voltage (V_nominal >= 0) [V]
Real | pf | 0.8 | Power factor
Voltage CTRL
Boolean | voltageCtrl | false | This flag enables the voltage control
Real | vThresh | 0.1 | Threshold that activates voltage ctrl (ratio of nominal voltage)
Time | tDelay | 300 | Time to wait before plugging the load again after disconnection [s]
initialization
InitMode | initMode | Buildings.Electrical.Types.I... | Initialization mode for homotopy operator

### Connectors

Type | Name | Description
--- | --- | ---
input RealInput | y1 | Fraction of the nominal power consumed
input RealInput | Pow1 | Power consumed [W]
input RealInput | y2 | Fraction of the nominal power consumed
input RealInput | Pow2 | Power consumed [W]
input RealInput | y3 | Fraction of the nominal power consumed
input RealInput | Pow3 | Power consumed [W]
Terminal_n | terminal | Connector for three-phase unbalanced systems without neutral cable
input RealInput | pf_in_1 | Power factor of load on phase 1 [1]
input RealInput | pf_in_2 | Power factor of load on phase 2 [1]
input RealInput | pf_in_3 | Power factor of load on phase 3 [1]

### Modelica definition

model Inductive "Model of a three-phase unbalanced inductive load without neutral cable" extends BaseClasses.LoadCtrl( redeclare Buildings.Electrical.AC.OnePhase.Loads.Inductive load1( pf=pf, use_pf_in=use_pf_in), redeclare Buildings.Electrical.AC.OnePhase.Loads.Inductive load2( pf=pf, use_pf_in=use_pf_in), redeclare Buildings.Electrical.AC.OnePhase.Loads.Inductive load3( pf=pf, use_pf_in=use_pf_in)); parameter Boolean use_pf_in = false "If true, the power factor is defined by an input"; parameter Real pf(min=0, max=1) = 0.8 "Power factor"; Modelica.Blocks.Interfaces.RealInput pf_in_1( min=0, max=1, unit="1") if (use_pf_in and plugPhase1) "Power factor of load on phase 1"; Modelica.Blocks.Interfaces.RealInput pf_in_2( min=0, max=1, unit="1") if (use_pf_in and plugPhase2) "Power factor of load on phase 2"; Modelica.Blocks.Interfaces.RealInput pf_in_3( min=0, max=1, unit="1") if (use_pf_in and plugPhase3) "Power factor of load on phase 3"; equation connect(pf_in_1, load1.pf_in); connect(pf_in_2, load2.pf_in); connect(pf_in_3, load3.pf_in); end Inductive;

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Inductive_N

Model of a three-phase unbalanced inductive load with neutral cable

### Information

This model represents a three-phase unbalanced inductive load. The model extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.BaseClasses.LoadCtrl_N and uses the load model from the package Buildings.Electrical.AC.OnePhase.Loads. The model computes the voltages, currents and powers on each phase.

This model has a connector with four cables and it represents the neutral cable. The current in the neutral cable is computed as the algebraic sum of the currents of the loads.

For more information, see Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.BaseClasses.LoadCtrl_N and Buildings.Electrical.AC.OnePhase.Loads.Inductive.

Extends from BaseClasses.LoadCtrl_N (Partial model of a three-phase unbalanced load with voltage controller and neutral cable).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
Boolean | plugPhase1 | true | If true, phase 1 is connected
Boolean | plugPhase2 | true | If true, phase 2 is connected
Boolean | plugPhase3 | true | If true, phase 3 is connected
LoadConnection | loadConn | Buildings.Electrical.Types.L... | Type of load connection (Yg or D)
Modelling assumption
Boolean | linearized | false | If =true introduce a linearization in the load
Load | mode | Buildings.Electrical.Types.L... | Parameters that specifies the mode of the load (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 |  | Nominal voltage (V_nominal >= 0) [V]
Real | pf | 0.8 | Power factor
Voltage CTRL
Boolean | voltageCtrl | false | This flag enables the voltage control
Real | vThresh | 0.1 | Threshold that activates voltage ctrl (ratio of nominal voltage)
Time | tDelay | 300 | Time to wait before plugging the load again after disconnection [s]
initialization
InitMode | initMode | Buildings.Electrical.Types.I... | Initialization mode for homotopy operator

### Connectors

Type | Name | Description
--- | --- | ---
input RealInput | y1 | Fraction of the nominal power consumed
input RealInput | Pow1 | Power consumed [W]
input RealInput | y2 | Fraction of the nominal power consumed
input RealInput | Pow2 | Power consumed [W]
input RealInput | y3 | Fraction of the nominal power consumed
input RealInput | Pow3 | Power consumed [W]
Terminal4_n | terminal | Connector for three-phase unbalanced systems with neutral cable
input RealInput | pf_in_1 | Power factor of load on phase 1 [1]
input RealInput | pf_in_2 | Power factor of load on phase 2 [1]
input RealInput | pf_in_3 | Power factor of load on phase 3 [1]

### Modelica definition

model Inductive_N "Model of a three-phase unbalanced inductive load with neutral cable" extends BaseClasses.LoadCtrl_N( redeclare Buildings.Electrical.AC.OnePhase.Loads.Inductive load1(pf=pf, use_pf_in=use_pf_in), redeclare Buildings.Electrical.AC.OnePhase.Loads.Inductive load2(pf=pf, use_pf_in=use_pf_in), redeclare Buildings.Electrical.AC.OnePhase.Loads.Inductive load3(pf=pf, use_pf_in=use_pf_in)); parameter Boolean use_pf_in = false "If true, the power factor is defined by an input"; parameter Real pf(min=0, max=1) = 0.8 "Power factor"; Modelica.Blocks.Interfaces.RealInput pf_in_1( min=0, max=1, unit="1") if (use_pf_in and plugPhase1) "Power factor of load on phase 1"; Modelica.Blocks.Interfaces.RealInput pf_in_2( min=0, max=1, unit="1") if (use_pf_in and plugPhase2) "Power factor of load on phase 2"; Modelica.Blocks.Interfaces.RealInput pf_in_3( min=0, max=1, unit="1") if (use_pf_in and plugPhase3) "Power factor of load on phase 3"; equation connect(pf_in_1, load1.pf_in); connect(pf_in_2, load2.pf_in); connect(pf_in_3, load3.pf_in); end Inductive_N;

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Resistive

Model of a three-phase unbalanced resistive load without neutral cable

### Information

This model represents a three-phase unbalanced resistive load. The model extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.BaseClasses.LoadCtrl and uses the load model from the package Buildings.Electrical.AC.OnePhase.Loads. The model computes the voltages, currents and powers on each phase.

For more information, see Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.BaseClasses.LoadCtrl and Buildings.Electrical.AC.OnePhase.Loads.Resistive.

Extends from BaseClasses.LoadCtrl (Partial model of a three-phase load with voltage controller without neutral cable).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
Boolean | plugPhase1 | true | If true, phase 1 is connected
Boolean | plugPhase2 | true | If true, phase 2 is connected
Boolean | plugPhase3 | true | If true, phase 3 is connected
LoadConnection | loadConn | Buildings.Electrical.Types.L... | Type of load connection (Yg or D)
Modelling assumption
Boolean | linearized | false | If =true introduce a linearization in the load
Load | mode | Buildings.Electrical.Types.L... | Parameters that specifies the mode of the load (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 |  | Nominal voltage (V_nominal >= 0) [V]
Voltage CTRL
Boolean | voltageCtrl | false | This flag enables the voltage control
Real | vThresh | 0.1 | Threshold that activates voltage ctrl (ratio of nominal voltage)
Time | tDelay | 300 | Time to wait before plugging the load again after disconnection [s]
initialization
InitMode | initMode | Buildings.Electrical.Types.I... | Initialization mode for homotopy operator

### Connectors

Type | Name | Description
--- | --- | ---
input RealInput | y1 | Fraction of the nominal power consumed
input RealInput | Pow1 | Power consumed [W]
input RealInput | y2 | Fraction of the nominal power consumed
input RealInput | Pow2 | Power consumed [W]
input RealInput | y3 | Fraction of the nominal power consumed
input RealInput | Pow3 | Power consumed [W]
Terminal_n | terminal | Connector for three-phase unbalanced systems without neutral cable

### Modelica definition

model Resistive "Model of a three-phase unbalanced resistive load without neutral cable" extends BaseClasses.LoadCtrl( redeclare Buildings.Electrical.AC.OnePhase.Loads.Resistive load1, redeclare Buildings.Electrical.AC.OnePhase.Loads.Resistive load2, redeclare Buildings.Electrical.AC.OnePhase.Loads.Resistive load3); equation end Resistive;

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Resistive_N

Model of a three-phase unbalanced resistive load with neutral cable

### Information

This model represents a three-phase unbalanced resistive load. The model extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.BaseClasses.LoadCtrl_N and uses the load model from the package Buildings.Electrical.AC.OnePhase.Loads. The model computes the voltages, currents and powers on each phase.

This model has a connector with four cables and it represents the neutral cable. The current in the neutral cable is computed as the algebraic sum of the currents of the loads.

For more information, see Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.BaseClasses.LoadCtrl_N and Buildings.Electrical.AC.OnePhase.Loads.Resistive.

Extends from BaseClasses.LoadCtrl_N (Partial model of a three-phase unbalanced load with voltage controller and neutral cable).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
Boolean | plugPhase1 | true | If true, phase 1 is connected
Boolean | plugPhase2 | true | If true, phase 2 is connected
Boolean | plugPhase3 | true | If true, phase 3 is connected
LoadConnection | loadConn | Buildings.Electrical.Types.L... | Type of load connection (Yg or D)
Modelling assumption
Boolean | linearized | false | If =true introduce a linearization in the load
Load | mode | Buildings.Electrical.Types.L... | Parameters that specifies the mode of the load (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 |  | Nominal voltage (V_nominal >= 0) [V]
Voltage CTRL
Boolean | voltageCtrl | false | This flag enables the voltage control
Real | vThresh | 0.1 | Threshold that activates voltage ctrl (ratio of nominal voltage)
Time | tDelay | 300 | Time to wait before plugging the load again after disconnection [s]
initialization
InitMode | initMode | Buildings.Electrical.Types.I... | Initialization mode for homotopy operator

### Connectors

Type | Name | Description
--- | --- | ---
input RealInput | y1 | Fraction of the nominal power consumed
input RealInput | Pow1 | Power consumed [W]
input RealInput | y2 | Fraction of the nominal power consumed
input RealInput | Pow2 | Power consumed [W]
input RealInput | y3 | Fraction of the nominal power consumed
input RealInput | Pow3 | Power consumed [W]
Terminal4_n | terminal | Connector for three-phase unbalanced systems with neutral cable

### Modelica definition

model Resistive_N "Model of a three-phase unbalanced resistive load with neutral cable" extends BaseClasses.LoadCtrl_N( redeclare Buildings.Electrical.AC.OnePhase.Loads.Resistive load1, redeclare Buildings.Electrical.AC.OnePhase.Loads.Resistive load2, redeclare Buildings.Electrical.AC.OnePhase.Loads.Resistive load3); equation end Resistive_N;