Skip to content

Commit e641d15

Browse files
committed
Fix Aqua validation error
1 parent 5f70d88 commit e641d15

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Electrical/Analog/ideal_components.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ Generic resistor with optional temperature dependency.
4848
end
4949

5050
@parameters begin
51-
R = 1.0, [description = "Reference resistance", unit = "Ω"]
52-
T_ref = 300.15, [description = "Reference temperature", unit = "K"]
53-
alpha = 0.0, [description = "Temperature coefficient of resistance", unit = "K⁻¹"]
51+
R = 1.0, [description = "Reference resistance"]
52+
T_ref = 300.15, [description = "Reference temperature"]
53+
alpha = 0.0, [description = "Temperature coefficient of resistance"]
5454
end
5555

5656
if T_dep
5757
@components begin
5858
heat_port = HeatPort()
5959
end
6060
@variables begin
61-
R_T(t), [description = "Temperature-dependent resistance", unit = "Ω"]
61+
R_T(t), [description = "Temperature-dependent resistance"]
6262
end
6363
@equations begin
6464
R_T ~ R * (1 + alpha * (heat_port.T - T_ref)) # Temperature-dependent resistance

0 commit comments

Comments
 (0)