A method for estimating grid properties (Z G, V G) of a power grid coupled to a generator at a point of common coupling, the method comprising: measuring a voltage (V PCC) at the point of common coupling at N different working points of the power grid, N ≥ 3, measuring a current (I PCC) at the point of common coupling at the N different working points, determining a phase angle (α) between the measured voltage (V PCC) at the point of common coupling and the measured current (I PCC) at the point of common coupling for each of the N different working points, and estimating the grid properties (Z G, V G) by a grid model using as input parameters the measured voltage (V PCC) at the point of common coupling, the measured current (I PCC) at the point of common coupling and the determined phase angle (α) for the N different working points, wherein the grid properties (Z G, V G) include a resistive part of a grid impedance (Z G), a reactive part of the grid impedance (Z G) and a grid voltage (V G) of the power grid, characterized in that the resistive part of the grid impedance (Z G), the reactive part of the grid impedance (Z G) and the grid voltage (V G) are determined by solving the following equation for three different working points: V G 2 = | V PCC i | 2 + R 2 + X 2 ⋅ | I P ⁢ C ⁢ C ⁢ ​ i | 2 − 2 ⋅ | V P ⁢ C ⁢ C ⁢ ​ i | ⋅ | I P ⁢ C ⁢ C ⁢ ​ i | ⋅ R ⋅ cos α i + X ⋅ sin α i i = 1,2,3; wherein V PCC indicates the measured voltage at the point of common coupling, I PCC indicates the measured current at the point of common coupling, and α indicates the determined phase angle between the measured voltage at the point of common coupling and the measured current at the point of common coupling, or the resistive part of the grid impedance (Z G), the reactive part of the grid impedance (Z G) and the grid voltage (V G) are determined by solving the following equation for three different working points: V G 2 = | V P ⁢ C ⁢ C ⁢ ​ i | 2 + R 2 + X 2 ⋅ P 2 i + Q 2 i | V P ⁢ C ⁢ C ⁢ ​ i | 2 − 2 ⋅ R * P i + X * Q i, i = 1,2,3 wherein V PCC indicates the voltage at the point of common coupling, P indicates the active power injected at the point of common coupling, and Q indicates the reactive power injected at the point of common coupling. measuring a voltage (V PCC) at the point of common coupling at N different working points of the power grid, N ≥ 3, measuring a current (I PCC) at the point of common coupling at the N different working points, determining a phase angle (α) between the measured voltage (V PCC) at the point of common coupling and the measured current (I PCC) at the point of common coupling for each of the N different working points, and estimating the grid properties (Z G, V G) by a grid model using as input parameters the measured voltage (V PCC) at the point of common coupling, the measured current (I PCC) at the point of common coupling and the determined phase angle (α) for the N different working points, wherein the grid properties (Z G, V G) include a resistive part of a grid impedance (Z G), a reactive part of the grid impedance (Z G) and a grid voltage (V G) of the power grid, characterized in that the resistive part of the grid impedance (Z G), the reactive part of the grid impedance (Z G) and the grid voltage (V G) are determined by solving the following equation for three different working points: V G 2 = | V PCC i | 2 + R 2 + X 2 ⋅ | I P ⁢ C ⁢ C ⁢ ​ i | 2 − 2 ⋅ | V P ⁢ C ⁢ C ⁢ ​ i | ⋅ | I P ⁢ C ⁢ C ⁢ ​ i | ⋅ R ⋅ cos α i + X ⋅ sin α i i = 1,2,3; wherein V PCC indicates the measured voltage at the point of common coupling, I PCC indicates the measured current at the point of common coupling, and α indicates the determined phase angle between the measured voltage at the point of common coupling and the measured current at the point of common coupling, or the resistive part of the grid impedance (Z G), the reactive part of the grid impedance (Z G) and the grid voltage (V G) are determined by solving the following equation for three different working points: V G 2 = | V P ⁢ C ⁢ C ⁢ ​ i | 2 + R 2 + X 2 ⋅ P 2 i + Q 2 i | V P ⁢ C ⁢ C ⁢ ​ i | 2 − 2 ⋅ R * P i + X * Q i, i = 1,2,3 wherein V PCC indicates the voltage at the point of common coupling, P indicates the active power injected at the point of common coupling, and Q indicates the reactive power injected at the point of common coupling.