Refactoring of ThermalGrid.handleInfeed
to fix thermal storage recharge correctly when empty
#931
+365
−85