That actually makes sense :-) sorry for my incorrect answer. I just looked it up and did no detailed review and somehow expected vehicles to always have a (final) destination. Good to know this is possible!

On 26/09/2021 18:11, Jakob Erdmann wrote:
Hello,
having taxis stay in the network and continuously pick up more passengers is exactly what the taxi device is made for. You can certainly add your own algorithms via TraCI but you can also use some of the built-in algorithms for this without the need for doing your own programming.

regards,
Jakob

Am So., 26. Sept. 2021 um 16:59 Uhr schrieb Menno van der Woude <me...@codingconnected.eu <mailto:me...@codingconnected.eu>>:

    Hello Amanda,


    the term "scenario" may be used to indicate many things, but
    reading your email the most important element seems to be steering
    autonomous vehicles around the network. This is surely possible in
    SUMO, but you'll have to do a lot of things by yourself. SUMO does
    not (at least as far as I know) have the capability to model what
    you call "robot-taxis".


    There is support for taxis, see:
    https://sumo.dlr.de/docs/Simulation/Taxi.html
    <https://sumo.dlr.de/docs/Simulation/Taxi.html> but to have
    vehicles remain in the netwerk and pick up more passengers (ie.
    shared) will require you to study TraCI  (see
    https://sumo.dlr.de/docs/TraCI.html
    <https://sumo.dlr.de/docs/TraCI.html>) and steer those vehicles
    yourself. This will require you to study SUMO and TraCI, and do
    some (actually, I think quite some)  programming.


    For electric vehicles, see:
    https://sumo.dlr.de/docs/Models/Electric.html
    <https://sumo.dlr.de/docs/Models/Electric.html>


    Greets! Menno


    On 26/09/2021 06:27, Amanda Romano wrote:
    Hello everyone,

    I would like to thank the previous answer, it helped me to solve
    the problem add the option '--vclass passenger'

    I'm still a novice to SUMO. I have already created the network
    and routes with default vehicles in my simulation, but I would
    like to create scenarios by replacing some of the routes with
    another vehicle class (such as electric vehicle). Or substituting
    trips for classes of vehicles with a higher occupancy rate (such
    as taxis (with a group of people sharing) and robot-taxis (Shared
    Autonomous Vehicle)), with these trips being door-to-door and
    these vehicles do not leave the simulation. I'm doing some
    testing with a small O/D-matrix, but I haven't been able to
    create these scenarios on my network. Could someone help me or
    know any step-by-step tutorial for beginners? Mainly in relation
    to inserting autonomous vehicles into the network.

    I'm leaving again the step by step of what I did:

    0 - extract the network from openstreetmap (osm file - map.osm)
    I made the file with the data from the O/D matrix (OD_file.od)
    od2trips.config.xml
    duarcfg_file.trips2routes.duarcfg
    config_file.sumocfg

    1) Using netconvert, I converted the osm file to net.xml
    netconvert --osm-files map.osm -o map.net.xml

    2) Using Polyconvert, I converted the shapefile to a polygon file:
    polyconvert --net-file map.net.xml --shapefile-prefixes SHPFILE
    --shapefile.id-column ID --shapefile.add-param true
    --shapefile.fill false --shapefile.traditional-axis-mapping true
    -o SHPFILE.poly.xml --type taz

    3) I converted the polygon file to TAZ file (districts.taz.xml):
    python edgesInDistricts.py -n map.net.xml -t SHPFILE.poly.xml
    --vclass passenger

    4)Using od2trips, I created the trips:
    od2trips -c od2trips.config.xml -n districts.taz.xml -d
    OD_file.od -o od_file.odtrips.xml

    5)And using duarouter, I wanted to create the routes:
    duarouter -c duarcfg_file.trips2routes.duarcfg

    Thank you for your time and sorry for the inconvenience.

    _______________________________________________
    sumo-user mailing list
    sumo-user@eclipse.org  <mailto:sumo-user@eclipse.org>
    To unsubscribe from this list, 
visithttps://www.eclipse.org/mailman/listinfo/sumo-user  
<https://www.eclipse.org/mailman/listinfo/sumo-user>
    _______________________________________________
    sumo-user mailing list
    sumo-user@eclipse.org <mailto:sumo-user@eclipse.org>
    To unsubscribe from this list, visit
    https://www.eclipse.org/mailman/listinfo/sumo-user
    <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

Reply via email to