Hi Dom,
you can transform your trips from LonLat definition to Edges or Junctions with
duarouter. Another option is to use the SUMO tool
sumolib.
About Demand modeling, you can maybe
activitygen.
Regards,
Giuliana
Von: sumo-user <sumo-user-bounces@xxxxxxxxxxx> Im Auftrag von
Dom Newman
Gesendet: Freitag, 21. Mai 2021 02:00
An: sumo-user@xxxxxxxxxxx
Betreff: [sumo-user] Imitating a person moving from work to home
Hi, I have a network taken from OSM of a city and census data that i'm using that contains information on where people live and work. I'm creating a model to simulate rush hour traffic during these times.
I've read the documentation on persons and routes but can't find anything to easily create a population of persons that can move between a home position and a work position, not creating traffic while at this work or home position. I'm
not able to work with links as all my data is lat lon.
I've tried using a routes file similar to:
<vType id="car" vClass="passenger"/>
<vType id="bicycle" vClass="bicycle"/>
<trip id="0_0" depart="triggered" fromLonLat="54.779268, -1.553100" toLonLat="54.778274, -1.586564" type="car"/>
<trip id="0_1" depart="triggered" fromLonLat="54.778274, -1.586564" toLonLat="54.779268, -1.553100" type="car"/>
<person id="0" depart="0:0:0">
<stop until="0830" actType="h"/>
<ride lines="0_0" to="None"/>
<stop until="1700" actType="w"/>
<ride lines="0_1" to="None"/>
<stop until="2400" actType="h"/>
</person>
but this isn't valid as there is no lane for stop.
How can I create this behaviour in which agents move between locations defined in lat lon and are removed from traffic at these locations.