Next Article in Journal
Reuse of Decommissioned Hydrocarbon Wells in Italian Oilfields by Means of a Closed-Loop Geothermal System
Previous Article in Journal
Salmonids as Natural Functional Food Rich in Omega-3 PUFA
Previous Article in Special Issue
Validation of EMT Digital Twin Models for Dynamic Voltage Performance Assessment of 66 kV Offshore Transmission Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

MOSAIK and FMI-Based Co-Simulation Applied to Transient Stability Analysis of Grid-Forming Converter Modulated Wind Power Plants

by
Nakisa Farrokhseresht
1,*,
Arjen A. van der Meer
1,
José Rueda Torres
1 and
Mart A. M. M. van der Meijden
1,2
1
Department of Electrical Sustainable Energy, Delft University of Technology, Mekelweg 4, 2628 CD Delft, The Netherlands
2
TenneT TSO B.V., 6812 AR Arnhem, The Netherlands
*
Author to whom correspondence should be addressed.
Appl. Sci. 2021, 11(5), 2410; https://doi.org/10.3390/app11052410
Submission received: 15 February 2021 / Revised: 2 March 2021 / Accepted: 4 March 2021 / Published: 9 March 2021
(This article belongs to the Special Issue Simulation-Based Validation and Design of Smart Grids)

Abstract

:
The grid integration of renewable energy sources interfaced through power electronic converters is undergoing a significant acceleration to meet environmental and political targets. The rapid deployment of converters brings new challenges in ensuring robustness, transient stability, among others. In order to enhance transient stability, transmission system operators established network grid code requirements for converter-based generators to support the primary control task during faults. A critical factor in terms of implementing grid codes is the control strategy of the grid-side converters. Grid-forming converters are a promising solution which could perform properly in a weak-grid condition as well as in an islanded operation. In order to ensure grid code compliance, a wide range of transient stability studies is required. Time-domain simulations are common practice for that purpose. However, performing traditional monolithic time domain simulations (single solver, single domain) on a converter-dominated power system is a very complex and computationally intensive task. In this paper, a co-simulation approach using the mosaik framework is applied on a power system with grid-forming converters. A validation workflow is proposed to verify the co-simulation framework. The results of comprehensive simulation studies show a proof of concept for the applicability of this co-simulation approach to evaluate the transient stability of a dominant grid-forming converter-based power system.

1. Introduction

The power system is rapidly transforming from a fossil-fuel dominated generation portfolio towards a system in which renewable energy sources (RESs) are the leading energy source [1]. RESs are being connected to the grid via power electronic converters. For example, large wind power plants (WPPs) far offshore are currently deployed through high-voltage direct current (HVDC) transmission. The relatively high level of converters poses challenges to the robustness of transmission systems; low physical inertial response capability and the reduced short circuit power of the grid decrease the transient stability margin [2].
To deal with potential compatibility issues with grid connection of RES, transmission system operators (TSOs) established grid code requirements for converter-based generators [3]. Fault ride-through (FRT) and voltage support are prominent regulations contained in RES-specific grid codes for ensuring transient stability and dynamic security [4]. A critical factor in terms of implementing network code requirements is the control strategy of converters [5]. Grid-following converters are currently used in renewable integration, often necessitating a phase locked loop (PLL) for synchronizing to the grid. In weak grid conditions, a grid following scheme, also referred to as vector control, cannot operate properly [6]. For this, direct control mechanisms have been refined and extended towards grid-forming control [7]. This emerging control strategy can counteract changes in voltage and frequency, and can be extended/modified to provide standalone and black-start capability.
To ensure grid code compliance of converter-based generators, a wide range of transient stability studies is needed in the planning and development phase of grid extensions [8]. For that purpose, the dynamic response of converter-based generators under different network conditions needs to be analyzed, which is traditionally done by time-domain simulation. These type of simulations are commonly dedicated to and numerically optimised for electromagnetic transient analysis or transient stability, which limits the system size and type of the applications. The incorporation of sophisticated power electronic converters and DC transmission into such tools is challenging, and commonly leads to situation-specific workarounds, such as multi-rate simulations or drastic model simplifications of the considered subsystems, often causing the results to be inaccurate or overestimated [9,10,11]. In general, traditional monolithic (single solver, single domain) simulation tools face difficulties in handling the increasing complexity (heterogeneity) of cyber-physical energy systems [10,12,13].
A number of solutions exist, among which (1) accepting that the monolithic, simplified simulation takes longer and might be less accurate, (2) real-time simulation of power systems with the possibility to insert hardware-in-the-loop [14], and (3) co-simulations. The latter is the focus of this paper. The co-simulation is a composition of a set of coupled simulators, each modelling a subsystem of the overall system under test, working together in order to assess the system response [10,15]. This way, the power system can be modeled in a specialised simulator while power electronic converters and/or their controllers can be modeled with the appropriate level of detail in another simulator. By coupling these independent simulators by a co-simulation framework, the whole system modeling effort will decrease [16,17]. There is a large area for the application of co-simulation from grid monitoring to ICT system security [18,19,20,21,22,23]. An extensive survey and statistical analysis using smart grid co-simulation application is given in [24,25,26].
There exists a reasonable level of standardisation for co-simulations in terms of interfacing between the subsystems, the synchronisation, and overall simulation coordination. The functional mock-up interface (FMI) is the de facto low-level standard for co-simulator interfacing [27,28,29]. FMI components are called functional mock-up units (FMUs). Each simulator or model can be represented as an FMU and, by doing so, the intellectual property is protected as models can be shared without sharing internal information (grey or black box encapsulation) [30,31,32,33,34,35].
Simulation synchronisation and coordination, especially in a distributed fashion, is standardised under the high level architecture (HLA) and related concepts such as HELICS [36]. Moreover, a number of co-simulation platforms exist that offer a top-down (server-client) coordination of co-simulation and offer simulation coupling towards proof-of-concept [37]. mosaik is a tool dedicated to smart-grid scenario development and co-simulation assessment [38]. Originally being developed for multi-agent systems, it has been extended for synchronisation between time-domain simulations and FMI support [34,39,40]. The interfaces and synchronisation methods have been tested in a small-scale context in [34]. This paper will focus on more contemporary controls for power electronics interfaced RES and test their applicability to large-scale assessment in co-simulations.
The objective of this paper is to apply a mosaik-based co-simulation to study the transient stability consequences of converter-based RES with grid-forming control, and test the efficacy of the implemented cosimulation toolchain (i.e., Powerfactory, mosaik, FMI, FMI++). The scientific contribution is twofold: First, the implementation of a typical droop-based grid-forming converter-based generator within a co-simulation setting. This is novel for this type of controller and this paper proposes a workflow to validate this approach. Second, the extensive transient stability assessment of a converter-dominated power system applying this co-simulation toolchain.
The approach is as follows. First, the co-simulation toolchain and its implementation in mosaik are detailed in Section 2. Its application towards transient stability assessment follows in Section 3. Here, a converter-dominated power system is split into (i) the power system modelled in Powerfactory, and (ii) the controller of the converter-based generator modelled in Simulink. Both subsystems are encapsulated into FMUs and are orchestrated by mosaik. The behavioural description, mathematical modelling, and implementation of the proposed grid-forming control into the monolithic reference simulation and into the co-simulation are described next; i.e., in Section 4. This framework is used to test the functionality of the controls, to validate their efficacy in a co-simulation setting against a monolithic powerfactory simulation, and to eventually apply this for transient stability analysis. This is performed by various deterministic (i.e., setpoint changes, short circuit response, and islanded operation) case studies in Section 5. Conclusions and recommendations are provided in Section 6.

2. Transient Stability Assessment by Co-Simulation

This section describes which steps are commonly taken for transient stability assessment using (monolithic) numerical simulations, what additional steps need to be taken to achieve this through co-simulation and how mosaik facilitates these preparation, execution, and post-processing efforts.

2.1. Transient Stability Assessment Methods for Monolithic and Co-Simulations

