Distributed Complementary Control Research of Wind Turbines in Two Offshore Wind Farms

: In order to stabilize the ﬂuctuation of wind power and maintain a stable power output, a complementary control idea is proposed. This idea aims to make the output power from two wind farms complement each other. This study proposes a distributed control strategy to solve the complementary control problem of wind turbines in two offshore wind farms on the basis of the Hamiltonian energy theory. The proposed control strategy not only ensures synchronization for wind turbines in the same farm but also keeps the combined output power of the two wind farms stable. First, through the Hamiltonian realization, the single-machine model of a wind turbine is transformed into a port-controlled Hamiltonian system with dissipation (PCHD). Subsequently, the Hamiltonian energy control law is developed on the basis of the energy-shaping method to adjust the Hamiltonian energy function. The complementary control of the two wind farms is designed to synchronize the wind turbines within an individual wind farm and keep the combined output of the two wind farms stable. Furthermore, the complementary control strategy is modiﬁed to address the communication delay between the two wind farms by incorporating time delay into the control problem. Finally, the effectiveness of the distributed complementary control has been veriﬁed via simulations.


Introduction
Recently, offshore wind-power generation has been receiving considerable attention from various countries because of its advantages, such as abundant reserves, a high energy-utilization rate, and the fact that wind power does not require land resources. In eastern China, the load requirements are relatively high for the developed regions along the coastlines. Thus, offshore wind power has been rapidly developed [1][2][3][4]. Unlike onshore wind farms, offshore wind farms are located far away from the land, which makes maintenance fairly difficult. As a result, higher reliability and autonomy are essential for offshore wind farms. Furthermore, with the expansion of capacity and the increase in offshore distance, offshore wind power is facing an increasing number of problems. Therefore, new control methods and designs are required to solve these growing problems associated with offshore wind-power generation [5][6][7].
The sea contains abundant wind resources. However, because of its complicated environment and constant changes in wind speed, achieving stability of the power produced by offshore wind turbines is a challenge for researchers. When the wind potential of a wind farm changes, its output electrical energy transmitted to the power grid is also affected. In this study, we aim to stabilize the output power of two wind farms using the proposed control strategy. When the output power of a wind farm decreases, the other farm can compensate for the loss of power. Hence, the sum of the output power will be maintained largely at a stable level, which can reduce the requirements for energy storage and adjusting thermal power.
An offshore wind farm consists of dozens of wind turbines, wherein each wind turbine is regarded as a network node, and the communication lines between the wind turbines are regarded as links between the nodes. Hence, an offshore wind farm can be perceived as a distributed network. The traditional centralized paradigm has conceptual advantages but also inherent limitations [8,9]. The practice in the wind industry relies on distributed control structures, and there is a strong need for more systematic approaches for the design of such controllers, taking the distributed information into account. Distributed control can effectively solve the control problems of a networked system. By exchanging information between the wind turbines, the distributed control strategy is formulated on the basis of the information obtained by each unit from its neighbouring units, thereby effectively realizing the control of the entire distributed network. Therefore, distributed control has been considered as a promising technique to be applied in offshore wind farms [10,11]. Furthermore, the consensus problem is the basis of the distributed control of multi-agent systems [12,13]. On the basis of satisfying the output consensus of wind turbines in wind farms, complementary control is proposed as an extension study, to alleviate the impact of power fluctuation on the grid.
Stochastically fluctuating wind power has a negative impact on power grid operations. How to smooth the power fluctuation and minimize the output impact on the grid is always the focus of attention. Jiang et al. proposed a wind-power filtering approach in order to mitigate short-and long-term fluctuations using a hybrid energy storage system [14]. Li et al. presented coordinated control strategies to improve system inertia through exerting capacitor energy and minimizing the impact on wind energy harvesting with the aid of communication between onshore and offshore grids [15]. For offshore wind power plants integrated to a three-terminal high-voltage direct current (DC) system, a coordinated fast primary frequency control scheme was proposed. Furthermore, the impact of wind-speed variation on the active power output and the AC grid frequency was analyzed in [16]. Our work solves this problem by taking advantage of the natural complementary characteristics of wind energy. Offshore wind farms are normally located far away from each other, in areas with different wind conditions. In order to keep the total output stable and minimize the power impact on the power grid, through coordinating two wind farms with complementary characteristics, this study proposes a distributed complementary control strategy to synchronize the output of the wind turbines within the individual wind farm and maintain the combined power of the two wind farms at a stable level. Moreover, the communication delay between two offshore farms due to the considerable distance is considered, and the complementary control problem with time delay is also investigated in this study.
The Hamiltonian energy method provides a framework with a nice structure and clear physical meaning for nonlinear control systems [17]. With the method, many significant achievements have been obtained for single-and multi-machine systems [18,19]. Nevertheless, without considering network graphs, these multi-machine systems are not regarded as distributed systems. This paper proposes a distributed control strategy based on the Hamiltonian energy method. In this study, the wind turbine is formulated as a port-controlled Hamiltonian system with dissipation (PCHD) through the Hamiltonian realization. Additionally, the Hamiltonian energy function of the system is modified by using the energy-shaping method [20]. The detailed procedures of this study are as follows: first, a single-machine model of the wind turbine is realized in the PCHD form, and it is further expanded to the Hamiltonian model of a wind turbine farm. Second, the complementary control problem of the two wind farms is investigated. The complementary control is designed by introducing the coordination controller. When a communication link between the two wind farms exists, distributed complementary control helps the two farms achieve the objectives of individual and combined output stabilization. Furthermore, the communication delay between the two wind farms is considered, and a modified control strategy is proposed to solve the control problem of the system with time delay. Finally, the feasibility of the complementary control strategy has been verified via simulations. Under normal conditions, the complementary control helps to maintain the stability of the combined output power of the two wind farms. In case of failure, or even if a unit breaks down, the complementary control strategy can keep the total output power stable.
In conclusion, the main goal or contribution of this study includes the following aspects. First, the objective of distributed complementary control is to smoothen the fluctuation of power and keep a output stable in order to reduce the impact on the grid and relieve the pressure of power scheduling. Second, distributed complementary control is proposed to solve the cooperative control problem of two wind farms, which extends to distributed control from a single wind farm to multiple wind farms. Third, considering that the communication delay is non-negligible for long distances between two wind farms, the complementary control is extended to the system with a time delay.
The organization of this paper is as follows. In Section 2, the single-machine Hamiltonian realization of a wind turbine is introduced. In Section 3, the complementary control strategy of two wind farms is proposed. In Section 4, the control strategy with the communication delay is designed. In Section 5, the simulation results verify the effectiveness of the design approach. Finally, Section 6 provides the conclusions.

Single-Machine Hamiltonian Realization of Wind Turbine
The single-machine Hamiltonian realization of a wind turbine is given in this section, and it is considered as the basic model for the Hamiltonian model of a wind farm in Section 3. In this study, the doubly fed wind turbine is represented as the following third-order model [21][22][23]: where X s = ω s L ss , X s = ω s (L ss − L 2 m L rr ) , T 0 = L rr R r , s is the rotor's slip ratio, H tot is the inertia constant of the wind turbine and the generator, and P s = −E d i ds − E q i qs is the active power output of the stator of the wind turbine. Q s = E d i qs − E q i ds is the reactive power output of the stator of the wind turbine, P m is the mechanical power input of the wind turbine, L ss is the self-inductance of the stator, L rr is the self-inductance of the rotor, L m is the mutual inductance, and R r is the resistance of the rotor; ω s is the synchronous speed, X s is the reactance of the stator, X s is the transient reactance of the stator, and i ds and i qs are the currents of the stator along the dand q-axes, respectively. E d and E q are the voltages of the transient reactance along the dand q-axes, respectively, and v dr and v qr are the voltages of the rotor along the dand q-axes, respectively. Hence, Equation (1) is a double-input, third-order model of the wind turbine under the d-q coordinate system, where s, E d and E q are the state variables, and v dr and v qr are the input variables.
First, the Hamiltonian energy function can be constructed as follows: Consequently, the system described by Equation (1) can be transformed into the port-controlled Hamiltonian (PCH) system as follows: Second, the PCH system is transformed into the PCHD system through a pre-feedback control. The whole controller can be developed using the following equation: where the control law is divided into two parts: the pre-feedback controller K and the output feedback controller µ. Hence, The closed-loop system can be rewritten as a PCHD model: Thus, Equation (6) matches the PCHD form. The output equation is expressed as

Graph Theory of Network Topology
An offshore wind farm can be seen as a distributed network, wherein the wind turbines are regarded as the nodes and exchange information through the communication lines. On the basis of this network, the distributed control strategy of the whole system has been developed. The terms associated with the graph theory are given as follows [24]: Consider n nodes that interact with each other. The relationship between them can be expressed as a directed or undirected graph. A graph G(V, E) consists of a node set V = {v 1 , v 2 , . . . , v n } and an edge set E ⊆ V × V. If the edge of the graph is an unordered pair of nodes, where i, j = 1, 2, . . . , n, the graph is considered undirected. Similarly, if the edge of the graph is an ordered pair of nodes, The in-degree d i (i.e., the sum of the elements of the ith row of matrix A) of node i is defined as d i = ∑ j∈N i a ij . Subsequently, the in-degree matrix is defined as D = diag d i , and the Laplacian matrix L is defined as L = D − A. If a path between any two nodes, in an undirected graph, can always be determined, then this graph is called a connected graph. In the case of a directed graph, it is called a strongly connected graph. Considering a directed graph, if every node except the root node has only one parent node, the directed graph is a directed tree. If a directed graph contains a directed tree, this directed tree is called a directed spanning tree to a directed graph. The following is an important lemma on the directed graph: . . , z T p ] T with z i ∈ R m and L p ∈ R p×p is the Laplacian matrix of a directed graph. Then the following five conditions are equivalent: (1) The directed graph of L p has a directed spanning tree.
(3) L p has a simple zero eigenvalue with an associated eigenvector 1 p , and all other eigenvalues have positive real parts. (4) Consensus is reached asymptotically for the systemż = −(L p ⊗ I m )z. (5) The rank of L p is p − 1.

Description of the Complementary Control Problem of Wind Farms
In this subsection, the PCHD model given in Equation (6) is extended into the model of wind turbines in wind farms, on the basis of graph theory.
where the state of the ith wind turbine is The gradient of the Hamiltonian energy function . J i , R i and G i are the same as J, R, and G in Equation (6), respectively. The only difference between them is that J i , R i and G i have the index i with each variable, which represents the parameters of the ith wind turbine.
Referring to the definition of group consistency [26], the output complementation of the system, Equation (8), is defined as follows: Definition 1. For the networked system given in Equation (8), consisting of N PCHD nodes in two wind T is a constant vector. If the outputs of the N PCHD nodes satisfy the following conditions: where · is the Euclidean norm, the outputs of the wind farms A 1 and A 2 complement each other, and T is the target value.

Remark 1.
The output active power of the wind turbine is When the outputs of the wind turbines in each wind farm are synchronized and the active powers of the two farms are complementary to each other, we have Supposing that the main parameters of these units approximately coincide and that the two wind farms have the same number of wind turbines, N = 2n, the sum of the output active power of the two wind farms is This means that when the outputs of the wind farms are complementary to each other, the active powers of the two wind farms can also be complementary to each other, and their sum remains constant. Moreover, if the total output active power P sA is known, we can find a corresponding T satisfying Equation (13) and design the corresponding complementary control strategy to make the total output active power achieve the target value.

Complementary Control Design of Wind Farms
The complementary control strategy includes two steps: first, adjusting the Hamiltonian energy function H i (x i ) to the new energy function H id (x i ) through the Hamiltonian energy-shaping method. Second, developing the complementary control strategy using the new energy function.
, the outputs of the wind turbines need to satisfy where T e i is the modified output.
We let the energy-shaping control law beμ i . Consequently, the system under the action ofμ i can be rewritten as Hence, The following matching conditions should be satisfied: (16)) represents a column full-rank matrix. The energy-shaping control can be expressed as follows: By summarizing the aforementioned analyses, the following theorem is obtained.

Theorem 1.
For wind turbines in offshore wind farms, on the basis of the energy-shaping method, the Hamiltonian energy control law is defined as whereμ i = μ drĩ µ qri is the coordinated controller to be designed in the subsequent study. Using Equation (17), the system satisfies the condition of Equation (14) via the new Hamiltonian energy function H id (x i ).
Proof of Theorem 1. According to Equation (14), the desired Hamiltonian function H id (x i ) needs to be developed from According to the energy-shaping control given in Equation (17), we can derivē Hence, the energy-shaping control is obtained. In the subsequent design, the coordinated controllerμ i can be added to Equation (18).
As the communication link between the two wind farms exists, they can be seen as one distributed network. Considering the transmission direction of the communication information, the network topology can be regarded as a directed graph, which meets the following assumption.

Assumption 1.
Considering that the network topology is composed of two offshore wind farms, at least one directed spanning tree exists in it.
When Assumption 1 is satisfied, the distributed complementary control strategy is developed, and the theorem is obtained as follows: Theorem 2. By considering that the distributed network is composed of two wind farms A 1 and A 2 , it can be assumed that the network topology satisfies Assumption 1. Distributed coordinated control is developed using where N i represents the set of neighbouring nodes of the ith wind turbine, is the complementary target value. Subsequently, the closed-loop system is globally stable, and the wind turbines in the two wind farms can achieve the output complementation.
Proof of Theorem 2. Substituting the complementary control strategy, Equation (19), into the system, Equation (8), we havė The above equation is rewritten in matrix form as follows: . . , G N }, and y d = δ 1 (y 1 − T e 1 ) T , . . . , δ N (y N − T e N ) T T . If we select H d as the Hamiltonian energy function, its derivative can be expressed aṡ Hence, the entire PCHD system is globally stable. Furthermore, we consider the following set: As the directed network topology composed of the two wind farms satisfies Assumption 1, it is known from Lemma 1 that According to LaSalle's principle [27], as t → ∞, all the solutions of the system converge to set S, that is lim t→∞ y j (t) − y k (t) = 0, ∀j, k ∈ A 1 lim t→∞ y j (t) − y k (t) = 0, ∀j, k ∈ A 2 lim t→∞ (y j (t) + y k (t)) = T, ∀j ∈ A 1 , k ∈ A 2 Therefore, the two wind farms, A 1 and A 2 , can achieve output synchronization, and their combined output is maintained in a steady state.

Main Results and Analysis
In summary, the distributed control strategy of these wind turbines in two wind farms can be expressed as where the pre-feedback control can be given as the energy-shaping control can be expressed as and the coordinated control can be designed as The control strategy consists of three parts: The first part is the pre-feedback control, given in Equation (21), for achieving the Hamiltonian realization and the stability of a single-machine wind turbine. The second part is the energy-shaping control, given in Equation (22), for adjusting the Hamiltonian energy function to be used in the coordinated control. The third part is the coordinated controller, given in Equation (23), for maintaining the total output power stability. The second and third parts are combined to form the distributed complementary control strategy for the PCHD system (Equation (8)).
The result is summarized as the following theorem, which is the main conclusion of this study.

Theorem 3.
Consider the wind turbines in two offshore wind farms as follows: The network topology of the two wind farms satisfies Assumption 1. Under the action of the control strategy, given in Equation (20), the outputs of the wind turbines in each wind farm are synchronized, and the total active power stability of the two wind farms is maintained.

Remark 2.
When the outputs of the two wind farms are complementary to each other, we have y j + y k = y j1 + y k1 y j2 + y k2 Considering that the parameters of the wind turbines cannot be exactly equal, the sum of the output active power of the two wind farms, Equation (13), is rewritten as (25) Noting that the parameters of each unit, L rr , ω s , L m , P m , i qs , and i ds are respectively constant values and that the sum of the active power of two farms A 1 and A 2 is a fixed value, the complementary control strategy can achieve the output complementation between the two wind farms by adjusting the target value T. Although the complementary control strategy may not be able to achieve precise complementation because of the parameter differences of the units, the output complementation is still achievable if the machines in these offshore wind farms are of the same type and their parameters are similar. That is, when the output power of one farm drops, that of the other one will increase under the action of the distributed control strategy.

Complementary Control Strategy in the Case of Time Delay
A time delay in communication does exist. Inside the wind farm, the communication delay is negligible because the transmission distances are short. However, the communication delay between the two wind farms is not generally negligible, particularly for long transmission distances. Hence, it is of practical significance to take the control problem of the wind turbines with the communication delay into further consideration. First, the definition of the output complementation considering the time delay is given as follows.
Definition 2. For a networked system as given in Equation (8) where τ ij (or τ ik ) is the total communication delay from wind turbine j (or k) to wind turbine i, then the outputs of the wind farms A 1 and A 2 are complementary to each other. When the wind turbines i and j (or k) belong to the same wind farm, τ ij = 0 (or τ ik = 0); otherwise, τ ij = 0 (or τ ik = 0).
Considering the communication delay between two wind farms, the control strategy is modified and the following theorem is obtained.

