Skip to content

Commit 1353d2c

Browse files
authored
Add obsolete annotation to Line Models (#4614)
refs #4609
1 parent e99301b commit 1353d2c

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

Modelica/Electrical/Analog/Lines/TLine1.mo

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ equation
1515
i2 = (v2 - er)/Z0;
1616
es = 2*delay(v2, TD) - delay(er, TD);
1717
er = 2*delay(v1, TD) - delay(es, TD);
18-
annotation (defaultComponentName="line",
18+
annotation (obsolete = "Please use Modelica.Electrical.Analog.Lines.TLine instead of this model",
19+
defaultComponentName="line",
1920
Documentation(info="<html>
2021
<p>Lossless transmission line with characteristic impedance Z0 and transmission delay TD The lossless transmission line TLine1 is a two Port. Both port branches consist of a resistor with characteristic impedance Z0 and a controlled voltage source that takes into consideration the transmission delay TD. For further details see [<a href=\"modelica://Modelica.Electrical.Analog.UsersGuide.References\">Branin1967</a>]. The model parameters can be derived from inductance and capacitance per length (L&#39; resp. C&#39;), i. e. Z0 = sqrt(L&#39;/C&#39;) and TD = sqrt(L&#39;*C&#39;)*length_of_line. Resistance R&#39; and conductance C&#39; per meter are assumed to be zero.</p>
2122

Modelica/Electrical/Analog/Lines/TLine2.mo

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ equation
1919
i2 = (v2 - er)/Z0;
2020
es = 2*delay(v2, TD) - delay(er, TD);
2121
er = 2*delay(v1, TD) - delay(es, TD);
22-
annotation (defaultComponentName="line",
22+
annotation (obsolete = "Please use Modelica.Electrical.Analog.Lines.TLine instead of this model",
23+
defaultComponentName="line",
2324
Documentation(info="<html>
2425
<p>Lossless transmission line with characteristic impedance Z0, frequency F and normalized length NL The lossless transmission line TLine2 is a two Port. Both port branches consist of a resistor with the value of the characteristic impedance Z0 and a controlled voltage source that takes into consideration the transmission delay. For further details see [<a href=\"modelica://Modelica.Electrical.Analog.UsersGuide.References\">Branin1967</a>]. Resistance R&#39; and conductance C&#39; per meter are assumed to be zero. The characteristic impedance Z0 can be derived from inductance and capacitance per length (L&#39; resp. C&#39;), i. e. Z0 = sqrt(L&#39;/C&#39;). The normalized length NL is equal to the length of the line divided by the wavelength corresponding to the frequency F, i. e. the transmission delay TD is the quotient of NL and F.</p>
2526
<p><strong>References:</strong>

Modelica/Electrical/Analog/Lines/TLine3.mo

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ equation
1616
i2 = (v2 - er)/Z0;
1717
es = 2*delay(v2, TD) - delay(er, TD);
1818
er = 2*delay(v1, TD) - delay(es, TD);
19-
annotation (defaultComponentName="line",
19+
annotation (obsolete = "Please use Modelica.Electrical.Analog.Lines.TLine instead of this model",
20+
defaultComponentName="line",
2021
Documentation(info="<html>
2122
<p>Lossless transmission line with characteristic impedance Z0 and frequency F The lossless transmission line TLine3 is a two Port. Both port branches consist of a resistor with value of the characteristic impedance Z0 and a controlled voltage source that takes into consideration the transmission delay. For further details see [<a href=\"modelica://Modelica.Electrical.Analog.UsersGuide.References\">Branin1967</a>]. Resistance R&#39; and conductance C&#39; per meter are assumed to be zero. The characteristic impedance Z0 can be derived from inductance and capacitance per length (L&#39; resp. C&#39;), i. e. Z0 = sqrt(L&#39;/C&#39;). The length of the line is equal to a quarter of the wavelength corresponding to the frequency F, i. e. the transmission delay is the quotient of 4 and F. In this case, the characteristic impedance is called natural impedance.</p>
2223
<p><strong>References:</strong>

0 commit comments

Comments
 (0)