Skip to content

Commit c1b0ff3

Browse files
authored
Merge pull request modelica#4736 from AnHeuermann/add-missing-brace
Adding missing bracket in doc string
2 parents e5bdd0a + c7513d3 commit c1b0ff3

19 files changed

Lines changed: 24 additions & 24 deletions

Modelica/Electrical/Analog/Basic/Potentiometer.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ model Potentiometer "Adjustable resistor"
44
"Resistance at temperature T_ref";
55
parameter SI.Temperature T_ref=293.15 "Reference temperature";
66
parameter SI.LinearTemperatureCoefficient alpha=0
7-
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(T_heatPort - T_ref))";
7+
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(T_heatPort - T_ref)))";
88
extends Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort(T=T_ref);
99
parameter Boolean useRinput=false "Use input for 0<r<1 (else constant)"
1010
annotation (

Modelica/Electrical/Analog/Basic/Resistor.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ model Resistor "Ideal linear electrical resistor"
44
"Resistance at temperature T_ref";
55
parameter SI.Temperature T_ref=300.15 "Reference temperature";
66
parameter SI.LinearTemperatureCoefficient alpha=0
7-
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(T_heatPort - T_ref))";
7+
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(T_heatPort - T_ref)))";
88

99
extends Modelica.Electrical.Analog.Interfaces.OnePort;
1010
extends Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort(T=T_ref);

Modelica/Electrical/Analog/Basic/VariableResistor.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ model VariableResistor
33
"Ideal linear electrical resistor with variable resistance"
44
parameter SI.Temperature T_ref=300.15 "Reference temperature";
55
parameter SI.LinearTemperatureCoefficient alpha=0
6-
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(T_heatPort - T_ref))";
6+
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(T_heatPort - T_ref)))";
77
extends Modelica.Electrical.Analog.Interfaces.OnePort;
88
extends Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort(T=T_ref);
99
SI.Resistance R_actual

