1. Introduction
Large-scale adoption of renewables has profoundly changed the nature of modern power systems. Converter-tied resources do not conform to the electro-mechanical dynamics of conventional synchronous machines; they act much faster and operate through far off-nominal frequency swings. Sophisticated control loops are employed in converter-tied resources, which introduce a wide array of operating time constants leading to interactions with the rest of the power network [
1]. These new features also affect the applicability of conventional power system modeling methods by invalidating two main underlying assumptions: that (i) the dynamics of the network elements are sufficiently fast, such that their interactions with the sources and loads are insignificant, and (ii) the system frequency is tightly held close to nominal due to the highly inertial rotary generators. As a result of these two assumptions, network models using quasi-static phasors are widely used in the study of electro-mechanical oscillations in conventional power systems [
2,
3,
4]. For the analysis of faster transients, computationally demanding Electro-Magnetic Transient (EMT) models [
5] have been successfully applied. A number of studies [
6,
7,
8] have highlighted the limitations of quasi-static phasor modeling over EMT models for modern converter-integrated systems. Modern networks, in which converters are scattered abundantly, render quasi-static phasor analysis invalid and pose computational challenges for EMT simulations of large systems.
With current Central Processing Unit (CPU) clock speeds reaching their limits, and faced with increasing computational burdens, new methods using parallelization on conventional CPUs and with Graphical Processing Units (GPUs) are critically important for addressing the simulation of converter-intensive networks. Such methods have already been demonstrated for CPU-based EMT simulations [
9] relying on the presence of transmission lines whose latency allows network partitioning. GPU implementations have been explored for EMT simulations [
10,
11,
12], although they have been shown to require significant re-configurations. Additionally, EMT simulations offer no direct way to formal system-level study methods such as eigenvalue analysis even though small-signal stability analysis has become an important concern in multi-converter systems. Interactions such as sub-synchronous torsional interactions (SSTI), sub-synchronous control interactions (SSCI), and sub-synchronous resonance (SSR) are best understood analytically through eigenvalue analyses.
A list of emerging modeling methods for converter-intensive systems is available in [
13,
14]. Positive-sequence dynamic phasor modeling methods represent the dynamics of network elements [
15] and are known to provide an accuracy comparable to EMT simulations with lower computational complexity. Dynamic phasor modeling can be carried out similarly to EMT methods [
16,
17] or in the form of differential and algebraic equations (DAEs) [
18]. Representing dynamic phasors using DAEs provides additional advantages such as eigenvalue analysis. A particular dynamic phasor modeling approach that is used for eigenvalue analysis is presented in [
1]; however, its implementation for time-domain simulations and parallelization are not described. A GPU–CPU co-simulation approach using dynamic phasors is presented in [
19]; however, this approach uses EMT modeling for dynamic phasors, which prevents eigenvalue analysis provisions. A dynamic phasor modeling approach has been presented for multi-converter systems [
20]; however, the focus is primarily on the modeling of a large number of converters rather than the power network. Another dynamic phasor modeling approach has been presented and experimentally validated for variable-frequency sources in [
21]; however, only synchronous machines are considered, and no analytical capabilities, such as eigenvalue analysis, are presented. An assessment of the quasi-static phasor and dynamic phasor methods with increasing renewable penetration is provided in [
22], highlighting the capabilities of dynamic phasor modeling in converter-interfaced systems; however, performance enhancement of dynamic phasor simulations is not discussed. There is clearly a need for a dynamic-phasor-type solver with provisions for formal methods such as linearization and eigenvalue analysis that can be implemented on a parallel computing platform for computational efficiency.
This paper addresses this gap by developing an average-value, positive-sequence modeling method for power systems with converter-tied resources based on dynamic phasors. A GPU parallelization approach is also presented, along with both CPU- and GPU-based executions, providing analytical functionalities and increased computational gains.
The paper continues in
Section 2 with a description of dynamic phasor models.
Section 3 describes the solution using parallel GPU–CPU operations.
Section 4 includes validation and comparative studies, and
Section 5 concludes the paper.
2. Dynamic-Phasor-Based Model Development
A positive-sequence dynamic phasor model of a network represents three-phase voltages and currents using two orthogonal elements expressed in either real–imaginary or direct–quadrature (dq0) form (the latter form is adopted in this paper). As a result of this lower dimension, a reduction in the computational complexity of large networks is expected.
2.1. Models for Network Elements
Contrary to conventional phasors, dynamic phasors take into account the time-dependent dynamics of the inductive and capacitive elements of the network. The time-domain equation for the current through a single-phase series RL branch between nodes
m and
n is given in (
1).
where
,
, and
represent the node voltages and line current, and
and
are the resistance and inductance of the branch. Any current or voltage with time-varying amplitude, frequency, and phase may be shown in the following form:
where
is the dynamic phasor corresponding to
, and
is the fundamental frequency of interest. Note that
is a complex quantity and may be expressed in terms of its orthogonal components as follows:
The dynamic phasor form of (
1) may be written as (
4):
The formulation in (
4) is a result of the dynamic phasor differentiation property [
15] given by (
5a)
where
is the dynamic phasor operator [
15] that transforms the natural signal
into a dynamic phasor, as shown in (5b).
Expanding (
4) yields two differential equations, one for each of the orthogonal components of the dynamic phasor, as in (
6).
Similarly, the differential equation for the dynamic phasor representation of a capacitor (see
Figure 1) is given in (
7).
The equations in (
4) and (
7) can be used readily to construct models for various elements of a power system. In dynamic-phasor-based models, transmission lines are often represented using
-sections as opposed to the traveling-wave models commonly used in EMT studies. With a
-section template, a terminal bus voltage can be represented using (
7), with
being the summation of the shunt capacitances of the line segments terminating at the bus, and
and
being replaced with the summation of the incoming and outgoing
-section currents. The current through the series RL elements of a
-section is represented using (
4), which is also an equivalent of a short transmission line segment.
Each line model uses the bus voltage states (d and q components) as its inputs, whilst bus models use the line current states as inputs. The model of the entire network can be constructed by mapping the states and inputs of these individual bus and line modules. Line models can be readily extended to represent series and parallel static loads, reactive shunts, and transformers. Similarly the bus model can be extended to model capacitive shunts, and may be combined with line models to create series-compensated lines.
Certain subsystems may only contain capacitive or inductive elements. Obtaining an input voltage state for the line model is not possible for such subsystems. Typically, this voltage is generated by introducing a large fictitious resistance between the bus and the ground [
23]. While this approach works for small-signal studies, it results in a stiff system of equations. The requirement for a voltage as an input can be circumvented through substitution and use of Kirchhoff’s Current Law (KCL) and Kirchhoff’s Voltage Law (KVL) to obtain a much less stiff set of state equations, as in [
24].
2.2. Dynamic Devices and Controls
Dynamic devices, such as generators, converters, and their controllers, are modeled as current injection devices using ordinary differential equations, as shown in (
8).
where
is the vector of bus voltage dynamic phasors at the device’s terminal,
denotes the device’s control inputs, and
denotes the state variables of the device. The state variables in
are used to formulate the current injections to the network. It is also used in the bus model (see (
7)).
If a dynamic device’s model is to connect to a line model equivalent (e.g., a generator connecting through a transformer), where both models have voltages as inputs, the line model needs to be included in the dynamic device’s model so that the dynamic device remains a current injection source with a voltage input.
2.3. Reference Frame Transformation
The term
in (
6) denotes the momentary frequency of the natural quantities that are transformed to dynamic phasors. Since there are multiple frequency generation sources in the system, a constant nominal value cannot be used in the development of various component models. As such, the dynamic phasor quantities of the network (i.e., the line, bus, and static load models) are represented using the frequency of one of the sources (typically the generator at the slack bus in the power flow solution) with a rotational speed of
, which is taken as the frequency of the common reference frame. Other sources are modeled in their own reference frames rotating at their respective speeds. Dynamic phasors of voltages and currents from other reference frames are transformed back and forth between the common reference frame and their own respective reference frames [
1,
23].
Figure 2 depicts the overall model of the system consisting of sources, network elements, and reference frame transformations. A prime superscript denotes variables in the reference frame of individual converters. The block labeled ’Dynamic Phasor Network Model’ accepts current injections and frequency (
) as inputs and produces the node voltages as the output. This system of DAEs can be solved using a suitable integration method, as described in
Section 3.
3. Simulation Algorithms and CPU–GPU Execution Method
Conventional transient stability solvers model dynamic devices using DAEs with the network as a set of algebraic (using conventional phasors) equations. Partitioned explicit or simultaneous implicit methods [
3] are used based on the required level of numerical stability or convenience of implementation. EMT simulators, on the other hand, utilize numerical integrator substitution and companion circuit models to calculate instantaneous values of time-domain quantities. The dynamic phasor modeling method proposed herein consists of non-linear DAEs which are combined to model the overall power system. Since, in the proposed approach, both the sources and the network consist of DAEs, solving the overall system of equations using a single integration method provides better stability in comparison to partitioned solution methods. Two distinct integration methods are used for the solution of the resulting system of equations.
3.1. Explicit Integration—Runge–Kutta Method
The Runge–Kutta (RK4) is an explicit integration method. For solving a non-linear system of equations, the eigenvalues of the linearized system of equations need to remain within the time-step-dependent stability boundary of the RK4 integration method. The system of dynamic phasor equations developed here includes inductive and capacitive elements that give rise to high-frequency resonant modes which determine the time-step of the RK4 integration method. Experiments with several IEEE benchmark systems with network dynamics represented using the proposed modeling method showed that simulation time-steps in the range of 10–200 s are necessary to accurately capture the network dynamics.
While simulating conventional power systems with time-steps in the micro-second range is commonly seen in EMT solvers, non-EMT simulation of systems with converter-tied resources shows that solutions using small time-steps are essential due to the wide range of time constants generated by controls and filter elements.
3.2. Implicit Integration—Backward Euler
The implicit backward Euler method provides a solution to a system of equations using the present value and an estimated value at the next time-step. For non-linear systems, this value is estimated using an iterative method such as the Newton–Rapson method, which involves a Jacobian calculation and a matrix inversion at every time-step. The computational cost associated with the Jacobian calculation and matrix inversion is significant and introduces complexity for GPU computations [
10]. As a result, for this paper, the backward Euler method is implemented only for CPU-based computations of the dynamic phasor model.
3.3. GPU Implementation Using Runge–Kutta Method
Unlike CPUs, modern GPUs consist of thousands of computational cores that allow parallel execution on a massive scale. Popular hardware implementations include NVIDIA’s Compute Unified Device Architecture (CUDA) and AMD’s ROCm. The GPU implementation for the model in this paper utilizes CUDA. The functions executed in the GPU are known as CUDA kernels. The dynamic phasor model is implemented as a single CUDA kernel, where individual functions and function groups within the kernel are executed in parallel for each evaluation.
The software implementation of the GPU consists of execution units defined as threads, blocks, and grids, with the threads being the smallest execution unit. The number of threads per block and the number of blocks per grid can be defined so as to optimize the performance gain. This requires similar functions to be combined into thread groups that can fit into individual blocks. As a result, each group of functions (lines, buses, sources, etc.) is assigned to a group of threads identified by unique thread identifiers, and each function is assigned to a particular thread. Depending on the type of function, it may contain computation of a number of DAEs. The dynamic phasor model discussed in
Section 1 consists of three main types of DAEs. These include:
Dynamic network models (bus, line, and static loads);
Dynamic source and load models;
Reference frame angles for dynamic sources and loads.
Each function requires values of states from its neighboring functions as inputs and a list of parameters. Except for the bus function, all other functions have a predefined number of inputs from the system state vector. For example, a line function has inputs only from the two connected bus functions; the input state for a dynamic source or load model is the connected bus voltage and, for reference frame angles, the frequencies of the generating element and the frequency of the reference frame. Hence, each of these functions is provided with a vector containing the index of the required inputs from the overall system state vector. For bus functions, the number of inputs varies based on the number of connected lines, which is provided in the form of two matrices. The rows of the matrices represent the bus number, while the columns contain the index of the current in the overall state vector. The general format of an executed function is illustrated in
Figure 3.
The four stages of the RK4 solver require evaluation of the dynamic phasor equations sequentially. While the four stages are executed one after the other, the evaluation of each stage can be parallelized using threads. Each stage of the RK4 is thus sequentially executed as an individual CUDA kernel while providing its output to the dynamic phasor model. The execution of the RK4 solver in the GPU is shown in
Figure 4.
3.4. Overall Model Execution and Simulation
Initialization of the model is carried out by obtaining the bus voltages and phase angles of the sources through a power flow program. Once in steady state, the system of equations can be linearized for eigenvalue analysis through numerical perturbations, also known as the Jacobian calculation. This step can also be accelerated using GPUs. Run-time plotting of the simulated results requires GPU simulation data to be transferred to the CPU. Since CPU–GPU transfers are generally known to adversely affect the simulation performance, a plot step may be implemented that transfers the data for run-time viewing in larger time intervals. Full traces (i.e., containing all solved samples) can be obtained by storing the data in the GPU memory throughout the transient and transferring them at once.
4. Validation and Performance Comparison
For validation of the proposed modeling approach and to assess its computational performance, two systems are considered: the IEEE 9-bus system with synchronous generators and the IEEE 118-bus system fully equipped with grid-forming and grid-following inverters. The models are developed using Python and numpy/SciPy open-source libraries [
25,
26], just-in-time compilation tool Numba [
27], and run-time plotting library pyQtgraph. The specifications of the CPU and GPU on which the simulations were carried out are given in
Table 1. The GPU is a pre-configured unit available with conventional desktop computers. The use of a pre-configured GPU for simulations confirms that the proposed method does not require costly, high-end GPUs to achieve significant performance gains.
4.1. Model Validation
In order to create a current injection model for the synchronous generator, the eighth-order machine model [
2] with stator fluxes as state variables was modified with the inclusion of the step-up transformer impedances. The sources in the IEEE 9-bus system [
28] were then equipped with this generator model for validation against EMT simulation results from PSCAD/EMTDC. The generators were also equipped with an AC4A exciter model and a mechanical hydraulic governor model, which has proportional control with transient droop (GOV1), along with a turbine model that contains a non-elastic water column without a surge tank (TUR1). The power flows in the modified system were matched to those in the original IEEE 9-bus system with infinite buses.
The dynamic phasor model of this system has 77 state equations, of which 45 belong to the generators, 35 to the network, and 2 to reference frame angles. In steady state, a bolted three-phase fault at bus 5 was simulated. The same fault was also applied to a benchmark EMT model in the PSCAD/EMTDC. Both models were simulated with a time-step of 10
s. The fault was emulated in the dynamic phasor model by forcing the solution of the state equation for the bus function at bus 5 to zero during the fault. This removed the two states associated with the bus and provided a zero-voltage input to the faulted sides of the connected line functions. The active power response of the generator at bus 7 is shown in
Figure 5 for a six-cycle fault applied at
s. The traces from the dynamic phasor and the EMT models are in full conformity.
Additionally, a tripping event was simulated for the line between buses 8 and 9 by forcing the solution of the line function to zero and removing the respective capacitances from the terminating bus functions. As a result, the current injections (from the removed line) to the connecting buses were driven to zero. The resulting transient response of the active power of the generator connected to bus 9 is shown in
Figure 6 and is in close agreement with EMT results.
4.2. GPU-Accelerated Simulations
The GPU implementation of the dynamic phasor kernel is shown in
Figure 7, which also shows the states that are provided as inputs to individual functions. The execution for a single system is performed with 20 threads, with each thread being assigned to a single modular function. Source models require input states from the connected bus, whereas the line and load models also require voltage states from the connected buses. Bus models require state inputs from line, source, and load models. Since the source injections need to be transformed to the common reference frame, the transformation is performed in the bus function, taking in the states of the transformation angles as inputs. Calculations of these injections are carried out in individual threads associated with individual bus functions and are stored in the local thread memory available. The rest of the arrays, which include the states and parameters, are stored in global memory arrays and are accessed with state/parameter selection vectors, as shown in
Figure 3.
GPU-based execution of the dynamic phasor model can be used for studies that require repetitive simulations. To demonstrate the capability and the advantage of running multiple simulation cases in parallel, 500 cases of the IEEE 9-bus system equipped with the synchronous generator models used in
Section 4.1 were developed. The entire study involved 38,500 state variables, with each simulation case containing 77 states. For the execution of multiple cases, the CUDA kernel of the dynamic phasor model was modified to split the states and function executions based on multiple case indexes and threads, which can combine each case into a group of threads. A case index shifts the conditional statements for thread numbers used to identify thread groups of different functions in individual cases.
The purpose of this example is to study the impact of the inertia of each generator on the frequency nadir of the system. The inertia constant of each synchronous generator was randomized to have a value between 4 s and 9 s. The active power load at each load bus was increased by 10 MW at s while the frequency nadir of each synchronous generator was recorded. The model with 500 cases was simulated with a time-step of 400 s. The simulation was executed until the frequency nadir was recorded around s. It took approximately 14.24 s of CPU–GPU time to execute all 500 cases in parallel.
The system was initialized with all three synchronous generators rated at 150 MW. The frequency nadir of each case was plotted versus the value of the inertia constant of each generator, as shown in
Figure 8. While the general impact of increasing the inertia constant was improvement of the frequency nadir, the contribution of each generator’s inertia constant was similar for all the generators.
Next, the generator at bus 7 was replaced with a 250 MW unit and the other two generators reduced to 100 MW each. The resulting plot is shown in
Figure 9. It shows that generator 2 dominates the frequency nadir as the dispersion of the values is less for generator 2 in comparison with the other generators. Furthermore, as the inertia constant increases, the dispersion among the values of generator 2 is further reduced, indicating that the frequency nadir of a power system is dominated by the generator with the highest inertia.
This exemplifies the capability of GPU simulations to analyze the frequency dynamics of power systems with different generator configurations. For power system planning studies of low-inertia grids, the ability to simulate multiple configurations in parallel can provide significant time savings.
4.3. Eigenvalue Assessment Capability
The IEEE 9-bus system model was equipped with grid-following and grid-forming converters to represent a system with extensive converter-based resources. The converter models described in [
29] were used for implementation. Each synchronous generator was replaced with a grid-following converter with active and reactive power injections matching the power flows of the original system. For frequency support, each of the three generator buses was also equipped with grid-forming units with 10% capacity of the grid-following unit at each bus. Once the power flows were matched to be identical, the two networks were linearized, and eigenvalues and participation factors were generated for comparison.
In
Figure 10a, the states 1–49 belong to the synchronous generators; the rest of the states belong to the network and inductive loads. The plot indicates a clear separation in the participation factors. Participation in lower frequencies is dominated by synchronous machines, while the network states participate in higher-order dynamics associated with
-sections.
In
Figure 10b, the converter state variables range from 1 to 112, and the rest belong to the network. In comparison with
Figure 10a, a clear separation is no longer observable. A number of high-frequency eigenvalues participate in the states of the converter filters, which fall in the range of the eigenvalues that participate in the network resonances. Some eigenvalues in the frequency range of 3000–8000 rad/s participate in the converter filter states and overlap with the frequencies of the eigenvalues participating in the network states. This is indicative of a possible resonance that can occur in converter-dominated grids. The two plots also highlight the dynamic phasor model’s capability in providing analytical insight into converter-penetrated systems, a feature that is not readily available in EMT models.
4.4. Comparison of Time-Domain Simulation Performance
4.4.1. Simulation Performance for a Single Case
To compare the time-domain simulation performance of the proposed method against EMT solutions, the IEEE 118-bus system model [
30] was equipped with renewable generation sources containing both grid-following and grid-forming units. The IEEE 118-bus system consists of 54 generation sources, each of which is equipped with a grid-forming converter and a grid-following converter. Similar to the case in
Section 4.3, the power output of the grid-following converters was adjusted to match the original power flow, with the grid-forming converters used for voltage and frequency control. Each grid-following converter was set to provide 0.2 pu reactive power to retain system voltages within the limits. All grid-forming units, except for the one at bus 10, were rated to 30% capacity of the grid-following converter of the same bus. The grid-forming unit at bus 10 was given the same capacity as its grid-following unit. The system was also modeled using both detailed (DET) and average-value (AVM) EMT models without parallelization. The total CPU times to execute the dynamic phasor and EMT models in the eight-core CPU are shown in
Table 2. For fair simulation–time comparisons, run-time plotting in both models was disabled.
For a single simulation, the dynamic phasor solution using RK4 on the CPU showed a performance gain, performing approximately 5 times better than the AVM. In comparison with the detailed EMT switching model, it is noticeable that the simulation speed is significantly degraded when detailed switching models are employed in a single simulation case.
The dynamic phasor model solved using the backward Euler method is computationally expensive even at a time-step 10 times larger than the RK4 method. This computational cost is associated with the Jacobian calculation and matrix inversion carried out at each time-step. While the result shown here used the simplest implementation of the backward Euler integration method for a fair comparison with the RK4 method, implicit methods’ performance can be improved by reusing the Jacobians and by taking advantage of variable time-step solvers. Such optimized solvers based on implicit methods provide better performance [
18]; however, they often require alterations that affect the parallelization capability and stability of simulation. In particular, the implementation of matrix inversion and Jacobian calculation on a GPU involves multiple additional sequential computations, which become expensive and inefficient as the size of the network increases.
4.4.2. Simulation Performance of Multiple Cases in Parallel
To compare parallel simulation performance, sets of 8 and 16 cases were simulated using the EMT solver. Since the performance markedly drops as the number of parallel cases increases beyond the number of cores available, the set with 16 cases was simulated on a 16-core CPU. This allowed even distribution of cases among the CPU cores, resulting in improved utilization. Both the 8-case and 16-case sets of GPU-accelerated dynamic phasor models were simulated on the same GPU, parallelized as shown in
Section 3.3 and configured for multiple cases as in
Section 4.2. Simulation execution times and speed-up gains are shown in
Table 3.
The results indicate that GPU simulations provide a speed-up gain of 25–34 times based on the number of cases executed. While the number of cases can be increased in the GPU with minimal increase in execution time, EMT simulation times using the CPU drastically increase once the number of cases exceeds the number of cores available, as seen from the last row of
Table 3.
However, such a limitation does not exist for the GPU-accelerated model due to the fine-grained parallelization of individual modular functions used to construct the power system model.
Figure 11 shows the simulation time for the GPU execution of the 118-bus system’s dynamic phasor model with an increasing number of cases; while increasing the number of cases does in fact increase the simulation time, the total time taken is much less than in a counterpart CPU computation, indicating better scalability. Note that these performance gains may be different with different types of converters or dynamic load models that exist within a network. In such cases, thread assignments may require changes so that similar functions may be grouped together for optimal performance.
4.5. Co-Simulation with an Electro-Magnetic Transient Solver
The ability to co-simulate with an EMT solver allows the computational load of the simulation to be shared between the CPU and GPU. In addition, this allows manufacturer-compiled (i.e., black-boxed) EMT models to work with the proposed dynamic phasor model. Manufacturer models are often computationally intensive, and hence their simulation can be improved by sharing the computational load with the GPU. To demonstrate this, the grid-forming converter at bus 31, including the converter transformer and impedances up to the Point of Common Coupling (PCC), was modeled as an EMT detailed switching model and linked with the dynamic phasor model through PSCAD/EMTDC’s co-simulation API. The interfaced model is shown in
Figure 12.
The d and q components of the bus voltage’s dynamic phasor (
), and the frequency of the common reference frame
, in the dynamic phasor model are transferred to the EMT model through the EMT co-simulation API and transformed from the common reference frame to the converter reference frame. They are then converted to three-phase quantities and provided as PCC voltages to the converter model in the EMT simulator. The converter’s current injections to the PCC, which are in the abc domain, are then converted to dq0 components and transformed to the common reference frame before being provided as current injections to the same bus in the system’s dynamic phasor model. Both models were simulated with a time-step of 30
s. A fault was applied at bus 2, and the active and reactive power responses of the grid-forming converter with and without co-simulation are shown in
Figure 13. The case without co-simulation was simulated using dynamic phasors and solved using the RK4 integration method. For the co-simulated case, the dynamic phasor components of the network were solved using the RK4 integration method, and converter models were solved using the EMT solver. The responses indicate a close agreement between the two models.
To assess the performance of GPU–CPU co-simulation, two scenarios were tested by co-simulating an EMT model with a GPU dynamic phasor model. In the first case, all 54 grid-forming devices of the IEEE 118-bus system were modeled as detailed switching EMT models and co-simulated with a single 118-bus DP model executed on a GPU. A total of 109 values containing bus voltages of the 54 converter buses and the frequency of the common reference frame were given to the EMT model. In return, 108 values of current injections of the converters were provided back to the dynamic phasor model. For the second scenario, eight such cases were simulated in parallel in the CPU as a simulation set, with the grid-forming converters of each case as EMT switching models and the rest of the network modeled in the GPU in dynamic phasor form. The numbers of signals exchanged for the bus voltages and current injections were multiples of 8, with an additional eight values for the reference frame angles provided from the dynamic phasor models to the EMT models. The simulation execution times are shown in
Table 4.
In comparison with the results shown in
Table 2 for the EMT switching model, the co-simulated model showed a significant improvement of approximately 80 times as all the grid-following converters and the network were simulated in the GPU as dynamic phasor models. However, the scenario with eight cases performed approximately 3 times slower than the single-case scenario due to the large number of signals communicated between the CPU and GPU, a known limitation that occurs when CPU to GPU transfers are increased.