MPT_Surr is a MATLAB code used to calculate limits in composition for transportation fuel mixtures based on experimental uncertainty using several tools from optimization theory. It incorporates MW, H/C ratio, TSI (threshold sooting index), ignition delay time and distillation curve error norm for the time being and is very amenable to utilizing other constraints.
Once pyIDT has been used to create the search space, the current code can be used to do the rest. The details are all described in the accompanying publication [1].
There are only 3 files which you will need to work with
construct_linear
: For MW and H/C constraints onlyconstruct_nonlinear
: For both linear and non-linear constraintsconstruct_mpt
: For multi-parametric optimization to obtain bounds as function of error threshold (linear constraints only)
Just modify the INPUTS
section in the beginning of each of the file to your prescribed surrogates. You might need to modify set_target_details.m
in the include directory if you want to try out your own surrogate. Obviously, distillation and IDT data have to be computed in such a situation.
This code goes along with the pyIDT package, which is used to create the search space based on ignition delay time.
All the required packages are based in MATLAB and can be easily installed by downloading the files and adding them to the search path. Please refer to the links provided alongside each package for further instructions regarding installation.
- cantera - MATLAB
- CVX
- MPT Toolbox
- Ellipsoidal Toolbox : This works only with Version 1.1.3!
- 0d_multicomp
- DrawCuboid
Please refer to the LICENSE.pdf in the repository. Note that this code requires PRIOR PERMISSION FROM AUTHORS FOR COMMERCIAL PURPOSES.
- Repo owner or admin : Pavan Bharadwaj
- Other community or team contact : The code was developed at the Flow Physics and Computational Engineering group at Stanford University. Please direct any official queries to Prof. Matthias Ihme
[1] P.B. Govindaraju, M. Ihme, "Formulation of Optimal Surrogate Descriptions of Fuels Considering Sensitivities to Experimental Uncertainties", Combustion and Flame, Vol. 188, Pages 337-356
Several software packages have also been utilized for this code and their contribution is acknowledged in the 'References' section of [1].