Performing a monolithic simulation for transient stability studies consists of different steps, as shown in Figure 1. After preparing the power system model in a typical power system analysis tool, a power flow calculation is performed providing an (possibly optimised) set of nodal voltages and active and reactive power injections. The power flow results are used for calculating the initial conditions for the differential equations. This is usually carried out in reverse order by calculating the algebraic variables and states upstream. After a successful initialisation, a time-domain simulation is executed. Using the appropriate integration method and starting algorithm after events, the resulting system of differential-algebraic equations are solved numerically in time. Finally, the simulation results are exported for post-processing. Since all simulations are performed in one environment, a monolithic simulation has a relatively linear workflow.
The steps that generally need to be taken for co-simulation-based transient stability assessment are shown in Figure 1. As an example, two different simulators are considered for the co-simulation: the power system simulator and the controller simulator. After model preparations, the initial conditions for power system equations are calculated based on its power flow results. Afterward, these initial condition equations are used for calculating the initial conditions for the converter controller. After the successful initialization, the two simulators are ready to be connected. Interfacing and synchronization between two simulators is a significant step, and, as a rule, the interfacing sequence needs to be provided separately by the user. Next, the dynamic simulation is executed and the simulation results are obtained and exported to a common data format.
As can be seen in Figure 1, a transient stability assessment by co-simulation needs more steps, which is commonly manual and error prone engineering work. This adds a level of complexity compared to monolithic simulations. On the other hand, by applying co-simulation, a large converter-dominated power system can be divided into smaller and possibly simplified models, eventually decreasing the computational burden. The flexibility offered by such approach is an important weighing factor in deciding which modelling and simulation approach to take.

2.2. Overview of MOSAIK Architecture

mosaik is a robust scenario specification framework that can integrate many simulators. It is a flexible Python-based open-source co-simulation framework with the capability of generating a large scale scenario, quantifying uncertainty and developing multi-agent systems [40,41,42]. There are several references showing the application of mosaik in, for example, cyber–physical energy systems [43], urban energy analysis [44], and grid monitoring [45]. A peak-shaving algorithm is implemented to improve the voltage stability of a distribution network in [46].
The system architecture of mosaik consists of a core framework and a set of adapters [43], as is shown in Figure 2. The core includes interconnecting modules such as the sim-manager and the scheduler. A scenario script is written by the user that specifies the model parameters and the sequence of the execution of the simulators. The scenario-API establishes the interface between mosaik and the scenario script. Based on the scenario, the scheduler defines the data exchange order as the simulations need to be executed and exchange data between each other. Therefore, the scheduler is the synchronization unit of mosaik. The situation that one simulator needs data from another simulator and vice versa is called a cyclic data flow. The scheduler applies a directed acyclic schedule graph and handles this situation. The sim-manager is responsible for handling the simulator process and the communication between them. The component-API enables one to interface a wide range of simulators such as the MATLAB-API and the FMI adapter [43]. The FMI adapter facilitates the connection of different FMUs with the mosaik framework, which is considered a key enabler for modular transient stability simulations.
The concept of different components that synchronise with one another is one of the critical characteristics of co-simulations [47]. A proper synchronization mechanism ensures the proper progress of the simulation time and data exchange between simulators [46]. It can mainly be divided into (i) event-driven synchronization [48], and (ii) time-stepped synchronization [49]. The simulation time in the time-stepped synchronization method progresses continuously. Therefore, it is more beneficial for a system consisting of differential equations [50]. In the time-stepped method, the time intervals are predefined, and simulators run independently up to the fixed synchronization points. Then, the simulators will wait and exchange information with other simulators. However, this method is not suitable for time-critical applications that require numerous interfacing connections and instants between simulators. Thus far, event-based synchronization is the most common synchronization method [24]. The synchronization method in mosaik is also based on an event-based method. All time steps and systemic occurrences within the power system simulator and controller are considered as an event in the event list shown in Figure 3a. Figure 3b shows the mosaik synchronization steps. After initialisation, first, the power system simulator is advanced from t 1 to t 2 , then pauses. The power system simulation data are transmitted to the converter controller so that it can proceed its steps. The controller simulator advances till t 2 , and then data are exchanged from the controller to the power system simulator. Now, the power system can advance the calculation to t 3 and so forth. This process is repeated until the end of the simulation time defined in the scenario.

3. mosaik Co-Simulation Setup for Transient Stability Assessment

The system under test in this article consists of a converter-based generator, such as a wind turbine, where a full-scale power electronic converter is used as shown in Figure 4. Only the grid-side converter (GSC) is considered. The mechanical and aerodynamic systems, machine-side converter (MSC), permanent magnet synchronous generator, and machine-side converter of the wind turbine are modelled as a constant voltage source, which is common practise for large-scale stability studies.
The test case also consists of a representation of the external grid G ext , a static load L 1 , and a synchronous generator G 1 . G 1 is represented by the sixth-order model using IEEE standard model of EMAC1T for the automatic voltage regulating exciter dynamics and IEEEG1 for governor dynamics. The main parameters of the test case are listed in Table A1 in Appendix A.
mosaik is intended for the coordination between two different continuous-time simulators, representing the power system and the wind turbine controller, respectively. In this section, the various steps towards the implementation of the mosaik co-simulation are explained. Furthermore, the workflow to validate the efficacy of the co-simulation setup is presented.

3.1. Study Steps to Setup the Co-Simulation Framework

The following design steps have been taken to construct the co-simulation framework as validated in this paper, i.e., Figure 5.

3.1.1. Model a Monolithic Reference Case in Powerfactory

The first step is to model a power system including a wind turbine (Figure 4) in Powerfactory. A common droop-based grid-forming control is considered for the wind turbine controller. Details on grid-forming control will be explained in the next section. After model preparation, a monolithic transient stability simulation is performed. In the monolithic reference case, the wind turbine can successfully ride through a 150 ms self-cleared three-phase short circuit at the busbars of the grid terminal. This is referred to as the reference fault throughout this paper. Under most grid conditions, reactive current provision can support the voltage during fault-induced dips [51,52]. According to most present grid codes, wind turbine generators shall remain connected during reduced voltage conditions for up to 150 ms and simultaneously inject 1 p.u. of reactive current ([53]).

3.1.2. Split the System and Establish Two Different Simulators

The second step is to build the two different simulators that together constitute the system under test in step 1. The wind turbine controller is modelled in Simulink, and is highlighted with a dashed orange line in Figure 4. The second simulator is the monolithic reference case in Powerfactory but without the wind turbine controller (components inside the dashed red line in Figure 4). In this simulator, the wind turbine controller is replaced with an FMI++ adapter according to [54].

3.1.3. Export the Subsystem Models to FMUs

In this step, the subsystem FMUs are obtained. In order to extract an FMU of the power system, FMI++ Python instructions are run to export the FMU of the power system simulator that was built in step 2 [55]. Next, the FMU of the wind turbine controller in Simulink is exported by the FMI kit [56].

3.1.4. Develop FMI-Based Co-Simulation Setup

Before simulating the exported FMUs using mosaik, an FMI-based co-simulation is implemented in this step to test the FMUs. This setup coordinates between the exported FMUs by a Python script similar to [34] and is shown in Figure 6a. The FMUs are evaluated in a closed-loop control system through this FMI-based co-simulation. After importing FMUs, the power system simulator is initialised by its power flow calculation results. Then the initialised voltage and current at the wind terminal are used to obtain the initial conditions for the integrators and the inputs of the wind turbine controller. The interfaces between the simulators are schematically shown in Figure 6b.

3.1.5. Develop mosaik Co-Simulation Setup

Finally, the mosaik co-simulation setup is deployed according to Figure 7. FMI mosaik adapters are used for connecting the FMUs and the simulator-API of mosaik. After importing and configuring the FMUs, the initial condition equations for the wind turbine controller FMU are calculated based on the initial conditions of the power system FMU, similar to the FMI-based co-simulation. However, in a mosaik-based co-simulation, the interfacing sequence between the simulators needs to be defined explicitly in the script. The scheduler in the mosaik core synchronises the two simulators based on this script. The exchange variables between the simulators are the same as for the FMI-based co-simulation shown in Figure 6b.

3.2. Workflow to Validate the MOSAIK Co-Simulation Setup

After having set up the framework, a workflow procedure is designed to validate the mosaik co-simulation framework [11]. The workflow diagram is shown in Figure 8. After applying the reference fault and executing the co-simulation transient stability as explained in Section 2.1, the simulation results are stored in hdf5-files. The behaviour of the co-simulation is analysed by comparing the results of the mosaik-based co-simulation with the monolithic reference by invoking the reference fault.
If the co-simulation performance is not satisfactory (i.e., the results of the comparison are substantial), different simulation components such as initial condition equations, the step size of the FMUs, the integration method, and the model parameters need to be checked and modified. After these modifications are realised and the dynamic response of the co-simulation has satisfactory accuracy, the mosaik co-simulation setup is ready for further compliance testing of the grid-forming controlled wind turbine generator.

