Because of the lost of intermediates species, the reduced mechanisms obtained after the DRGEP and QSS simplifications do not predict well the trajectories of the detailed scheme. An optimisation step is then needed.
The optimisation algorithm performed in ORCh is the genetic algorithm  which apply the principles of natural selection and evolution, in order to look for the optimal solution of a problem initialised by a population of potential solutions.
In this case, we want to optimise the parameters of the Arrhenius law, describing the reaction rates. For example, the forward Arrhenius law for the reaction rate of the jth reaction reads :
with the pre-exponential factor, the activation energy, the temperature exponent, and the concentrations of the reactants involved and and the exponents of concentrations.
Given te high values of , we prefer to work with .
The parameters values to be optimised are then put in the form of a triplet (,,) considered as a chromosome. A population will be composed of a set of chromosomes which will evolve and mutate until converging towards the best solution, i.e. the best chromosome.
The optimisation directory is organized as follows :
- CreateAnalyticDirectory :
Serves the coupling with Cantera : After the QSS step, the reduced scheme is composed of 2 files : a xml file which contain the transported species and an analytic routine which recalculate the reaction variables of the scheme. The CreateAnalyticDirectory file contains the method which calculate the analytic part of the scheme during the optimisation step.
- OptimScenario :
Contains all the inputs necessary to define the optimisation step like the population size, the crossover and mutation rates or the allowed variations of the parameters for example.
- Optimisation :
Contains the main methods of the optimisation step.
- J.H. Holland, Adaptation in natural and artificial systems, MIT press, Cambridge, MA, USA, 1992. ISBN 0-262-58111-6