This is a brief description of the Equivalent Consumption Minimization Strategy (ECMS) code provided by Dr. Emrah Bayrak. The code can be downloaded here. The entrance file is fMPG.m.

Description of files

Below are descriptions of all files. For instructions on the modification, see the next section.

Files that need modification

Files that do not need modification

Instruction on modifications

On line 63-64, 126-128 of fMPG.m, and line 70-72 of hybrid_ECMS_ATC.m, you need to complete the code for computing the motor torque and speed from engine and transmission torque and speed.

For a parallel hybrid powertrain, the engine, motor, and the transmission share the same angular speed. The torque from the transmission is split between the engine and the motor.

For power-split powertrain, the relationship is more involving. You can find a discussion from this paper.