Multi-day modelling #63
Replies: 7 comments
-
It is possible to model multiple days and run trajectories based on the current weekday. This works out-of-the-box by defining different events files for each day: https://github.com/matsim-org/matsim-episim/blob/ab0d1664a2badfe734fdaaef65b5c95e59d2e905/src/main/java/org/matsim/run/modules/SnzBerlinProductionScenario.java#L180-L187 Modelling each day uniquely is not possible at the moment. It might be possible by using the current approach as starting point, but would require a separate event file for every day. |
Beta Was this translation helpful? Give feedback.
-
Hello, Thank you for your suggestions. I tried to run the SnzBerlinProductionScenario.java but it said that a file named BerlinSnzData_daily_until20201107.csv is missing. When I am trying to run the code excluding the file I am getting an error Error in custom provider, java.lang.IllegalArgumentException: org.opengis.referencing.NoSuchAuthorityCodeException: No authority was defined for code "GK4". Did you forget "AUTHORITY:NUMBER"? Kindly could tell me whether the file BerlinSnzData_daily_until20201107.csv is available anywhere publicly. Also could you tell me if I can generate seperate events file for each day does the current episim model support the logic to spreading of imfections with repect to multi day modelling or the logic is yet to be incorporated in the episim model. |
Beta Was this translation helpful? Give feedback.
-
This file and also some other you will need are currently not publicly available. However, we are currently looking into ways to make them available, but I can't promise anything at the moment. As you see in the example you can add at most seven separate event files for: Person trajectories will be repeated every week. Anything beyond that is not yet incorporated. |
Beta Was this translation helpful? Give feedback.
-
Hi , |
Beta Was this translation helpful? Give feedback.
-
For this you need infection data from unrestricted spread, meaning without any interventions such as lockdown. Probably there is not too much data for this, but anyway you can try to extract it. For example |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply. Please can you tell me how do you fit the curve for the lockdown data after restrictions are taking place? Also for the part without any intervention, the infection rate you have assumed is a constant but it is not a constant if I am not mistaken. So did you just assume it or have you used some kind of linear regression or time series modeling to find out the rate. |
Beta Was this translation helpful? Give feedback.
-
The assumption that the infection rate is constant is only made for a certain period of time, e.g. 20 days during early phase, without interventions and other effects such as herd immunity, Calibrating theta corresponds to calibrating this base infection rate. Of course the actual infection rate will depend on a lot of other factors, such as:
With episim you can model all of these explicitly and have an effect on the infection rate. In short, we don't define the infection rate, but it will be a result of all these interventions. You may look into our berlin scenario as an example: |
Beta Was this translation helpful? Give feedback.
-
Hello episim developer,
The project is really great work and it is really helpful to us. while reading the mechanism of the model we understood that multi-day modeling is not supported at the moment and the data ends at the end of the day ie the simulations run the same person trajectories. Kindly could you help with the information that whether this model can be updated to support multiday modeling and if yes could you give me a lead as to what kind of changes could be done in order to support a basic version of it? I have tried to go through the whole code but I am having difficulty understanding how to incorporate this logic at a basic level.
Beta Was this translation helpful? Give feedback.
All reactions