EMT models are more detailed and so contain TS mo-
dels in some ways, our objective is to perform mid-to-
long-term simulations of large-scale power systems
with full-EMT models.
In addition, in most of the existing simulation
tools, the modeling and solving aspects are generally
combined. Indeed, components are directly imple-
mented in discretized form: trapezoidal formula for
smooth dynamics and backward Euler formula for
discontinuities. Although it enables faster computati-
ons, such an approach leads to an increasing number
of heuristics in models and consequently to simulati-
ons whose reliability can be questioned. To finish, the
DAE systems are generally solved with fixed step size
integration schemes. Therefore, in order to meet some
accuracy requirements, the time step is fixed to very
small values (e.g. 10 µs), which completely prevents
from long-term simulations.
For performing reliable long-term time-domain si-
mulations of power systems represented with EMT
models, our strategy is based on two cornerstones:
1. Completely separating the modeler and the sol-
ver. From a mathematical point of view, the idea
is that the modeler should only build the DAE sy-
stem to solve, which is written in implicit form
i.e. F(t, X,
˙
X) = 0. Then, the solver should per-
form the numerical integration of this system.
2. Integrating the DAE with an adaptive step size
solver. By this way, the time step size is adjus-
ted in order to meet a tolerance target, which fi-
nally reinforces the reliability of the simulation re-
sults. Furthermore, the step size adjustment ena-
bles to possibly optimize the computational cost.
Indeed, as the step size is directly linked to the
dynamics of the solution (the faster its variations,
the smaller the step size), it enables to catch fast
transient phenomena when the system is subject
to perturbations while reducing the computational
cost when the system returns to steady-state.
However, in EMT simulations, using an adaptive
step size strategy is generally inefficient because of
the sinusoidal behavior of the simulated three-phase
voltages and currents. Indeed, their frequency limits
the time step size that is used for the integration. To
tackle this constraint, most of the existing approaches
consist in rewriting the DAE system in order to lower
the frequency of the computed solution. For instance,
in Dynamic Phasors (Demiray, 2008)-(Demiray et al.,
2007) the oscillating components are represented by
their envelope instead of their waveform. Then, as the
frequency of the resulting variables is close to zero,
much larger time steps can be used. However, as this
approach directly affects the model by modifying the
equations to solve in a non strictly equivalent way, it
is not adapted to our framework.
Hence, the method that we implemented takes
into account the sinusoidal behavior of the oscillating
components in the solver. Basically, the idea is to de-
compose the solution as the sum of a periodic part
and a correction term. The former is updated using
parametric estimation. The latter is integrated using
an adaptive step size solver. In previous publicati-
ons, results were obtained with Scilab (Scilab et al.,
2012), a Matlab-like language, which is not suited to
large-scale tests. In this paper, we present the first
results obtained with the implementation of our met-
hod into the reference solver SUNDIALS IDA (Hind-
marsh et al., 2005). In order to set our simulations,
we used Dynamo (Guironnet et al., 2018), which is a
simulation engine based on the OpenModelica (Fritz-
son et al., 2006) environment and developed by RTE
for time-domain simulations.
This paper is structured as follows. In the second
section, the mathematical problem to solve when con-
sidering EMT simulations is introduced. In the third
section, our numerical method is presented. In parti-
cular, we detail its implementation into the reference
solver IDA and its interface with Dynamo. In the
fourth section, some numerical results on two power
systems are presented. The fifth section concludes
this paper.
2 MATHEMATICAL PROBLEM
TO SOLVE
In EMT simulations, the mathematical problem to
solve is a set of differential-algebraic equations,
which can be written in its most general form as
F(t, X(t),
˙
X(t)) = 0 (1)
Let d be the dimension of the system. In this equa-
tion t ∈ R, X : R → R
d
and F : R × R
d
× R
d
→ R
d
.
In this paper, we present our method for such impli-
cit DAEs. Our previous paper (Gibert et al., 2018)
focuses on semi-explicit DAEs, as DAE systems can
generally be rewritten in such form for most of the
power system applications (Astic et al., 1994).
Furthermore, the solution of this system X is as-
sumed to contain both oscillating (for instance, the
three-phase currents and voltages) and non-oscillating
components, i.e.
X(t) =
X
s
(t)
X
ns
(t)
(2)
where X
s
and X
ns
respectively refer to the oscillating
components and to the non-oscillating components.
Use of the Sinusoidal Predictor Method within a Fully Separated Modeler/Solver Framework for Fast and Flexible EMT Simulations
35