Acknowledgments
This research is being conducted in the frame of the MOET project (More-Open Electrical Technologies),
a FP6 European Integrated Project. See www.moetproject.eu for details.
Keywords
<<Aerospace>>, <<Modelling>>, <<Simulation>>
Abstract
A library of components for simulation and analysis of large vehicular electrical power systems using
Modelica language is presented. Components are described using different levels of model complexity,
catering for both detailed high fidelity transient switching dynamics and averaged value descriptions
which, being time invariant, are a computationally efficient and useful tool for design, stability and
sensitivity analyses. The merits of employing the Modelica based modelling tool are discussed, and its
utilities and effectiveness are demonstrated through a test system consisting of a three-phase, variable
frequency synchronous generator which feeds high voltage DC loads via an auto-transformer rectifier
unit.
Introduction
Future ”more electric” terrestrial, marine and aerospace vehicular electrical power systems will be based
on the interconnection of a wide range of components, resulting in a significantly more complex elec-
trical distribution system with multiple distributed loads most of which are supplied and controlled by
power electronic converters [1]. Due to the destabilizing effect of tightly regulated loads which result in
equivalent negative impedance behavior, these electrical networks are susceptible to instabilities [2],[3].
In order to investigate potential instability causes and develop corrective actions detailed investigations
by means of numerical simulations are required. Time-domain simulation using detailed nonlinear, time
varying power system models (which will be referred to as behavioral models) can be employed for
accurate transient performance evaluation, stability assessment and power quality investigation. Sev-
eral commercial and non-commercial software tools are available for detailed behavioral simulations
[4],[5],[6],[7]. Despite the highest level of model accuracy, the main drawback of behavioral modeling
is the need for vast computational resources and time. Since switching transients from power electronic
devices do not normally have a significant influence on systems stability, state-space averaging tech-
niques have been developed to derive equivalent non-linear time-invariant system models (which will be
referred to as functional models) [8]. Due to the unavailability of validated averaged models suitable for
Authorized licensed use limited to: UNIVERSITY OF NOTTINGHAM. Downloaded on February 1, 2010 at 11:08 from IEEE Xplore. Restrictions apply.
stability assessment and the lack of commercial libraries for simulation and analysis of functional mod-
els, a dedicated library has been developed using the Modelica language [9]. It is demonstrated that the
proposed library, coupled with the commercial software Dymola [10] can be effectively employed as a
tool for modeling and simulation of complex power systems, both at a functional and behavioral level. It
is also demonstrated how important simulation steps such as system’s initialization, linearization around
an operating point, formulation of the Jacobian matrix and parametric analysis can be automatically car-
ried out in order to provide a reliable and computationally efficient tool for systems analysis. The paper
describes in detail the use and the advantages of Modelica language for power systems modeling, as
well as provides details on the developed library of components. Detailed descriptions of the two-level
modeling of the key power systems components will be given in subsequent sections, as well as thorough
simulations of a test system containing the modeled ATRU fed by a three-phase synchronous generator,
with transients initiated by changing in load conditions. Numerical simulations are reported to clearly
show the capabilities of the proposed framework in terms of behavioral and functional systems model-
ing. The potentiality of the proposed modelling framework in stability analysis will also be described
and numerical results of small-signal analysis of a test system, validated with time-domain simulations
will also be presented.
where (2) has been explicitly solved to yield y = h(x), and the subsequent linearization of (3) around
a steady-state equilibrium point corresponding to a specified operating condition x0 determined by the
inputs u0 , to yield:
Δx
˙ = A · Δx + B · u (4)
with the equilibrium point obtained as the solution of:
0 = f(x0 , u0 ). (5)
Authorized licensed use limited to: UNIVERSITY OF NOTTINGHAM. Downloaded on February 1, 2010 at 11:08 from IEEE Xplore. Restrictions apply.
Figure 1: Schematic of a simplified electric power system
Although a signal-flow based modelling is appealing for its simplicity, the need to explicitly define
interface equations for the interconnection of different components, which can in some cases be given
by complex algebraic or differential/algebraic equations, while taking into account the causality of each
block can make the modelling and simulation of complex systems with a large number of interconnected
Authorized licensed use limited to: UNIVERSITY OF NOTTINGHAM. Downloaded on February 1, 2010 at 11:08 from IEEE Xplore. Restrictions apply.
Figure 3: Synchronous generator block diagram
components awkward. Furthermore it is not possible to integrate different levels of modelling details
such as functional and behavioural models in the same simulation environment.
As an example of the powerful modeling capabilities of Modelica, an extract of the code for the modeling
of a synchronous generator is presented. This simple description is compared with the complex modeling
that would result in a traditional signal-flow causal based modeling environment such as Simulink, as
reported in the block diagram in Fig. 2 [13].
• Voltage equations
• Magnetizing currents
• Saturation equations
• Mechanical equations
Te = 3/2*Pp*(psi_ds*i_qs-psi_qs*i_ds);
der(w_m) = Te - visc;
w_e = der(theta);
Authorized licensed use limited to: UNIVERSITY OF NOTTINGHAM. Downloaded on February 1, 2010 at 11:08 from IEEE Xplore. Restrictions apply.
• abc ↔ dq transformation
Simbols and variables have an intuitive meaning, details are reported in [14]. The Modelica command
der define the derivative operator. It is clear that there is no need to specifically define an input/output
relationship for each block.
Differently to any causal-based simulators, algebraic loops are automatically solved, in Modelica based
simulations, at compilation stage by employing powerful symbolic manipulations, therefore no iterative
procedures are required resulting in faster simulations. Symbolic manipulation also allows Modelica
based simulators to automatically generate linearised equations and Jacobian matrix of the system which
would have to be derived manually or numerically with signal-flow based modeling.
Components modelling
The presented components library was developed in context with the EC funded project ”More Open
Electrical Technologies” (MOET). Among others, several generators, (autotransformer-) rectifiers and
motor drives were embedded. The modeling framework is illustrated with respect to two essential
Authorized licensed use limited to: UNIVERSITY OF NOTTINGHAM. Downloaded on February 1, 2010 at 11:08 from IEEE Xplore. Restrictions apply.
selects global level global
BitStream triggeredTransition
options
defaultLevel=level 3
a m=3
resistor
m=3
variableResistor
level=global option
issue5_1
functional
star
m=3
angw_dc
b
ground
flange1
behavioural
neutral
variable lines
c d dq lines
m=3 m=3 m=3 rl_qd_th...
ynode_...
star r l
~ ~
flange flange
friction friction
SMEE SMEE
components of the power distribution network of a proposed aircraft power system: a three-phase syn-
chronous generator and an 18-pulse Auto Transformer Rectifier Unit (ATRU). The generator component
model is shown in figure 4. Both generators submodels share the same systems equations in the dq sys-
tem. The most essential difference between the two levels of the model is the use of the dq components
in the functional models connector ports while the behavioral model has the additional transformation
step to the abc system in the output. The generator’s output voltage is controlled with an AVR which
is similarly modelled using the two-level concept and employs a PI controller for output regulation
(with/without anti-windup limiters).
For the voltage feedback, the AC voltage magnitude of the behavioural model is obtained as:
VAC−beh = Vα2 +Vβ2 (7)
where:
⎤ ⎡
Va
Vα 2/3 −1/3 −1/3
= · ⎣ Vb ⎦ (8)
Vβ 0 1 −1
Vc
whereas for the functional model VAC− f unc = v2d + v2q .
Figure 5 shows the library structure of the generator. The package ”generator” contains the multi-level
models of the generator, here in different versions to include different modelling details. This model
can be used to build a system and the level can be selected globally or locally as a parameter. The
functional and behavioral sub-models and other components are placed in the components folder. In
order to validate the generator modelling, test systems are also provided in the library.
The ATRU model in figure 6 shows the model icon with the two embedded submodels. Both submod-
els use the same DC filters on the DC side. Only one of the level dependent models is translated at
compilation time depending upon the level set by the user.
On the AC side of each submodel the AC connectors are present. To discriminate between the two dif-
ferent modelling levels a yellow square connector carrying dq voltages and currents and angular velocity
informations is used for interconnecting ”functional” components. A blue dot represents a three-phase
connector carrying information on three-phase voltages and currents for ”behavioural” models. Both
connectors are connected to the green circle representing the expandable plug which allows the coexis-
tence of the two different modelling levels in the same block.
Several topologies of ATRU have been analyzed and included in the library. The direct-symmetric topol-
ogy without interphase reactors is presented here. The ATRU behavioural model contains a 9 phase
Authorized licensed use limited to: UNIVERSITY OF NOTTINGHAM. Downloaded on February 1, 2010 at 11:08 from IEEE Xplore. Restrictions apply.
different issues
of the multi-level
sublibrary "generator" model
unitary testing
environment
for the generator
p
~
a...
C=45e-6
functional model
C19
R1
R2
R=1
R=1
n2
C=130e-6
C=130e-6
C=45e-6
C27
C28
C18
behavioural model N
case
autotransformer unit, three six diodes bridge rectifier and some filtering components. The functional
models has been derived applying state-space averaging techniques. Detailed analytical derivations and
thourough validation of the derived models are reported in [18].
Numerical results
The modeling approach has been validated by time domain simulations. A test system representative
of the system in Fig. 1 has been assembled using the components in the library. It consists of the
synchronous generator and its associated AVR connected to the ATRU which supplies resistive loads at
the DC output. The simulation results with stepwise increasing load are reported in Fig. 7. In particular
the DC voltage and the generator’s d and q axis currents are shown. It is demonstrated how the functional
models trajectories clearly capture the moving averages along the trajectories of the detailed behavioural
model.
Authorized licensed use limited to: UNIVERSITY OF NOTTINGHAM. Downloaded on February 1, 2010 at 11:08 from IEEE Xplore. Restrictions apply.
(a) generator, q-axis current (b) generator, d-axis current
Stability analysis
The developed modelling environment can be easily used for network stability studies by analyzing the
influence of design parameters and operating conditions on system’s small-signal stability. As an ex-
ample, small-signal stability of the test system previously described has been analyzed, when a constant
power load (CPL) is connected to the DC output of the ATRU via a 200μF, 20μH LC passive filter.
The load power demand PCPL is increased gradually from 110 to 150 kW. For each loading condition
the system’s equilibrium and linerization are automatically calculated using Dymola algorithms. The
resulting eigenvalue locus is shown in Fig. 8. It is clear that the system is unstable for PCPL ≥ 130kW.
In order to confirm this result, time domain simulations using functional models are reported in Fig. 9
which shows the transients in DC voltage and current following a step change of 1 kW in load power
demand at 0.4s. Two conditions are reported: PCPL =128kW and PCPL =130kW. The unstable transients
with growing amplitude oscillations in the latter case confirm the results of small-signal analysis. More
complex systems with several loads can easily be analyzed. Detailed results are reported in [14].
Conclusion
A library of components for modelling, simulation and stability analysis of complex vehicular power
systems has been described. The library, built using the modelling language Modelica, is able to handle
different levels of modelling complexity and details, employing in a unified framework both detailed
behavioural models and functional averaged models. The benefits of describing a complex system with
Modelica in terms of modelling simplicity and capability of automatically performing procedures such as
initialization and linearization, have been highlighted. Numerical results have been reported to demon-
strate the modelling approach and its potential for stability analysis of complex vehicular power systems.
Authorized licensed use limited to: UNIVERSITY OF NOTTINGHAM. Downloaded on February 1, 2010 at 11:08 from IEEE Xplore. Restrictions apply.
Figure 8: Eigenvalues locus as a function of constant power load demand
Figure 9: DC voltage and currents transients for load power PCPL =128kW (a), and PCPL =130kW (b).
References
[1] A. Emadi, M. Ehsani, and J.M. Mille. Vehicular Electric Power Systems: Land, Sea, Air, and Space
Vehicles. CRC Press, 2003.
[2] A. Emadi, A. Khaligh, C.H. Rivetta, and G.A. Williamson. Constant power loads and negative
impedance instability in automotive systems: definition, modeling, stability, and control of power
Authorized licensed use limited to: UNIVERSITY OF NOTTINGHAM. Downloaded on February 1, 2010 at 11:08 from IEEE Xplore. Restrictions apply.
electronic converters and motor drives. IEEE Trans. on Vehicular Technology, 55(4):1112–1125,
July 2006.
[3] L. Han, J. Wang, A. Griffo, and D. Howe. Stability assessment of ac hybrid power systems for
more electric aircraft. In Proc. IEEE Vehicle Power and Propulsion Conference VPPC ’08, pages
1–6, 3–5 Sept. 2008.
[4] Synopsys Inc. Saber. www.synopsys.com, 2009.
[5] The MathWorks. Simpowersystems. www.mathworks.com/products/simpower, 2009.
[6] Plexim. Plecs. www.plexim.com, 2009.
[7] Alternative Transient Program. Atp. www.emtp.org, 2009.
[8] M. R. Kuhn, M. Otter, and L. Raulin. A multi level approach for aircraft electrical systems design.
In Proceedings of the 6th International Modelica Conference, 2008.
[9] Modelica association. Modelica. www.modelica.org, 2009.
[10] Dynasim AB. Dymola. www.dynasim.se, 2009.
[11] M. Larsson. Objectstab-an educational tool for power system stability studies. IEEE Trans. Power
Systems, 19(1):56–63, Feb. 2004.
[12] H. Elmqvist, F.E. Cellier, and M. Otter. Object-oriented modeling of power- electronic circuits
using dymola. In First Joint Conference of International Simulation Societies, 1994.
[13] Chee-Mun Ong. Dynamic Simulation of Electric Machinery. Prentice Hall, 1998.
[14] A. Griffo and J. Wang. Stability assessment of electrical power systems for ’more electric’ aircraft.
In 13th European Conference on Power Electronics and Applications, 2009.
[15] VIVACE Project. Value improvement through a virtual aeronautical collaborative enterprise.
www.vivaceproject.com, 2007.
[16] P.T. Krein, J. Bentsman, R.M. Bass, and B.L. Lesieutre. On the use of averaging for the analysis of
power electronic systems. 5(2):182–190, April 1990.
[17] P.C. Krause, O. Wasynczuk, and S.D. Sudhoff. Analysis of Electric Machinery and Drive Systems.
WileyBlackwell, 2002.
[18] A. Griffo and J. Wang. State-space average modelling of synchronous generator fed 18-pulse diode
rectifier. In 13th European Conference on Power Electronics and Applications, 2009.
Authorized licensed use limited to: UNIVERSITY OF NOTTINGHAM. Downloaded on February 1, 2010 at 11:08 from IEEE Xplore. Restrictions apply.