Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] sumo-cadyts

Good afternoon,

The SUMO developers might have a better answer than I did.

But, in my opinion, if you have traffic count data, you could use routesampler.py to generate the simulation instead of starting with the matrix. In this case, the matrix can be generated at the end, using route2OD.
To obtain the initial routes for using routesampler, Jakob recommended (and it worked):
randomTrip route output with the --marouter option for obtaining initial routes.

However, if you need to actually start the simulation with the matrix, you need to be sure about the allocation method (all or nothing, balanced, etc.), which is typically a considerable challenge for multipath networks. I know that SUMO has a way to assign weights to certain edges to attract traffic, but I haven't used it yet. There are also calibrators, which seem to me to be additional to force traffic on a certain edge, but I'm honestly not sure about that (https://sumo.dlr.de/docs/Simulation/Calibrator.html) and I don't know how to use them.

Sds,

Pedro Oliveira
Em sex., 26 de set. de 2025 às 11:57, yun-pang.floetteroed--- via sumo-user <sumo-user@xxxxxxxxxxx> escreveu:

Hi,

 

Due to license reason Cadyts is not within the SUMO package. You should be able to download the respective jar-file at https://people.kth.se/~gunnarfl/cadyts.html  You can place it either in the sumo\bin directory alongside the other executable files, or in a different location. If you choose the latter, make sure to update the system path so that cadytsIterate.py can locate it. Just try it!

 

Regards,

Yun-Pang

Von: Rehab Abdellatif <eng.rehab.s@xxxxxxxxx>
Gesendet: Freitag, 26. September 2025 14:54
An: Flötteröd, Yun-Pang <yun-pang.floetteroed@xxxxxx>
Cc: sumo-user@xxxxxxxxxxx
Betreff: Re: [sumo-user] sumo-cadyts

 

Hi,

 

Thanks so much for your response. The document is very helpful.

I wanted to double check if I have to install Cadyts separately before running the script, or is it already part of sumo?

 

thanks,

Rehab

 

On Thu, 25 Sept 2025 at 17:19, <yun-pang.floetteroed@xxxxxx> wrote:

Hi,

 

Please check here: Cadyts - SUMO Documentation. It helps you to prepare the traffic measurement (observed counts) file and it also provides the information how to run cadytsIterate.py.

 

You might need to turn on the duarouter option --keep-all-routes to get route alternatives as many as possible. It should/could be helpful to increase the calibration accuracy, since cadyts only considers the routes in the given route alternative file.

You can choose either to keep the amount of the original traffic demand or to adjust it according to the provided traffic counts. For the latter one, you need to set the demand scale (-S), e.g. 1.5 or 2 . Trips will then be cloned accordingly. The cloned trips will be used by Cadyts according to traffic flows and given counts. If the demand scale is set to high, you may create unrealistic traffic jams in simulation.

 

Some related experiences gained when using cadytsIterate.py can be found SUMO_proceedings.pdf.

 

Regards,

Yun-Pang

 

Von: sumo-user <sumo-user-bounces@xxxxxxxxxxx> Im Auftrag von Rehab Abdellatif via sumo-user
Gesendet: Donnerstag, 25. September 2025 13:35
An: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Cc: Rehab Abdellatif <eng.rehab.s@xxxxxxxxx>
Betreff: [sumo-user] sumo-cadyts

 

Hi,

 

I'm trying to calibrate a model by using cadytsIterate.py but the information in the documentation isn't clear enough for me.

I have:

1. The original OD matrix, which is used to create a trip file.

2. A *.rou.alt.xml file which is the output of running duaIterate.py using the OD matrix from 1.

3. observed counts on some links, in the edge_data format here.

<data>

  <interval begin="0" end="3600" id="observed">

    <edge id="-807471204" entered="209" />

    <edge id="-305546124" entered="955" />

   </interval>

</data>

 

 

 

What I need to do is to adjust the demand such that it matches the provided observed counts to the best it can be. (trying to achieve GEH<5 in at least 85% of them)

 

Could you please provide some details on the right command/parameters and the correct formats of the data mentioned above?
Is it expected to change the original OD matrix? or it preserves the matrix and just redistributes the routes between the O-D?

 

thanks in advance,

Rehab

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Não contém vírus.www.avast.com

Back to the top