Last active
June 17, 2021 08:57
-
-
Save gerritgr/19d4fa914e4f7fb0c6f7c473854e3bd6 to your computer and use it in GitHub Desktop.
SIS model spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Model: | |
- States: ["S", "I"] | |
- Rules: | |
# rules haben immer die Form "X->Z: rate" oder "X+Y->X+Z: rate" und eine reaction rate constant >=0 | |
- Recovery: "I" -> "S": 1.0 | |
- Infection: "I"+"S" -> "I"+"I": 0.3 | |
Network: | |
# reicht wenn wir uns zuerst auf statische, undir. graphen ohne self-loops konzentrieren | |
- Edges: [(0,1),(1,2),(2,0),(0,3)] | |
Simulation: | |
- Simulation_number: 10 # koennen auch erstmal immer nur eine machen | |
- Horizon: 4.0 # wie lange wird simuliert | |
- Sampling_rate: 0.01 # gibt ca 400 datenpunkte | |
- Initial_distribution: {'S': 0.9, 'I': 0.1} # sollte automatisch normalisiert werden, ggf. auch pro node angeben | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment