Fully coupled control of a spark-ignited engine in driving cycle simulations