modelACLineMedium
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example demonstrates how to use a line model to connect a source to a load that uses medium voltage commercial cable information.
The model has four different loads. The load sc_load represents
a short circuit R=0. The current that flows through the load depends
on the impedance of the line.
The remaining three loads R1, R2, and R3
are resistive loads. Each load is connected to the source with different configurations,
however the equivalent impedance between each load and the source is the same.
Since the equivalent impedances are the same, each load draws the same current.
Note:
ThreePhasesBalanced.Lines.Line line_1(
V_nominal=220,
P_nominal=5000,
l=2000,
redeclare BuildingSystems.Electrical.Transmission.MediumVoltageCables.Generic
commercialCable = BuildingSystems.Electrical.Transmission.MediumVoltageCables.Annealed_Al_10 ())
"Resistive line that connects to load 1"
The code snippet shows how a line model line_1 redeclared its
record type in order to be BuildingSystems.Electrical.Transmission.MediumVoltageCables.Generic.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThreePhasesBalanced.Sources.FixedVoltage | E | Voltage source | |
| ThreePhasesBalanced.Loads.Impedance | R1 | Resistive load 1 | |
| ThreePhasesBalanced.Lines.Line | line_1 | Resistive line that connects to load 1 | |
| ThreePhasesBalanced.Lines.Line | line_2a | Resistive line that connects to load 2 | |
| ThreePhasesBalanced.Loads.Impedance | R2 | Resistive load 2 | |
| ThreePhasesBalanced.Lines.Line | line_2b | Resistive line that connects to load 2 | |
| ThreePhasesBalanced.Lines.Line | line_3a | Resistive line that connects to load 3 | |
| ThreePhasesBalanced.Lines.Line | line_3b | Resistive line that connects to load 3 | |
| ThreePhasesBalanced.Loads.Impedance | R3 | Resistive load 3 | |
| ThreePhasesBalanced.Lines.Line | line_sc | Line that connects the source and the short circuit | |
| ThreePhasesBalanced.Loads.Impedance | load_sc | Short circuit |
Revisions
-
September 23, 2014, by Marco Bonvini:
Documentation and example added.