Description: "Package with base class models"

- Home > Modelica

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses

Package with base class models

### Information

This package contains base classes used by the models that are part of the package Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

### Package Content

Name | Description
--- | ---
PartialConverter | Partial model of a transformer
PartialConverterDD | Model of a transformer with D connection primary side and D connection secondary side
PartialConverterStepDownDY | Model of a transformer with D connection primary side and Y connection secondary side (Voltage step down)
PartialConverterStepDownYD | Model of a transformer with Y connection primary side and D connection secondary side (Voltage step down)
PartialConverterStepUpDY | Model of a transformer with D connection primary side and Y connection secondary side (Voltage step up)
PartialConverterStepUpYD | Model of a transformer with Y connection primary side and D connection secondary side (Voltage step up)
PartialConverterYY | Model of a transformer with Y connection primary side and Y connection secondary side

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverter

Partial model of a transformer

### Information

Partial model that represents a three-phase unbalanced transformer without neutral cable connection.

Extends from Buildings.Electrical.Icons.RefAngleConversion (Icon that represents if the angle symble should be displayed or not).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
PartialConversion | conv1 | redeclare Buildings.Electric... | Transformer phase 1
PartialConversion | conv2 | redeclare Buildings.Electric... | Transformer phase 2
PartialConversion | conv3 | redeclare Buildings.Electric... | Transformer phase 3

### Connectors

Type | Name | Description
--- | --- | ---
Terminal_n | terminal_n | Electrical connector side N
Terminal_p | terminal_p | Electrical connector side P

### Modelica definition

partial model PartialConverter "Partial model of a transformer" extends Buildings.Electrical.Icons.RefAngleConversion; replaceable Buildings.Electrical.Interfaces.PartialConversion conv1 constrainedby Buildings.Electrical.Interfaces.PartialConversion( redeclare package PhaseSystem_p = Buildings.Electrical.PhaseSystems.OnePhase, redeclare package PhaseSystem_n = Buildings.Electrical.PhaseSystems.OnePhase, redeclare Electrical.AC.OnePhase.Interfaces.Terminal_n terminal_n, redeclare Electrical.AC.OnePhase.Interfaces.Terminal_p terminal_p) "Transformer phase 1"; replaceable Buildings.Electrical.Interfaces.PartialConversion conv2 constrainedby Buildings.Electrical.Interfaces.PartialConversion( redeclare package PhaseSystem_p = Buildings.Electrical.PhaseSystems.OnePhase, redeclare package PhaseSystem_n = Buildings.Electrical.PhaseSystems.OnePhase, redeclare Electrical.AC.OnePhase.Interfaces.Terminal_n terminal_n, redeclare Electrical.AC.OnePhase.Interfaces.Terminal_p terminal_p) "Transformer phase 2"; replaceable Buildings.Electrical.Interfaces.PartialConversion conv3 constrainedby Buildings.Electrical.Interfaces.PartialConversion( redeclare package PhaseSystem_p = Buildings.Electrical.PhaseSystems.OnePhase, redeclare package PhaseSystem_n = Buildings.Electrical.PhaseSystems.OnePhase, redeclare Electrical.AC.OnePhase.Interfaces.Terminal_n terminal_n, redeclare Electrical.AC.OnePhase.Interfaces.Terminal_p terminal_p) "Transformer phase 3"; Interfaces.Terminal_n terminal_n "Electrical connector side N"; Interfaces.Terminal_p terminal_p "Electrical connector side P"; end PartialConverter;

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverterDD

Model of a transformer with D connection primary side and D connection secondary side

### Information

Partial model that represents a three-phase unbalanced transformer with delta connection on both primary and secondary side.

The image below describes the connection of the windings.

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverter (Partial model of a transformer).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
PartialConversion | conv1 | redeclare Buildings.Electric... | Transformer phase 1
PartialConversion | conv2 | redeclare Buildings.Electric... | Transformer phase 2
PartialConversion | conv3 | redeclare Buildings.Electric... | Transformer phase 3

### Connectors

Type | Name | Description
--- | --- | ---
Terminal_n | terminal_n | Electrical connector side N
Terminal_p | terminal_p | Electrical connector side P

### Modelica definition

