Computational Modular Model Library of G
Computational Modular Model Library of G
Computational Modular Model Library of G
www.elsevier.com/locate/advengsoft
Abstract
Designing and developing new aircraft engine is time-consuming and expensive. Computational simulation is a promising means for
alleviating this cost, but constructing flexible simulation software capable of evaluation of integrated aircraft engine system architectures is hard
work. This paper addresses the design of a tool—a generic modular-modeled library of air gas turbine, this library is based on object-oriented
technology and hierarchical decomposition and provides a flexible component-based representation for defining, modifying, and simulating the
aircraft gas turbine system, subsystem and components. It enables users to customize and extend the framework to add new functionality or
adapt the simulation behavior as required, and it allows new models to be composed programmatically or graphically to form more complex
models. The model library can be used in steady-state and transient analysis of the aero-engine. It is also a user-friendly, accurate, fast PCbased
and easily reusable simulating tool. The advanced object-oriented simulation language Modelica is used to construct this library. Modelica
provides a powerful tool to design the library. All of the work described in this paper is developed based upon Dymola/Modelica.
q 2004 Elsevier Ltd. All rights reserved.
and so on. When trying to create models of these systems, 2.2. Object-oriented modeling and hierarchical structure
problems arise with the interaction of the different parts.
Fortunately, among the recent research in modeling and Traditionally, simulation software development has
simulation, there are two concepts that are closely related to followed the top–down structured design approach, which
these problems: object-oriented modeling language and applies the method of functional decomposition to establish
non-causal modeling. During the last few years, a new program structure. Although this method has been success-
advanced multidisciplinary object-oriented modeling ful in some applications, it fails to reflect the real world. As
language Modelica has been developed. It is designed to a result many attempts have been made to tackle this
allow convenient, component-oriented modeling of com- problem by applying Object-oriented technology (OO
plex physical systems, e.g. systems containing mechanical, technology).
electrical, electronic, hydraulic, thermal, control, electric So the whole aircraft gas turbine system is designed as an
power or process-oriented subcomponents [5]. So in this object-oriented framework, which is a set of classes that
paper the model libraries will be developed based no the embodies an abstract design for solution to a family of
Modelica language. related problems (Johnson and Foote, 1988) [6]. The set of
classes define ‘semi-complete’ applications that capture
domain-specific object structures and functionality. Specific
2. Basic design IDEA functionality in new applications is realized by inheriting
from, or composing with, framework components.
2.1. Library design In this paper, new object-oriented simulation software
Dymola/Modelica is used to develop the gas turbine model.
Following the top–down design philosophy and con- It is also structured to enable the assembly of object-
sidering the different engineering fields related to aero- oriented hierarchical libraries, which can be later used to
engine system structuring, the whole system can be divided assemble system-level dynamic models. And several other
into several sub-systems; each sub-system consists of Modelica libraries, such as mechanical, electrical and
various components. They are shown in Fig. 1. thermoflow library, can be obtained freely.
Based on the above decomposition, each subsystem has The layout configuration of the aircraft gas turbine is
its respective library of component models. Although the shown in Fig. 3. From a structural view point, a gas turbine
scope of this work is the development of the libraries of can be essentially as assembly of engine component—inlet,
several subsystems that can be assembled to capture the fan, compressors, combustor, duct turbine, shafts and
physical characteristics of the whole aero-engine system, nozzle. These components can be represented in the
our emphasis in this paper is to construct the aircraft gas computational domain as objects [6].
turbine system model library. So the library of gas turbine During the simulation, the engine’s mathematical model
system will be particularly illustrated in details in the next is mapped to collections of interacting objects, rather than
section. decomposed into segments of different functions that can
To build a complete aircraft gas turbine system-level implement certain algorithms. Each object mimics the
model, the strategy is determined and shown in Fig. 2. Both behavioral and structural characteristic of a physical or
the prospective model library and the system-level model conceptual entity shown in Fig. 3. And it represents an
will be designed according to the strategy. instance of a software class, while the classes are united into
airflow and one for the coolant. So the three ports interface adiabatic efficiency his, is then computed by multiplying
model named ‘ThreePortsSingleDynamic’ is introduced. the normalized adiabatic efficiency by the designing
Although in some conditions, the thermo connector adiabatic efficiency value.
models used in the volume models are the same form as the ðkK1=kÞ
p2
flow models’, the structures of them are different. In volume p1 K1
model pressure, specific enthalpy, density, temperature, his Z ðkK1=h kÞ (6)
p2 p
In this section, a component of gas turbine—compressor Based on the OO technology, the compressor flow model
will be taken as an example to illustrate how to use the can be built through the inheritance and the objects’
model library explained above to build a component model. composition. Its structure is shown in Fig. 6.
The compressor model in the library can be divided into A complete compressor component model is constructed
two parts: one is an essential flow model. In this model, the through combining compressor flow model and volume
pressure potential and kinetic energy of the working fluid in model. It is shown in Fig. 7.
the compressor will be increased by transmitting the
mechanical energy of the shaft. And the other is the volume
model. The compressor model is also used to model the Fan 5. Gas turbine models library and an example
component in the engine model.
In the volume and flow models only thermodynamic 5.1. Gas turbine library
parameters are considered, i.e. pressures and temperatures,
as related to engine performance and performance analysis. The previous sections have described the architecture of
The engine shaft speed is another important engine Gas Turbine library, which is an object-oriented framework
parameter. Modeling of the thermodynamics depends on for modeling and simulation of aero gas turbine systems.
the shaft speeds and vice versa. In this case generalized This library can be classified into four parts: (1) Partial
semi-empirical engine component models (performance Components: it is the package of the aero-engine physical
maps) and mechanical model that are related to the components and volume components models. These
compressor may be used.
Compressor performance is represented by a set of
overall performance maps normalized to design point
values. Baseline performance maps provide normalized
corrected mass flow rate and normalized efficiency as a
function of normalized pressure ratio and normalized
corrected spool speed.
mcorrectedZ f ðu; p; TÞ (5)
The normalized adiabatic efficiency value is obtained
from the baseline compressor performance map. The Fig. 7. Compressor model.
132 Y. Cao et al. / Advances in Engineering Software 36 (2005) 127–134
Components are the basic blocks for building engine The Gas Turbine Engine sub-model represents a two-
models. In gas turbine library, a basic component model is spool engine. It includes the low-pressure compressor and
represented by an icon. Components are dragged-and- turbine, combustor, high-pressure compressor and turbine,
dropped from library windows onto the model window and low and high-speed shaft, fuel pump, nozzle, power turbine.
arranged to form the desired aero engine system configur- The volume models are placed between two flow models to
ation (see Fig. 9) according to the prototype. The main define the initial conditions, boundary conditions and handle
frame model (left figures of Fig. 9) is divided into three sub- inter-component fluid dynamics.
models: Atmospheres, Gas Turbine Engine, and The SR_Generator sub-model represents an aero gen-
SR_Generator. erator. It is driven by the gas turbine through a gearbox.
Atmosphere sub-model represents the environment. In In unsteady simulations, the independent variables are
this sub-model some variables, such as the atmosphere functions of time and may be implicitly integrated to predict
temperature, pressure, Mach number and so on are their value at a future time based on known past values. So
calculated. before proceeding to the transient analysis, the simulation
first attempts to drive the engine to balanced (stable-state) The Gas Turbine Library described in this paper provides
conditions to make sure the values of initial operating framework components that, together, form an integrated
point. This ensures that the engine model is in a consistent, system for aircraft gas turbine engine. It can help one to
physically valid operating state before beginning the understand the engine performance behavior and to identify
transient operation. the causes of possible deficiencies in engine performance in
After the model being built, each of these components is a highly cost-effective manner. It has also become very
shown on a model window whose properties and charac- useful for efficient mission analysis, the preliminary design
teristics can be specified by user via data modification. studies of engines and their matching to airframes.
Compressor model has input fields named compressor The object-oriented technology is utilized to produce a
customizer for defining design point values and perform- reusable component-based architecture that can be extended
ance map. So do the turbines, nozzle, and duct. The initial and customized to meet future application requirements.
operating point values are set on volume model’s The modular individual components in this library can be
customizer. easily modified and extended, so new components models
The DASSL numerical algorithm method is used to can be added conveniently. As a result the library will be
resolve the problem of the modeling. Relative tolerances enlarged and changed by users, the library can be adjusted
have to be assigned to tell the integration methods how and updated by users with the aero engine developing.
accurately the solution should be computed. The accuracy The Dymola/Modelica is a new powerful simulation tool.
of the computed state variables is comparable to the relative In this paper it is applied in a new engineering field, and
error tolerances. The integration step-size is chosen in such proved to be successful. On the other hand its libraries group
a way, that the local error is smaller than the desired has been enriched too.
maximum local error, defined via the relative and absolute
tolerance. The relative tolerance is 1E-4.
Once the initial and boundary condition values are fixed, Acknowledgements
the model can be simulated. When the simulation finishes
successfully, then the results are available. All variables for The work described in this paper was made possible through
each component in the simulation model can be plotted. funds from the United Technology Research Center (UTRC).
Fig. 10(a) shows the compressor performance map, and We would like to thank all of the members of the team at
Fig. 10(b) shows the same map of GSP. Comparing Shanhai Jiaotong University and UTRC.
these two plots, we can conclude that our model is effective
and correct, Fig. 10(c) and (d) show the temperature before
turbine (T3*) and the compressor outlet’s pressure.
References
Especially, in Fig. 10(c) there is a decline of T3* during
the acceleration process. With the mechanical inertia and [1] Xie Z, Su M, Weng S. Extensible object model for gas turbine engine
cubage of volume model decreasing, the T3* decline will simulation [J]. Appl Thermal Eng 2001;21:111–8.
gradually reduce. That is to say, the inertia and the volume [2] Visser WPJ, Broomhead MJ. A generic object-oriented gas turbine
in gas turbine affect the acceleration remarkably. Fig. 10(e) simulation environment. ASME Turbo Expo 2000, Munich, Germany,
8–11 May 2000.
and (f) also show the plot of single-phase flux linkage circle
[3] RTO/NATO. Performance prediction and simulation gas turbine
and load current of the SR_Generator model. engine operation. Joseph Ottawa/Hull, Canada J8X 1C6.
[4] Bayt RL, Sahm MK, Lents CE. Collaborative engineering in integrated
aircraft power system design. ASME 2002 Design Engineering
6. Conclusion Technical Conferences and Computers and Information in Engineering
Conference, Montreal, Canada, September 29–October 2, 2002.
[5] Michael MT. Introduction to physical modeling with Modelica[M].
Designing and developing new aero engine is a time- Dordrecht: Kluwer Academic Publishers; 2001.
consuming and expensive process. Computational simu- [6] Johnson RE, Foote B. Designing reusable classes. J Object-Oriented
lation is a powerful means for alleviating this cost, thanks to Programming 1998;11(2):22–35.
the flexibility it provides for rapid and relatively inexpen- [7] Reed JA, Afjeh AA. Computational simulation of gas turbines.
sive evaluation of alternative designs in design phase. So a International Gas Turbine and Aeroengine Congress and Exhibition,
Indianapolis, Indiana, June 7–10 1999.
framework named Gas Turbine Library representing engine [8] Pérez A.G. Modeling of a gas turbine with Modelica[D]. Master Thesis.
components, subcomponents and subassemblies is devel- Lund, Sweden: Department of Automatic Control Lund Institute of
oped and illustrated in this paper. Technology; 2001.