Skip to content

Commit 102c6f0

Browse files
authored
Merge pull request #182 from SciML/YingboMa-patch-1
Fix thermal collector test
2 parents 59a1093 + 26725ad commit 102c6f0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/Thermal/thermal.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ end
168168
@testset "Thermal Collector" begin
169169
@named flow_src = FixedHeatFlow(Q_flow = 50, alpha = 100)
170170
@named hf_sensor = HeatFlowSensor()
171-
@named th_ground = FixedTemperature(T = 0)
172171
@named collector = ThermalCollector(m = 2)
173172
@named th_resistor = ThermalResistor(R = 10)
174173
@named tem_src = FixedTemperature(T = 10)
@@ -178,8 +177,7 @@ end
178177
eqs = [connect(flow_src.port, collector.port_a1, th_resistor.port_a)
179178
connect(tem_src.port, collector.port_a2)
180179
connect(hf_sensor.port_a, collector.port_b)
181-
connect(hf_sensor.port_b, mass.port, th_resistor.port_b)
182-
connect(mass.port, th_ground.port)]
180+
connect(hf_sensor.port_b, mass.port, th_resistor.port_b)]
183181
@named coll = ODESystem(eqs, t,
184182
systems = [hf_sensor, flow_src, tem_src,
185183
collector, th_resistor, mass])

0 commit comments

Comments
 (0)