The math in this video is only understandable if you truly understand calculus, which means that it's likely none of the politicians trying to use these models and not many of the physicians we hear speaking on TV really know what the models are doing. But here is a basic version of how models of the spread of and recovery from viruses are made. It shows a general idea of how a virus might develop and what flattening the curve is. Feel free not to watch it, because it's not for folks who are mathematically faint of heart.
.