Skip to content

Queue simulates for too long when simulating for amount of time #66

@jeroenburgt

Description

@jeroenburgt

I understand that the time put into queue.simulate() is the minimum amount of simulation time. However, I think limiting the simulation time to the requested amount of time can be a nice improvement as it becomes a problem when having very low arrival rates.

Example:
I want to simulate a queue which has different arrival rate every 5 time steps. However, if the initial arrival rate is very low, e.g. 0.05 (uniform) the first arrival will only occur after 20 time steps. In this case the arrival rates for time steps 5-10, 10-15 and 15-20 are never used to simulate the queue (which may generate arrivals).

Therefore I am requesting a feature that simulates the queue no longer than the amount of time that is put into the simulate function.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions