This example shows a simplified parallel hybrid electric vehicle (HEV). An interior permanent magnet synchronous machine (IPMSM) and an internal combustion engine (ICE) provide the vehicle propulsion. The IPMSM operates in both motoring and generating modes. The vehicle transmission and differential are implemented using a fixed-ratio gear-reduction model. The Vehicle Controller subsystem converts the driver inputs into torque commands. The vehicle control strategy is implemented as a Stateflow® state machine. The ICE Controller subsystem controls the torque of the combustion engine. The Drive Controller subsystem controls the torque of the IPMSM. The Scopes subsystem contains scopes that allow you to see the simulation results.
The plot below shows the requested and measured torque for the test, as well as the phase currents in the electric drive.