Package with interfaces for three-phase unbalanced AC models
Information
This package contains connectors that are used by the models in the
Buildings.Electrical.AC.ThreePhasesUnbalanced package.
The connectors extends the basic connectors
Buildings.Electrical.Interfaces.Terminal
and define a new graphical icon in order to be distinguished by connectors of other electrical systems (e.g. DC systems).
Extends from Modelica.Icons.InterfacesPackage (Icon for packages containing interfaces).
Package Content
Name |
Description |
Connection3to4_n
|
Adapter between Terminal4 and Terminal3 N |
Connection3to4_p
|
Adapter between Terminal4 and Terminal3 P |
Terminal4_n
|
Terminal N for AC three-phase unbalanced systems (neutral cable) |
Terminal4_p
|
Terminal P for AC three-phase unbalanced systems (neutral cable) |
Terminal_n
|
Terminal N for AC three-phase unbalanced systems (no neutral cable) |
Terminal_p
|
Terminal P for AC three-phase unbalanced systems (no neutral cable) |
TwoPort
|
Partial model interface for a two port component without neutral cable |
TwoPort_N
|
Partial model interface for a two port component with neutral cable |
WyeToDelta
|
This model represent a connection between wye to delta |
WyeToWyeGround
|
This model represent a connection between wye to wye grounded |
Examples
|
Package with example models |
Adapter between Terminal4 and Terminal3 N
Information
Adapter between electric connectors type n for AC three-phase unbalanced systems.
This adapter connects a connector without neutral cable with a one that has it
Connectors
Type | Name | Description |
Terminal4_n | terminal4 | Connector with neutral |
Terminal_n | terminal3 | Connector without neutral |
Modelica definition
model Connection3to4_n
"Adapter between Terminal4 and Terminal3 N"
Terminal4_n terminal4
"Connector with neutral";
Terminal_n terminal3
"Connector without neutral";
equation
// Connection branches required to propagate the reference angle
Connections.branch(terminal4.phase[1].theta, terminal4.phase[4].theta);
terminal4.phase[1].theta = terminal4.phase[4].theta;
for i
in 1:3
loop
Connections.branch(terminal3.phase[i].theta, terminal4.phase[i].theta);
terminal3.phase[i].theta = terminal4.phase[i].theta;
end for;
// KVL and KCL
terminal3.phase[1].v[:] = terminal4.phase[1].v[:] - terminal4.phase[4].v[:];
terminal3.phase[2].v[:] = terminal4.phase[2].v[:] - terminal4.phase[4].v[:];
terminal3.phase[3].v[:] = terminal4.phase[3].v[:] - terminal4.phase[4].v[:];
terminal4.phase[1].i[:] + terminal4.phase[2].i[:] = -terminal4.phase[3].i[:] - terminal4.phase[4].i[:];
terminal4.phase[1].i[:] = - terminal3.phase[1].i[:];
terminal4.phase[2].i[:] = - terminal3.phase[2].i[:];
terminal4.phase[3].i[:] = - terminal3.phase[3].i[:];
end Connection3to4_n;
Adapter between Terminal4 and Terminal3 P
Information
Adapter between electric connectors type p for AC three-phase unbalanced systems.
This adapter connects two connectors without and without a neutral cable.
Connectors
Type | Name | Description |
Terminal4_p | terminal4 | Connector with neutral |
Terminal_p | terminal3 | Connector without neutral |
Modelica definition
model Connection3to4_p
"Adapter between Terminal4 and Terminal3 P"
Terminal4_p terminal4
"Connector with neutral";
Terminal_p terminal3
"Connector without neutral";
equation
// Connection branches required to propagate the reference angle
Connections.branch(terminal4.phase[1].theta, terminal4.phase[4].theta);
terminal4.phase[1].theta = terminal4.phase[4].theta;
for i
in 1:3
loop
Connections.branch(terminal3.phase[i].theta, terminal4.phase[i].theta);
terminal3.phase[i].theta = terminal4.phase[i].theta;
end for;
// KVL and KCL
terminal3.phase[1].v[:] = terminal4.phase[1].v[:] - terminal4.phase[4].v[:];
terminal3.phase[2].v[:] = terminal4.phase[2].v[:] - terminal4.phase[4].v[:];
terminal3.phase[3].v[:] = terminal4.phase[3].v[:] - terminal4.phase[4].v[:];
terminal4.phase[1].i[:] + terminal4.phase[2].i[:] = -terminal4.phase[3].i[:] - terminal4.phase[4].i[:];
terminal4.phase[1].i[:] = - terminal3.phase[1].i[:];
terminal4.phase[2].i[:] = - terminal3.phase[2].i[:];
terminal4.phase[3].i[:] = - terminal3.phase[3].i[:];
end Connection3to4_p;
Terminal N for AC three-phase unbalanced systems (neutral cable)
Information
Electric connector type n for AC three-phase unbalanced systems
with neutral cable connection.
Contents
Modelica definition
Terminal P for AC three-phase unbalanced systems (neutral cable)
Information
Electric connector type p for AC three-phase unbalanced systems
with neutral cable connection.
Contents
Modelica definition
Terminal N for AC three-phase unbalanced systems (no neutral cable)
Information
Electric connector type n for AC three-phase unbalanced systems.
Contents
Modelica definition
Terminal P for AC three-phase unbalanced systems (no neutral cable)
Information
Electric connector type p for AC three-phase unbalanced systems.
Contents
Modelica definition
Partial model interface for a two port component without neutral cable
Information
Interface model for an AC three-phase unbalanced component with two ports
and without neutral cable.
Connectors
Type | Name | Description |
Terminal_p | terminal_p | Electric terminal side p |
Terminal_n | terminal_n | Electric terminal side n |
Modelica definition
partial model TwoPort
"Partial model interface for a two port component without neutral cable"
Terminal_p terminal_p
"Electric terminal side p";
Terminal_n terminal_n
"Electric terminal side n";
end TwoPort;
Partial model interface for a two port component with neutral cable
Information
Interface model for an AC three-phase unbalanced component with two ports
and with neutral cable.
Connectors
Type | Name | Description |
Terminal4_p | terminal_p | Electric terminal side p |
Terminal4_n | terminal_n | Electric terminal side n |
Modelica definition
partial model TwoPort_N
"Partial model interface for a two port component with neutral cable"
Terminal4_p terminal_p
"Electric terminal side p";
Terminal4_n terminal_n
"Electric terminal side n";
end TwoPort_N;
This model represent a connection between wye to delta
Information
Adapter from Wye (Y) to Delta (D) connector.
A three-phase unbalanced connector has three AC single phase
connectors. Each AC single phase connector contains the phase voltage,
which is measured between the phase and the neutral.
This model converts the phase voltage to the line voltage, measured between
the phases.
The image below show how the phasors are computed when converting from Y to D.
Connectors
Modelica definition
model WyeToDelta
"This model represent a connection between wye to delta"
Terminal_n wye
"Terminal Y";
Terminal_n delta
"Terminal D";
equation
for i
in 1:3
loop
Connections.branch(wye.phase[i].theta, delta.phase[i].theta);
wye.phase[i].theta = delta.phase[i].theta;
end for;
delta.phase[1].v[:] = wye.phase[1].v[:] - wye.phase[2].v[:];
delta.phase[2].v[:] = wye.phase[2].v[:] - wye.phase[3].v[:];
delta.phase[3].v[:] = wye.phase[3].v[:] - wye.phase[1].v[:];
-wye.phase[1].i[:] + delta.phase[3].i[:] = delta.phase[1].i[:];
-wye.phase[2].i[:] + delta.phase[1].i[:] = delta.phase[2].i[:];
-wye.phase[3].i[:] + delta.phase[2].i[:] = delta.phase[3].i[:];
end WyeToDelta;
This model represent a connection between wye to wye grounded
Information
Adapter from wye (Y) to wye grounded (Yg) connector.
A three-phase unbalanced connector has three AC single phase
connectors. Each AC single phase connector contains a the phase voltage,
which is measured
between the phase and the neutral. This model assures that the voltage of the neutral
cable is equal to zero.
Connectors
Modelica definition
model WyeToWyeGround
"This model represent a connection between wye to wye grounded"
Terminal_n wye
"Terminal Y";
Terminal_n wyeg
"Terminal Y with ground connection";
Connection3to4_n connection3to4
"Adapter between Termina3 and Terminal4";
Buildings.Electrical.AC.OnePhase.Basics.Ground ground
"Ground reference";
equation
Connections.branch(wye.phase[1].theta, connection3to4.terminal4.phase[4].theta);
wye.phase[1].theta = connection3to4.terminal4.phase[4].theta;
for i
in 1:3
loop
Connections.branch(wye.phase[i].theta, wyeg.phase[i].theta);
wye.phase[i].theta = wyeg.phase[i].theta;
end for;
connect(wye, connection3to4.terminal3);
connect(connection3to4.terminal4.phase[1], wyeg.phase[1]);
connect(connection3to4.terminal4.phase[2], wyeg.phase[2]);
connect(connection3to4.terminal4.phase[3], wyeg.phase[3]);
connect(connection3to4.terminal4.phase[4], ground.terminal);
end WyeToWyeGround;
Automatically generated Mon Jul 13 14:23:34 2015.