4. Grid-Forming Control by Wind Turbine Generators

The grid-forming converter is a power converter that controls the voltage magnitude and the angle at the point of common coupling (PCC). Contrary to grid following converters, grid-forming converters do not need the fundamental frequency of the grid voltage as input. Grid-forming converters are mainly beneficial in islanded operation and in weak (i.e., low short circuit power) grids. Moreover, they can also support the grid by injecting an instantaneous active and reactive power.
The required characteristics for the grid-forming controller in this paper are specified as follows:
  • It has frequency and voltage regulation;
  • The controller needs to be capable of operating in both strong and weak-grid conditions;
  • The controller needs to be able to limit the current during the fault condition while successfully riding through the fault in both grid-connected and islanded operations.
Due to the increasing number of converter-based generators in the grid, several European countries have issued requirements for these generators to support the stability of the power system [8]. One of the requirements is for FRT capability: converter-based generators should stay connected to the grid when the voltage drops significantly and sometimes need to inject reactive current into the power system during voltage dips (e.g., the German grid code [53]).
Considering the above-mentioned requirements, a droop-based grid-forming control is implemented [7,8]. The high-level schematic of the grid-forming converter is shown in Figure 9. It contains a grid side converter supplied by a DC voltage source. On the AC side, the converter is connected to an AC grid through an l f r f filter and a step-up transformer. The AC grid is modelled by an ideal AC voltage source u g in series with its equivalent impedance z g . The function of the grid-forming control is to modulate the converter internal voltage u c * in such a way that the voltage difference across the filter can produce the desired exchange of active and reactive power with the grid. As this work focuses on the transient stability studies for a generic transmission systems, the switching effect of power electronics is not modelled, which is considered a plausible assumption [5]. As the fast phenomena are not involved, root mean square (RMS) models are selected which effectively evaluate the transient stability of the power system in the grid-planning phase [34].
As can be seen in Figure 9, the grid-forming control system consists of following blocks:
  • Measurement unit, which transforms the wind turbine terminal current i t and terminal voltage u t from the network oriented frame (i.e., x y ) to the dq-frame using wind terminal voltage angle θ GSC coming from the active power control block. Furthermore, the active power p is calculated as
    p = u t , x i t , x + u t , y i t , y
  • Voltage control, which controls the wind terminal voltage u t with a PI controller and provides current references i t , dq * .
  • Current limiter, which limits the current references and produces limited current references i t , dq * * .
  • Voltage reference generation, which generates voltage references u c , dq * based on the limited current reference provided by the current limitation block. Moreover, to ensure adequate damping of the low frequency oscillations especially in the weak-grid and islanded operations, an auxiliary damping signal is added to the voltage references.
  • FRT unit, which generates a discrete FRT signal that is applied to the active power control block for angle correction control as well as to the voltage control block for suspending the integration action during a fault. The FRT signal is set to 1 when the wind terminal’s voltage drops below 0.9 p.u.
  • Active power control, which controls active power according to a droop characteristic. During a fault, it is switched to a fault-mode angle correction control. It generates the transformation angle θ GSC , which is used in the transformation between the real-imaginary frame and the dq frame and vice versa.
  • Modulation unit, which transforms obtained converter internal voltage references u c , dq * from dq-frame into the network oriented frame and generates u c , xy * as inputs for the grid side converter of the wind turbine generator.
For the active power control, the common droop control concept is applied [57]. To explain the choice of the droop control, an equivalent electric circuit for a grid-forming converter connected to a grid is shown in Figure 10. It includes a grid-forming converter modelled as a voltage source u c δ in series with the impedance z f connected to the grid u g 0 with impedance z g .
The active and reactive power flows from converter to the grid are calculated as:
p = u c r 2 + x 2 [ r ( u c u g cos δ ) + x u g sin δ ]
q = u c r 2 + x 2 [ r u g sin δ + x ( u c u g cos δ ) ]
where r = r f + r g and x = x f + x g . For the high voltage transmission systems, we can assume that x r , also if the power angle δ is small, so that sin δ δ and cos δ 1 . Therefore, Equations (2) and (3) can be written as:
δ x p u c u g
u c u g x q u c
The above analysis shows a correlation between q and u as well as p and δ . Therefore, in such grids, the voltage angle or the frequency can be controlled by active power control; the droop characteristic of which can be defined as:
ω = k D ( p * p ) + ω g
in which ω is the converter output frequency, p is the converter active power, p * is the converter active power set-point, k D is the proportional droop gain and ω g is the rated frequency (all in p.u.). The grid-forming droop control mimics the synchronous generators’ self-regulation, which means a PLL or other synchronisation unit is not required. Unlike synchronous generators that have over-current capability during a fault, grid-forming converters should be protected against over-current operation.
This issue is illustrated by Figure 10. In the event of grid faults, u pcc dips, but the grid-forming controller tends to maintain its inner voltage u c . As a result, i increases instantaneously (Figure 11 [58]). On the one hand, the grid-forming converter should ride through a fault, and on the other hand, its fault current should be limited by a suitable current limiting strategy. Therefore, a feedback compensator for the active power control is applied here. The active power control block is shown in Figure 12. k cor is the proportional correction gain and f 0 is the base rated frequency of (i.e., 50 Hz). When there is an AC grid fault and the discrete FRT signal is 1, the control mode is changed from droop-control to angle correction control. This control will keep the phase angle of the wind terminal voltage fixed at the pre-fault values. The FRT unit activates the switch when the voltage drops below the threshold. Consequently, the voltage angle is locked to a value dictated by the feedback compensation block.
The rest of the controller details are shown in Figure 13. In the proposed control scheme, the reactive power control is not specifically included. The angle of the voltage is controlled by the droop-based active power control as explained before and the magnitude of the voltage is controlled in the voltage control with a PI controller. The voltage vector is aligned with the d-axis, so the d-axis wind terminal voltage set-point u t , d * is equal to the wind turbine nominal voltage in p.u., and the q-axis wind terminal voltage set-point u t , q * is zero. For voltage controlling purposes, a PI controller is applied. For mitigating the integrator wind-up phenomena, a conditional integration technique is implemented [59]. This technique stops the integration when the error is high. Consequently, the FRT signal is added to the PI block as shown in Figure 13 to freeze the integrator during faults. After obtaining the current references, as a complimentary current limiting strategy, a hard limiter is applied to limit the amplitude of the current references. In the current limitation block, the maximum current for the d-axis in p.u. is calculated as:
i d , max = i lim , if i lim = i max 2 i t , q * 2 > 0 0 , otherwise
where i max is the maximum permitted wind turbine current and assumed 1.1 p.u., and i t , q * is the q-axis current reference in p.u. To comply with reactive current injection requirements, reactive current is given priority over active current. Then a limiter is applied for i t , d * in the range of ( i d , max , i d , max ) and i t , q * in the range of ( i max , i max ) (middle of Figure 13). The next control block is the voltage reference generation block, which supplies the converter internal voltage references of the grid side converter of the wind turbine. As the network elements (i.e., step-up transformer) are represented by complex phasors in the grid simulator, the voltage reference modulation ( u t and u c ) can be calculated by the following algebraic entities:
u c , d * + j u c , q * = u t , d + j u t , q + ( r f + j x f ) ( i t , d * * + j i t , q * * )
where r f is neglected. The converter internal voltage references in d-axis and q-axis can be calculated as:
u c , d * = u t , d x f i t , q * *
u c , q * = u t , q + x f i t , d * *
The analysis of weak grid conditions and islanded operation revealed that there are low-frequency oscillations after transient events. Power system stabilizer (PSS) can help in eliminating such oscillations [60]. The PSS is extensively applied in power systems dominated by synchronous generators and introduced for converter-based generators as well [61]. The auxiliary damping signals are produced based on the difference between the wind turbine currents i t , dq and the limited current references i t , dq * * and they resemble a virtual series resistor. The objective of the PSS is to provide adequate damping of transient responses originating from the interconnected power system. A resistor can play a damping role, which unfortunately comes with losses. Therefore, the voltage drop is emulated by a virtual resistor. Moreover, in order to activate this damping effect only in transient situations, a washout filter is added according to [62]. The stabiliser consists of a damping gain k w and a washout filter with time constant T w . The auxiliary damping signals are added to the converter internal voltage references. Finally, a transformation into the network orientation frame is completed, and the converter internal voltage references of u c , xy * are obtained to send to the grid side converter of the wind turbine generator. All the controller parameter values are listed in Table A2 in Appendix A.

