Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] generating area-based demands from randomTrips.py

Hi Isik,

 

you can assign weights for every edge to be a source, destination or intermediate edge. Please read the randomTrips.py docs carefully on how to do that.

 

Best regards

Mirko

 

 

 

 

-----Original-Nachricht-----

Betreff: [sumo-user] generating area-based demands from randomTrips.py

Datum: 2023-07-12T10:23:15+0200

Von: "ISIK ILBER SIRMATEL via sumo-user" <sumo-user@xxxxxxxxxxx>

An: "sumo-user@xxxxxxxxxxx" <sumo-user@xxxxxxxxxxx>

 

 

 

Hi all,
 
I am doing research on MFD-based models, and I want to generate area-based demands from randomTrips.py.
For example, for the grid network given above (with all object IDs in R1 starting with R1, and the same with R2), I want randomTrips.py to generate trips with source edges chosen only from R2, and destination only from R1. Is there a way to do this (or something similar)? Thanks a lot in advance.
 
Best,
Isik Ilber Sirmatel

 



Back to the top