A computer program element for a thermal management system, wherein the computer program element is executable by a processing element of a vehicle, to cause the processing element to:
- connect at least one degassing pipe comprising at least one degassing pipe end to a degassing tank by means of at least one connecting port, wherein the at least one connecting port is arranged at a side wall of the degassing tank;
- connect a filling pipe to the degassing tank by means of a filling port, wherein the filling port is arranged at the bottom of the degassing tank;
- and
- arrange the at least one degassing pipe end below a limit level of the degassing tank and at a first distance from the filling port of the filling pipe.