partial model PartialConverterDD "Model of a transformer with D connection primary side and D connection secondary side" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverter; Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.WyeToDelta wye_to_delta "Delta to wye connection"; Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.WyeToDelta delta_to_wye "Delta to wye connection"; equation connect(delta_to_wye.wye, terminal_n); connect(wye_to_delta.wye, terminal_p); connect(wye_to_delta.delta.phase[1], conv1.terminal_p); connect(wye_to_delta.delta.phase[2], conv2.terminal_p); connect(wye_to_delta.delta.phase[3], conv3.terminal_p); connect(delta_to_wye.delta.phase[1], conv1.terminal_n); connect(delta_to_wye.delta.phase[2], conv2.terminal_n); connect(delta_to_wye.delta.phase[3], conv3.terminal_n); end PartialConverterDD;

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverterStepDownDY

Model of a transformer with D connection primary side and Y connection secondary side (Voltage step down)

### Information

Partial model that represents a three-phase unbalanced transformer with delta connection on the primary and Y connection on the secondary side. The configuration is for voltage step down.

The image below describes the connection of the windings.

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverter (Partial model of a transformer).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
PartialConversion | conv1 | redeclare Buildings.Electric... | Transformer phase 1
PartialConversion | conv2 | redeclare Buildings.Electric... | Transformer phase 2
PartialConversion | conv3 | redeclare Buildings.Electric... | Transformer phase 3

### Connectors

Type | Name | Description
--- | --- | ---
Terminal_n | terminal_n | Electrical connector side N
Terminal_p | terminal_p | Electrical connector side P

### Modelica definition

partial model PartialConverterStepDownDY "Model of a transformer with D connection primary side and Y connection secondary side (Voltage step down)" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverter; Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.WyeToWyeGround wye_to_wyeg "Wye to wye grounded connection"; Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.WyeToDelta delta_to_wye "Delta to wye connection"; equation connect(delta_to_wye.wye, terminal_n); connect(wye_to_wyeg.wye, terminal_p); connect(wye_to_wyeg.wyeg.phase[1], conv1.terminal_p); connect(wye_to_wyeg.wyeg.phase[2], conv2.terminal_p); connect(wye_to_wyeg.wyeg.phase[3], conv3.terminal_p); connect(delta_to_wye.delta.phase[1], conv2.terminal_n); connect(delta_to_wye.delta.phase[2], conv3.terminal_n); connect(delta_to_wye.delta.phase[3], conv1.terminal_n); end PartialConverterStepDownDY;

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverterStepDownYD

Model of a transformer with Y connection primary side and D connection secondary side (Voltage step down)

### Information

Partial model that represents a three-phase unbalanced transformer with Y connection on primary and delta connection on the secondary one. The configuration is for voltage step down.

The image below describes the connection of the windings.

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverter (Partial model of a transformer).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
PartialConversion | conv1 | redeclare Buildings.Electric... | Transformer phase 1
PartialConversion | conv2 | redeclare Buildings.Electric... | Transformer phase 2
PartialConversion | conv3 | redeclare Buildings.Electric... | Transformer phase 3

### Connectors

Type | Name | Description
--- | --- | ---
Terminal_n | terminal_n | Electrical connector side N
Terminal_p | terminal_p | Electrical connector side P

### Modelica definition

partial model PartialConverterStepDownYD "Model of a transformer with Y connection primary side and D connection secondary side (Voltage step down)" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverter; Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.WyeToWyeGround wye_to_wyeg "Wye to wye grounded connection"; Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.WyeToDelta delta_to_wye "Delta to wye connection "; equation connect(delta_to_wye.wye, terminal_p); connect(wye_to_wyeg.wye, terminal_n); connect(wye_to_wyeg.wyeg.phase[1], conv1.terminal_n); connect(wye_to_wyeg.wyeg.phase[2], conv2.terminal_n); connect(wye_to_wyeg.wyeg.phase[3], conv3.terminal_n); connect(delta_to_wye.delta.phase[1], conv1.terminal_p); connect(delta_to_wye.delta.phase[2], conv2.terminal_p); connect(delta_to_wye.delta.phase[3], conv3.terminal_p); end PartialConverterStepDownYD;

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverterStepUpDY

Model of a transformer with D connection primary side and Y connection secondary side (Voltage step up)

### Information

Partial model that represents a three-phase unbalanced transformer with delta connection on the primary and Y connection on the secondary side. The configuration is for voltage step up.

The image below describes the connection of the windings.

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverter (Partial model of a transformer).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
PartialConversion | conv1 | redeclare Buildings.Electric... | Transformer phase 1
PartialConversion | conv2 | redeclare Buildings.Electric... | Transformer phase 2
PartialConversion | conv3 | redeclare Buildings.Electric... | Transformer phase 3

### Connectors

Type | Name | Description
--- | --- | ---
Terminal_n | terminal_n | Electrical connector side N
Terminal_p | terminal_p | Electrical connector side P

### Modelica definition

