Open utterances-bot opened 1 year ago
Should change (ops.func1)
to (ops.func1,)
. Same for the other tuples of functions of length one.
Should change
(ops.func1)
to(ops.func1,)
. Same for the other tuples of functions of length one.
Fixed.
I think it could also be possible to wrap a Ciw simulation inside of a SimPy simulation. One could use SimPy as a process manager for these global changes. Might be warranted for more complicated cases than a linear sequence of predefined steps.
Actually, I am not sure that this approach would work. If memory serves, all of the instances of ciw.Individual
get sent to the exit node if they are not there already at the end of the simulation. If that is the case then we would need to instantiate a new simulation instance with individuals already on the queues at the start.
Hmm, actually (again), I think such behaviour might be supported. See here.
External Schedule of Ciw Simulations | Galen's Blog
It would be desirable to make arbitrary changes to the state of a simulation according to a schedule. This is useful to simulating emergencies and disasters where the system has a change point where its behaviour changes substantially.
https://galenseilis.github.io/posts/ciw-external-schedule/