5. Case Studies and Co-Simulation Validation

The system under test of Figure 4 is modelled in PowerFactory 2018 (SP1) to provide the monolithic reference case for validating the co-simulation based on mosaik. The share of WPPs is considered as 80% of the total generation to establish a converter-dominated power system. Afterwards, the mosaik co-simulation framework is implemented as discussed in Section 4. The reference fault (a 150 ms self-cleared three-phase short circuit at the grid terminal of the wind turbine) is applied to the monolithic and the mosaik co-simulation cases, respectively. The validation algorithm explained in Section 3.2 is carried out on the mosaik co-simulation to obtain a reasonable similar dynamic response compared to the monolithic reference case. Next, the performance of the validated mosaik co-simulation for the transient stability evaluation of the converter-dominated power system is tested by considering different scenarios. These include different set-points, different types of faults and controller parameter modification. Moreover, the performance of the mosaik co-simulation under different grid conditions such as a weak-grid conditions ultimately islanded operation will be investigated.

5.1. Response to a Step in the Voltage Set-Point

In the first study case, the dynamic response of wind turbine is examined for a step in the voltage set-point. The simulation results where the voltage set-point of the wind turbine decreased from 0.995 p.u. to 0.965 p.u. at t = 1 s is shown in Figure 14. As can be seen, the grid-forming control exhibits a transient response and reaches steady state conditions in approximately 5 s . The dynamic response of the co-simulation and the monolithic simulation are very similar. The co-simulation successfully reflects a change in the controller set-point on the wind turbine generator.

5.2. Response to the Controller Parameter Modification

Next, one of the control parameters of the active power control block, K droop , is changed using mosaik scenario-API to investigate how a parameter modification in the controller affects the wind turbine generator performance in the co-simulation framework. The dynamic response of the system is triggered by a step in the active power set-point from 0.85 p.u. to 0.5 p.u. The response of the wind turbine in the monolithic simulation and the mosaik co-simulation is shown for different droop parameters in Figure 15. It can be seen that by increasing the value of k droop , the active power control changes more quickly upon a change in the set-point as is expected. The mosaik co-simulation, being the coordinator between the grid-forming controller and the power system, can reflect successfully controller parameter modification effects on the dynamic response of the system.

5.3. Co-Simulation and Wind Turbine Controller Response during Faults

First, the critical clearing time (CCT) of the power grid is calculated. It is defined as the maximum fault clearing time before transient instability occurs. The “out of step” signal of the synchronous generator model in Powerfactory is applied as the measure for transient instability. After applying the reference fault, the fault clearing time is increased gradually until the “out of step” signal is triggered. The corresponding clearing time equals the CCT of the power system. The CCTs are 207 m s and 203 m s for the monolithic case and the mosaik co-simulation case, respectively. The 4 m s discrepancy in CCTs between both simulation approaches is in the order of magniture of the common time step-size for numerical integration for stability type simulations and is considered acceptable.
Next, the effect of a different value of the fault clearing time on the performance of the co-simulation is investigated. Beside the reference fault of 150 m s , a clearing time of 200 m s , so close to the CCT, is selected. The results are shown in Figure 16 for a clearing time of 150 m s and in Figure 17 for 200 m s . From a control perspective, the time-domain responses show that the grid-forming controller could ride through the fault and is capable of providing the dynamic voltage support by reactive current injection.
It can be seen from the results that a spike is present in the terminal wind current i t , as well as in the wind turbine reactive power q. The reason the spike is present is the delay in transferring the information between the controller in the Simulink FMU and the power system represented in the Powerfactory FMU. This time delay will have a pronounced effect in the voltage source converter performance in Powerfactory. In order to demonstrate this explanation, a delay block (PT1 PowerFactory STL) is intentionally added to the voltage reference block in the monolithic case in Powerfactory (Figure 18). The simulation results are shown in Figure 19. Clearly, the same spike is present also in the monolithic case with the added delay block.
The effect of having a delay in the performance of the controller, response of the wind turbine controller in the monolithic simulation with different delay time constants of T del is further analysed. The results are presented in Figure 20. The deviation in the responses after the fault clearing can be seen. The more delay is introduced in the system, the slower response of the controller is detected.

5.4. Dynamic Response of the Wind Turbine in Weak Grids

One of the consequences of increasing the level of power electronic converters in a grid is the decrease of its strength, often reflected in its short circuit capacity (SCC). This is a measure for the strength of the system and it is related to the current flowing to a severe fault (i.e., a fault with very low impedance) at a considered bus in the grid. The SCC is calculated as [63]:
S C C = U g 2 Z g
in which U g and Z g are the Thévenin equivalent voltage and impedance as seen from the terminal bus, shown in Figure 9. The short circuit ratio (SCR) at the wind terminal is defined as [64]:
S C R = S C C S WT
with S WT the apparent power of the wind turbine. If the SCR is between 2.0 and 3.0, the grid is considered as weak [65].
The objective of this study case is to investigate whether there is a difference in the dynamic response of wind turbine to the reference fault in the co-simulation and the monolithic approach in a weak grid. In order to model a weak grid, the external grid with a short circuit power S k = 100 M V A is disconnected. This way, the SCC of the system at the grid terminal is decreased from 104 M V A to 4.8 M V A . Consequently, the SCR is decreased from 44.2 to 2.04. The results after the reference fault at the grid terminal are shown in Figure 21. Additionally, the effect of including an auxiliary damping signal for eliminating the low-frequency oscillations in the mosaik co-simulation is presented in Figure 21. It can be observed that the wind terminal voltage is supported by the grid-forming control and that the co-simulation responses shows a good correlation with its monolithic counterpart. However, there is an inherent delay involved when interfacing between PowerFactory and other FMUs, which makes the response of controllers slightly delayed. This delay is assumed proportional with the synhronisation time between the FMUs. It can be seen that in the monolithic case, without a PSS, the dynamic responses after fault clearance reach their steady state level faster compared to the co-simulation. Although adding the PSS bears the benefit of oscillation damping, it introduces a delayed response to the systemic variables. Therefore, the reaction of mosaik with PSS is slower than the co-simulation without PSS. Nevertheless, the voltage reaches its steady state within almost 500 ms and it is in compliance with the defined criteria in Section 4.

5.5. Response of the Wind Turbine to a Fault in an Islanded Operation

The last experiment is the evaluation of the performance of the grid-forming control in the co-simulation approach in an islanded operation. This is the most severe condition to test the controller and, hence, the operation of its numerical model in a co-simulation setting. First, both the external grid and the synchronous generator are put out of service. In this situation, the wind turbine generator with the grid-forming controller is the only generating unit in the grid to supply power to the load and modulate the grid voltage. Next, the reference fault is applied at t = 1 s on the grid terminal. The dynamic response of the wind turbine is shown in Figure 22. The low-frequency oscillations are larger here, compared to the weak-grid condition, and the effect of the auxiliary damping signal by the PSS to eliminate these oscillations is shown in Figure 22.

5.6. Co-Simulation Performance

In order to assess the performance of mosaik co-simulation, the root square deviation (RSD) index is used and is defined by
R S D = t = 1 T ( u tmono , t u tmoz , t ) 2
where u tmono and u tmoz are the wind terminal voltage p.u. of the monolithic simulation and mosaik co-simulation, respectively. T is the end of simulation time. RSD is considered as a measure of the similarity of the responses of both the co-simulation and its monolithic reference simulation.
Table 1 shows the RSDs of the responses obtained with the two co-simulation methods (mosaik and FMI-based) for the case studies of Section 5.1, Section 5.2, Section 5.3, Section 5.4 and Section 5.5. The wind terminal voltage has been chosen as the performance indicator as it is of particular importance for the efficacy of the grid forming controller. All RSDs are based on 10 s simulation time. As can be seen from Table 1, there is a relatively small difference in performance of two co-simulation approaches. Though, mosaik co-simulation has smaller difference with the reference monolithic simulation than the FMI-based co-simulation, especially for the weak grids and islanded operation. Another observation is that for more severe voltage dips, especially in weak grids and islanded operation mode, the difference between co-simulation response and the monolithic response is more prominent. This can be attributed to the inherent synchronisation delay between the the FMUs.
Another performance comparison is accomplished by measuring the wall-clock execution time of the above-mentioned cases. These are displayed in Table 2. It illustrates that the simulation duration for the co-simulation takes much more time than for the monolithic case. This had been noticed in [34] as well and is caused by the network license of PowerFactory, which is checked at each synchronisation step and is causing noticeable overhead in simulation time. It can also be observed that the execution time of mosaik is slightly faster than the traditional FMI-based co-simulation using the Python code as a scheduler. As mosaik uses production-grade (Python) code, this is to be expected and trivial.

