Hi,
I have another question. I worked in interruptions of the simulation according to a distribution. This interruption interrupts the activity2. After a timeout the actual activity can proceed. The interruptions shall not happen after finish of the actual process. Thus, I used the deactivate function. But unfortunately one interruption still occurs frequently after the actual finish of the process. Is there a possibility to prevent this? And actually the interruption distribution shall only start, when activity2 is activated. Is there a way to combin when activated and a distribution?
Additionally, I would like to investigate an inter arrival time for activity2. Activity2 shall start after activation by activity1. Then a total amount of arrivals should be created according to an arrival time and amount of arrivals per inter arrival. For example, total arrivals of 20 with an inter arrival time of 5 time units with 5 arrivals each inter arrival. Hence, there would be 4 inter arrivals. Afterwards the inter arrival time shall be investigated. For example, only 2 inter arrivals of 10 arrivals with an inter arrival time of 10. Is there a possibility to simulate this?
Thanks
Thanks for the quick help. The source code is very helpful. With a change in the when_activated code it is possible to simulate arrivals according to a distribution after activation.
I worked in a source for interruption, but somehow it is NA, although it is defined. Thus, it is not working as expected. Why is this?
I would like to optimize the interarrival time automatically for a certain amount of arrivals. In the actual simulation there is a high amount of arrivals. Therefore, by doing this manual is cumbersome. Is there a way to compare different interarrival times like in the simmer.optim example. But each interarrival is containing different amount of arrivals. For example, there is a total amount of 12 arrivals. Hence, there could be a daily delivery of 2 arrivals 6 days or a delivery of 6 arrivals every 3 days.
Thanks for the quick help. The source code is very helpful. With a change in the when_activated code it is possible to simulate arrivals according to a distribution after activation.
I worked in a source for interruption, but somehow it is NA, although it is defined. Thus, it is not working as expected. Why is this?
I would like to optimize the interarrival time automatically for a certain amount of arrivals. In the actual simulation there is a high amount of arrivals. Therefore, by doing this manual is cumbersome. Is there a way to compare different interarrival times like in the simmer.optim example. But each interarrival is containing different amount of arrivals. For example, there is a total amount of 12 arrivals. Hence, there could be a daily delivery of 2 arrivals 6 days or a delivery of 6 arrivals every 3 days.
Great, the hint using simulate function works well.
I would like to minimise total duration under possible ranges for resources and interarrival times. Thus, optimisation of allocation of resources, capacity rates and interarrival time. And in the end consideration/minimisation of budget as well.
Great, the hint using simulate function works well.
I would like to minimise total duration under possible ranges for resources and interarrival times. Thus, optimisation of allocation of resources, capacity rates and interarrival time. And in the end consideration/minimisation of budget as well.