with valves controlled thermally