Re: [sumo-user] randomTrips generation in netedit

2024-03-06 Thread Andreas Lenhardt via sumo-user
Thanks for the quick answer :-)
You say that it makes more sense to use the output-trip-file in my
simulation. May I ask which benefits I get doing it this way?
If I read your linked docs correctly, there should not be a big difference
between those two options.

Kind regards
Andreas

Am Mi., 6. März 2024 um 15:30 Uhr schrieb Jakob Erdmann via sumo-user <
sumo-user@eclipse.org>:

> - the extension is somewhat arbitrary. saving trips in a .rou.xml file is
> fine
> - sumo can load both kinds of files (using option --route-files). See
> https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#incomplete_routes_trips_and_flows
> - it likely makes more sense to use the output-trip-file in your
> simulation. Details can be found at
> https://sumo.dlr.de/docs/Demand/Dynamic_User_Assignment.html#introduction
> and
> https://sumo.dlr.de/docs/Demand/Dynamic_User_Assignment.html#oneshot-assignment
> - see also
> https://sumo.dlr.de/docs/Tools/Trip.html#validated_routes_and_trips
>
> regards,
> Jakob
>
> Am Mi., 6. März 2024 um 15:13 Uhr schrieb Andreas Lenhardt via sumo-user <
> sumo-user@eclipse.org>:
>
>> Hello,
>>
>> I have some questions about routes and trips which can be generated in
>> netedit.
>> As far as I understood, routes are needed to actually have traffic flow
>> in the simulator and duarouter creates those routes from other files, f.e.
>> from trip-files.
>>
>> I want to create random trips with randomTrips.py in netedit.
>> The gui gives me two input fields for settings: output-trip-file and
>> route-file.
>>
>> - Both of them offer the option to use the current route-file. When both
>> are set to the same value (...\routes.rou.xml in my case) the script exists
>> with an error message.
>> - output-trip-file offers the filename to be "trips.trips.xml". When I
>> click the select-file button, the file picker dialog however offers to save
>> as *.rou.xml instead of *.trips.xml.
>>
>> This really confuses me where I need to put which file exactly.
>> Could someone give me a hint which files I need to select there?
>>
>> [image: image.png]
>>
>> Thanks and kind regards
>> --
>> Mit besten Grüßen
>> Andreas Lenhardt
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] randomTrips generation in netedit

2024-03-06 Thread Mirko Barthauer via sumo-user
Hi,
 
there exist several shortcuts where duarouter is called or routes are 
created from trips without that you have to tell SUMO explicitly. This is a 
shortcut: randomTrips can call duarouter directly if you fill in the 
route-file (where duarouter should write the routes to). The other option 
is the trip output created directly by randomTrips.
 
Best regards
Mirko
 
 
 
-Original-Nachricht-
Betreff: [sumo-user] randomTrips generation in netedit
Datum: 2024-03-06T15:13:38+0100
Von: "Andreas Lenhardt via sumo-user" 
An: "sumo-user@eclipse.org" 
 
 
 
Hello,
 
I have some questions about routes and trips which can be generated in 
netedit.
As far as I understood, routes are needed to actually have traffic flow in 
the simulator and duarouter creates those routes from other files, f.e. 
from trip-files.
 
I want to create random trips with randomTrips.py in netedit.
The gui gives me two input fields for settings: output-trip-file and 
route-file.
 
- Both of them offer the option to use the current route-file. When both 
are set to the same value (...\routes.rou.xml in my case) the script exists 
with an error message.
- output-trip-file offers the filename to be "trips.trips.xml". When I 
click the select-file button, the file picker dialog however offers to save 
as *.rou.xml instead of *.trips.xml.
 
This really confuses me where I need to put which file exactly.
Could someone give me a hint which files I need to select there?
 
[image.png]
 
Thanks and kind regards
--
Mit besten Grüßen
Andreas Lenhardt
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] randomTrips generation in netedit

2024-03-06 Thread Jakob Erdmann via sumo-user
- the extension is somewhat arbitrary. saving trips in a .rou.xml file is
fine
- sumo can load both kinds of files (using option --route-files). See
https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#incomplete_routes_trips_and_flows
- it likely makes more sense to use the output-trip-file in your
simulation. Details can be found at
https://sumo.dlr.de/docs/Demand/Dynamic_User_Assignment.html#introduction
and
https://sumo.dlr.de/docs/Demand/Dynamic_User_Assignment.html#oneshot-assignment
- see also
https://sumo.dlr.de/docs/Tools/Trip.html#validated_routes_and_trips

regards,
Jakob

Am Mi., 6. März 2024 um 15:13 Uhr schrieb Andreas Lenhardt via sumo-user <
sumo-user@eclipse.org>:

> Hello,
>
> I have some questions about routes and trips which can be generated in
> netedit.
> As far as I understood, routes are needed to actually have traffic flow in
> the simulator and duarouter creates those routes from other files, f.e.
> from trip-files.
>
> I want to create random trips with randomTrips.py in netedit.
> The gui gives me two input fields for settings: output-trip-file and
> route-file.
>
> - Both of them offer the option to use the current route-file. When both
> are set to the same value (...\routes.rou.xml in my case) the script exists
> with an error message.
> - output-trip-file offers the filename to be "trips.trips.xml". When I
> click the select-file button, the file picker dialog however offers to save
> as *.rou.xml instead of *.trips.xml.
>
> This really confuses me where I need to put which file exactly.
> Could someone give me a hint which files I need to select there?
>
> [image: image.png]
>
> Thanks and kind regards
> --
> Mit besten Grüßen
> Andreas Lenhardt
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] randomTrips generation in netedit

2024-03-06 Thread Andreas Lenhardt via sumo-user
Hello,

I have some questions about routes and trips which can be generated in
netedit.
As far as I understood, routes are needed to actually have traffic flow in
the simulator and duarouter creates those routes from other files, f.e.
from trip-files.

I want to create random trips with randomTrips.py in netedit.
The gui gives me two input fields for settings: output-trip-file and
route-file.

- Both of them offer the option to use the current route-file. When both
are set to the same value (...\routes.rou.xml in my case) the script exists
with an error message.
- output-trip-file offers the filename to be "trips.trips.xml". When I
click the select-file button, the file picker dialog however offers to save
as *.rou.xml instead of *.trips.xml.

This really confuses me where I need to put which file exactly.
Could someone give me a hint which files I need to select there?

[image: image.png]

Thanks and kind regards
-- 
Mit besten Grüßen
Andreas Lenhardt
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user