Hello Jakob,
yes, this is a bug (https://github.com/DLR-TS/sumo/issues/3971).
It should not be necessary to load flows again after saving.
Thank you for bringing this to my attention.
regards,
Jakob

2018-04-06 13:20 GMT+02:00 Jakob Kaths <jakob.ka...@tesis.de>:

> Hello everybody,
>
> I’m already bothering you with my next question. I tried creating a saved
> simulation state and reloading it afterwards, which works in principle, but
> it seems I can’t use flows afterwards anymore, but would have to define
> every vehicle explicitly. Is that correct?
>
> A part of my demand definition looks as follows:
>
> This would be before saving the state:
>
> <flow id='South_to_North_Car_0' from="-2000000.0.00" to="-2013000.186.34"
> begin='0' end='100' vehsPerHour='1800' type='CarDistribution'
> departLane='random' departPos='base' departSpeed='max'/>
>
> And this after:
>
> <flow id='South_to_North_Car_continuous' from="-2000000.0.00"
> to="-2013000.186.34" begin='110' end='3600' vehsPerHour='1800'
> type='CarDistribution' departLane='random' departPos='base'
> departSpeed='max'/>
>
> So basically, I got the same flows again with a different name and create
> more vehicles after the state is loaded. However, I receive an error
> message that the first vehicle with the ID South_to_North_Car_continuous.0
> has no valid route.
>
> Is this a bug or is it simply not possible to create flows after the
> simulation has already begun?
>
> Thanks
>
> Jakob
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
>
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user

Reply via email to