Theorem 4.
Considering the distributed network composed of the two wind farms A 1 and A 2 , it is assumed that the distributed network topology satisfies Assumption 1 and that a communication delay τ ij (or τ ik ) between them exists. The distributed complementary control strategy can be determined using where   , and T = T 1 + T 2 is the complementary target value. Consequently, the closed-loop system is globally stable, and the outputs of the two wind farms can achieve complementation.
Proof of Theorem 4. Substituting the complementary control strategy, Equation (26), into the system, Equation (8), we havė Rewriting the above equation in matrix form, we obtaiṅ Selecting H d as the Hamiltonian energy function, its derivative can be expressed aṡ Hence, the entire PCHD system is globally stable. We consider the following set: As the directed network composed of the two wind farms satisfies Assumption 1, the following can be written using Lemma 1 as When t → ∞, all the solutions of the system converge to set S. Hence, the outputs satisfy the following conditions: In the presence of the communication delay between the two wind farms, a modified complementary control strategy, Equation (26), is proposed. This strategy makes the closed-loop system achieve the control target of output synchronization and complementation between the two farms.
Because the distance between two offshore wind farms is considerable, the communication delay between them cannot be neglected. In particular, when a wind farm is affected by the wind environment, the generated electric energy will vary. Simultaneously, this variation is detected by the other farm, which will adjust the output on the basis of the complementary control strategy. If the communication delay is neglected, the original design for peak-shaving and valley-filling may cause the summing of peaks and the overlapping of the valley. Hence, the stability of the output is not improved and the volatility of the output is amplified.
As the two offshore wind farms are connected by a submarine cable and the communication delay largely remains unchanged, this study considers the delay as a constant value. In practice, the communication delay is composed of the transmission and processing delay with randomness and uncertainty, which cannot be completely regarded as a fixed value. However, as long as the true value is close to the set value, the control strategy is still effective.
Finally, a block diagram is presented in Figure 1 to show an overall picture of the proposed methodology.

Verification via Simulations
In this section, simulations have been performed to verify the proposed control strategy, which contains three parts. The first part shows that under the control of the complementary control strategy, Equation (19), two wind farms can achieve individual output synchronization and complementation to each other. In the second part, considering the communication delay, the complementary control target can be realized using the new control strategy, given by Equation (26). Finally, the third part deals with the case of failure. The simulation results show that when a wind turbine breaks up, the other turbines can still function normally and the complementary control strategy is still effective.

Results of the Complementary Control
− y 4 +μ 4 µ 5 = y 7 − y 1 − 2y 5 + T +μ 5 µ 6 = y 7 + y 5 − 2y 6 +μ 6 µ 7 = y 6 − y 7 +μ 7 µ 8 = y 6 − y 8 +μ 8 Assuming that, at 3 s, the output y k and the active power P sk (k ∈ A 2 ) of the wind turbines in wind farm A 2 vary with the wind speed, the response curves are those shown in . Figure 3 shows the system outputs of every wind turbine, Figure 4 shows the active power outputs of every wind turbine, and Figure 5 shows the sums of the active power outputs of the wind farms. Before the 3 s, the wind turbines in the two wind farms are in steady state and the sum of the active power outputs of the two wind farms is 40 MW. Assuming that at 3 s the wind speed is reduced in wind farm A 2 , the power outputs of wind turbines 5, 6, 7 and 8 are reduced to 3, 3, 4, and 3.5 MW, respectively. According to the complementary control strategy, the active output of each unit in wind farm A 1 is regulated as long as there is enough wind energy. The power outputs of wind turbines 1, 2, 3 and 4 are adjusted to 6.1, 6.7, 7.5 and 6.2 MW, respectively. Through the automatic regulation, the total active output of the two wind farms can be maintained at 40 MW. Figure 3 shows that for y j (j ∈ A 1 ), all turbines converge to the same value y A 1 , and for y k (k ∈ A 2 ), all turbines converge to y A 2 , which means that y 1 = y 2 = y 3 = y 4 = y A 1 , y 5 = y 6 = y 7 = y 8 = y A 2 , and both wind farms achieve output synchronization. In Figures 4 and 5, from 0 to 3 s, the sum of all P si (i = 1, . . . , 8) can converge to P sA = 40 MW, which means that P sA = P sA 1 + P sA 2 = ∑ j∈A 1 P sj + ∑ k∈A 2 P sk = 40 MW. At 3 s, because of the reduction in the wind speed, the active power output of every wind turbine in A 2 drops. Consequently, y A 1 and P sA 1 are adjusted on the basis of the complementary control. Finally, the total sum of the two wind farms remains unchanged. Therefore, the complementary control target of the active power in the two wind farms is achieved.    Figure 6 shows the topological structure of the wind farms with the communication delay, where A 1 = {1, 2, 3, 4} and A 2 = {5, 6, 7, 8}. We suppose that a time delay, τ 15 or τ 51 , exists between the two wind farms. Usually the wind farms are interconnected by the same communication line, and hence, we can take τ 15 = τ 51 = 0.1 s. In this subsection, the total power is still P sA = 40 MW.
It is seen from Figure 7 that the wind turbines in the two wind farms achieve output synchronization, and the outputs y i1 and y i2 (i = 1, . . . , 8) can converge to the respective value. In Figures 8 and 9, from 0 to 3s, the sums of P sA 1 and P sA 2 can converge to P sA (40 MW). At 3 s, because of the variation in the wind speed, y A 1 changes and P sA drops. Then, y A 2 and P sA 2 are adjusted on the basis of the complementary control when a time delay exists. Hence, the sum of all P si can return to P sA = 40 MW. Therefore, the complementary control target of the two wind farms is achieved when a time delay exists.

