WOLFRAM SYSTEM MODELER

CompareLineTrunks

Compares oLine and tLine splitting lines into trunks

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This example shows a way to look at the traveling wave moving along a power line.

This wave can be seen looking at intermediate points of the line, looking at both OLine (several segments per line trunk) and TLine models.

OLine in the lossless case is less accurate, since shows oscillations that are not present in a distributed parameter line but, since it allows the addition of resistances and conductances, allows evaluation of losses.

Suggested tests:

7 segments per trunk, lossless

Run the model as it is. Since resistances and conductances are very small in OLine, the simulation is substantially lossless.

Show in the same plot ramp.y, oLine1.p2.v, oLine2.p2.v, oLine3.p2.v, oLine4.p2.v.

Show in another plot, simultaneously, ramp.y, tLine1.p2.v, tLine2.p2.v, tLine3.p2.v, tLine4.p2.v. Here oLine shows unreal oscillations, which, however, reduce if the number of segments per trunk increases.

50 segments per trunk, lossless

Try increasing this number from 7 to 50 using parameter segsPerTrunk, and look at the same plots as per test 1

50 segments per trunk, losses

Leave segsPerTrunk=50, change r1 to 1e-3 Ω, re-simulate: the effect of losses is visible only on the oLine plot.

Parameters (10)

Rload

Value: 1000

Type: Resistance (Ω)

Description: Load resistance

r1

Value: 1e-6

Type: Real (Ω/m)

Description: Resistance per meter

g1

Value: 1e-12

Type: Real (S/m)

Description: Conductance per meter

l1

Value: 1e-6

Type: Real (H/m)

Description: Inductance per meter

c1

Value: 1e-11

Type: Real (F/m)

Description: Capacitance per meter

len

Value: 100e3

Type: Length (m)

Description: Length of line

segsPerTrunk

Value: 7

Type: Integer

Description: Segments per trunk

c

Value: 1 / sqrt(l1 * c1)

Type: Velocity (m/s)

Description: Speed of EM wave

td

Value: len / c / 4

Type: Time (s)

Description: Transmission delay

z0

Value: sqrt(l1 / c1)

Type: Impedance (Ω)

Description: Characteristic impedance for very high frequency

Components (15)

ramp

Type: Ramp

Description: Generate ramp signal

srcLump

Type: SignalVoltage

Description: Generic voltage source using the input signal as source voltage

ground1

Type: Ground

Description: Ground node

oLine1

Type: OLine

Description: Lossy Transmission Line

oLine2

Type: OLine

Description: Lossy Transmission Line

oLine3

Type: OLine

Description: Lossy Transmission Line

oLine4

Type: OLine

Description: Lossy Transmission Line

R1

Type: Resistor

Description: Ideal linear electrical resistor

srcDistr

Type: SignalVoltage

Description: Generic voltage source using the input signal as source voltage

ground2

Type: Ground

Description: Ground node

tLine1

Type: TLine

Description: Lossless transmission line with characteristic impedance Z0 and transmission delay TD

tLine2

Type: TLine

Description: Lossless transmission line with characteristic impedance Z0 and transmission delay TD

tLine3

Type: TLine

Description: Lossless transmission line with characteristic impedance Z0 and transmission delay TD

tLine4

Type: TLine

Description: Lossless transmission line with characteristic impedance Z0 and transmission delay TD

R2

Type: Resistor

Description: Ideal linear electrical resistor

Revisions

  • May, 2021 implemented by Massimo Ceraolo, University of Pisa