AixLib.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium

# .AixLib.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium

Test model for a single phase line that uses medium voltage commercial cable information

## 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 AixLib.Electrical.Transmission.MediumVoltageCables.Generic

commercialCable = AixLib.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 `AixLib.Electrical.Transmission.MediumVoltageCables.Generic`.

## Revisions

- September 23, 2014, by Marco Bonvini:
  Documentation and example added.

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos