Skip to content

Commit 420f8e9

Browse files
fix: turn default for HeatingResistor into guess
1 parent 750abea commit 420f8e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Electrical/Analog/ideal_components.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Temperature dependent electrical resistor
210210
alpha = 0, [description = "Temperature coefficient of resistance"]
211211
end
212212
@variables begin
213-
R(t) = R_ref
213+
R(t), [guess = R_ref]
214214
end
215215
@equations begin
216216
R ~ R_ref * (1 + alpha * (heat_port.T - T_ref))

0 commit comments

Comments
 (0)