@@ -85,7 +85,7 @@ def flow_system_minimal(timesteps) -> fx.FlowSystem:
8585 flow_system .add_elements (
8686 fx .linear_converters .Boiler (
8787 'Boiler' ,
88- 0.5 ,
88+ thermal_efficiency = 0.5 ,
8989 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
9090 thermal_flow = fx .Flow ('Q_th' , bus = 'Fernwärme' ),
9191 )
@@ -141,7 +141,7 @@ def test_fixed_size(solver_fixture, time_steps_fixture):
141141 flow_system .add_elements (
142142 fx .linear_converters .Boiler (
143143 'Boiler' ,
144- 0.5 ,
144+ thermal_efficiency = 0.5 ,
145145 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
146146 thermal_flow = fx .Flow (
147147 'Q_th' ,
@@ -182,7 +182,7 @@ def test_optimize_size(solver_fixture, time_steps_fixture):
182182 flow_system .add_elements (
183183 fx .linear_converters .Boiler (
184184 'Boiler' ,
185- 0.5 ,
185+ thermal_efficiency = 0.5 ,
186186 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
187187 thermal_flow = fx .Flow (
188188 'Q_th' ,
@@ -223,7 +223,7 @@ def test_size_bounds(solver_fixture, time_steps_fixture):
223223 flow_system .add_elements (
224224 fx .linear_converters .Boiler (
225225 'Boiler' ,
226- 0.5 ,
226+ thermal_efficiency = 0.5 ,
227227 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
228228 thermal_flow = fx .Flow (
229229 'Q_th' ,
@@ -264,7 +264,7 @@ def test_optional_invest(solver_fixture, time_steps_fixture):
264264 flow_system .add_elements (
265265 fx .linear_converters .Boiler (
266266 'Boiler' ,
267- 0.5 ,
267+ thermal_efficiency = 0.5 ,
268268 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
269269 thermal_flow = fx .Flow (
270270 'Q_th' ,
@@ -276,7 +276,7 @@ def test_optional_invest(solver_fixture, time_steps_fixture):
276276 ),
277277 fx .linear_converters .Boiler (
278278 'Boiler_optional' ,
279- 0.5 ,
279+ thermal_efficiency = 0.5 ,
280280 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
281281 thermal_flow = fx .Flow (
282282 'Q_th' ,
@@ -336,7 +336,7 @@ def test_on(solver_fixture, time_steps_fixture):
336336 flow_system .add_elements (
337337 fx .linear_converters .Boiler (
338338 'Boiler' ,
339- 0.5 ,
339+ thermal_efficiency = 0.5 ,
340340 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
341341 thermal_flow = fx .Flow ('Q_th' , bus = 'Fernwärme' , size = 100 , on_off_parameters = fx .OnOffParameters ()),
342342 )
@@ -375,7 +375,7 @@ def test_off(solver_fixture, time_steps_fixture):
375375 flow_system .add_elements (
376376 fx .linear_converters .Boiler (
377377 'Boiler' ,
378- 0.5 ,
378+ thermal_efficiency = 0.5 ,
379379 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
380380 thermal_flow = fx .Flow (
381381 'Q_th' ,
@@ -426,7 +426,7 @@ def test_switch_on_off(solver_fixture, time_steps_fixture):
426426 flow_system .add_elements (
427427 fx .linear_converters .Boiler (
428428 'Boiler' ,
429- 0.5 ,
429+ thermal_efficiency = 0.5 ,
430430 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
431431 thermal_flow = fx .Flow (
432432 'Q_th' ,
@@ -484,7 +484,7 @@ def test_on_total_max(solver_fixture, time_steps_fixture):
484484 flow_system .add_elements (
485485 fx .linear_converters .Boiler (
486486 'Boiler' ,
487- 0.5 ,
487+ thermal_efficiency = 0.5 ,
488488 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
489489 thermal_flow = fx .Flow (
490490 'Q_th' ,
@@ -495,7 +495,7 @@ def test_on_total_max(solver_fixture, time_steps_fixture):
495495 ),
496496 fx .linear_converters .Boiler (
497497 'Boiler_backup' ,
498- 0.2 ,
498+ thermal_efficiency = 0.2 ,
499499 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
500500 thermal_flow = fx .Flow ('Q_th' , bus = 'Fernwärme' , size = 100 ),
501501 ),
@@ -534,7 +534,7 @@ def test_on_total_bounds(solver_fixture, time_steps_fixture):
534534 flow_system .add_elements (
535535 fx .linear_converters .Boiler (
536536 'Boiler' ,
537- 0.5 ,
537+ thermal_efficiency = 0.5 ,
538538 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
539539 thermal_flow = fx .Flow (
540540 'Q_th' ,
@@ -545,7 +545,7 @@ def test_on_total_bounds(solver_fixture, time_steps_fixture):
545545 ),
546546 fx .linear_converters .Boiler (
547547 'Boiler_backup' ,
548- 0.2 ,
548+ thermal_efficiency = 0.2 ,
549549 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
550550 thermal_flow = fx .Flow (
551551 'Q_th' ,
@@ -608,7 +608,7 @@ def test_consecutive_on_off(solver_fixture, time_steps_fixture):
608608 flow_system .add_elements (
609609 fx .linear_converters .Boiler (
610610 'Boiler' ,
611- 0.5 ,
611+ thermal_efficiency = 0.5 ,
612612 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
613613 thermal_flow = fx .Flow (
614614 'Q_th' ,
@@ -619,7 +619,7 @@ def test_consecutive_on_off(solver_fixture, time_steps_fixture):
619619 ),
620620 fx .linear_converters .Boiler (
621621 'Boiler_backup' ,
622- 0.2 ,
622+ thermal_efficiency = 0.2 ,
623623 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
624624 thermal_flow = fx .Flow ('Q_th' , bus = 'Fernwärme' , size = 100 ),
625625 ),
@@ -669,13 +669,13 @@ def test_consecutive_off(solver_fixture, time_steps_fixture):
669669 flow_system .add_elements (
670670 fx .linear_converters .Boiler (
671671 'Boiler' ,
672- 0.5 ,
672+ thermal_efficiency = 0.5 ,
673673 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
674674 thermal_flow = fx .Flow ('Q_th' , bus = 'Fernwärme' ),
675675 ),
676676 fx .linear_converters .Boiler (
677677 'Boiler_backup' ,
678- 0.2 ,
678+ thermal_efficiency = 0.2 ,
679679 fuel_flow = fx .Flow ('Q_fu' , bus = 'Gas' ),
680680 thermal_flow = fx .Flow (
681681 'Q_th' ,
0 commit comments