File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 168
168
@testset " Thermal Collector" begin
169
169
@named flow_src = FixedHeatFlow (Q_flow = 50 , alpha = 100 )
170
170
@named hf_sensor = HeatFlowSensor ()
171
- @named th_ground = FixedTemperature (T = 0 )
172
171
@named collector = ThermalCollector (m = 2 )
173
172
@named th_resistor = ThermalResistor (R = 10 )
174
173
@named tem_src = FixedTemperature (T = 10 )
178
177
eqs = [connect (flow_src. port, collector. port_a1, th_resistor. port_a)
179
178
connect (tem_src. port, collector. port_a2)
180
179
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)]
183
181
@named coll = ODESystem (eqs, t,
184
182
systems = [hf_sensor, flow_src, tem_src,
185
183
collector, th_resistor, mass])
You can’t perform that action at this time.
0 commit comments