File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 181
181
@test sol[inertia. w][idx_t] ≈ (dc_gain * [V_step; - tau_L_step])[2 ]
182
182
@test sol[emf. i][idx_t] ≈ (dc_gain * [V_step; - tau_L_step])[1 ]
183
183
#
184
- @test sol[inertia. w] == sol[speed_sensor. w]
184
+ @test sol[inertia. w] == sol[speed_sensor. w. u ]
185
185
end
186
186
187
187
@testset " El. Heating Circuit" begin
191
191
@named heating_resistor = HeatingResistor (R_ref = 100 , alpha = 1e-3 , T_ref = 293.15 )
192
192
@named thermal_conductor = ThermalConductor (G = 50 )
193
193
@named env = FixedTemperature (T = 273.15 + 20 )
194
- connections = [connect (source. n, ground. p , heatingResistor. n)
194
+ connections = [connect (source. n, ground. g , heatingResistor. n)
195
195
connect (source. p, heating_resistor. p)
196
196
connect (heating_resistor. heat_port, thermal_conductor. port_a)
197
197
connect (thermal_conductor. port_b, env. port)]
You can’t perform that action at this time.
0 commit comments