A method for installing an offshore installation , the method comprising the steps of: a) providing (S1) a pipe for connecting the offshore installation with another offshore installation or an onshore installation , b) arranging (S2) an electrical cable inside the pipe , c) determining (S3) a level at or above the seabed , wherein the pipe comprises a first portion arranged below the determined level and a second portion arranged above the determined level , and wherein the electrical cable is arranged inside the pipe so as to form a gap with an inner wall of the pipe along the first and second portion , d) determining (S4) an amount of cooling liquid such that, when the cooling liquid has a first temperature (T1), the cooling liquid fills the gap along the first portion of the pipe , wherein the second portion of the pipe is free of the cooling liquid , and when the cooling liquid cools the electrical cable and, therefore, has a second temperature (T2) higher than the first temperature (T1), it is expanded from the first portion into the second portion , filling the gap along the first and second portion of the pipe , and e) providing (S5) the determined amount of the cooling liquid inside the pipe and wherein the level is a sea level at the offshore installation , a level of the seabed below the offshore installation or a level between the sea level and the seabed level ;and wherein the cooling liquid has the first temperature (T1) during a state in which no power is transmitted through the electrical cable . a) providing (S1) a pipe for connecting the offshore installation with another offshore installation or an onshore installation , b) arranging (S2) an electrical cable inside the pipe , c) determining (S3) a level at or above the seabed , wherein the pipe comprises a first portion arranged below the determined level and a second portion arranged above the determined level , and wherein the electrical cable is arranged inside the pipe so as to form a gap with an inner wall of the pipe along the first and second portion , d) determining (S4) an amount of cooling liquid such that, when the cooling liquid has a first temperature (T1), the cooling liquid fills the gap along the first portion of the pipe , wherein the second portion of the pipe is free of the cooling liquid , and when the cooling liquid cools the electrical cable and, therefore, has a second temperature (T2) higher than the first temperature (T1), it is expanded from the first portion into the second portion , filling the gap along the first and second portion of the pipe , and when the cooling liquid has a first temperature (T1), the cooling liquid fills the gap along the first portion of the pipe , wherein the second portion of the pipe is free of the cooling liquid , and when the cooling liquid cools the electrical cable and, therefore, has a second temperature (T2) higher than the first temperature (T1), it is expanded from the first portion into the second portion , filling the gap along the first and second portion of the pipe , and e) providing (S5) the determined amount of the cooling liquid inside the pipe and wherein the level is a sea level at the offshore installation , a level of the seabed below the offshore installation or a level between the sea level and the seabed level ;and wherein the cooling liquid has the first temperature (T1) during a state in which no power is transmitted through the electrical cable . wherein the level is a sea level at the offshore installation , a level of the seabed below the offshore installation or a level between the sea level and the seabed level ;and wherein the cooling liquid has the first temperature (T1) during a state in which no power is transmitted through the electrical cable . <EOS>