I have a problem constructing my SEIR model for system dynamics.
I want to create an infectious character chart that goes up, down and up again.
How do I go about creating it, the current one that I simulated goes up the down meaning that the virus comes to an end at some point.
If you want your infections to go up and down you need to have a transition where a person is either not immune or their immunity ends, see the stock and flow diagram below.
This is then technically a SIRS model as the person becomes Recovered and can become susceptible again.
I used a model from the AnyLogic Cloud as a base https://cloud.anylogic.com/model/d465d1f5-f1fc-464f-857a-d5517edc2355?mode=SETTINGS