I am using env.run() to run the simulation and my simulation contains a bunch of processes which wait for each other and process some event.
Now I know when we don't specify the time frame for which the simulation should run then the simulation runs till all the events has been processed, so in this case how can I calculate the final time(t) in the code, till which the simulation ran?