Skip to content

If the mod$run is executed again, would it continue from its previous state? #143

Description

@apbarraza

Hi,

I am interested in using your disease model to test a "dynamic" intervention policy.
I understand that the current simulation run allows for applying interventions. However, the intervention plan would have to be decided beforehand, it would be "static".

I would like to know if I can execute the simulation in small consecutive time periods. For instance, the model could first run 2 days, then a change on the intervention policy might occur, and then the goal would be to execute the next time period from where the last one left off including the new intervention, and so forth.

More specifically, I am wondering, in run.R, if the mod$run is executed again, would it continue from its previous state?
Setting replicates = 1 in the stochastic case.

Thank you,
Andrea

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions