Although many organizations throughout the world have worked tirelessly to control tuberculosis (TB) epidemics, no country has yet been able to eradicate the disease completely. We present two compartmental models representing the spread of a TB epidemic through a population. The first is a general TB model; the second is an adaptation for regions in which HIV is prevalent, accounting for the effects of TB/HIV co-infection. Using active subspaces, we conduct time-dependent sensitivity analysis on both models to explore the significance of certain parameters with respect to the spread of TB. We use the results of this sensitivity analysis to determine the most effective strategies for treatment and prevention throughout the epidemic.