The models shared here were created for a classroom activity in which students explore the interaction between MHC molecules and peptide antigens, and simulate the changes in a population’s MHC haplotype as the population encounters a series of pathogen outbreaks.