Adaptive, Demand-Driven Thermal Management of Battery Packs via Branch-Level Flow Allocation | Synapse