6. Conclusions and Recommendations

Time-domain simulation is an important instrument for ensuring transient stability of a converter-dominated power system in the planning and development phase of wind parks and other renewable energy generation plants. This paper explored the efficacy of a mosaik-based co-simulation framework for transient stability evaluation of a grid-forming converter-based RES. mosaik enables a successful coupling of different FMU-based simulators of power system in Powerfactory and converter controller in Simulink. The efficacy has been shown by triggering different types of dynamic events, control parameters, and systemic boundaries.
The co-simulation results were compared to the results of the monolithic simulation. The impact of the transmission events, such as voltage sags caused by faults on the RES controller operation, was demonstrated. The results show a wide consistency between co-simulation and the monolithic simulation in almost all of the study cases. The exception was during a severe voltage dip close to the converter, which induced spikes in the converter current, on its turn generating reactive power at fault ignition and clearing. It has been investigated and it appears that the spike is due to the inevitable delay in transferring the information between the FMUs and the high sensitivity of the voltage-source converter modelled in PowerFactory to this delay. The master algorithm of mosaik is based on a discrete time scheduler that introduces a delay into the data exchange between controller and the power system FMU. Reducing the synchronisation time-step size is a solution to reduce the delay. However, it will decrease the overall (speed) performance of the co-simulation. Another solution is to look for interaction protocols or interfacing techniques that are dedicated to the solver of PowerFactory or to the properties of the wind turbine model. Despite this minor discrepancy, the co-simulation framework is considered widely applicable for transient stability assessment, which was also reflected in the critical clearing times and the root squared differences compared to the reference simulation in PowerFactory.
Additionally, the performance of the co-simulation in different grid conditions was investigated. Two cases, weak-grid conditions and islanded operation, were studied. The low-frequency oscillations observed under these conditions were eliminated by applying a power system stabilizer in the converter controller. This did not impair the efficacy of the mosaik-based co-simulation approach.
The coordination between the FMUs has been investigated in two ways: via dedicated Python code that implements a rudimentary scheduler, and via mosaik, which boasts a production grade implementation of a discrete event scheduler and offers high usability and flexibility in terms of scenario creation. This will be addressed in future research in which this platform will be applied for assessing transient stability of future power grids using the design of experiment techniques.
The proposed co-simulation approach revolves around the assessment of systemic impacts of wind turbine generators. This commonly involves one grid simulator and multiple component models, which are commonly encapsulated as separate FMUs. This paper limited the assessment to two FMUs, one for the grid simulator and one for the wind park model. Future research will focus on the expected scalability of the approach, including the generic initialisation of co-simulations consisting of multiple FMUs, generic simulation configuration (variable semantics, automated connection of FMUs from within the mosaik configuration scripts), and FMU/simulator invocation by the co-simulation engineer.

Author Contributions

Conceptualization, Formal analysis, Investigation, Methodology, Software, Validation, Visualization, Writing—original draft, Writing—review & editing (N.F.); Conceptualization, Formal analysis, Investigation, Methodology, Software, Validation, Visualization, Supervision, Writing—original draft, Writing—review & editing (A.A.v.d.M.); Funding acquisition, Investigation, Methodology, Resources, Supervision, Visualization, Writing—review & editing (J.R.T.); Funding acquisition, Resources, Supervision, Writing—review & editing (M.A.M.M.v.d.M.). All authors read and agreed to the published version of the manuscript.

Funding

Parts of this work received funding in the European Community’s Horizon 2020 Program under the project “MIGRATE” (Grant Agreement No. 691800). This paper reflects only the authors’ views and the European Commission is not responsible for any use that may be made of the information it contains.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
RESRenewable Energy Source
GSCGrid Side Converter
MSCMachine Side Converter
FRTFault Ride Through
WPPWind Power Plant
TSOTransmission System Operator
PLLPhase Locked Loop
FMIFunctional Mock-up Interface
FMUFunctional Mock-up Unit
HLAHigh Level Architecture
APIApplication Programming Interface
HVDCHigh-Voltage Direct Current
PCCPoint of Common Coupling
CCTCritical Clearing Time
PIProportional–Integral
PSSPower System Stabilizer
SCCShort Circuit Capacity
SCRShort Circuit Ratio
RMSRoot Mean Square

Appendix A

Table A1. Main parameters of the test case of Figure 4.
Table A1. Main parameters of the test case of Figure 4.
SymbolDescriptionValue
LoadSynchronous GeneratorWind TurbineExternal Grid
PActive power2 MW0.5 MW2 MW
SRated power2 MVA1 MVA2.35 MVA100 MVA
PFPower factor10.91
Table A2. Control block parameters shown in Figure 9, Figure 12, Figure 13 and Figure 18.
Table A2. Control block parameters shown in Figure 9, Figure 12, Figure 13 and Figure 18.
ParameterValue (p.u.)
Droop gain, k D 0.2
Correction factor, k cor 0.1
Voltage reference, u t , d * 0.995
Active power reference, p * 0.85
Filter constant, X f 0.1
Voltage control gain, k v , T v 2, 0.5
stabilizer control gain, k w , T w 0.125, 2

References

  1. International Renewable Energy Agency (IRENA). Global Energy Transformation: A Roadmap to 2050; International Renewable Energy Agency: Abu Dhabi, United Arab Emirates, 2018. [Google Scholar]
  2. MIGRATE Work Package 1. Deliverable D1.1: Report on Systemic Issues; Technical Report. MIGRATE Consortium, 2016. Available online: https://www.h2020-migrate.eu/_Resources/Persistent/9bf78fc978e534f6393afb1f8510db86e56a1177/MIGRATE_D1.1_final_TenneT.pdf (accessed on 9 March 2021).
  3. European Network of Transmission System Operators for Electricity (ENTSO-E). Network Code for Requirements for Grid Connection Applicable to All Generators—Requirements in the Context of Present Practices. 2012. Available online: http://www.acer.europa.eu/ (accessed on 7 March 2021).
  4. Boemer, J.C.; van der Meer, A.A.; Rawn, B.G.; Hendriks, R.L.; Ciupuliga, A.R.; Gibescu, M.; Kling, W.L.; Ferreira, J.A. Fault Ride-through Requirements for Onshore Wind Power Plants in Europe: The Needs of the Power System. In Proceedings of the IEEE Power and Energy General Meeting, Detroit, MI, USA, 24–28 July 2011. [Google Scholar]
  5. Carne, G.D.; Langwasser, M.; Ndreko, M.; Bachmann, R.; Doncker, R.W.D.; Dimitrovski, R.; Mortimer, B.J.; Neufeld, A.; Rojas, F.; Liserre, M. Which Deepness Class Is Suited for Modeling Power Electronics?: A Guide for Choosing the Right Model for Grid-Integration Studies. IEEE Ind. Electron. Mag. 2019, 13, 41–55. [Google Scholar] [CrossRef]
  6. Zhou, J.Z.; Ding, H.; Fan, S.; Zhang, Y.; Gole, A.M. Impact of Short-Circuit Ratio and Phase-Locked-Loop Parameters on the Small-Signal Behavior of a VSC-HVDC Converter. IEEE Trans. Power Deliv. 2014, 29, 2287–2296. [Google Scholar] [CrossRef]
  7. Rocabert, J.; Luna, A.; Blaabjerg, F.; Rodríguez, P. Control of Power Converters in AC Microgrids. IEEE Trans. Power Electron. 2012, 27, 4734–4749. [Google Scholar] [CrossRef]
  8. MIGRATE Work Package 1. Deliverable D1.6: Demonstration of Mitigation Measures and Clarification of Unclear Grid Code Requirements; Technical Report; MIGRATE Consortium, 2019; Available online: https://www.h2020-migrate.eu/_Resources/Persistent/a7e3d4424f6f749e419ddac011419e7a0aa5f576/D1.6%20-%20Demonstration%20of%20Mitigation%20Measures%20and%20Clarification%20of%20Unclear%20Grid%20Code%20Requirements%20-%20final.pdf (accessed on 9 March 2021).
  9. Mueller, S.C.; Georg, H.; Nutaro, J.J.; Widl, E.; Deng, Y.; Palensky, P.; Awais, M.U.; Chenine, M.; Küch, M.; Lin, H.; et al. Interfacing Power System and ICT Simulators: Challenges, State-of-the-Art, and Case Studies. IEEE Trans. Smart Grid 2018, 9, 14–24. [Google Scholar] [CrossRef]
  10. Palensky, P.; Van Der Meer, A.A.; Lopez, C.D.; Joseph, A.; Pan, K. Cosimulation of Intelligent Power Systems: Fundamentals, Software Architecture, Numerics, and Coupling. IEEE Ind. Electron. Mag. 2017, 11, 34–50. [Google Scholar] [CrossRef]
  11. Gómez, F.J.; Aguilera, M.A.; Olsen, S.H.; Vanfretti, L. Software requirements for interoperable and standard-based power system modeling tools. Simul. Model. Pract. Theory 2020, 103, 102095. [Google Scholar] [CrossRef]
  12. Uslar, M.; Rohjans, S.; Neureiter, C.; Pröstl Andrén, F.; Velasquez, J.; Steinbrink, C.; Efthymiou, V.; Migliavacca, G.; Horsmanheimo, S.; Brunner, H.; et al. Applying the Smart Grid Architecture Model for Designing and Validating System-of-Systems in the Power and Energy Domain: A European Perspective. Energies 2019, 12, 258. [Google Scholar] [CrossRef] [Green Version]
  13. Widl, E.; Jacobs, T.; Schwabeneder, D.; Nicolas, S.; Basciotti, D.; Henein, S.; Noh, T.G.; Terreros, O.; Schuelke, A.; Auer, H. Studying the potential of multi-carrier energy distribution grids: A holistic approach. Energy 2018, 153, 519–529. [Google Scholar] [CrossRef]
  14. Nguyen, V.H.; Besanger, Y.; Tran, Q.T.; Boudinet, C.; Brandl, R.; Marten, F.; Markou, A.; Kotsampopoulos, P.; van der Meer, A.A.; Lauss, G.; et al. Real-Time Simulation and Hardware-in-the-Loop Approaches for Integrating Renewable Energy Sources into Smart Grids: Challenges & Actions. In Proceedings of the IEEE ISGT Asia, Auckland, New Zealand, 4–7 December 2017. [Google Scholar]
  15. Palensky, P.; van der Meer, A.; Lopez, C.; Joseph, A.; Pan, K. Applied Cosimulation of Intelligent Power Systems: Implementing Hybrid Simulators for Complex Power Systems. IEEE Ind. Electron. Mag. 2017, 11, 6–21. [Google Scholar] [CrossRef]
  16. Constantin, A.; Ellerbrock, A.; Fernandez, F.; Rueß, J. Co-Simulation of Power Electronic Dominated Networks. IEEE Power Energy Mag. 2020, 18, 84–89. [Google Scholar] [CrossRef]
  17. Nguyen, V.; Besanger, Y.; Tran, Q.; Nguyen, T. On Conceptual Structuration and Coupling Methods of Co-Simulation Frameworks in Cyber-Physical Energy System Validation. Energies 2017, 10, 1977. [Google Scholar] [CrossRef] [Green Version]
  18. Armendariz, M.; Chenine, M.; Nordström, L.; Al-Hammouri, A. A co-simulation platform for medium/low voltage monitoring and control applications. In Proceedings of the ISGT 2014, Kuala Lumpur, Malaysia, 20–23 May 2014; pp. 1–5. [Google Scholar]
  19. Garau, M.; Celli, G.; Ghiani, E.; Pilo, F.; Corti, S. Evaluation of Smart Grid Communication Technologies with a Co-Simulation Platform. IEEE Wirel. Commun. 2017, 24, 42–49. [Google Scholar] [CrossRef]
  20. Shum, C.; Lau, W.; Mao, T.; Chung, H.S.; Tsang, K.; Tse, N.C.; Lai, L.L. Co-Simulation of Distributed Smart Grid Software Using Direct-Execution Simulation. IEEE Access 2018, 6, 20531–20544. [Google Scholar] [CrossRef]
  21. Perkonigg, F.; Brujic, D.; Ristic, M. Platform for Multiagent Application Development Incorporating Accurate Communications Modeling. IEEE Trans. Ind. Inform. 2015, 11, 728–736. [Google Scholar] [CrossRef] [Green Version]
  22. Çakmak, H.; V.Hagenmeyer, A.M.U. A new distributed co-simulation architecture for multi-physics based energy systems integration. Automatisierungstechnik 2019, 67, 972–983. [Google Scholar] [CrossRef]
  23. Georg, H.; Müller, S.C.; Rehtanz, C.; Wietfeld, C. Analyzing Cyber-Physical Energy Systems:The INSPIRE Cosimulation of Power and ICT Systems Using HLA. IEEE Trans. Ind. Inform. 2014, 10, 2364–2373. [Google Scholar] [CrossRef]
  24. Vogt, M.; Marten, F.; Braun, M. A survey and statistical analysis of smart grid co-simulations. Appl. Energy 2018, 222, 67–78. [Google Scholar] [CrossRef]
  25. Gomes, A.; Broman, D.; Vangheluwe, H.; Thule, C.; Larsen, P.G. Co-simulation: A Survey. ACM Comput. Surv. 2018, 51, 1–33. [Google Scholar] [CrossRef]
  26. Steinbrink, C.; Schlögl, F.; Babazadeh, D.; Lehnhoff, S.; Rohjans, S.; Narayan, A. Future perspectives of co-simulation in the smart grid domain. In Proceedings of the 2018 IEEE International Energy Conference (ENERGYCON), Limassol, Cyprus, 3–7 June 2018; pp. 1–6. [Google Scholar] [CrossRef] [Green Version]
  27. Blochwitz, T.; Martin, O.; Akesson, J. Functional Mockup Interface 2.0: The Standard for Tool independent Exchange of Simulation Models. In Proceedings of the 9th International MODELICA Conference, Munich, Germany, 3–5 September 2012. [Google Scholar]
  28. Modelica Association. Functional Mock-Up Interface for Model Exchange and Co-Simulation; Technical Report; Modelica Association: Cambridge, MA, USA, 2014. [Google Scholar]
  29. Broman, D.; Greenberg, L.; Lee, E.A.; Masin, M.; Tripakis, S.; Wetter, M. Requirements for hybrid cosimulation standards. In Proceedings of the 18th International Conference on Hybrid Systems: Computation and Control, Seattle, WA, USA, 14–16 April 2015; pp. 179–188. [Google Scholar] [CrossRef] [Green Version]
  30. Spiegel, M.; Widl, E.; Heinzl, B.; Kastner, E.; Akroud, N. Model-Based Virtual Components in Event-Based Controls: Linking the FMI and IEC 61499. Appl. Sci. 2020, 10, 1611. [Google Scholar] [CrossRef] [Green Version]
  31. Widl, E.; Müller, W.; Basciotti, D.; Henein, S.; Hauer, S.; Eder, K. Simulation of multi-domain energy systems based on the functional mock-up interface specification. In Proceedings of the 2015 International Symposium on Smart Electric Distribution Systems and Technologies (EDST), Vienna, Austria, 8–11 September 2015; pp. 510–515. [Google Scholar] [CrossRef]
  32. Reitinger, J.; Čech, M.; Königsmarková, J. Model-based control system design for steam turbine based on Functional Mock-up interface (FMI/FMU). In Proceedings of the 2018 19th International Carpathian Control Conference (ICCC), Szilvásvárad, Hungary, 28–30 May 2018; pp. 559–564. [Google Scholar] [CrossRef]
  33. Nylén, A.; Henningsson, M.; Cervin, A.; Tunestål, P. Control Design Based on FMI: A Diesel Engine Control Case Study. IFAC-PapersOnLine 2016, 49, 231–238. [Google Scholar] [CrossRef]
  34. Van der Meer, A.A.; Bhandia, R.; Widl, E.; Heussen, K.; Steinbrink, C.; Chodura, P.; Strasser, T.I.; Palensky, P. Towards Scalable FMI-based Co-simulation of Wind Energy Systems Using PowerFactory. In Proceedings of the 2019 IEEE PES Innovative Smart Grid Technologies Europe (ISGT-Europe), Bucharest, Romania, 29 September–2 October 2019; pp. 1–5. [Google Scholar] [CrossRef]
  35. Widl, E.; Judex, F.; Eder, K.; Palensky, P. FMI-based co-simulation of hybrid closed-loop control system models. In Proceedings of the 2015 International Conference on Complex Systems Engineering (ICCSE), Storrs, CT, USA, 9–11 November 2015; pp. 1–6. [Google Scholar] [CrossRef]
  36. Palmintier, B.; Krishnamurthy, D.; Top, P.; Smith, S.; Daily, J.; Fuller, J. Design of the HELICS high-performance transmission-distribution-communication-market co-simulation framework. In Proceedings of the 2017 Workshop on Modeling and Simulation of Cyber-Physical Energy Systems (MSCPES), Pittsburgh, PA, USA, 21 April 2017; pp. 1–6. [Google Scholar] [CrossRef]
  37. Gusain, D.; Cvetković, M.; Palensky, P. Energy Flexibility Analysis using FMUWorld. In Proceedings of the 2019 IEEE Milan PowerTech, Milan, Italy, 23–27 June 2019; pp. 1–6. [Google Scholar] [CrossRef] [Green Version]
  38. OFFIS—Institute for Information Technology. Available online: https://www.offis.de/ (accessed on 18 October 2020).
  39. Widl, E.; Spiegel, M.; Findrik, M.; Bajraktari, A.; Bhandia, R.; Steinbrink, C.; Heussen, K.; Jensen, T.; Panagiotis-Timolewn, M.; Dimeas, A.; et al. Smart Grid ICT Assessment Method; Technical Report; European Research Infrastructure Supporting Smart Grid Systems Technology Development, Validation and Roll Out, Austria: Vienna, Austria, 2018. [Google Scholar]
  40. Steinbrink, C.; van der Meer, A.A.; Cvetkovic, M.; Babazadeh, D.; Rohjans, S.; Palensky, P.; Lehnhoff, S. Smart grid co-simulation with MOSAIK and HLA: A comparison study. Comput. Sci. Res. Dev. 2018, 33, 135–143. [Google Scholar] [CrossRef] [Green Version]
  41. Schutte, S.; Scherfke, S.; Troschel, M. Mosaik: A framework for modular simulation of active components in Smart Grids. In Proceedings of the 2011 IEEE First International Workshop on Smart Grid Modeling and Simulation (SGMS), Brussels, Belgium, 17 October 2011; pp. 55–60. [Google Scholar]
  42. Schutte, S.; Scherfke, S.; Sonnenschein, M. MOSAIK smart grid simulation API. In Proceedings of the International Conference on Smart Grids and Green IT Systems, Porto, Portugal, 19–20 April 2012. [Google Scholar]
  43. Steinbrink, C.; Blank-Babazadeh, M.; El-Ama, A.; Holly, S.; Lüers, B.; Nebel-Wenner, M.; Ramírez Acosta, R.; Raub, T.; Schwarz, J.; Stark, S.; et al. CPES Testing with mosaik: Co-Simulation Planning, Execution and Analysis. Appl. Sci. 2019, 9, 923. [Google Scholar] [CrossRef] [Green Version]
  44. Wang, K.; Siebers, P.O.; Robinson, D. Towards Generalized Co-simulation of Urban Energy Systems. Procedia Eng. 2017, 198, 366–374. [Google Scholar] [CrossRef]
  45. Chromik, J.; Remke, A.; Haverkort, B. An integrated testbed for locally monitoring SCADA systems in smart grids. Energy Inform. 2018, 1, 56. [Google Scholar] [CrossRef]
  46. Mirz, M.; Razik, L.; Dinkelbach, J.; Tokel, H.A.; Alirezaei, G.; Monti, R.A. A Cosimulation Architecture for Power System, Communication, and Market in the Smart Grid. Complexity 2018, 2018, 7154031. [Google Scholar] [CrossRef] [Green Version]
  47. Wu, Y.; Fu, L.; Ma, F.; Hao, X. Cyber-Physical Co-Simulation of Shipboard Integrated Power System Based on Optimized Event-Driven Synchronization. Electronics 2020, 9, 540. [Google Scholar] [CrossRef] [Green Version]
  48. Lin, H.; Veda, S.; Shukla, S.; Mili, L.; Thorp, J. GECO: Global Event-Driven Co-Simulation Framework for Interconnected Power System and Communication Network. IEEE Trans. Smart Grid 2012, 3, 1444–1456. [Google Scholar] [CrossRef]
  49. Li, W.; Ferdowsi, M.; Stevic, M.; Monti, A.; Ponci, F. Cosimulation for Smart Grid Communications. IEEE Trans. Ind. Inform. 2014, 10, 2374–2384. [Google Scholar] [CrossRef]
  50. Manbachi, M.; Sadu, A.; Farhangi, H.; Monti, A.; Palizban, A.; Ponci, F.; Arzanpour, S. Real-Time Co-Simulation Platform for Smart Grid Volt-VAR Optimization Using IEC 61850. IEEE Trans. Ind. Inform. 2016, 12, 1392–1402. [Google Scholar] [CrossRef]
  51. Hendriks, R.L.; van der Meer, A.A.; Kling, W.L. Impact on System Stability of Different Voltage Control Schemes of Wind Power Plants Connected Through AC and VSC-HVDC Transmission. In Proceedings of the 5th Nordic Wind Power Conference, Rønne, Denmark, 10–11 September 2009. [Google Scholar]
  52. Erlich, I.; Shewarega, F.; Engelhardt, S.; Kretschmann, J.; Fortmann, J.; Koch, F. Effect of wind turbine output current during faults on grid voltage and the transient stability of wind parks. In Proceedings of the 2009 IEEE Power Energy Society General Meeting, Calgary, AB, Canada, 26–30 July 2009; pp. 1–8. [Google Scholar] [CrossRef]
  53. Klöckl, B.; Deiml, G.; Petino, C.; Winter, W. Designing hybrid AC/DC transmission structures for large electricity systems. Elektrotechnik Und Informationstechnik 2020, 137, 387–393. [Google Scholar] [CrossRef]
  54. Widl, E.; Müller, W.; Elsheikh, A.; Hörtenhuber, M.; Palensky, P. The FMI++ library: A high-level utility package for FMI for model exchange. In Proceedings of the 2013 Workshop on Modeling and Simulation of Cyber-Physical Energy Systems (MSCPES), Berkeley CA, USA, 20 May 2013; pp. 1–6. [Google Scholar] [CrossRef]
  55. FMI++ PowerFactory FMU Export Utility. Available online: https://sourceforge.net/projects/powerfactory-fmu/ (accessed on 18 October 2020).
  56. FMI Tools for Simulink—FMI Kit. Available online: http://github.com/CATIA-Systems/FMIKit-Simulink (accessed on 18 October 2020).
  57. Tielens, P. Operation and Control of Power Systems with Low Synchronous Inertia. Ph.D. Thesis, KU Leuven, Leuven, Belgium, 2017. [Google Scholar]
  58. Rosso, R.; Wang, X.; Liserre, M.; Lu, X.; Engelken, S. Grid-forming converters: an overview of control approaches and future trends. In Proceedings of the 2020 IEEE Energy Conversion Congress and Exposition (ECCE), Detroit, MI, USA, 11–15 October 2020; pp. 4292–4299. [Google Scholar] [CrossRef]
  59. Visioli, A. Modified anti-windup scheme for PID controllers. IEEE Proc. Control Theory Appl. 2003, 150, 49–54. [Google Scholar] [CrossRef]
  60. Larsen, E.V.; Swann, D.A. Applying Power System Stabilizers Part I: General Concepts. IEEE Trans. Power Appar. Syst. 1981, 100, 3017–3024. [Google Scholar] [CrossRef]
  61. Tsourakis, G.; Nomikos, B.M.; Vournas, C.D. Contribution of Doubly Fed Wind Generators to Oscillation Damping. IEEE Trans. Energy Convers. 2009, 24, 783–791. [Google Scholar] [CrossRef]
  62. Erlich, I.; Korai, A.; Neumann, T.; Koochack Zadeh, M.; Vogt, S.; Buchhagen, C.; Rauscher, C.; Menze, A.; Jung, J. New Control of Wind Turbines Ensuring Stable and Secure Operation Following Islanding of Wind Farms. IEEE Trans. Energy Convers. 2017, 32, 1263–1271. [Google Scholar] [CrossRef]
  63. Saadat, H. Power System Analysis, 2nd ed.; McGraw-Hill Press: New York, NY, USA, 2002. [Google Scholar]
  64. Goksu, O. Control of Wind Turbines During Symmetrical and Asymmetrical Grid Faults. Ph.D. Thesis, Aalborg University, Aalborg, Denmark, 2012. [Google Scholar]
  65. IEEE. IEEE Guide for Planning DC Links Terminating at AC Locations Having Low Short-Circuit Capacities; Technical Report; IEEE Std 1204–1997(R2003); IEEE: New York, NY, USA, 2003. [Google Scholar]
