Code covered by the BSD License  

Highlights from
Spark Ignition Engine GUI

image thumbnail

Spark Ignition Engine GUI

by

 

01 Apr 2013 (Updated )

computer program for thermodynamic engine model for a spark ignition engine.

sz_comb(th,xr,ths,thb)
% Combustion rate function
function [x,dx] = sz_comb(th,xr,ths,thb)
if th < ths
    x = xr;
    dx = 0;
else
    x = xr + (1 - xr) * (1 - exp(-5 * ((th - ths)/thb)^3));
    dx = (1-xr) * (15/thb) * (((th-ths)/thb)^2)*exp(-5*((th-ths)/thb)^3);
end
end

Contact us