for controlling the distribution of heat-exchange media between different channels