Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Loading simulation state resets flow traffic generation

Hi Michael

Please, take a look on these pictures (south-north flow, per example)

time:           0 - 20                      2 - 22                       6 - 26                     7 - 27
          Screenshot from 2020-10-16 07-56-23.png        Screenshot from 2020-10-16 07-56-38.png          Screenshot from 2020-10-16 07-56-53.png          Screenshot from 2020-10-16 07-57-12.png

Note how 'car artefacts' are included. From the first to the last picture, the three first cars seems to be re-included, two from index 0 (rightmost) and one from index 1

Original pictures:
time: 0 - 20
Screenshot from 2020-10-16 07-39-30.png

time: 2 - 22
Screenshot from 2020-10-16 07-41-16.png

time: 6 - 26
Screenshot from 2020-10-16 07-42-29.png

time: 7 - 27
Screenshot from 2020-10-16 07-43-03.png


Sincerely,

Marcelo d'Almeida

On Thu, Oct 15, 2020 at 6:11 PM Michael Behrisch <oss@xxxxxxxxxxx> wrote:
Hi,
maybe I misunderstand the problem, but here the traffic generation seems
to be just fine. There are no duplicate vehicle ids which would occur if
the flow started again from the beginning.

Best regards,
Michael

Am 02.10.20 um 22:21 schrieb Marcelo Andrade Rodrigues D Almeida:
> Hi everyone
>
> At every step, I save the simulation state, load it separately with
> another traci connection, and run 20 steps of the later
>
> I'm using flow to generate traffic and the problem is that the newly
> created connection repeats the traffic generation from the beginning and
> not from where it was loaded
>
> Based on what I saw in the documentation
> https://sumo.dlr.de/docs/Simulation/SaveAndLoad.html
> and these two posts
> https://www.eclipse.org/lists/sumo-user/msg01162.html
> https://www.eclipse.org/lists/sumo-user/msg03476.html
> I understand that the flow should start from the same point it was left
>
> See script attached
>
> SUMO 1.7.0
>
> Sincerely,
>
> Marcelo d'Almeida
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
>


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top