Interface for doing [this](https://github.com/canmod/macpan2/tree/main/inst/starter_models/macpan_base#computing-mathcalr_0-with-a-cohort-model) kind of thing for a general model specification with flows.