LBL logo

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples

Package with example models

Information

This package contains examples for the use of models that can be found in Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter Converter Test for the AC/AC converter model
Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer Transformer Test for the AC/AC transformer model
Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD TransformerDD Test for the AC/AC transformer model with Delta-Delta configuration
Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull TransformerFull Test for the AC/AC transformer full model
Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY TransformerStepDownDY Test for the AC/AC transformer model with Delta-Wye configuration (step-down voltage)
Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD TransformerStepDownYD Test for the AC/AC transformer model with Wye-Delta configuration (step-down voltage)
Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY TransformerStepUpDY Test for the AC/AC transformer model with Delta-Wye configuration (step-up voltage)
Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD TransformerStepUpYD Test for the AC/AC transformer model with Wye-Delta configuration (step-up voltage)
Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.BaseClasses BaseClasses This package contains base classes inherited by the examples

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter

Test for the AC/AC converter model

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter

Information

This example model tests the Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACConverter model.

Extends from BaseClasses.TransformerExample (This example represents the basic test for a transformer model).

Parameters

TypeNameDefaultDescription
VoltageV_primary480RMS Voltage on the primary side of the transformer [V]
VoltageV_secondary240RMS Voltage on the secondary side of the transformer [V]

Modelica definition

model Converter "Test for the AC/AC converter model" extends BaseClasses.TransformerExample( V_primary = 480, V_secondary = 240, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeWye probe_2, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACConverter tra(conversionFactor=0.5,eta=0.9)); equation connect(probe_2.term, tra.terminal_p); end Converter;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer

Test for the AC/AC transformer model

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer

Information

This example model tests the Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformer model.

Extends from BaseClasses.TransformerExample (This example represents the basic test for a transformer model).

Parameters

TypeNameDefaultDescription
VoltageV_primary12470RMS Voltage on the primary side of the transformer [V]
VoltageV_secondary4160RMS Voltage on the secondary side of the transformer [V]

Modelica definition

model Transformer "Test for the AC/AC transformer model" extends BaseClasses.TransformerExample( redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeWye probe_2, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformer tra(VHigh=V_primary, VLow=V_secondary, XoverR=6, Zperc=sqrt(0.01^2 + 0.06^2), VABase=6000000)); equation connect(probe_2.term, load.terminal); end Transformer;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD

Test for the AC/AC transformer model with Delta-Delta configuration

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD

Information

This example model tests the Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerDD model.

Note:

When the secondary side of the transformer is in the Delta (D) configuration, measuring the voltage with a Wye (Y) is not possible because the voltage vectors in the connector do not have a neutral reference.

Extends from BaseClasses.TransformerExample (This example represents the basic test for a transformer model).

Parameters

TypeNameDefaultDescription
VoltageV_primary12470RMS Voltage on the primary side of the transformer [V]
VoltageV_secondary4160RMS Voltage on the secondary side of the transformer [V]

Modelica definition

model TransformerDD "Test for the AC/AC transformer model with Delta-Delta configuration" extends BaseClasses.TransformerExample( redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeDelta probe_2, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerDD tra(VHigh=V_primary, VLow=V_secondary, XoverR=6, Zperc=sqrt(0.01^2 + 0.06^2), VABase=6000000)); equation connect(probe_2.term, load.terminal); end TransformerDD;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull

Test for the AC/AC transformer full model

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull

Information

This example model tests the Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerFull model.

Extends from BaseClasses.TransformerExample (This example represents the basic test for a transformer model).

Parameters

TypeNameDefaultDescription
VoltageV_primary12470RMS Voltage on the primary side of the transformer [V]
VoltageV_secondary4160RMS Voltage on the secondary side of the transformer [V]

Modelica definition

model TransformerFull "Test for the AC/AC transformer full model" extends BaseClasses.TransformerExample( redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeWye probe_2, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerFull tra(VHigh=V_primary, VLow=V_secondary, VABase=6000000, f=60, R1=0.005, L1=0.005*6, R2=0.005, L2=0.005*6, magEffects=true, Rm=10, Lm=10), load(initMode=Buildings.Electrical.Types.InitMode.linearized)); equation connect(probe_2.term, load.terminal); end TransformerFull;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY

Test for the AC/AC transformer model with Delta-Wye configuration (step-down voltage)

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownDY

Information

This example model tests the Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerStepDownDY model.

Extends from BaseClasses.TransformerExample (This example represents the basic test for a transformer model).

Parameters

TypeNameDefaultDescription
VoltageV_primary12470RMS Voltage on the primary side of the transformer [V]
VoltageV_secondary4160RMS Voltage on the secondary side of the transformer [V]

Modelica definition

model TransformerStepDownDY "Test for the AC/AC transformer model with Delta-Wye configuration (step-down voltage)" extends BaseClasses.TransformerExample( redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeWye probe_2, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerStepDownDY tra(VHigh=V_primary, VLow=V_secondary, XoverR=6, Zperc=sqrt(0.01^2 + 0.06^2), VABase=6000000)); equation connect(probe_2.term, load.terminal); end TransformerStepDownDY;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD

Test for the AC/AC transformer model with Wye-Delta configuration (step-down voltage)

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD

Information

This example model tests the Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerStepDownYD model.

Note:

When the secondary side of the transformer is in the Delta (D) configuration, measuring the voltage with a Wye (Y) is not possible because the voltage vectors in the connector do not have a neutral reference.

Extends from BaseClasses.TransformerExample (This example represents the basic test for a transformer model).

Parameters

TypeNameDefaultDescription
VoltageV_primary12470RMS Voltage on the primary side of the transformer [V]
VoltageV_secondary4160RMS Voltage on the secondary side of the transformer [V]

Modelica definition

model TransformerStepDownYD "Test for the AC/AC transformer model with Wye-Delta configuration (step-down voltage)" extends BaseClasses.TransformerExample( redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeDelta probe_2, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerStepDownYD tra(VHigh=V_primary, VLow=V_secondary, XoverR=6, Zperc=sqrt(0.01^2 + 0.06^2), VABase=6000000)); equation connect(probe_2.term, load.terminal); end TransformerStepDownYD;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY

Test for the AC/AC transformer model with Delta-Wye configuration (step-up voltage)

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpDY

Information

This example model tests the Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerStepUpDY model.

Extends from BaseClasses.TransformerExample (This example represents the basic test for a transformer model).

Parameters

TypeNameDefaultDescription
VoltageV_primary4160RMS Voltage on the primary side of the transformer [V]
VoltageV_secondary12470RMS Voltage on the secondary side of the transformer [V]

Modelica definition

model TransformerStepUpDY "Test for the AC/AC transformer model with Delta-Wye configuration (step-up voltage)" extends BaseClasses.TransformerExample( V_primary = 4160, V_secondary = 12470, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeWye probe_2, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerStepUpDY tra(VHigh=V_primary, VLow=V_secondary, XoverR=6, Zperc=sqrt(0.01^2 + 0.06^2), VABase=6000000)); equation connect(probe_2.term, load.terminal); end TransformerStepUpDY;

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD

Test for the AC/AC transformer model with Wye-Delta configuration (step-up voltage)

Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD

Information

This example model tests the Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerStepUpYD model.

Note:

When the secondary side of the transformer is in the Delta (D) configuration, measuring the voltage with a Wye (Y) is not possible because the voltage vectors in the connector do not have a neutral reference.

Extends from BaseClasses.TransformerExample (This example represents the basic test for a transformer model).

Parameters

TypeNameDefaultDescription
VoltageV_primary4160RMS Voltage on the primary side of the transformer [V]
VoltageV_secondary12470RMS Voltage on the secondary side of the transformer [V]

Modelica definition

model TransformerStepUpYD "Test for the AC/AC transformer model with Wye-Delta configuration (step-up voltage)" extends BaseClasses.TransformerExample( V_primary = 4160, V_secondary = 12470, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.ProbeDelta probe_2, redeclare Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.ACACTransformerStepUpYD tra(VHigh=V_primary, VLow=V_secondary, XoverR=6, Zperc=sqrt(0.01^2 + 0.06^2), VABase=6000000)); equation connect(probe_2.term, load.terminal); end TransformerStepUpYD;

http://simulationresearch.lbl.gov/modelica