ULine
Lossy RC Line
Library
Modelica/Electrical/Analog/Lines
Description
As can be seen in the picture below, the lossy RC line ULine is a single conductor lossy transmission line which consists of segments of lumped series resistors and capacitors that are connected with the reference pin p3. The precision of the model depends on the number N of lumped segments.
To get a symmetric line model, the first resistor is cut into two parts (R1 and R_Nplus1). These two new resistors have the half of the resistance of the original resistor.
The capacitances are calculated with: C=c*length/N.
The resistances are calculated with: R=r*length/(N+1).
For all capacitors and resistors the values of each segment are the same except for the first and last resistor, that only has the half of the above calculated value.
The user has the possibility to enable a conditional heatport. If so, the ULine can be connected to a thermal network. When the parameter alpha is set to an value greater than zero, the ULine becomes temperature sensitive
due to their resistors which resistances are calculated by R_actual= R*(1 + alpha*(heatPort.T - T_ref)).
Note, this is different compared with the lumped line model of SPICE.
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
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_r | r | Resistance per meter | Scalar | |
mo_c | c | Capacitance per meter | Scalar | |
mo_length | length | Length of line | Scalar | |
mo_N | N | Number of lumped segments | Scalar | |
mo_alpha | alpha | Temperature coefficient of resistance (R_actual = R*(1 + alpha*(T_heatPort - T_ref)) | Scalar | |
mo_useHeatPort | useHeatPort | =true, if HeatPort is enabled | Number | 0 |
mo_T | T | Fixed device temperature if useHeatPort = false | Scalar | |
mo_T_ref | T_ref | Scalar | ||
mo_rm | rm | Vector |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'v13' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
p1 | implicit | input | 1 | |
p2 | implicit | input | 2 | |
p3 | implicit | input | 3 | |
Port 4 | implicit | input | mo_useHeatPort |