Total flow rate through heat exchanger controlled by valve