Figure 1. The monolithic (left) and co-simulation (right) transient stability simulation steps.
Figure 1. The monolithic (left) and co-simulation (right) transient stability simulation steps.
Applsci 11 02410 g001
Figure 2. The mosaik structure [43].
Figure 2. The mosaik structure [43].
Applsci 11 02410 g002
Figure 3. Synchronization mechanism in mosaik co-simulation.
Figure 3. Synchronization mechanism in mosaik co-simulation.
Applsci 11 02410 g003
Figure 4. System under test for testing the co-simulation efficacy.
Figure 4. System under test for testing the co-simulation efficacy.
Applsci 11 02410 g004
Figure 5. Overview of design steps for the proposed co-simulation framework.
Figure 5. Overview of design steps for the proposed co-simulation framework.
Applsci 11 02410 g005
Figure 6. Overview of the functional mock-up interface (FMI)-based co-simulation using Python code to orchestrate.
Figure 6. Overview of the functional mock-up interface (FMI)-based co-simulation using Python code to orchestrate.
Applsci 11 02410 g006
Figure 7. The mosaik co-simulation framework.
Figure 7. The mosaik co-simulation framework.
Applsci 11 02410 g007
Figure 8. Workflow diagram of the co-simulation setup using mosaik and the FMI.
Figure 8. Workflow diagram of the co-simulation setup using mosaik and the FMI.
Applsci 11 02410 g008
Figure 9. Single line and control block diagram of a grid-forming converter. All variables are in p.u.
Figure 9. Single line and control block diagram of a grid-forming converter. All variables are in p.u.
Applsci 11 02410 g009
Figure 10. Power control of a grid-forming converter connected to a grid.
Figure 10. Power control of a grid-forming converter connected to a grid.
Applsci 11 02410 g010
Figure 11. Phasor diagram after fault occurrence in the grid.
Figure 11. Phasor diagram after fault occurrence in the grid.
Applsci 11 02410 g011
Figure 12. Active power control with a feedback compensator activated during a fault.
Figure 12. Active power control with a feedback compensator activated during a fault.
Applsci 11 02410 g012
Figure 13. Voltage control, current limitation and voltage reference generation.
Figure 13. Voltage control, current limitation and voltage reference generation.
Applsci 11 02410 g013
Figure 14. Response of the wind turbine to a step in the voltage set-point.
Figure 14. Response of the wind turbine to a step in the voltage set-point.
Applsci 11 02410 g014
Figure 15. Response of the wind turbine to the step in active power set-point for different k droop for monolithic simulation (solid) and mosaik co-simulation (dashed).
Figure 15. Response of the wind turbine to the step in active power set-point for different k droop for monolithic simulation (solid) and mosaik co-simulation (dashed).
Applsci 11 02410 g015
Figure 16. Dynamic response of the wind turbine to the fault with FCT = 150 m s .
Figure 16. Dynamic response of the wind turbine to the fault with FCT = 150 m s .
Applsci 11 02410 g016
Figure 17. Dynamic response of the wind turbine to the fault with FCT = 200 m s .
Figure 17. Dynamic response of the wind turbine to the fault with FCT = 200 m s .
Applsci 11 02410 g017
Figure 18. The voltage reference generation block with an intentional delay block in the monolithic simulation.
Figure 18. The voltage reference generation block with an intentional delay block in the monolithic simulation.
Applsci 11 02410 g018
Figure 19. Dynamic short-circuit response of the wind turbine considering a delay of 10 ms in the controls within the monolithic simulation setup.
Figure 19. Dynamic short-circuit response of the wind turbine considering a delay of 10 ms in the controls within the monolithic simulation setup.
Applsci 11 02410 g019
Figure 20. Dynamic response of the wind turbine to the fault considering different delay time constants T del for the monolithic simulation.
Figure 20. Dynamic response of the wind turbine to the fault considering different delay time constants T del for the monolithic simulation.
Applsci 11 02410 g020
Figure 21. Dynamic response of the wind turbine to the reference fault (weak-grid condition), with and without PSS for the mosaik co-simulation.
Figure 21. Dynamic response of the wind turbine to the reference fault (weak-grid condition), with and without PSS for the mosaik co-simulation.
Applsci 11 02410 g021
Figure 22. Time-domain response of the wind turbine to a voltage dip in islanded operation, with and without auxiliary damping signal for the mosaik based co-simulation.
Figure 22. Time-domain response of the wind turbine to a voltage dip in islanded operation, with and without auxiliary damping signal for the mosaik based co-simulation.
Applsci 11 02410 g022
Table 1. Root square deviation (RSD) [p.u.] for the applied case studies in Section 5.1 to Section 5.5.
Table 1. Root square deviation (RSD) [p.u.] for the applied case studies in Section 5.1 to Section 5.5.
Case Studymosaik
Co-Simulation
FMI-Based
Co-Simulation
5.1 Step in the voltage
set-point
0.23680.2416
5.2 Controller parameter
modification
(for k droop = 0.02)
0.28510.2880
5.3 Response during
faults (for FCT = 150 ms)
3.27383.2751
5.4 Weak-grids4.5903 (with PSS),
4.9599 (without PSS)
4.6589 (with PSS),
4.9668 (without PSS)
5.5 Islanded operation4.6979 (with PSS),
9.4237 (without PSS)
4.7705 (with PSS),
9.4863 (without PSS)
Table 2. Execution times of the simulations [s] for the case studies of Section 5.1, Section 5.2, Section 5.3, Section 5.4 and Section 5.5. (Intel Xeon W-2123, 3.6 GHz, 8 GB RAM).
Table 2. Execution times of the simulations [s] for the case studies of Section 5.1, Section 5.2, Section 5.3, Section 5.4 and Section 5.5. (Intel Xeon W-2123, 3.6 GHz, 8 GB RAM).
Case Studymosaik
Co-Simulation
FMI-Based
Co-Simulation
Monolithic
Simulation
5.1 Step in the voltage
set-point
225.4246.61.5440
5.2 Controller parameter
modification
(for k droop = 0.02)
231.1237.21.5744
5.3 Response during
faults (for FCT = 150 ms)
246.4252.81.6788
5.4 Weak-grids
(with PSS)
240.3244.71.5126
5.5 Islanded pperation
(with PSS)
226.2232.61.4769
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Farrokhseresht, N.; van der Meer, A.A.; Rueda Torres, J.; van der Meijden, M.A.M.M. MOSAIK and FMI-Based Co-Simulation Applied to Transient Stability Analysis of Grid-Forming Converter Modulated Wind Power Plants. Appl. Sci. 2021, 11, 2410. https://doi.org/10.3390/app11052410

AMA Style

Farrokhseresht N, van der Meer AA, Rueda Torres J, van der Meijden MAMM. MOSAIK and FMI-Based Co-Simulation Applied to Transient Stability Analysis of Grid-Forming Converter Modulated Wind Power Plants. Applied Sciences. 2021; 11(5):2410. https://doi.org/10.3390/app11052410

Chicago/Turabian Style

Farrokhseresht, Nakisa, Arjen A. van der Meer, José Rueda Torres, and Mart A. M. M. van der Meijden. 2021. "MOSAIK and FMI-Based Co-Simulation Applied to Transient Stability Analysis of Grid-Forming Converter Modulated Wind Power Plants" Applied Sciences 11, no. 5: 2410. https://doi.org/10.3390/app11052410

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop