Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] dfrouter doesn't generate vehicle definitions

 

 

 

 

 

Sorry that I didn't spot it first: Your measures file really has to follow the model in the docs closely. That means: semicolon (";") is the obligatory separator character and you need to name the columns exactly like shown in the documentation (in particular the detector column is named "Detector").

 

Best regards,

Mirko

 

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

Betreff: Re: [sumo-user] dfrouter doesn't generate vehicle definitions

Datum: 2024-10-04T12:49:02+0200

Von: "Rehab Shahin" <rehab.shahin@xxxxxxxxxx>

An: "Mirko Barthauer" <m.barthauer@xxxxxxxxxxx>

 

 

 

Hi,
 
yes, the file is created but it contains only route distributions, no vehicles are there.
I identified begin & end values (it's a daily report, 24 hour readings, so I set the begin to 0 and end to 86400), I also adjusted the time-step option (I set it to 900 as there is a 15 min interval between the readings)
unfortunately the problem still exists.
 
Is there something else I should take care of? the readings are aggregated into one csv file, time intervals in the measurement file are set in minutes (0,15,30,45,etc.) is that correct?

Rehab Shahin
Research Engineer ‑ Transport Modelling and Simulation
rehab.shahin@xxxxxxxxxx
+44(0) 20 3514 1170  |  +1 (929) 265‑5193
LinkedIn
Twitter
YouTube
This e-mail is to be treated as confidential and the information in it may not be used or disclosed except for the purpose for which it has been sent. If you have received it by mistake please let us know and delete it from your system. ​​​​E-mails are not secure and cannot be guaranteed to be error-free as they can be intercepted, amended, lost or destroyed, or contain viruses. 
Hadean Supercomputing Ltd, is registered in England with number 09808169 and has its registered office 9 Appold St, London EC2A 2AP, UK
On Fri, 4 Oct 2024 at 11:19, Mirko Barthauer <m.barthauer@xxxxxxxxxxx> wrote:

Hi,

 

below are some things to check:

  • Is the file det_rou_veh.rou.xml created at all?
  • Did you set an overall time interval using --begin / --end options? If yes, check it overlaps with the detector data.
  • Pay attention to the --time-step option (see docs). There is no automatic scaling using the implicit duration between two detector entries.

Best regards,

Mirko

 

 

 

 

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

Betreff: [sumo-user] dfrouter doesn't generate vehicle definitions

Datum: 2024-10-03T19:57:41+0200

Von: "Rehab Shahin via sumo-user" <sumo-user@xxxxxxxxxxx>

An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>

 

 

 

Hi,
 
I have readings form observation points and I want to use dfrouter to generate the routes and vehicles.
 
I have nine detectors, I created a detector file (a screenshot is attached), then I got the readings in the csv, adjusted the format so that it includes the detector id, time in minutes, avg. speed, and traffic volume. all detectors reading are combined in a single csv file. A sample is attached in a screenshot.
I ran the following command:
>dfrouter -n osm.net.xml -d add_detectors.add.xml -f  aggregated_meas.csv -o detector_routes.rou.xml --detectors-output det_out.xml --emitters-output  det_rou_veh.rou.xml
 
However the generated files include just routes and route distribution without vehicle definitions, a screenshot is attached. The generated detector file seems ok for me.
 
Can you help me with this? 
 
thanks,
Rehab
Rehab Shahin
Research Engineer ‑ Transport Modelling and Simulation
rehab.shahin@xxxxxxxxxx
+44(0) 20 3514 1170  |  +1 (929) 265‑5193
LinkedIn
Twitter
YouTube
This e-mail is to be treated as confidential and the information in it may not be used or disclosed except for the purpose for which it has been sent. If you have received it by mistake please let us know and delete it from your system. ​​​​E-mails are not secure and cannot be guaranteed to be error-free as they can be intercepted, amended, lost or destroyed, or contain viruses. 
Hadean Supercomputing Ltd, is registered in England with number 09808169 and has its registered office 9 Appold St, London EC2A 2AP, UK

 

 

 



Back to the top