Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Using flows after loading a simulation state

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


Back to the top