A novel modeling approach is applied to investigate the use of hydrogen-rich gas (HRG) for controlling the combustion process in a Homogenous-Charge Compression-Ignition (HCCI) engine. A detailed-chemistry stochastic reactor model is coupled with a one-dimensional gas dynamics model to account for the full engine cycle. The integrated model simulates the steady-state and transient operation of a single-cylinder HCCI engine. A previously developed tabulation scheme is utilized to speed up the detailed-chemistry simulations, which, though computationally cheap compared to many other approaches, are impractical for simulations involving a large number of cycles. A control strategy based on HRG addition is implemented using a closed-loop controller built within the gas dynamics model. Simulations conducted at different speeds and with varying loads indicate that the HRG can be effectively used to control the combustion phasing, and hence expand the operating range of the HCCI engine.