Characteristics of a thermal mass-flow sensor in vacuum systems