Mealworm Life Cycle

Okay so here is the general mealworm life cycle:Egg-Takes around 7 to 15 days Larvae-Takes around 30-100+ daysPupae-Takes 7-20 daysAdults-Mature at 48-62 hours and live/reproduce for 2-3 weeks.Total LifeCycle:takes anywhere from 3 months to a year depending on climate and food suply.Obvosiuly in captivity it takes about 2 months for a full cycle.

I'm thinking about writing a simulator for the growth life cycle for mealworms. What inputs might be suggested, other than the following; temperature, population, food quality and moisture? I've found some research papers written on this, so that has provided a solid science based starting point.