Modelica.Electrical.Analog.Lines

Modelica.Electrical.Analog.Lines.OLine Modelica.Electrical.Analog.Lines.ULine

Information


This package contains lossy and lossless tranmission lines.

Main Authors:
Christoph Clauß <clauss@eas.iis.fhg.de>
André Schneider <schneider@eas.iis.fhg.de>
Fraunhofer Institute for Integrated Circuits
Design Automation Department
Zeunerstraße 38
D-01069 Dresden

Version:
$Id: Modelica_Electrical_Analog_Lines.html,v 1.2 2000/06/20 22:49:57 Dag Exp $

Copyright:
Copyright (C) 1998-1999, Modelica Association and Fraunhofer-Gesellschaft.
The Modelica package is free software; it can be redistributed and/or modified under the terms of the Modelica license, see the license conditions and the accompanying disclaimer in the documentation of package Modelica in file "Modelica/package.mo".


Modelica.Electrical.Analog.Lines.OLine Modelica.Electrical.Analog.Lines.OLine

Lossy Transmission Line

Modelica.Electrical.Analog.Lines.OLine

Information


Lossy Transmission Line The lossy transmission line OLine consists of segments of lumped resistances and inductances in series and conductances and capacitances that are connected with the reference pin g. The precision of the model depends on the number N of lumped segments.

References:
Johnson, B.; Quarles, T.; Newton, A. R.; Pederson, D. O.; Sangiovanni-Vincentelli, A.: SPICE3 Version 3e User's Manual (April 1, 1991). Department of Electrical Engineering and Computer Sciences, University of California, Berkley p. 12, p. 106 - 107


Parameters

NameDefaultDescription
r1Resistance per meter [Ohm/m]
l1Inductance per meter [H/m]
g1Conductance per meter [Siemens/m]
c1Capacitance per meter [F/m]
length1Length of line [m]
N1Number of lumped segments

Modelica definition

model OLine "Lossy Transmission Line" 
  //extends Interfaces.ThreePol;
  Modelica.Electrical.Analog.Interfaces.Pin p1;
  Modelica.Electrical.Analog.Interfaces.Pin p2;
  Modelica.Electrical.Analog.Interfaces.Pin p3;
  SIunits.Voltage v13;
  SIunits.Voltage v23;
  SIunits.Current i1;
  SIunits.Current i2;
  parameter Real r(
    final min=Modelica.Constants.SMALL, 
    unit="Ohm/m") = 1 "Resistance per meter";
  parameter Real l(
    final min=Modelica.Constants.SMALL, 
    unit="H/m") = 1 "Inductance per meter";
  parameter Real g(
    final min=Modelica.Constants.SMALL, 
    unit="Siemens/m") = 1 "Conductance per meter";
  parameter Real c(
    final min=Modelica.Constants.SMALL, 
    unit="F/m") = 1 "Capacitance per meter";
  parameter SIunits.Length length(final min=Modelica.Constants.SMALL) = 1 
    "Length of line";
  parameter Integer N(final min=1) = 1 "Number of lumped segments";
protected 
  Modelica.Electrical.Analog.Basic.Resistor R[N + 1](R=r*length/(N + 1));
  Modelica.Electrical.Analog.Basic.Inductor L[N + 1](L=l*length/(N + 1));
  Modelica.Electrical.Analog.Basic.Capacitor C[N](C=c*length/(N + 1));
  Modelica.Electrical.Analog.Basic.Conductor G[N](G=g*length/(N + 1));
equation 
  v13 = p1.v - p3.v;
  v23 = p2.v - p3.v;
  i1 = p1.i;
  i2 = p2.i;
  // other models if gg = 0 ...
  connect(p1, R[1].p);
  for i in 1:N loop
    connect(R[i].n, L[i].p);
    connect(L[i].n, C[i].p);
    connect(L[i].n, G[i].p);
    connect(C[i].n, p3);
    connect(G[i].n, p3);
    connect(L[i].n, R[i + 1].p);
  end for;
  connect(R[N + 1].n, L[N + 1].p);
  connect(L[N + 1].n, p2);
end OLine;

Modelica.Electrical.Analog.Lines.ULine Modelica.Electrical.Analog.Lines.ULine

Lossy RC Line

Modelica.Electrical.Analog.Lines.ULine

Information


The lossy RC line ULine consists of segments of lumped series resistances and capacitances that are connected with the reference pin g. The precision of the model depends on the number N of lumped segments.

References:
Johnson, B.; Quarles, T.; Newton, A. R.; Pederson, D. O.; Sangiovanni-Vincentelli, A.: SPICE3 Version 3e User's Manual (April 1, 1991). Department of Electrical Engineering and Computer Sciences, University of California, Berkley p. 22, p. 124


Parameters

NameDefaultDescription
r1Resistance per meter [Ohm/m]
c1Capacitance per meter [F/m]
length1Length of line [m]
N1Number of lumped segments

Modelica definition

model ULine "Lossy RC Line" 
  //extends Interfaces.ThreePol;
  Modelica.Electrical.Analog.Interfaces.Pin p1;
  Modelica.Electrical.Analog.Interfaces.Pin p2;
  Modelica.Electrical.Analog.Interfaces.Pin p3;
  SIunits.Voltage v13;
  SIunits.Voltage v23;
  SIunits.Current i1;
  SIunits.Current i2;
  parameter Real r(
    final min=Modelica.Constants.SMALL, 
    unit="Ohm/m") = 1 "Resistance per meter";
  parameter Real c(
    final min=Modelica.Constants.SMALL, 
    unit="F/m") = 1 "Capacitance per meter";
  parameter SIunits.Length length(final min=Modelica.Constants.SMALL) = 1 
    "Length of line";
  parameter Integer N(final min=1) = 1 "Number of lumped segments";
protected 
  Modelica.Electrical.Analog.Basic.Resistor R[N + 1](R=r*length/(N + 1));
  Modelica.Electrical.Analog.Basic.Capacitor C[N](C=c*length/(N + 1));
equation 
  v13 = p1.v - p3.v;
  v23 = p2.v - p3.v;
  i1 = p1.i;
  i2 = p2.i;
  connect(p1, R[1].p);
  for i in 1:N loop
    connect(R[i].n, R[i + 1].p);
  end for;
  for i in 1:N loop
    connect(R[i].n, C[i].p);
  end for;
  for i in 1:N loop
    connect(C[i].n, p3);
  end for;
  connect(R[N + 1].n, p2);
end ULine;

HTML-documentation generated by Dymola Tue Jun 20 21:50:12 2000 .