AlgebraicJulia / StockFlow.jl

https://algebraicjulia.github.io/StockFlow.jl/
MIT License
65 stars 6 forks source link

Premade models #42

Closed neonWhiteout closed 1 year ago

neonWhiteout commented 1 year ago

Added a file, 'PremadeModels.jl', to src, which contains an seir, svi, sis and sir created with the DSL. Idea here is oftentimes you'll want to start from a base model without constructing it from scratch every time, so you can use that. Will likely want to rearrange the parameters, maybe make different versions of the models with and without a c variable. Might also want to instead of just having the models as constants, have functions which return new copies of the models.

Could add feet or Opens to this as well.