Modeling to control spores in raw milk door