Calculation of engine universal characteristic curve matlab implementation