Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Joining two kinds of trips by duaiterate.py

If you copy the <vType> definition into the trips file, you don't need to deal with additional files. Alternatively, see https://sumo.dlr.de/docs/Tools/Assign.html#loading_vehicle_types_from_an_additional_file

Am Di., 24. Aug. 2021 um 11:44 Uhr schrieb ali mirzaei <alimrz222@xxxxxxxxx>:
- I did the first part of your answer and the attribute type was added to my trip file. 
- Do you mean vType definition must be added to the od2trips file we talked about so far?
  • <additional>
        <vType id = "emergency" vClass = "emergency" color = "white" />  
    </additional>

On Tue, Aug 24, 2021 at 12:36 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
no need for additional files:
- use od2trips option --vtype myEmergencyType
- after the trips are generated add a vType defintion to the top of the trips file.

Am Di., 24. Aug. 2021 um 09:59 Uhr schrieb ali mirzaei <alimrz222@xxxxxxxxx>:
I want to make it distinguished by its physical characteristics so that it could be traced clearly under the Dynamic User Assignment's condition.

On Tue, Aug 24, 2021 at 9:56 AM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
I don't understand how or why you intend to use an additional file for creating emergency trips.

Am Fr., 20. Aug. 2021 um 19:18 Uhr schrieb ali mirzaei <alimrz222@xxxxxxxxx>:
Would you give me any idea of loading the additional file which is needed to create the emergency.trips.xml? (How is it possible to use a sumo option while I am working with od2trips application?)
Best,Ali

On Fri, Aug 20, 2021 at 8:35 PM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
-t osm.passenger.trips.xml,emergency.trips.xml
where emergency.trips.xml is the output of od2trips for your emergency vehicles.

Am Fr., 20. Aug. 2021 um 16:35 Uhr schrieb ali mirzaei <alimrz222@xxxxxxxxx>:
Hi everyone,
In my scenario:
1- I am going to make an od2trip file including emergency vehicles their departure and arrival edges placed in taz0 and taz1, respectively.
2- Extra definition must be added to this trip.
3- At the same time, there is a background flow named osm.passenger.trips.xml  
4- I want to join these two trips and find the route for each vehicle by using duaiterate.py.
My current challenges are:
a) How must the additional file be loaded? (I know that it should be done by using sumo option --additional-files but, I don't have any idea of the process)
b) What is the file that the question mark should be replaced by (-t osm.passenger.trips.xml,?) in duaiterate.py?

Best, Ali

_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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