Liquid-ring vacuum pumps with closed cooling circuit