partial model PartialConverterStepUpDY "Model of a transformer with D connection primary side and Y connection secondary side (Voltage step up)" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverter; Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.WyeToWyeGround wye_to_wyeg "Wye to wye grounded connection"; Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.WyeToDelta delta_to_wye "Delta to wye connection"; equation connect(delta_to_wye.wye, terminal_n); connect(wye_to_wyeg.wye, terminal_p); connect(wye_to_wyeg.wyeg.phase[1], conv1.terminal_p); connect(wye_to_wyeg.wyeg.phase[2], conv2.terminal_p); connect(wye_to_wyeg.wyeg.phase[3], conv3.terminal_p); connect(delta_to_wye.delta.phase[1], conv1.terminal_n); connect(delta_to_wye.delta.phase[2], conv2.terminal_n); connect(delta_to_wye.delta.phase[3], conv3.terminal_n); end PartialConverterStepUpDY;

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverterStepUpYD

Model of a transformer with Y connection primary side and D connection secondary side (Voltage step up)

### Information

Partial model that represents a three-phase unbalanced transformer with Y connection on the primary and delta connection on the secondary side. The configuration is for voltage step up.

The image below describes the connection of the windings.

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverter (Partial model of a transformer).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
PartialConversion | conv1 | redeclare Buildings.Electric... | Transformer phase 1
PartialConversion | conv2 | redeclare Buildings.Electric... | Transformer phase 2
PartialConversion | conv3 | redeclare Buildings.Electric... | Transformer phase 3

### Connectors

Type | Name | Description
--- | --- | ---
Terminal_n | terminal_n | Electrical connector side N
Terminal_p | terminal_p | Electrical connector side P

### Modelica definition

partial model PartialConverterStepUpYD "Model of a transformer with Y connection primary side and D connection secondary side (Voltage step up)" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverter; Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.WyeToWyeGround wye_to_wyeg "Wye to wye grounded connection"; Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.WyeToDelta delta_to_wye "Delta to wye connection"; equation connect(delta_to_wye.wye, terminal_p); connect(wye_to_wyeg.wye, terminal_n); connect(wye_to_wyeg.wyeg.phase[1], conv1.terminal_n); connect(wye_to_wyeg.wyeg.phase[2], conv2.terminal_n); connect(wye_to_wyeg.wyeg.phase[3], conv3.terminal_n); connect(delta_to_wye.delta.phase[1], conv2.terminal_p); connect(delta_to_wye.delta.phase[2], conv3.terminal_p); connect(delta_to_wye.delta.phase[3], conv1.terminal_p); end PartialConverterStepUpYD;

## Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverterYY

Model of a transformer with Y connection primary side and Y connection secondary side

### Information

Partial model that represents a three-phase unbalanced transformer with Y connection on both primary and secondary side.

The image below describes the connection of the windings.

Extends from Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverter (Partial model of a transformer).

### Parameters

Type | Name | Default | Description
--- | --- | --- | ---
PartialConversion | conv1 | redeclare Buildings.Electric... | Transformer phase 1
PartialConversion | conv2 | redeclare Buildings.Electric... | Transformer phase 2
PartialConversion | conv3 | redeclare Buildings.Electric... | Transformer phase 3

### Connectors

Type | Name | Description
--- | --- | ---
Terminal_n | terminal_n | Electrical connector side N
Terminal_p | terminal_p | Electrical connector side P

### Modelica definition

partial model PartialConverterYY "Model of a transformer with Y connection primary side and Y connection secondary side" extends Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.BaseClasses.PartialConverter; Interfaces.Connection3to4_n connection3to4_n "Conversion between 3 to 4 connectors"; Interfaces.Connection3to4_p connection3to4_p "Conversion between 3 to 4 connectors"; OnePhase.Basics.Ground ground_n "Ground reference"; OnePhase.Basics.Ground ground_p "Ground reference"; equation connect(connection3to4_n.terminal4.phase[1],conv1. terminal_n); connect(connection3to4_n.terminal4.phase[2],conv2. terminal_n); connect(connection3to4_n.terminal4.phase[3],conv3. terminal_n); connect(conv1.terminal_p, connection3to4_p.terminal4.phase[1]); connect(conv2.terminal_p, connection3to4_p.terminal4.phase[2]); connect(conv3.terminal_p, connection3to4_p.terminal4.phase[3]); connect(terminal_p, connection3to4_p.terminal3); connect(terminal_n, connection3to4_n.terminal3); connect(connection3to4_n.terminal4.phase[4], ground_n.terminal); connect(connection3to4_p.terminal4.phase[4], ground_p.terminal); end PartialConverterYY;