Modelica/Electrical/Analog/Lines/M_OLine.mo

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ public
2929
parameter Boolean useInternalGround=true "= true if internal ground is used, otherwise use reference pin"
3030
annotation(Evaluate=true, HideResult=true, choices(checkBox=true));
3131
parameter SI.LinearTemperatureCoefficient alpha_R=0
32-
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(heatPort.T - T_ref))";
32+
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(heatPort.T - T_ref)))";
3333
parameter SI.LinearTemperatureCoefficient alpha_G=0
34-
"Temperature coefficient of conductance (G_actual = G/(1 + alpha*(heatPort.T - T_ref))";
34+
"Temperature coefficient of conductance (G_actual = G/(1 + alpha*(heatPort.T - T_ref)))";
3535
parameter Boolean useHeatPort=false "= true, if heatPort is enabled"
3636
annotation (
3737
Evaluate=true,
@@ -66,9 +66,9 @@ public
6666
parameter Real Gl[dim_vector_lgc]=fill(1, dim_vector_lgc)
6767
"Conductance matrix";
6868
parameter SI.LinearTemperatureCoefficient alpha_R
69-
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(heatPort.T - T_ref))";
69+
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(heatPort.T - T_ref)))";
7070
parameter SI.LinearTemperatureCoefficient alpha_G
71-
"Temperature coefficient of conductance (G_actual = G/(1 + alpha*(heatPort.T - T_ref))";
71+
"Temperature coefficient of conductance (G_actual = G/(1 + alpha*(heatPort.T - T_ref)))";
7272
parameter Boolean useHeatPort=false "= true, if heatPort is enabled"
7373
annotation (
7474
Evaluate=true,
@@ -172,7 +172,7 @@ public
172172
parameter Real Ll[dim_vector_lgc]=fill(1, dim_vector_lgc)
173173
"Inductance matrix";
174174
parameter SI.LinearTemperatureCoefficient alpha_R
175-
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(heatPort.T - T_ref))";
175+
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(heatPort.T - T_ref)))";
176176
parameter Boolean useHeatPort=false "= true, if HeatPort is enabled"
177177
annotation (
178178
Evaluate=true,

Modelica/Electrical/Analog/Lines/OLine.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ model OLine "Lossy Transmission Line"
3131
start=1) "Length of line";
3232
parameter Integer N(final min=1, start=1) "Number of lumped segments";
3333
parameter SI.LinearTemperatureCoefficient alpha_R=0
34-
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(heatPort.T - T_ref))";
34+
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(heatPort.T - T_ref)))";
3535
parameter SI.LinearTemperatureCoefficient alpha_G=0
36-
"Temperature coefficient of conductance (G_actual = G/(1 + alpha*(heatPort.T - T_ref))";
36+
"Temperature coefficient of conductance (G_actual = G/(1 + alpha*(heatPort.T - T_ref)))";
3737
parameter Boolean useHeatPort=false "= true, if heatPort is enabled"
3838
annotation (
3939
Evaluate=true,

Modelica/Electrical/Analog/Lines/ULine.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ model ULine "Lossy RC Line"
2424
start=1) "Length of line";
2525
parameter Integer N(final min=1, start=1) "Number of lumped segments";
2626
parameter SI.LinearTemperatureCoefficient alpha=0
27-
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(heatPort.T - T_ref))";
27+
"Temperature coefficient of resistance (R_actual = R*(1 + alpha*(heatPort.T - T_ref)))";
2828
parameter Boolean useHeatPort=false "= true, if heatPort is enabled"
2929
annotation (
3030
Evaluate=true,

Modelica/Electrical/QuasiStatic/Polyphase/Basic/Admittance.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ model Admittance "Polyphase linear admittance"
66
parameter SI.Temperature T_ref[m]=fill(293.15, m)
77
"Reference temperatures";
88
parameter SI.LinearTemperatureCoefficient alpha_ref[m]=zeros(m)
9-
"Temperature coefficient of resistance (R_actual = R_ref*(1 + alpha_ref*(heatPort.T - T_ref))";
9+
"Temperature coefficient of resistance (R_actual = R_ref*(1 + alpha_ref*(heatPort.T - T_ref)))";
1010
extends Modelica.Electrical.Polyphase.Interfaces.ConditionalHeatPort(final mh=m, T=T_ref);
1111
parameter Boolean frequencyDependent = false "Consider frequency dependency, if true"
1212
annotation(Evaluate=true, HideResult=true, choices(checkBox=true));

Modelica/Electrical/QuasiStatic/Polyphase/Basic/Impedance.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ model Impedance "Polyphase linear impedance"
66
parameter SI.Temperature T_ref[m]=fill(293.15, m)
77
"Reference temperatures";
88
parameter SI.LinearTemperatureCoefficient alpha_ref[m]=zeros(m)
9-
"Temperature coefficient of resistance (R_actual = R_ref*(1 + alpha_ref*(heatPort.T - T_ref))";
9+
"Temperature coefficient of resistance (R_actual = R_ref*(1 + alpha_ref*(heatPort.T - T_ref)))";
1010
extends Modelica.Electrical.Polyphase.Interfaces.ConditionalHeatPort(final mh=m, T=T_ref);
1111
parameter Boolean frequencyDependent = false "Consider frequency dependency, if true"
1212
annotation(Evaluate=true, HideResult=true, choices(checkBox=true));

Modelica/Electrical/QuasiStatic/Polyphase/Basic/Resistor.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ model Resistor "Polyphase linear resistor"
77
"Reference temperatures";
88
parameter SI.LinearTemperatureCoefficient alpha_ref[m]=
99
zeros(m)
10-
"Temperature coefficient of resistance (R_actual = R_ref*(1 + alpha_ref*(heatPort.T - T_ref))";
10+
"Temperature coefficient of resistance (R_actual = R_ref*(1 + alpha_ref*(heatPort.T - T_ref)))";
1111
extends Modelica.Electrical.Polyphase.Interfaces.ConditionalHeatPort(
1212
final mh=m, T=T_ref);
1313
QuasiStatic.SinglePhase.Basic.Resistor resistor[m](

Modelica/Electrical/QuasiStatic/Polyphase/Basic/VariableAdmittance.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ model VariableAdmittance "Polyphase variable admittance"
44
parameter SI.Temperature T_ref[m]=fill(293.15, m)
55
"Reference temperatures";
66
parameter SI.LinearTemperatureCoefficient alpha_ref[m]=zeros(m)
7-
"Temperature coefficient of resistance (R_actual = R_ref*(1 + alpha_ref*(heatPort.T - T_ref))";
7+
"Temperature coefficient of resistance (R_actual = R_ref*(1 + alpha_ref*(heatPort.T - T_ref)))";
88
extends Modelica.Electrical.Polyphase.Interfaces.ConditionalHeatPort(final mh=m, T=T_ref);
99
parameter Boolean frequencyDependent = false "Consider frequency dependency, if true"
1010
annotation(Evaluate=true, HideResult=true, choices(checkBox=true));

0 commit comments

Comments
 (0)