1. Introduction
With the acceleration of the global energy transition, offshore wind power, as an important component of clean energy, is developing rapidly toward large-scale and clustered deployment [
1]. China is rich in offshore wind power resources. In recent years, a number of large-scale offshore wind power bases have been built in coastal areas such as Changyi in Shandong, Rudong in Jiangsu, and Zhangpu in Fujian, which are of great significance for optimizing the regional energy structure and achieving the “carbon peaking and carbon neutrality” goals. However, large-scale wind farms usually consist of hundreds or even thousands of wind turbines with different models and operating modes. In addition, most wind farms are located in remote areas and achieve long-distance transmission through series compensation or high-voltage direct current (HVDC) transmission technology. These factors all increase the risk of sub-/super-synchronous oscillation.
Numerous sub-/super-synchronous oscillation incidents have occurred in wind farms. In October 2009, a doubly fed wind farm in Texas, USA, was connected to the grid via a line with 75% series compensation, causing oscillations at approximately 20 Hz and resulting in system voltage oscillation [
2]. In 2015, a direct-drive wind farm in Hami, Xinjiang, was connected to the grid via a weak AC system, which interacted with the power grid and triggered oscillations [
3]. From 2012 to early 2024, multiple series compensation-induced sub-synchronous resonance events occurred in the Guyuan Wind Farm in North China [
4]. These incidents demonstrate that oscillation has become a significant challenge for the safe and stable operation of large-scale wind power grid-connected systems.
For offshore wind farms, the sub-/super-synchronous oscillation problem remains prominent. In 2014, with the increase in output power, oscillations in the 20–30 Hz range occurred in the Nanao offshore wind power VSC-HVDC transmission project [
5]. In August 2019, the equivalent grid strength at the grid connection point of the Hornsea Wind Farm in the UK was extremely weak, and a lightning strike caused oscillations of approximately 10 Hz in the reactive power system, leading to large-scale disconnection of wind turbines [
6]. For offshore wind farms, the ground capacitance of submarine cables is dozens of times that of overhead lines, which leads to increased system capacitance and elevated resonance risk. Meanwhile, variations in wind speed affect the output of wind turbines and consequently the oscillation characteristics of the wind farm. In addition, mismatched wind turbine control parameters and weak grid strength further aggravate the oscillation risk.
From the perspective of system stability, the aforementioned oscillations fall under small-disturbance analysis. Its mathematical essence lies in the Lyapunov stability assessment of linearized systems, and the evolution of relevant research focuses on transitioning from abstract mathematical theory to practical engineering analysis. At present, the consensus on the oscillation mechanism mainly focuses on three categories: sub-synchronous resonance (SSR), device-induced sub-synchronous oscillation (SSTI), and sub-synchronous control interaction (SSCI) [
7]. At the analytical level, time-domain state-space methods represented by eigenvalue analysis [
8,
9,
10], and frequency-domain methods represented by the complex torque coefficient method [
11,
12] and the impedance analysis method [
13,
14,
15], have been established. Recent studies have investigated offshore wind energy wide-band oscillations and converter-driven resonance mechanisms, highlighting how interactions between wind farm controllers and weak grids can excite multi-frequency resonant modes [
16,
17,
18]. For oscillation suppression, existing methods primarily rely on optimizing electrical parameters, introducing additional damping control, or installing compensation devices. Researchers have also published linear time-varying (LTP) modeling and analysis methods for offshore wind power transmission via VSC-HVDC. In recent years, with the paradigm shift toward grid-forming control to provide active voltage and frequency support, novel sub-synchronous and high-frequency oscillation modes linked to multi-wind converter coupling and MMC-HVDC interactions have been identified [
19]. While mathematical theoretical analysis possesses considerable theoretical value, the inherent complexity of practical engineering scenarios renders time-domain simulation equally indispensable [
20].
Currently, accurate accident analysis relies on hardware-in-the-loop (HIL) real-time simulation. Although mainstream commercial simulation platforms such as RTDS (Manitoba HVDC Research Centre, Canada), RT-LAB (Opal-RT Technologies, Canada), ADPSS (China Electric Power Research Institute), and CloudPSS (Tsinghua University) are equipped with real-time simulation capabilities for renewable energy, they still face challenges [
21]. From the perspective of power system operation and control, real-time simulation serves as the “last checkpoint” for operational mode verification and optimization strategy validation, and its computational accuracy directly affects the security of power grid decision-making. Therefore, achieving high-precision real-time simulation under limited hardware resources has become another key challenge. Reference [
21] proposes an FTRT modeling method for wind and solar stations based on multi-core CPUs, which focuses on the electrical component modeling of renewable energy stations and serves as the foundation for wind farm full-topology modeling. References [
22,
23] present a novel interface modeling scheme after model partitioning, enabling multi-core parallel processing of wind farm models to improve simulation efficiency. Reference [
24] develops an automatic hierarchical topology identification method for power systems, which can identify wind farm topology and divide the farm into subsystems for core-level parallel simulation. Furthermore, Reference [
25] introduces a GPU-accelerated simulation approach by constructing an MMC-based energy storage system (MMC-EES) HVDC model and investigates its performance in smoothing wind power fluctuations. Reference [
26] demonstrates a detailed real-time simulation of a 450 MW wind farm using the Opal-RT simulator.
The aforementioned studies primarily concentrate on simulation acceleration techniques or modeling methods that enable larger simulation scales. To achieve higher simulation fidelity, incorporating the digital control hardware of renewable energy devices into the simulation loop—i.e., HIL simulation—is an essential approach. However, existing works rarely address how to implement HIL simulation involving a large number of devices. Moreover, the process of leveraging real-time simulation to solve concrete engineering problems has seldom been demonstrated.
To address these challenges, this paper investigates the 70 Hz super-synchronous oscillation event in a Guangdong offshore wind farm through an FTRT approach. The main contributions are twofold: first, a universal link library execution device is introduced to enable high-fidelity, cross-platform FTRT for large-scale renewable energy stations; second, the FTRT scheme is applied to reconstruct the field accident. Frequency-domain impedance analysis reveals an inherent network resonance point in the super-synchronous band, and the system stability boundary is quantified by comparing the phase–frequency characteristics of the network and wind farm impedances. Based on this, the effectiveness of control parameter optimization and SVG deployment in expanding the stability margin is validated. This study bridges the gap between theoretical impedance analysis and engineering decision-making, providing a practical framework for ensuring the stability of offshore wind power systems.
2. Full-Topology Electromagnetic Modeling and Real-Time Simulation Technology
2.1. Challenges of Full-Topology Electromagnetic Modeling and Real-Time Simulation
Constraints in simulation computing resources often lead traditional real-time simulations to employ single-unit equivalent modeling for renewable energy stations. However, this simplification fails to characterize internal device interactions or accurately reproduce the sequential disconnection of units. Furthermore, inherent modeling errors significantly compromise the reproduction of field electrical behaviors, such as actual reactive power response and wide-band dynamics. While FTRT offers the most precise means of studying system dynamics under high penetration of renewable energy and complex grid conditions, its implementation faces several critical challenges.
The determination of an optimal simulation step size remains a primary hurdle. According to the Nyquist sampling theorem, capturing high-frequency switching dynamics—such as the 10 kHz switching of photovoltaic converters or the 2 kHz switching of wind converters—requires microsecond-level step sizes. Although average-value models can relax this to tens of microseconds for medium-to-low frequency studies, a trade-off persists: smaller step sizes improve accuracy but restrict the supported modeling scale. Furthermore, HIL simulations necessitate that hardware sampling periods be integer multiples of the simulation step, requiring a multi-factored balance among the simulation object, dynamic time scales, and model scale.
Furthermore, full-topology modeling imposes severe constraints on computing resources due to the drastic increase in the number of electrical nodes; a typical wind farm involves hundreds of nodes, while photovoltaic stations are even more complex. The high-order and switching dynamics of renewable energy devices further increase control node density compared to traditional synchronous generators. Consequently, large-scale simulations must utilize decoupling and multi-core parallel computing. While methods such as section-equivalent controlled sources and transmission line decoupling are common, they often introduce significant errors when internal electrical distances are short or incur accuracy losses due to communication and computation delays. Achieving efficient, high-fidelity multi-core parallel simulation remains a formidable technical task.
Finally, equipment model accuracy and cross-platform compatibility present significant limitations. Current simulation models range from simplified “white-box” models with limited dynamic accuracy to manufacturer-provided “black-box” models. Among the latter, hardware controllers offer maximum fidelity but are difficult to scale due to I/O and resource constraints. Link library models provide a high-fidelity alternative by packaging actual control logic, yet they frequently encounter cross-platform invocation issues.
In engineering practice, both RT-LAB and RTDS can achieve hardware-in-the-loop simulation. RT-LAB is predominantly used for single-device and fine-grained component simulation and is convenient for compiling custom link libraries, whereas RTDS is better suited for large-scale system-level transient analysis. Therefore, the efficient and stable invocation of link library models across these platforms remains a key technical barrier for co-simulation.
2.2. FTRT Modeling and Simulation Technology Based on Link Library
To address the challenges of cross-platform real-time simulation, this study develops a universal link library execution device [
27]. It is designed to be compatible with renewable energy link library models generated on various platforms including RT-LAB and ADPSS, enabling co-simulation with the mainstream large-scale power system real-time simulator RTDS. The device supports unified invocation of Windows dynamic libraries (.dll), Linux static libraries (.a), and Linux dynamic libraries (.so). As illustrated in
Figure 1, the system architecture consists of a command workstation and the execution device. The device itself is a real-time simulator running an ×86-64-based real-time Linux operating system, specifically optimized for the real-time execution of control and protection link libraries. It features six SFP optical ports to facilitate high-speed data exchange with RTDS. The Windows-based command workstation runs proprietary monitoring software to manage I/O port mapping, CPU core binding, and the compilation and monitoring of real-time tasks via Ethernet. High-speed communication between the device and RTDS is achieved through an architecture based on multi-channel Aurora protocols, as shown in
Figure 2.
The device implements unified interface encapsulation by developing dedicated invocation programs for various platform-specific link libraries. A general scheduling module invokes these libraries through standardized interfaces, completing the co-simulation loop with the RTDS platform. Within the real-time scheduling module, a high-precision timer and task scheduling list manage varying invocation cycles; the system traverses the task list at every simulation step to execute scheduled libraries. By employing optimization techniques—including startup parameter tuning, kernel interrupt binding, real-time task priority adjustment, and memory pre-allocation—the device significantly minimizes timing jitter. Experimental results demonstrate that the calling timing jitter of the proposed device is far smaller than typical simulation steps such as 50 μs. Hence, the calling procedure barely deteriorates simulation accuracy. Moreover, based on our accumulated experimental tests, each optical port is capable of running six renewable energy link library instances with the corresponding CPU load kept below 30%, and multiple optical ports can perform parallel computation simultaneously. In this way, the device helps remove core barriers to full-topology co-simulation of renewable-energy link library models supplied by different manufacturers.
Addressing the full-topology simulation challenges outlined in
Section 2.1, this paper proposes an FTRT implementation scheme based on the universal link library execution device. The scheme consists of the following four phases:
Simulation Step Size Selection. To balance medium-to-low-frequency dynamic requirements with the scale of regional grids, and considering the sampling constraints of conventional hardware controllers, the simulation step size is set to 50 μs. For capturing high-frequency switching dynamics, multi-rate components—such as large/small-step interface transformers—are utilized to achieve coupled simulation across different time scales.
Single-Unit Model Verification. To ensure high fidelity, the renewable energy link library models undergo comparative verification against actual hardware controllers. This includes small-disturbance tests (e.g., impedance scanning) and large-disturbance tests (e.g., high/low voltage ride-through), ensuring that the protection and control logic aligns with actual system requirements.
Single-Unit Cross-Platform Validation. The universal link library execution device enables the deployment of verified RTLAB-based link library models within the RTDS platform. This single-device-level simulation validates the reliability of the device’s communication interfaces and its real-time scheduling mechanism.
Full-Topology System Integration and Implementation. A hybrid modeling strategy of “hardware-in-the-loop + link library model” is adopted, in which at least one hardware controller is used for critical equipment while similar or non-critical units utilize corresponding link library models. To optimize simulation resources, device-level electrical and control nodes are minimized, and non-dynamic switching elements are simplified to reduce the admittance matrix scale. For parallel computing, decoupling sections are strategically selected along longer transmission lines within the topology’s minimum cut set to minimize decoupling errors.
By integrating these modeling, order-reduction, and decoupling strategies, the construction of an FTRT platform is achieved. This scheme leverages the universal link library execution device to resolve cross-platform compatibility issues, effectively balancing modeling precision with resource constraints to provide a viable path for engineering-grade simulation of large-scale renewable energy stations. The platform architecture is illustrated in
Figure 3.
3. Time-Domain Simulation Analysis Based on Full-Topology Modeling Technology
3.1. Super-Synchronous Oscillation Event of an Offshore Wind Farm
An offshore wind farm in Guangdong Province, with a total capacity of 1000 MW, experienced a significant voltage fluctuation event in February 2024. The facility comprises 92 domestic 11 MW permanent magnet direct-drive wind turbines across 16 collection lines, integrated via a 500 kV offshore step-up substation and an onshore control center.
Before the event, the offshore wind farm operated in a temporary wiring configuration. Specifically, only one of the two 500 kV submarine cables was active, the SVG was offline, and only the two 330 Mvar high-voltage shunt reactors located on both sides of the submarine cable were in service. The topology is shown in
Figure 4. The #1 main transformer of the offshore station operated with 69 kV #1, #2, #3, and #4 busbars, and a total of five 11 MW permanent magnet direct-drive wind turbines on collection line 9 (#53 wind turbine) and collection line 10 (#47, #62, #63, #64 wind turbines) were connected to the grid. These five wind turbines were all in a limited power operation state, with a single-unit output of approximately 100 kW; the measured total output of the whole farm was 527.5 kW, and the measured value of the grid connection point voltage was 534.7 kV. The event process is as follows: at 9:40:05, the #48 wind turbine (the 6th wind turbine) was connected to the grid. At 9:42:14, abnormal voltage fluctuations occurred in the offshore wind farm. At 9:42:20, the station staff reported the incident and disconnected all 6 wind turbines from the grid. At 9:44:14, the voltage fluctuation of the station subsided. From 9:42:14 to 9:44:14, the voltage of the 500 kV #1 and #2 busbars in the offshore wind farm fluctuated; the maximum amplitude of the 500 kV #1 busbar voltage was 560 kV, the minimum amplitude was 509 kV, lasting for 120 s, and the PMU/wideband measurement device in the farm issued an alarm.
After the incident, it was determined that the first five grid-connected wind turbines all adopted normal control parameters, while the newly incorporated 6th wind turbine had adopted standby control parameters due to an operational error.
The on-site waveform recording is shown in
Figure 5, including the voltage and current of line A of the offshore wind farm and the voltage on the 66 kV side of the main transformer. Fourier decomposition of the 500 kV voltage at the onshore station reveals a significant 69 Hz harmonic component, as shown in
Figure 6. Based on these measurements, the incident was categorized as a characteristic wind farm total disconnection event triggered by super-synchronous oscillation.
To accurately reproduce the on-site oscillation incident, this paper conducts real-time simulation analysis based on full-topology modeling for the offshore wind farm.
3.2. Construction of FTRT Model for the Offshore Wind Farm
In terms of control system modeling, the critical unit that triggered the fault (WT#48) is represented by a physical hardware controller identical to the one used on-site. This controller is interfaced with the RTDS simulation platform via a Giga-Transceiver Input/Output (GTIO) board (refer to
Appendix A for the hardware configuration). For the remaining units (WT#53, #47, #62, #63, and #64), converter control is modeled using packaged static link libraries compiled in RT-LAB (software version: V2024.1.1.38). These libraries are integrated into the RTDS environment through the universal link library execution device to ensure real-time cross-platform execution.
Given that this oscillation occurs on an electromagnetic time scale, the grid-connection characteristics of the direct-drive wind turbine at this particular time scale are predominantly governed by the converter. Therefore, a simplified modeling approach is adopted for the permanent magnet generator, which operates with a constant torque input. It should be noted that all wind turbines in this project adhere to the same model and parameter specifications.
An impedance scanning experiment was conducted on the RT-LAB platform to evaluate the consistency between the packaged link library and the hardware controller. The comparison of the wind turbine’s positive- and negative-sequence impedances is illustrated in
Figure 7. Furthermore, the fault ride-through (FRT) responses of both the link library and the hardware controller were benchmarked.
The experimental results demonstrate that under the measured operating conditions, the control characteristics of the link library are essentially consistent with those of the hardware controller. Owing to inherent limitations of small-signal impedance measurement, the disturbance-induced current at the fundamental frequency cannot be accurately separated; therefore, the impedance results near the fundamental frequency are excluded from comparison. In addition, measurement errors of high-frequency impedance have negligible influence on the experiment and can be ignored.
In conclusion, an architecture integrating a single hardware controller with multiple link library models effectively captures the authentic physical characteristics of the equipment while maintaining a faithful simulation for the entire wind farm.
In the RTDS full-topology wind farm model, the collection lines between wind turbines adopt the Bergeron model. The grid-side model of the RTDS system includes the wind farm collection busbar, offshore step-up transformer, submarine cable, two groups of high-voltage shunt reactors, onshore step-down transformer, and the connected 220 kV power grid. The system parameters are provided in
Appendix A.
3.3. Time-Domain Oscillation Reproduction of the Offshore Wind Farm
Real-time simulation was conducted using the established RTDS model to replicate the event. Initially, five wind turbines configured with standard operational parameters were connected to the grid, each with an output of 100 kW. The simulation results confirmed stable system operation with no observable oscillations.
Subsequently, the actual field operational sequence was simulated by introducing WT#48, which was configured with standby control parameters. Upon its integration, the system immediately exhibited sustained voltage fluctuations. The resulting simulation waveforms, illustrated in
Figure 8, demonstrate the onset of instability triggered by the parameter mismatch.
Fourier decomposition is performed on the voltage on the high-voltage side of the offshore step-up substation. The spectrum analysis results show that there is a harmonic component of approximately 70 Hz in the voltage, as shown in
Figure 9. The oscillation frequency obtained by the simulation is essentially consistent with the on-site measured data, which verifies the accuracy of the built model and the preliminary judgment that the standby parameters caused the oscillation.
5. Conclusions
This paper systematically addresses the technical challenges of full-topology real-time simulation (FTRT) for renewable energy stations by proposing a scheme based on a self-developed universal link library execution device. This approach successfully overcomes cross-platform compatibility barriers, significantly enhancing simulation fidelity and validating the effectiveness of FTRT in analyzing practical engineering problems.
By applying this FTRT scheme, a 70 Hz voltage oscillation event in a Guangdong offshore wind farm was investigated. An RTDS real-time simulation model integrated via long submarine cables was established to accurately reproduce the severe oscillation issue. The investigation reveals two root causes: first, a temporary wiring configuration resulted in a weak grid with an inherent resonance point in the super-synchronous frequency band, and second, a mismatch existed between the converter control parameters and the weak grid environment. These factors ultimately triggered small-disturbance instability upon the integration of the #6 turbine. Based on these findings, stability-enhancement measures—such as optimizing converter control parameters, performing impedance reshaping, and deploying reactive power compensation equipment (e.g., SVGs)—were proposed and verified. The current analysis is bounded by the specific conditions of the investigated field event, which concerns a special temporary grid configuration, a small number of operating turbines, and a low per-unit output (approximately 100 kW). Consequently, the system behavior, impedance interactions, and stability margins at higher generation levels or under permanent grid topologies may differ and warrant further dedicated evaluation.
The proposed FTRT framework demonstrates strong generalizability for engineering practice. Future research will focus on extending and customizing this simulation paradigm to evaluate dynamic interactions in other complex scenarios, such as large-scale photovoltaic power plants, hybrid renewable plants, and multi-terminal offshore grids. Ultimately, this study provides a verified, high-fidelity technical reference for risk assessment and the formulation of active prevention strategies in similar modern renewable energy systems.
6. Discussion
While the proposed high-fidelity full-topology hardware-in-the-loop (HIL) simulation route effectively reconstructs the specific super-synchronous oscillation event, certain limitations in the current study should be acknowledged, which also outline the directions for our future work.
Regarding the simulation platform, the self-developed universal link-library execution device is currently in an iterative development phase. The present study primarily validates its feasibility, compatibility, and parallel computational capabilities for large-scale wind farm simulations. However, to mature into a standardized simulation hardware, a more rigorous and systematic performance evaluation is necessary. Future development will focus on establishing detailed measurement procedures to precisely quantify execution timing jitter, cross-platform communication delays, and CPU load dynamics under extreme boundary operating conditions.
In addition, extended sensitivity analysis regarding grid conditions, line parameters, equipment quantities, and operating power levels can be further explored in future work to supplement the relevant simulation and analytical conclusions.