In this report, we develop a detailed crank angle based diesel engine model and a low order engine torque model for a Class 8 commercial heavy vehicle (CHV) as well as longitudinal control algorithms that coordinate the variable compression brake mechanism with service brakes and gear ratios. In particular, we have developed a detailed crank angle based simulation model for a six cylinder, 350Hp diesel engine equipped with a compression brake.