In a previous work [Appl. Phys. Lett. 65, 3060 (1994)] we experimentally demonstrated that passive Q switching of a 2,017-nm, flashlamp-pumped Tm,Cr:YAG laser with a Ho:YLF saturable absorber could be obtained with an internal focusing lens. We numerically investigate the optical performance of the Ho:YLF Q-switched Tm:YAG laser system by solving the coupled rate equations. The simulation results indicate that the results obtained numerically are in good agreement with those obtained experimentally. With typical laser configuration, a Q-switched laser pulse of 35 mJ in 30 ns is obtained.