A liquid cooling system for cooling an electrical component, the liquid cooling system including a cooling circuit having at least one supply branch for supplying liquid coolant to an electrical component; and a de-aeration line to provide a connection between a high point and a junction point of the cooling circuit to bypass a part of the cooling circuit; wherein the pressure of the liquid coolant is lower in the junction point than in the high point during circulation of the liquid coolant in the liquid cooling system.