The Results of the Complementary Control after Failure
In this subsection, the failure case is considered. We assume that a failure occurs in wind turbine 4 in A 1 at 3 s and that it cannot work thereafter. At 3.5 s, the failure unit is cut off from the network. Figure 10 shows the network topology after the malfunction, and Figures 11-13 show the response curves of the outputs.    The simulations show that the whole process can be divided into three stages: (1) Prior to 3 s, the two wind farms achieve output synchronization, and y j (j ∈ A 1 ) and y k (k ∈ A 2 ) converge to y A 1 and y A 2 , respectively. The sum of all P si (i = 1, . . . , 8) converges to the set value P sA = 40 MW.
(2) At 3 s, wind turbine 4 breaks up, and its output power falls to zero. Between 3 and 3.5 s, the broken machine is still connected to the network. Wind turbine 3 is affected by the failure and falls out of synchronization.
(3) After 3.5 s, wind turbine 4 is cut off. Figure 10 shows that the number of units in the two wind farms is different. Hence, the complementary control strategy needs to be adjusted. According to Equation (25), we have T = 8 −8.4 . Subsequently, the new complementary control is adjusted as 15 ) + T +μ 1 µ 2 = y 1 (t) − y 2 (t) +μ 2 µ 3 = y 1 (t) − y 3 (t) +μ 3 µ 5 = y 7 (t) − y 1 (t − τ 51 ) − 2y 5 (t) + T +μ 5 µ 6 = y 7 (t) + y 5 (t) − 2y 6 (t) +μ 6 µ 7 = y 6 (t) − y 7 (t) +μ 7 µ 8 = y 6 (t) − y 8 (t) +μ 8 On the basis of the proposed control strategy, Figure 11 shows that the two wind farms can still obtain a synchronous output. Figures 12 and 13 show that the total active power of the two wind farms can still converge to the set value. Thus, when a single unit fails, the output active power of two wind farms can be complementary to each other by using the complementary control strategy.
The above simulations show that the complementary control strategy with communication delay can achieve the complementary control target for individual output synchronization and overall output complementation. Moreover, the distributed complementary control strategy can effectively reduce the loss caused by fault. Even if a single unit fails, the whole wind farm can still run normally. Therefore, for the complex and changeable environment of offshore wind farms, distributed complementary control can greatly increase the reliability and autonomy of wind farms.

Conclusions
On the basis of the Hamiltonian energy method, a distributed control strategy has been proposed to solve the complementary control problem of wind turbines in two offshore wind farms. This control strategy helps the two farms to achieve internal output synchronization and output complementarity between them. In this study, the topological structure of the two offshore wind farms has been considered as a distributed network. First, the distributed complementary control strategy has been developed to achieve the control target of individual output synchronization and overall output complementation, improving the reliability of the offshore wind farms. Second, the energy-shaping method and the newly developed Hamiltonian energy theory for controlling distributed Hamiltonian systems have been applied to the modeling and control of wind turbines. In addition, considering that the two offshore wind farms are far away from each other, the communication delay between them is non-negligible. Therefore, a modified distributed complementary control strategy has been developed to ensure the feasibility of the control strategy in the case of time delay. Finally, the effectiveness of the proposed control strategies has been demonstrated via numerical simulations under three different scenarios. In future work, the distributed complementary control strategy can be further expanded and used for multiple wind farms or wind farm clusters.