Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Imitating a person moving from work to home

If the stop is part of a <person> it won't interfere with anything anyway.
If the stop is part of a <vehicle> <flow> or <trip> then yes: parking will keep the vehicle of the road for the duration.

Am Fr., 21. Mai 2021 um 11:42 Uhr schrieb Dom Newman <dominicnewman022@xxxxxxxxx>:
A small update: Sumo version 1.9.2  duarouter only supports vehicles in the style

<trip id="0" depart="0.00" fromLonLat="13.522013,52.426592" toLonLat="13.535143,52.432031">>

The latest development version also supports

<trip id="0" depart="0.00" fromLonLat="13.522013,52.426592" toLonLat="13.535143,52.432031">
        <stop lon="13.53" lat="52.43" duration="10"/>
 </trip>

<person id="0" depart="0.00">
        <personTrip fromLonLat="13.522013,52.426592" toLonLat="13.535143,52.432031"/>
        <stop lon="13.535143" lat="52.432031" duration="30"/>
   </person>

Ah this seems perfect, thankyou. For the stop, if I set parking="true", could this imitate a behaviour in which person's enter a building and do not interfere with traffic for the duration they are parked?

On Fri, 21 May 2021 at 09:31, Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
A small update: Sumo version 1.9.2  duarouter only supports vehicles in the style

<trip id="0" depart="0.00" fromLonLat="13.522013,52.426592" toLonLat="13.535143,52.432031">>

The latest development version also supports

<trip id="0" depart="0.00" fromLonLat="13.522013,52.426592" toLonLat="13.535143,52.432031">
        <stop lon="13.53" lat="52.43" duration="10"/>
 </trip>

<person id="0" depart="0.00">
        <personTrip fromLonLat="13.522013,52.426592" toLonLat="13.535143,52.432031"/>
        <stop lon="13.535143" lat="52.432031" duration="30"/>
   </person>


Am Fr., 21. Mai 2021 um 09:41 Uhr schrieb <Maria.Armellini@xxxxxx>:

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.

 

thanks,

Dom Newman

_______________________________________________
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


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