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.
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
.