SciCompMod / memilio

Modular spatio-temporal models for epidemic and pandemic simulations
https://scicompmod.github.io/memilio/
Apache License 2.0
53 stars 16 forks source link

Easy creation of new models #67

Open joergbrech opened 3 years ago

joergbrech commented 3 years ago

As a general goal for the redesign of the backend, we want a situation where it is easy to create new models, or adapt existing models by copy-pasting a directory. The code could either be designed in such a way, that memilio can be used as a library, or by having convenience (python?) scripts that generate necessary boilerplate code for new models, e.g.

python create_model.py --name spunk

Our directory structure would change to subdirectories for the memilio library, and a directory called models, that contains all models that we created based on the library that we want to maintain. Currently the models directory would contain two subdirectories, one for our age resolved SECIHURD model and one for the SEIR model.

The is more of a meta-issue/epic. We need to

Note: Copied/Modified from https://gitlab.dlr.de/hpc-against-corona/epidemiology/-/issues/424

reneSchm commented 3 years ago

I've made a list of questions that came up creating a simple SIR model:

We could answer these questions using a readme or guide, or make some design changes to address them. Almost all of these questions can currently be answered by finding(!) and looking at the seir example.