Engine Modeling and Simulation