Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Contents
1. Get Started......................................................................................................... 3
1.1. What is AUCI?..................................................................................................................3
1.2. Tutorials............................................................................................................................ 3
1.2.1. Aftertreatment .................................................................................................... 3
1.3. Examples........................................................................................................................ 14
1.3.1. Catalytic Reaction Mechanisms........................................................................14
1.3.2. Regeneration Reaction Mechanisms................................................................26
1.3.3. Transfer Models................................................................................................28
2. Documentation................................................................................................. 31
2.1. Graphical User Interface ............................................................................................... 31
2.1.1. General............................................................................................................. 31
2.1.2. Catalytic Reaction Mechanism......................................................................... 42
2.1.3. Regeneration Reaction Mechanism..................................................................56
2.1.4. Transfer Models................................................................................................62
2.2. Basics in C and AUCI User Coding...............................................................................68
2.2.1. The programming language C .........................................................................68
2.2.2. AUCI APIs and Predefined Constants..............................................................69
2.3. Prerequisites................................................................................................................... 70
2.4. Literature.........................................................................................................................70
3. FAQ....................................................................................................................72
3.1. General........................................................................................................................... 72
3.1.1. How to convert volume based simulation variables into absolute values?........72
3.1.2. How to use the AUCI message system? ........................................................ 73
3.1.3. How to improve performance and stability?..................................................... 75
3.2. Reaction Rate Formulation.............................................................................................75
3.2.1. How to code rate formulations depending on a single species
concentration?........................................................................................................75
3.2.2. How to code rate formulations depending on two gas species?.......................76
3.2.3. How to code rate formulations that comprise different cases?......................... 76
1. Get Started
1. Get Started
1.1. What is AUCI?
The AVL User Coding Interface (AUCI) is a common user model development platform, which
supports different applications for several AST software products.
For the development of user models dedicated graphical user interfaces are available, in which
the essence of a user model is specified.
Out of the user model input dynamic link libraries (DLL) can be compiled for several target
platforms. The user is in full control of the degregge of encapsulation of AUCI models: from
exposing all model details up to ryestricting models to consist of DLLs only, from publishing
model parameters fgup to hiding them in a non-disclosure model.
The generic concept of the AUCI is available for the following applications:
Catalytic Reaction Mechanism page [42]
Regeneration Reaction Mechanism page [56]
Transfer Models page [62]
Figure 1. AVL User Coding Interface - a common user model development platform.
1.2. Tutorials
1.2.1. Aftertreatment
1.2.1.1. Setting up a Simple Catalytic Reaction Mechanism
This tutorial exemplifies in detail how to set up a user defined catalytic reaction mechanism in the
AVL User Coding Interface and how to load it in a BOOST Aftertreatment model. Additionally, it is
shown how a variation of reaction mechanism parameters can be performed.
Example
The simple catalytic reaction mechanism comprises three reactions. The first one accounts for
the oxidation of propene:
Another two reactions describe the storage of oxygen on ceria and its regeneration by oxidation
of carbon monoxide:
1. Get Started
(2)
(3)
Here, the reaction rate constants are of Arrhenius type:
(4)
In the above rate formulation T is the reaction temperature , yk is the molar fraction of gas
species k and Zj is the surface coverage fraction of the surface site species j. The reaction rate
parameters Ki and Ei are the frequency factor and the activation temperature, respectively.
AUCI Catalytic Reaction Mechanism Interface
1. Start
How to launch the AVL User Coding Interface can be found in the documentation
page [31]
Mechanism, Author and Date of creation, and a Comment which could be, e.g., a summary of
the mechanism or its literature reference:
In order to save the user coding project select "Save" or "Save as" from the "File" menu :
A file browser dialog is opened in which you can select the location and path of the
user coding project. In the example below, the name of the user coding project is
1. Get Started
"Tutorial_CatalyticReactionMechanism". By saving the user coding project, the ucp-file
"Tutorial_CatalyticReactionMechanism.ucp" is created:
In the tree on the left hand side expand the tree element "Washcoat" and select the page
page [44]
New Storage Site
.
Now, all information concerning the surface site can be entered. First of all enter the Name
"Cerium". After that, specify the Storage Capacity which indicates how many moles of the
2
oxygen can be stored in the washcoat. In this case it's 0.06 mol/m . In order to be able to
do parameter variation later on in the simulation, enable the "Public" check-box next to the
Storage Capacity input.
In the table "Storage Site Species", set up the number and details of the stored species.
In order to ensure mass conservation, it is recommended to consider the free surface site
1. Get Started
as an individual surface site species and to use it in the reaction stoichiometry accordingly
whenever a storage site is occupied or released.
Note: Always declare the empty/free site species as the first entry in the table.
This free surface site is named "Ce(S)" in our example.
The oxygen stored on ceria is represented by the storage site species "O2(S)". For the two
storage site species their molecular weights need to be provided: the free surface site is
assumed to have a molecular weight of 0 g/mol so the molecular weight of stored oxygen
can be set to the same value as that of an oxygen molecule (~32 g/mol). In addition, also set
values for the initial coverage fractions of the two: 1 ([-]) for the free surface site and 0 ([-]) for
the stored oxygen, meaning that initially the entire storage site is free and available for storing
oxygen onto it.
reactants.
4. Select
From the reaction equations we can determine the following gas species (either educts or
products): C3H6, CO, CO2, H2O and O2. The rate formulation of reaction 1 also uses the
molar fraction of NO in its denominator as an inhibitor. These species are added to the
page [46]
reaction mechanism on the page Gas and Liquid Species
in the table "Gas Species"
by selecting the species in the left hand side column and clicking "Add" (you can type some
letters into the "Filter" to find the desired ones more quickly). In the right hand side column all
species available in the reaction mechanism are listed:
1. Get Started
In the table "Simulation Variables Mapping", variable declarations for the required physical
variables are added by introducing new rows. In the left column "Name", the variable name
can be chosen, which will later be used in the actual rate formulation code.
Note: Since the rate formulation is written in ANSI C, the variable names must
follow the ANSI C code standards for variable naming.
In the right column, a pull-down menu provides all available simulation variables, from which
the required variable is selected. Next to each simulation variable the unit is written in which it
will be passed to the reaction mechanism during simulation:
Note: The variable name for the reaction rate itself is already pre-defined and
cannot be changed.
information about reactions.
6. Enter
The reaction mechanism comprises three reactions. They are added on the page Reactions
page [49]
by inserting rows into the table. Check the "Publish reaction switches" box if you want
to be able to switch reactions on/off later on, from the BOOST interface.
Now, information about all three reactions can be provided. In the following steps, this is
page
shown only for the first reaction as an example. Each reaction has its own page Reaction
[49]
. Here, first of all, general information is provided like a name and optionally a comment.
The type of the reaction can be selected: the first reaction, which describes the oxidation of
propene, is a "Conversion" reaction. The reaction rate unit is converter surface based:
1. Get Started
After that, the reaction stoichiometry specified; add as many rows to the "Reaction
Stoichiometry" table as there are reactants in the reaction. In the left column select the gas
species (or storage site species) from a pull-down menu (1). In the right column enter the
stoichiometric coefficients (2).
Note: The educts' coefficients have a negative sign, whereas products' coefficients
have a positive sign.
At the bottom of that page, graphics for the reaction equation and reaction rate formulation
can be added to the user coding project. These graphics are not only visible in the AUCI
graphical user interface, but also later on when loading the model in the simulation software.
In order to add graphics, click the "Insert Picture" button and select the graphic in the file
browser.
1. Get Started
Each Reaction page has two sub-pages: one for specifying the heat of reaction and one for
providing the rate formulation.
The heat of reaction of the first reaction is -1925479.3 J/mol. Therefore, select Heat of
reaction as "Const" from the drop-down menu to the left of the input field (1) and enter the
value into the field (2) [mind the unit!]:
For the rate formulation first of all the reaction rate parameters are added to the model.
Please compare the figure below for their values and units. In the very first column of this
table the variable name of the parameter is typed in as it will be used when coding the rate
formulation below. The last two columns are related to publishing reaction parameters: if the
parameter shall be published, tick the check-box and type a public label into the right column,
by which the parameter can easily be identified later on, when loaded in the simulation tool:
Finally, the reaction rate formulation can be added in the section "Rate Formulation". The rate
formulation should be entered in ANSI C code format. Additional declaration can be added
in the "Declaration" input field, the rate formulation itself is entered in the "Code" input field.
For the reaction rate the variable rate has been specified. The rate formulation is assigned
1. Get Started
to this variable. In the assignment of the rate formulation the other variables and the above
reaction rate parameters are being used.
The details and rate formulation of the other two reactions shall be added in the same
manner. Please select "Storage" as Reaction type for them.
Double-check public model parameters.
7. All model parameters that are public are collected on the Public Model Parameters
page [52]
The resulting tree structure of sub-pages and their content reflects the Model Parameter
interface by means of which parameters can be accessed later on in the simulation tool. For
example, the reaction rate parameters of reaction 1 (C3H6 Oxidation) are public, amongst
others:
10
1. Get Started
9.
On this page, the contents of the simulation summary file, the simulation results and
additional contents of the archive (uca) file can be selected. For this tutorial, all of the options
page
should be left in the checked state. For more information see section Model Encapsulation
[52]
.
Compile model.
To compile the model finished model into a library which can be used by the simulation
kernel, go to the "Build Model" page and click on the "Build Model" button.
After the model is compiled successfully ("AUCI model is compiled"), a line is added to the
"Current Project Status" table indicating the platform and architecture of the library. The green
checkmark symbol in the "Status" column indicates that the library was built successfully.
Now click on the "Save" button in the toolbar (or use the Menu: File > Save) to store the
library just built in the archive (this step is important; otherwise the archive will not contain the
library and will not be usable in the simulation tool).
11
1. Get Started
11.
12
Navigate to the place where the ucp file created earlier resides and select it.
Adjust public model parameter.
Click on "Model Parameters" below the table.
1. Get Started
In the new window which opens, you see all the public model parameters just the way you
page [10]
saw them in Step 7
in the second screenshot (there, under the tree node "Public
Model Parameters"):
Select e.g. the "Rate Formulation" subnode of the C3H6 Oxidation. You will be presented
a list of all the rate parameters belonging to this reaction, any of which you may edit simply
by entering a different value. You may even assign a Case Parameter (a general BOOST
functionality) to any of the values.
Now go to the O2 Adsorption > Rate Formulation page and reduce the K6 to 210000 kmol/
2
(m s), then close the dialog again.
simulation.
12. Run
Now you can start the simulation just as any other simulation (
13.
13
1. Get Started
14. Post-processing.
Open Impress Chart (menu: Simulation > Show Results). In the figure below, the Overall
Conversion of C3H6 and the Overall Surface Fraction of O2 and the empty site are depicted
as representative results of the first two reactions:
1.3. Examples
1.3.1. Catalytic Reaction Mechanisms
The following installation examples are available:
1.3.1.1. DOC_AST_Predefined.ucp
This model comprises the Diesel Oxidation Catalyst reaction mechanism which is provided as a
pre-defined kinetic model in BOOST and FIRE. Below the mechanism is described in detail. The
page [71]
page [71]
rate equations and kinetic parameters are mainly based on literature, [4
,5
].
Kinetic Model
R1
R2
R3, approach 1
R3, approach 2
The corresponding reaction rates for the reactions 1 and 2 are defined as follows:
(5)
(6)
where
(7)
14
1. Get Started
(8)
(12)
(13)
1.3.1.2. LNT_AST_Predefined.ucp
This model comprises the Lean NOx Trap reaction mechanism, which is provided as a predefined kinetic model in BOOST and FIRE. Below the mechanism is described in detail. The rate
page [71]
page [71]
equations and kinetic parameters are mainly based on literature, [6
,7
].
Kinetic Model
R1
R2
R3
R4
R5
R6
R7
R8
R9
R10
R11
R12
R13
R14
15
1. Get Started
R15
R16
For all reaction rates the following definition applies:
(14)
The corresponding reaction rates for the catalytic reactions 1-10 are defined as follows:
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
Storage and release of O2 is described by reaction 11 and depends on the surface oxygen ratio:
(25)
(26)
16
1. Get Started
where the engine lambda eng is evaluated from the species composition in the bulk gas
page [70]
according to Brinkmeier [1
] is described by the equation
(27)
A fuel CHx with ratio of x=1.814 is assumed and the mole fraction of oxygen in air yO2,air is
assumed to be 0.2095.
Storage and release of nitric oxides is described by reactions 12 to 16:
(28)
(29)
(30)
(31)
(32)
1.3.1.3. SCRS_AST_Predefined.ucp
This model comprises the Selective Catalytic Reduction (SCR), Steady Approach reaction
mechanism which is provided as a pre-defined kinetic model in BOOST and FIRE. Below the
mechanism is described in detail. The rate equations and kinetic parameters are mainly based on
page [71]
page [71]
literature, [8
,9
].
Kinetic Model
R1
R2
R3
R4
R5
R6
R7, approach 1
R7, approach 2
The corresponding reaction rates for the reactions 1-6 are defined as follows:
(33)
(34)
17
1. Get Started
(35)
(36)
(37)
(38)
where:
(39)
approach 2:
where:
(40)
(41)
(42)
1.3.1.4. SCRT_AST_Predefined.ucp
This model comprises the Selective Catalytic Reduction (SCR), Transient Approach reaction
mechanism which is provided as a pre-defined kinetic model in BOOST and FIRE. Below the
mechanism is described in detail. The rate equations and kinetic parameters are mainly based on
page [71]
literature, [9
].
Kinetic Model
R1
R2
R3
R4
18
1. Get Started
R5
R6
R7
R8
R9, approach 1
R9, approach 2
R10
The corresponding reaction rates for the reactions 1-8 are defined as follows:
(43)
(44)
(45)
(46)
(47)
(48)
(49)
(50)
where:
(51)
approach 2:
where:
(52)
(53)
19
1. Get Started
(54)
1.3.1.5. TWC_AST_Predefined.ucp
This model comprises the Three Way Catalyst reaction mechanism which is provided as a predefined kinetic model in BOOST and FIRE. Below the mechanism is described in detail. The rate
page [71]
page [71]
page [71]
equations and kinetic parameters are mainly based on literature, [10
,4
,5
,6
page [71]
].
Kinetic Model
R1
R2
R3
R4
R5, approach 1
R5, approach 2
R6
R7
R8
R9
Cerium Storage Reactions:
R10
R11
R12
R13
Rhodium Storage Reactions:
R14
R15
R16
R17
R18
R19
20
1. Get Started
Barium Storage Reactions:
R20
R21
Hydrocarbon (HC) Storage Reaction:
R22
The corresponding reaction rates are defined as follows:
(55)
(56)
(57)
(58)
(59)
(60)
(61)
(62)
(63)
(64)
(65)
(66)
(67)
(68)
21
1. Get Started
(69)
(70)
(71)
(72)
(73)
(74)
where
(75)
(76)
(77)
(79)
(80)
approach 2:
where:
(81)
(82)
(83)
22
1. Get Started
where
1.3.1.6. TWC_Brinkmeier.ucp
This model comprises a reaction mechanism for a Three Way Catalyst as presented by
page [70]
Brinkmeier [1
] including 11 conversion reactions and oxygen storage and release.
1.3.1.7. urea_thermal_decomposition_ebrahimian2012.ucp
This model comprises a reaction mechanism for a detailed Urea decomposition model as
page [71]
page [71]
presented in [11
, 12
]. In this mechanism the formation and decomposition of urea,
biuret, cyanuric acid and ammelide are taken into account.
23
1. Get Started
saturation pressure in order to primitively account for enhanced condensation in capillaries on a
porous substrate. A value smaller than 1 accounts for porosity, while a value of 1 corresponds to
condensation on a smooth surface.
1.3.1.9. DPF-Catalytic_CO-HC-NO-oxidation.ucp
This model comprises reactions for oxidation of carbon monoxide, hydrocarbons (propene and
propane) and nitrogen monoxide. It is meant to serve as a drop-in replacement for the predefined CO, HC, NO Oxidation reaction set to be used in the DPF. The rate equations and kinetic
page [71]
page [71]
parameters are mainly based on literature [4
,5
].
R1
R2
R3
R4 (approach 1)
R5 (approach 2)
The reaction rates are defined as follows:
(87)
CO oxidation:
(88)
Propene oxidation:
(89)
Propane oxidation:
In this formula, yHC is substituted for yC3H6 for reactions 1 and 2, while yC3H8 is used for reaction 3.
Note that the parameters E'2-5 and K'2-5 are defined as global parameters in the ucp, since they
are meant to be common to all of the inhibitor terms.
For the NO oxidation rate, two approaches are available:
(91)
NO oxidation, approach 1:
(92)
(93)
NO oxidation, approach 2:
24
1. Get Started
(94)
1.3.1.10. DPF-Catalytic_SCR.ucp
This model comprises the Selective Catalytic Reduction (SCR), Transient Approach reaction
mechanism. It is meant to serve as a drop-in replacement of the pre-defined SCR mechanism in
the DPF. Below, the mechanism is described in detail. The rate equations and kinetic parameters
page [71]
are mainly based on literature, [9
].
R1
R2
R3
R4
R5
R6 (transient)
R7 (steady-state)
R8 (approach 1)
R9 (approach 2)
The rates of these reactions are defined as follows:
(95)
(96)
NH3 desorption:
(97)
Standard SCR:
(98)
Fast SCR:
(99)
25
1. Get Started
Slow SCR:
(100)
NH3 oxidation, transient approach:
(101)
NH3 oxidation, steady-state approach:
(103)
(104)
NO oxidation approach 2:
(105)
1. Get Started
(107)
Soot oxidation with O2 to CO2:
In this model, K1 and E1 are common to both reactions, which is why they are defined as global
parameters rather than as individual reaction parameters. The term fCO is used in both rate
formulations and is therefore set up as a global variable. Hence, its value has to be calculated
only once by means of a global function with the function parameters k f , q f and E f .
(108)
1.3.2.2. DPF-Regeneration_O2-fuel-additive.ucp
page [26]
This regeneration model is basically the same as the DPF-Regeneration_O2-thermal.ucp
model, the only difference being different default values for K1 and E1.
1.3.2.3. DPF-Regeneration_O2-NO2.ucp
This regeneration model comprises four soot oxidation reactions, two with oxygen and two using
nitrogen dioxide:
Kinetic Model
R1
R2
R3
R4
The reaction rates of the reactions involving oxygen are described in section DPFpage [26]
Regeneration_O2-thermal.ucp
. The rates of reactions 3 and 4 are calculated with:
(109)
Soot oxidation with NO2 to CO:
(110)
Soot oxidation with NO2 to CO2:
1.3.2.4. DPF-Regeneration_O2-NO2-NO2-catalytic.ucp
This regeneration model comprises four soot oxidation reactions, two with oxygen and two using
nitrogen dioxide, and an NO oxidation reaction regenerating the NO2:
Kinetic Model
R1
R2
27
1. Get Started
R3
R4
R5
The reaction rates of the reactions involving oxygen are described in section DPFpage [26]
Regeneration_O2-thermal.ucp
, those involving nitrogen dioxide in section DPFpage [27]
Regeneration_O2-NO2.ucp
. The rate of the NO oxidation is calculated by:
(111)
NO oxidation:
(112)
1.3.2.5. DPF-Regeneration_soot_order_variation.ucp
This regeneration model illustrates how regeneration reactions proportional to a certain soot
order can be modelled with AUCI.
The example comprises one soot oxidation reaction:
The reaction rate depends on soot concentration only with a certain order (n), multiplied with a
regeneration constant k. The rate of the CO2 production is calculated by:
(113)
1.3.3.2. Washcoat_ParallelPoreModel.ucp
This model comprises the parallel pore model (PPM) which is provided as a pre-defined
page [71]
washcoat pore diffusion model in BOOST and FIRE. Below the model developed by [15
]
is described in detail:
28
1. Get Started
The model composes the transport effects of the pure gas phase and Knudsen diffusion
assuming both transport effects taking place in parallel. With this, the effective diffusion
coefficient is defined as
(115)
where DKn is the Knudsen diffusion coefficient depending on pore diameter dpor, molar mass M of
the considered species and temperature Ts, as described by the equation
(116)
1.3.3.3. Washcoat_RandomPoreModel.ucp
This model comprises the random pore model (RPM) which is provided as a pre-defined
page [71]
washcoat pore diffusion model in BOOST and FIRE. Below the model developed by [16
]
is described in detail:
Assuming that the washcoat features two distinct characteristic pore size diameters, called
macro- and micro-pores, the approach of the PPM is first applied to both pores sizes individually.
In a second step, the two macro and micro pore diffusion coefficients, DM and
, are combined
applying probabilistic and geometrical considerations. This leads to an effective diffusion
coefficient according to the equations
(117)
1.3.3.4. BoundaryLayer_Hawthorn.ucp
This model comprises the heat and mass transfer mechanism according to Hawthorn's equation
page [71]
[18
].
1.3.3.5. BoundaryLayer_Hausen.ucp
This model comprises the heat and mass transfer mechanism according to Hausen equation [17
page [71]
].
1.3.3.6. BoundaryLayer_Martin.ucp
This model comprises the heat and mass transfer mechanism according to Hawthorn's equation
page [71]
page [71]
[19
,20
].
1.3.3.7. Sieder-Tate.ucp
page
This model comprises the heat and mass transfer mechanism according to Sieder-Tate [17
[71]
].
The heat transfer coefficient is calculated according to:
(118)
29
1. Get Started
30
2. Documentation
2. Documentation
2.1. Graphical User Interface
On the below pages the AUCI graphical user interface is described in detail. General and
common functionalities are described on the the next page. Specific features of the single
interfaces are described on designated pages.
2.1.1. General
2.1.1.1. Launching AUCI
On this page it is described, how the AVL User Coding Interface can be launched in the following
simulation softwares:
BOOST page [31]
CRUISE M page [33]
FIRE page [33]
BOOST
The AVL User Coding Interface can be launched from the BOOST GUI menu bar option
"Utilities":
The AUCI launcher is started and the desired interface can be selected:
There are also designated links to start the specific AUCI where ever an AUCI model can be
loaded. For example:
User defined heat and mass transfer models at the Catalyst Physical Properties page:
31
2. Documentation
User defined catalytic reaction mechanism at the Washcoat -> My_Reaction page:
User defined pore diffusion model at the Washcoat -> My_Transport page:
32
2. Documentation
User defined regeneration reaction mechanism at the DPF Reactions -> My_Regeneration
page:
CRUISE M
The AVL User Coding Interface can be launched in CRUISE M from the Catalyst Substrate
elements page Washcoat Reactions:
FIRE
The AVL User Coding Interface can be launched form the Module "Aftertreatment TNG" ->
Catalyst -> Washcoat -> My_Reaction:
2.1.1.2. Project Organization
Project Structure
An AUCI project consists of several files, namely:
ucp file
The user coding project comprises all data required for an AUCI model and which are
shown in the below figure. The ucp file always contains ALL data and is therefore not
encapsulated.
33
2. Documentation
uca file
The user coding archive comprises only the DLLs plus that content which has been
indicated by the user at the Model Encapsulation page in each AUCI interface. The
additional content can be external resources (for example thermodynamic data file) and the
public model parameters.
uci file
page [39]
The user coding interface comprises all Public Model Parameters
. It is included in
the ucp file and optionally in the uca file. It is possible to export parameter to a uci file from a
simulation software (e.g. BOOST), and to import parameter to a simulation software or to an
AUIC model.
Figure 3. AUCI project structure
External Resources
At several locations external resources can be added to a user coding project that hold additional
information. In the below list external resources are detailed:
External Resource
File Format
Description
ASCII
ASCII
2. Documentation
temperature), which can be overruled for individual species. An arbitrary number of Species data
follows (4 line blocks) according to the format table below and ends with the keyword END in the
last line.
Line No.
Content
Format
Column
18A1
1-18
6A1
19-24
4(2A1,I3)
25-44
A1
45
Low temperature
E10.0
46-55
High temperature
E10.0
56-65
E8.0
66 to 73
2A1,I3
74-78
The integer 1
I1
80
1 to 75
The integer 2
I1
80
5(E15.8)
1 to 75
The integer 3
I1
80
4(E15.8)
1 to 60
The integer 4
I1
80
The below example shows the definition of the thermodynamic data for the species O2 and H2O:
THERMO
300.000 1000.000 5000.000
O2
121386O
2
G 0300.00
5000.00
1000.00
1
0.03697578E+02 0.06135197E-02-0.12588420E-06
0.01775281E-09-0.11364354E-14
2
-0.12339301E+04 0.03189165E+02 0.03212936E+02
0.11274864E-02-0.05756150E-05
3
0.13138773E-08-0.08768554E-11-0.10052490E+04 0.06034737E+02
4
H2O
20387H
2O
1
G 0300.00
5000.00
1000.00
1
0.02672145E+02 0.03056293E-01-0.08730260E-05
0.12009964E-09-0.06391618E-13
2
-0.02989921E+06 0.06862817E+02 0.03386842E+02
0.03474982E-01-0.06354696E-04
3
35
2. Documentation
0.06968581E-07-0.02506588E-10-0.03020811E+06 0.02590232E+02
4
END
2.1.1.2.2. Transport Property Data File
The Transport property data file is a database that comprises molecular parameter to calculate
the viscosity, the thermal conductivity and the diffusion coefficient of a species in a multicomponent gas.
page [71]
The file format is the commonly used format described in 14
: The file holds the molecular
parameter for an arbitrary number of Species (1 line each) according to the format table below.
Although the format of the molecular parameter is free, one must stick to the order defined by the
below listing.
Content
Format
Column
16A1
1-16
free
17-
free
free
free
Dipole moment
free
Polarizability
Rotational relaxation collision number
298 Kelvin
at
Optional Comment
free
-80
free
80-
The below example shows the definition of the transport property data for the species O2 and
H2O:
O2
H2O
1
2
107.400
572.400
3.458
2.605
0.000
1.844
1.600
0.000
3.800
4.000
Submenu
Shortcut
Icon
New
Ctrl+N
Start a new
project.
Open
Ctrl+O
Load a saved
project (.ucp).
Save
Ctrl+S
Save as
36
Description
2. Documentation
a new name to
the same folder.
Edit
Help
Export Archive
Create a model
archive (.uca).
Import
Parameters
Import model
parameters from
a user coding
interface (.uci)
file.
Quit
Ctrl+Q
Undo
Ctrl+Z
Redo
Ctrl+Y
Manual
Access this
Users Guide.
About
Display version
information.
Model Parameter
37
2. Documentation
or special characters, must not start with a
number etc.).
Value
The parameter's value in case its Type is set
to Const.
Unit
This serves to accomodate a human-readable
string indicating the unit of the parameter.
Type
page [38]
Select the input type
of the global
parameter from a drop-down menu.
Public
page [39]
Make this parameter public
together
with its Public Label and with its Unit.
Public Label
This serves to accomodate a human-readable
string to shortly describe the parameter's
purpose.
Type
38
2. Documentation
, and can be copied and pasted using the
buttons and .
API
Specify a generic C function of type double.
It can have an arbitrary number of arguments
passed to it, out of which the return value of
this function can be calculated.
API Arguments can be added/removed with
and . Each API argument can be of double
or int type.
The return value a parameter of type API will
have is declared in the code window under API
Formulation by assigning a value to the predefined keyword return_value using ANSI C.
Variable
The parameter's value is declared to be
variable and is changed by a corresponding
parameter of type Function.
Thermal Database
No special input is required. The input
parameter is calculated internally as specified.
Publish / Public
2. Documentation
The content of the Public Model Parameter
pages is refreshed by pressing the 'Update'
button.
Code Input
Build Model
40
2. Documentation
offers existing Microsoft Visual Studio
environment setup files which exist on
your computer. Alternatively you can
select User defined path and use the file
browser button on the right to select an
arbitrary environment setup file.
Linux only: If you need to pass an
argument to the setup file you might try
to explicitly double-quote <setup file>
<arg(s)>, for instance, specify
"/usr/local//iccvars.sh ia32"
rather than
/usr/local//iccvars.sh ia32
Environment arguments (Windows
only)
On Windows environment setup files
typically take an argument. Select this
option if you need to specify such an
argument. The default argument which
you get after changing the Environment
setup file above is supposed to be
exactly what you need.
Current Project Status
The table summarizes all platforms for which
the User Model has already been compiled
and the status of the related binaries. It shows
whether the existing binaries are:
Current build platform.
Successfully built.
Not built at all, due to a build error.
Potentially obsolete. It was built
successfully, however the model has been
modified since then.
Build Model
The model can be compiled by pressing the
Build Model button.
Messages
Displays the AUCI build messages.
Log file
Displays the compiler messages.
2.1.1.5. Global vs. Local Simulation Variables
Some of the variables provided with the Simulation Variables Mapping have the supplement
global or local in their name: the meaning is explained in this section.
41
2. Documentation
Global Simulation Variables
A simulation variable with the supplement global provides access to the variable used by the
client (e.g. BOOST) in the simulation when solving the related balance equations.
For example, the Washcoat bulk density (global) in AUCI Catalytic Reaction Mechanism is the
density of the washcoat used in the enthalpy balance equation of the solid substrate.
Local Simulation Variables
A simulation variable with the supplement local provides access to the variable defined with
the AUCI model. Its value may be different from the global variable, depending in the actual
simulation model set-up.
For example, the Washcoat bulk density (local) in AUCI Catalytic Reaction Mechanism is the
page [43]
Washcoat bulk density specified at Washcoat | Washcoat Properties
.
BOOST
CRUISE M
FIRE
Application
Catalyst
Filter with Catalytic Wall
Features
Design of catalytic reaction mechanisms
Arbitrary number of reactions
Arbitrary number of species
Arbitrary number of storage site
Deposition and decomposition of liquid species
Model Database
Diesel Oxidation Catalyst
Selective Catalytic Reduction
NOx Trap
Three Way Catalyst
... check out Examples page [14] for more
Details
The following sections explain the input required in the graphical user interface to set up a userdefined catalytic reaction mechanism:
42
2. Documentation
2.1.2.1. New Catalytic Reaction Mechanism
page [37]
Refer to the general description of the General Project Information
.
2.1.2.2. Washcoat
Washcoat Properties
In this section details of the washcoat for which the catalytic reaction mechanism is designed can
be provided.
Typical Range
Edit washcoat properties
Washcoat porosity
Washcoat thickness
Storage Sites
In this section, the number of storage sites in the catalytic reaction mechanism is specified.
page [34]
Thermodynamic data of the storage site species can be specified using a therm.dat file
, in
which they need to have the phase label 'S'.
Storage sites are added and deleted by clicking and . An entire storage site can be copied
and pasted using the buttons and .
Typical Range
Use custom file
Optionally provide a
page
thermodynamic data file
[34]
as external resource. By
43
2. Documentation
default the file therm.dat from
the installation is selected.
Site Name
Catalytic Sites
In this section the composition of the washcoat with respect to catalytic sites, like for example
noble metals, can be specified.
Typical Range
Edit catalytic sites
specification
Site density
Fraction
44
Name
Storage capacity
2. Documentation
The storage capacity can
page [39]
be made public
; the
label for the storage sites
storage capacity is created
dynamically and not editable.
Storage Site Species table
Input of all data concerning storage site species. Storage site species are added and deleted
by clicking and .
Note: The first storage site species must be the empty storage site, e.g. Cerium.
Name
Molecular Weight
Formation Enthalpy
Type
0 - 1 ([-])
0 - 1 ([-])
Type
Public
page [38]
page [38]
45
2. Documentation
of all storage site species is
equal to one.
Publish initial loading
ratios
Optionally provide a
page
thermodynamic data file
[34]
as external resource. By
default the file therm.dat from
the installation is selected.
Available Species
Selected Species
Liquid Species
46
Optionally provide a
page
thermodynamic data file
[34]
as external resource. By
default the file liquid_therm.dat
2. Documentation
from the installation is
selected.
Available Species
Selected Species
Unit
Reaction Rate
selected at
page
Reaction
Catalyst
output
Filter
output
Catalyst
output
Catalyst
output
[50]
Catalytic site
density
kg/m
Cell monolith
volume
Cell washcoat m
volume
Excess
oxygen ratio
[-]
Excess
oxygen ratio
(ICVT)
[-]
Formation
enthalpy of
Gas Species
J/kg
Formation
enthalpy of
Storage Site
Species
J/kg
47
2. Documentation
Simulation
Variable
Unit
Catalyst
Filter
Catalyst
Gas hourly
1/s
space velocity
(GHSV)
2
Geometrical
surface area
m /m
Gibbs free
energy/RT of
Gas Species
[-]
Gibbs free
energy/RT of
Storage Site
Species
[-]
Loading ratio
of Storage
Site Species
kmol/kmol
Mass density
of Gas
Species
kg/m
Mass density
of Liquid
Species
kg/m
Maximum
loading ratio
of Storage
Site Species
kmol/kmol
Molar density
kmol/m
Molar density
of Gas
Species
kmol/m
Molar fraction
of Gas
Species
kmol/kmol
48
Molar
concentration
of Liquid
Species
kmol/m
Storage site
density of
Storage Site
mol/m
Substrate
temperature
Time
Catalyst
2. Documentation
Simulation
Variable
Unit
Washcoat
bulk density
page [42]
(local
)
kg/m
Washcoat
bulk density
page [42]
(global
)
kg/m
Catalyst
Filter
Catalyst
Catalyst
(a)
(a)
(a)
: available
: not available; a dummy-value is passed instead, or feature cannot be selected
(a): if defined within AUCI model
Here, Gas Species, Liquid Species, Storage Site and Storage Site Species are replaced by the
page [46]
species selected at the Gas and Liquid Species
page, and the storage sites and their
page [43]
page [44]
storage site species specified on the Washcoat
page and New Storage Site
page,
respectively.
Global Parameters
In this section, global parameters can be defined. 'Global' means the values of the parameters
defined here will be accessible in all user-entered code blocks, e.g. in all reaction rate
formulations so that they will not have to be redefined separately for each reaction.
For detailed information on the required input refer to the general description of Model Parameter
page [37]
.
Global parameters are added and deleted by clicking and , and can be copied and pasted
using the buttons and .
2.1.2.5. Reactions
You can add reactions to the mechanism by clicking (click to remove selected reactions).
Reactions can be copied and pasted using the buttons and . Each reaction listed in that table
will have its own sub-page on which further details of the reaction can be entered.
Typical Range
Name
Select
49
2. Documentation
50
Comment
Reaction type
2. Documentation
set to Converter Surface
Based.
Reaction Stoichiometry
Use this table to define the reaction's stoichiometry. Add/remove reaction species using the
buttons / .
Note: It is necessary that gas, liquid or storage site species have been set up in the
relevant preceding pages in order to be able to define a meaningful stoichiometry here.
In case there are alternatives to choose from for the species, they can be selected by clicking
on the species name to be altered in the Reactant Name column and select the desired species
from the drop-down box. In the column labeled Stoichiometric Coefficient, the reaction
stoichiometry can be defined by entering numbers. Negative numbers mean the species will be
consumed (left/educts side of the reaction equation) while positive number mean the species
will be produced (right/products side of the reaction equation). E.g. the values in the table below
describe the oxidation of carbon monoxide: CO + 1/2 O2
CO2.
Table 1: Reaction Stoichiometry example
Reactant Name
Stoichiometric Coefficient
CO
-1
O2
-0.5
CO2
51
2. Documentation
Typical Range
Heat of reaction
Heat of reaction
52
2. Documentation
Content of Simulation Summary File
This group steers model encapsulation regarding model specification details visible in the
simulation logfile.
Washcoat properties
Reactions specification
Global parameters
Public comments
Enthalpy rate
53
2. Documentation
Storage site species thermodynamic data file
2. Documentation
As in practice a lot of Surface Chemkin files make use of common gas species, and
thermodynamic data for surface species is contained in the mechanism input file, it may
be sufficient to only select the mechanism file. To finish step 1, click on the button Parse
mechanism to parse the file, i.e. to extract the data contained therein.
Step 2: importing the mechanism
Messages. After the information contained in the mechanism file has been extracted (i.e.
after 'Parse mechanism' has been clicked), the 'Importer messages' text window may contain
messages regarding the importing process, such as warnings or errors, e.g., if the mechanism
page [55]
contains unsupported keywords (see Table Table 2: Unsupported functionality
).
Reactions. The reactions extracted from the mechanism will be automatically shown in the
Selected column of the selection widget on the Reactions tab. In this widget, you may adjust
the order of the reactions or choose to import only a subset of the reactions extracted from the
mechanism file. Individual reactions making use of unsupported functionality (such as plasma
reactions making use of a reaction yield multiplier etc.) will not be available for importing.
Surface Sites. On the Surface Sites tab, you can see a list of extracted surface site information
if the mechanism has surface sites declared. Each site's surface site density is shown in the
column right to the site's name.
2
Note: Surface Chemkin's site density has units of mol/cm (washcoat), that is, it is
related to the catalyst washcoat's actual surface area. AUCI's default surface site
density, at present, is converter surface based, i.e. based on the converter's geometrical
2
surface area with associated units of kmol/m (converter). Therefore, to account for
an uneven and thus larger surface area of a catalyst washcoat than the geometrical
converter surface area, for convenience, all site densities may be scaled upon importing
2
by changing the factor in the input field f_cat_geo (which has units of m (washcoat)/
2
m (converter)) above the table accordingly. Moreover, this factor is used to convert all
reaction rates from washcoat based to converter based units. Default is not to scale
2
the surface site densities (or rates), i.e. use a conversion factor of 1.0 m (washcoat)/
2
m (converter).
If the reaction mechanism contains surface species, these species' molecular weights may
be calculated automatically from the elemental composition information provided in the
thermodynamic data file. To omit calculation of their molecular weights, uncheck the check box
Calculate molecular weights of surface species at the bottom of the import dialog.
To start the importing process, click on OK
Unsupported functionality
Some of the functionality of Surface Chemkin is not supported by the importer. See the following
table for more information:
Table 2: Unsupported functionality
Functionality
Related keyword
Information
Materials
MATERIAL
Bulk phases
BULK
55
2. Documentation
BULK keyword can not be
imported.
Surface site nonconservation
NONCON
Ion-enhanced reaction
yields
YIELD, #
BOHM
ENRGDEP
BOOST
Application
Filter Regeneration
Features
Design of soot regeneration reaction mechanisms
Arbitrary number of reactions
Arbitrary number of species
Consideration of particle structure
Model Database
Regeneration with Oxygen
Regeneration with Oxygen and Notric Oxides
... check out Examples page [26] for more
Details
The following sections explain the input required in the graphical user interface to set up a userdefined regeneration reaction mechanism:
56
2. Documentation
2.1.3.1. New Regeneration Reaction Mechanism
page [37]
Refer to the general description of the General Project Information
.
2.1.3.2. Gas and Solid Species
At this page the user specifies the gas and solid species used in the regeneration reaction
mechanism.
Each species, selected from a list of available species on the left and added to the list on the
right gives rise to a set of reaction variables like e.g. the species' molar density/mass/fraction
which may later be mapped to variable tokens to be used when coding the actual reaction rates.
For gas species a separate file holding thermodynamic data may be specified.
Typical Range
Gas Species
Use custom file
Optionally provide a
page
thermodynamic data file
[34]
as external resource. By
default the file therm.dat from
the installation is selected.
Available Species
Selected Species
Solid Species
Available
Selected Species
57
2. Documentation
2.1.3.3. Global Variables and Parameters
Simulation Variables Mapping
In this table, variables are defined whose values will come from or be input into the simulation
kernel e.g. the individual species' molar density/mass/fraction, the substrate temperature or the
current simulation time etc..
Click / , to add/remove a variable, to/from the table. The string you enter in the Name column
will be the one used for accessing this variable in the C code. Therefore, its naming scheme
must be compatible with the naming of variables in ANSI C (i.e. no spaces or special characters,
must not start with a number etc.). Use the drop-down box in the column Assigned Simulation
Variable to select the meaning of the variable.
The following calculation variables are available:
Simulation Variable
Unit
Filter
3
Reaction Rate
kmol/m /s
[-]
[-]
J/kg
kmol/m
m /m
kg/m
kg/m
kmol/m
kmol/kmol
kg/kmol
Substrate temperature
Time
output
3
3
: available
: not available; a dummy-value is passed instead, or feature cannot be selected
Here, Gas Species and Solid Species are replaced by the species selected at the Gas and Solid
page [57]
Species
page.
58
2. Documentation
Global Parameters
In this section, global parameters can be defined. 'Global' means the values of the parameters
defined here will be accessible in all user-entered code blocks, e.g. in all reaction rate
formulations so that they will not have to be redefined separately for each reaction.
For detailed information on the required input refer to the general description of Model Parameter
page [37]
.
Global parameters are added and deleted by clicking and , and can be copied and pasted
using the buttons and .
2.1.3.4. Reactions
You can add reactions to the mechanism by clicking (click to remove selected reactions).
Reactions can be copied and pasted using the buttons and . Each reaction listed in that table
will have its own sub-page on which further details of the reaction can be entered.
Typical Range
Name
Select
Comment
Reaction type
Reaction Stoichiometry
Use this table to define the reaction's stoichiometry. Add/remove reaction species using the
buttons / .
Note: It is necessary that gas or solid species have been set up in the relevant
preceding pages in order to be able to define a meaningful stoichiometry here.
In case there are alternatives to choose from for the species, they can be selected by clicking
on the species name to be altered in the Reactant Name column and select the desired species
from the drop-down box. In the column labeled Stoichiometric Coefficient, the reaction
stoichiometry can be defined by entering numbers. Negative numbers mean the species will be
consumed (left/educts side of the reaction equation) while positive number mean the species
will be produced (right/products side of the reaction equation). E.g. the values in the table below
describe the oxidation of carbon monoxide: C(S) + O2
CO2.
Table 3: Reaction Stoichiometry example
59
2. Documentation
Reactant Name
Stoichiometric Coefficient
C(S)
-1
O2
-1
CO2
Heat of reaction
60
Comment
2. Documentation
Const
Table
Parameters can be made
page [39]
public
.
Heat of Reaction Function
Formulation
Public comments
61
2. Documentation
Enthalpy rate
BOOST
Application
Boundary Layer Transfer (Catalyst, Filter)
Washcoat Pore Diffusion (Catalyst)
Features
Design of heat transfer models
Design of mass transfer models
Design of pore diffusion models
Model Database
Sieder-Tate Heat & Mass Transfer
Effective Pore Diffusion Model
... check out Examples page [28] for more
Details
The following sections explain the input required in the graphical user interface to set up userdefined heat and mass transfer and pore diffusion models:
62
2. Documentation
2.1.4.1. New Transfer Model
page [37]
Refer to the general description of the General Project Information
.
2.1.4.2. Gas Species
At this page the user specifies the gas species for which a designated mass transfer model and/
or pore diffusion model shall be implemented.
Each species, selected from a list of available species on the left and added to the list on the
right may later be selected at the mass transfer model and/or pore diffusion model pages.
For the gas species a separate file holding transport property data may be specified.
Typical Range
Gas Species
Use custom file
Available Species
Selected Species
Unit
Heat Transfer
Coefficient
W/m /K
Catalyst
Heat & Mass
Transfer
2
Filter
Washcoat Pore
Diffusion
Mass Transfer
output
63
2. Documentation
Simulation
Variable
Unit
Mass Transfer
Coefficient
m/s
Effective
Pore Diffusion
Coefficient
m/s
Distance from
inlet
Catalyst
Heat & Mass
Transfer
Filter
Washcoat Pore
Diffusion
output
output
output
DPF channel ID
3
DPF soot
concentration
kg/m
Gas dynamic
viscosity
Pa.s
Gas heat
conductivity
W/m/K
Gas mass
density
kg/m
Gas velocity
m/s
Geometrical
surface area
m /m
Hydraulic
diameter
Peclet number
for heat transfer
[-]
Peclet number
for species mass
transfer
[-]
Prandtl number
[-]
Reynolds
number
[-]
Schmidt number
[-]
Species
m /s
effective diffusion
coefficient in
mixture
Species density
64
Mass Transfer
kg/m
2. Documentation
Simulation
Variable
Unit
Species molar
mass
kg/kmol
Species reaction
rate
kg/(m s)
Substrate
temperature
Time
Wall velocity
m/s
Washcoat
porosity (global
page [42]
)
[-]
Catalyst
Heat & Mass
Transfer
Filter
Washcoat Pore
Diffusion
Mass Transfer
Washcoat
[-]
page
porosity (local
[42]
)
Washcoat
temperature
: available
: not available
Global Parameters
In this section, global parameters can be defined. 'Global' means the values of the parameters
defined here will be accessible in all user-entered code blocks, e.g. in all transfer model
formulations so that they will not have to be redefined separately for each one of them.
For detailed information on the required input refer to the general description of Model Parameter
page [37]
.
Global parameters are added and deleted by clicking and , and can be copied and pasted
using the buttons and .
2.1.4.4. Heat Transfer Model
General Information
Some general information on the heat transfer model can be provided:
Typical Range
Name
Comment
65
2. Documentation
Heat Transfer Model Formulation
The actual model formulation has to be coded in ANSI C. For detailed information on the required
page [40]
input refer to the general description of Code Input
.
The heat transfer coefficient will have the value which is assigned to the alpha variable.
2.1.4.5. Mass Transfer Models
You can add / remove mass transfer models to the mechanism by clicking / . Mass transfer
models can be copied and pasted using the buttons and . Each mass transfer model listed in
that table will have its own sub-page on which further details of the model can be entered.
Typical Range
Model Name
Comment
66
Name
Comment
2. Documentation
Mass Transfer Model Parameter
For detailed information on the required input refer to the general description of Model Parameter
page [37]
.
Mass Transfer Model Formulation
The actual model formulation has to be coded in ANSI C. For detailed information on the required
page [40]
input refer to the general description of Code Input
.
The mass transfer coefficient will have the value which is assigned to the beta variable.
2.1.4.6. Pore Diffusion Models
You can add / remove pore diffusion models to the mechanism by clicking / . Pore diffusion
models can be copied and pasted using the buttons and . Each pore diffusion model listed in
that table will have its own sub-page on which further details of the model can be entered.
Typical Range
Washcoat porosity
0 - 1 ([-])
Washcoat thickness
Model Name
Comment
67
2. Documentation
Typical Range
Name
Comment
2. Documentation
C Function
Description
atan(x)
exp(x)
fabs(x)
log(x)
pow(x,p)
sqrt(x)
Value
Description
1.013E+02
Unit
Atmospheric pressure
Mathematical constant
F_PI
3.14159265359
F_RMOL
8.3144
F_SMALL
1.0E-10
F_TINY
1.0E-12
APIs
Arrhenius function
Declaration
Usage
rate = Arrhenius(T,K,E,p);
Description:
Usage
Keq = EquiConst(T,A,B,C,D,E,p,R);
Description:
69
2. Documentation
The argument R serves as a lower/upper cut-off to the argument
of the exponential function.
Signum function
Declaration
Usage
signum = CATLIB_dsign(x,y);
Description:
max function
Declaration
Usage
z = max(x,y);
Description:
min function
Declaration
Usage
z = min(x,y);
Description:
2.3. Prerequisites
Compiler
The AUCI requires a C compiler to be installed. Refer to the Supported Platforms section of the
AWS Installation Guide for the compiler version specification.
Compatibility
The figure below shows the compatibility matrix between the AUCI version used to create the
dynamic link libraries and the corresponding AST software products where these dlls can be
linked.
The rows indicate the internal AUCI Version numbers. The respective AST Product versions,
where AUCI is released with, are marked with a cross. All compatible AUCI and AST Product
Versions are highlighted green.
Figure 4. Compatibility Matrix AUCI/AST Product Version
2.4. Literature
1. Brinkmeier C., Automotive Three-Way Exhaust Aftertreatment under Transient Conditions
Measurements, Modeling and Simulation, 2006, PhD Thesis, University of Stuttgart.
70
2. Documentation
2. Lindholm A., Currier N. W., Li J., Yezerets A., Olsson L., Detailed kinetic modeling of NOx
storage and reduction with hydrogen as the reducing agent and in the presence of CO2 and
H2O over a Pt/Ba/Al catalyst, J. Catal. 258:273-288, 2008.
3. Wurzenberger, J. C., PhD Thesis, Graz University of Technology, 2001.
4. Koltsakis G. C. and Stamatelos, A. M. 'Modeling dynamic phenomena in 3-way catalytic
converters', Chemical Engineering Science 54, 1999, 4567-4578.
5. Koltsakis G. C., Konstantinidis, P.A. and Stamatelos A. M.. 'Development and application
range of mathematical models for 3-way catalysts',Applied Catalysis B. Environmental 12,
1997, 161-191.
6. Tuttlies U., Schmeisser V. and Eigenberger G. 'A mechanistic simulation model for NOx
storage catalyst dynamics', Chemical Engineering Science, 59, 2004, 4731-4738.
7. Hauff C. H. 'Implementierung des Modells eines NOx-Speicherkatalysators in das
Simulationstool BOOST', Master thesis at ICVT, Stuttgart University, 2007.
8. Winkler C. and Floerchinger P., Patil, M.D., Gieshoff, J., Spurk, P., Pfeifer, M., 'Modeling of
SCR DeNOx Catalyst - Looking at the Impact of Substrate Attributes', SAE 2003-01-0845.
9. Wurzenberger J. C. and Wanker R. 'Multi-Scale SCR Modeling, 1D Kinetic Analysis and 3D
System Simulation', SAE 2005-01.
10. Hughes K. W. and Floerchinger P., 'Ultra Thinwall Light-off Performance - Varying
Substrates, Catalysts, and Flow Rates; Models and Engine Testing', SAE 2002-1-352.
11. Ebrahimian V. 'Development of multi-component evaporation models and 3D modeling of
NOx-SCR reduction system', PhD thesis, LUniversit de Toulouse, 2011.
12. Ebrahimian V. et al. 'Detailed modeling of the evaporation and thermal decomposition of
urea-water solution in SCR systems', AIChE J., 58, 2012, 1998-2009.
13. Kee R.J., Rupley F.M., and Miller J.A. 'Chemkin-II: A Fortran Chemical Kinetics Package for
the Analysis of Gas-Phase Chemical Kinetics', Sandia Report SAND89-8009.UC-401, 1989.
14. Kee R.J., Dixon-Lewis G., Warnatz J., Coltrin M.E., Miller J.A., and Moffat H.K. 'A Fortran
Computer Code Package for the Evaluation of Gas-Phase Multicomponent Transport
Properties', Sandia Report SAND86-8246, 1986.
15. Wheeler A., In P.H. Emmett (Ed.), Catalysis, Reinhold New York, Vol II: 105, 1955.
16. Wakao W., Smith J.M, 'Diffusion in catalyst pellets', Chemical Engineering Science 17
(1962): 825-834, 1962.
17. Perry R. and Green D., 'Perry's Chemical Engineer's Handbook'. New York, McGraw Hill
Book Company, 6. Edition, 1984.
18. Ahn T., Pinczewski V. and Trimm D.L., 'Transient Performance of Catalytic Combustors for
Gas Turbine Applications.' Chemical Engineering Science 41, 1986, 55-64.
19. Verein Deutscher Ingenieure (Ed.) VDI-Waermeatlas, Berechnungsblaetter fuer den
th
Warmeuebergang. 7 Edition, VDI Verlag, Duesseldorf, 1994.
20. Kirchner T. and Eigenberger G., 'Optimization of the Cold-Start Behaviour of Automotive
Catalysts Using an Electrically Heated Pre-Catalyst', Chemical Engineering Science 51,
1996, 2409-2418.
21. Kee R. J., Rupley F. M., Miller J. A., Coltrin M. E., Grcar J. F., Meeks E., Moffat H. K., Lutz
A. E., Dixon-Lewis G., Smooke M. D., Warnatz J., Evans G. H., Larson R. S., Mitchell R. E.,
Petzold L. R., Reynolds W. C., Caracotsios M., Stewart W. E., Glarborg P., Wang C., and
Adigun O., CHEMKIN Collection, Release 3.5, Reaction Design, Inc., San Diego, CA (2000).
71
3. FAQ
3. FAQ
3.1. General
3.1.1. How to convert volume based simulation variables into absolute values?
It may occur that absolute instead of volume based simulation variables are needed to calculate
reaction rates (e.g. soot mass or gas species mass within a monolith cell). This can be done
most effectively via defining Global Variables where the volume based variable is multiplied
with the according cell volume, which is an available simulation variable. "Global" means in that
context that the values of the parameters defined here will be accessible in all reaction rate
formulations so that they will not have to be redefined separately for each reaction. For detailed
page [37]
information on that refer to the general description of Model Parameter
.
Example: Calculation of the absolute soot mass out of the soot mass concentration in the
current calculation cell
In the below figures an example is given, how the absolute soot mass can be calculated out of
the already available soot mass concentration.
First, the simulation variables "Mass concentration of C(S)" and "Cell monolith volume" need to
be introduced at Simulation Variables Mapping.
Second, a Global Parameter of type Variable needs to be introduced that shall be the absolute
soot mass. Furthermore, a Global Parameter of type Function is required, in which the
conversion of the variables is done.
Figure 5. Definition of simulation and global variables and the global conversion function
In the global function (named "calc_soot_mass") the absolute soot mass - variable "soot_mass"
is calculated. After that this variable can be used in reaction rate formulations.
72
3. FAQ
Figure 6. Declaration of the global conversion function and calculation of the absolute value.
73
3. FAQ
Example: Usage of the AUCI message system
This example shall demonstrate the usage of AUCI message system functions.
For that purpose, a reaction mechanism shall be perform the following two checks:
The molar fraction of CO shall be monitored and in case it exceeds the maximum allowed
range a warning shall be send; for example to indicate the species range used for calibrating
the kinetic parameter.
The substrate temperature shall be monitored and in case it reaches the maximum
allowed value the simulation shall be stopped; for example to avoid thermal damage of the
converter.
Below the relevant AUCI model set-up is explained in order to realize these requirements:
1. In the AUCI model the Simulation Variables page [47] that shall be monitored need to be added,
page [49]
page [38]
as well as a Global Parameter
of type Function
that does the monitoring and
sends the messages.
In this example, the Simulation Variables "Substrate temperature (K)" and "Molar fraction of
CO (kmol_i/kmol_tot)" have been selected; the Global Function is named "checkRange":
Figure 7. AUCI model input at page "Global Variables and Parameters"
2. In the Global Function "checkRange" the maximum values of CO molar fraction and
substrate temperature have been defined as Function Parameters.
page [40]
In the Code-block
of the Function Formulation the above conditions are formulated as
if-clauses:
Figure 8. AUCI model input for Global Function "checkRange"
3. FAQ
Note: The Function Parameters do not have to be public like in this example.
3. At "Build Model" the AUCI model has to be compiled for the required target platforms.
75
3. FAQ
3.2.2. How to code rate formulations depending on two gas species?
In the case where the rate formulation depends on two and more species, special precautions
have to be taken. If, e.g., the concentrations of two species used in a rate formulation become
negative at the same time, the negative signs cancel each other (i.e. the resulting rate does
not become negative). So the solver never notices that condition leading to an even higher
consumption of these two species which will eventually result in the simulation diverging (Fig. 9
page [76]
, left plot).
76
3. FAQ
Figure 10. Smooth transition of reaction rates.
77