Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Change the volume of traffic flows in TraCI
  • From: <Maria.Armellini@xxxxxx>
  • Date: Mon, 27 Jul 2020 13:56:20 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • Ironport-phdr: 9a23:NlqKqR/hG7SEBf9uRHKM819IXTAuvvDOBiVQ1KB+0+gTIJqq85mqBkHD//Il1AaPAdyFrawcwLWO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhJiTanYL5+MBq6oAfNusILnYZsN6E9xwfTrHBVYepW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbfVwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8qFmQwLqhigaLT406GHZhNJtgqJHrhyvpBJ/zIzVYI6JO/RxcbjQfc8DRWpDQspdSzBNDp26YoASD+QBJ+FYr4zlqlYJqhWxHxOsBOL1xTNSmnL2x6g63PolEQHC3QwgGdMOvW/Jo9XxLqceS/26w7fRwDjFcvhZ1ivz5pLSfRA9vfGDQ6hwcczJxEQsFA7IikicpIzlMT6X2ekBr2eV4uRiWO6yhWMqqBx9ryWsy8oti4TEmIEYx0zA+Chkzos4Jt21RkB/bNO5EpZdsTyROYVxQsMnWW5ouSA6x6Ubtp6/ZigG0okoyADHZ/yBaYeH+QnsVOKPLjtimH1lf7e/iw6s/ke8zu38V9G00E1UoSZfldnMrH8N2hrO4caEUvtw5lqt1SqV2wzO6exJLlo4mbfVJpMi2LI8iJUevVzeEiL0hkn6lrGaelg+9uS16enqY6/qqoKaOoRpkA/xKL4ulda6AekgNwgOWHWU9vqk2b34+E35XK1KjvorkqnFqJzaJdoUpqq+AwJN3Igt7RixATim3toYmncJL1VLdgiZg4XmNF/BIe71Ae2+g1SqjDdr3erJMqf8DZXJNHjPiqrucqhl505dzgo808xf6opJBr0dOv7/R0z8udPCAhMkPQG5wPzrBMty248GXGKAGK6ZMKfcsV+S4eIvJvGBaogPtzbnKvgq/eTigGMjmV8YY6ap2Z8XaHG+HvRnOEiWfH7sgs0bHWgXoAUyVPbqh0GaUT5Pe3ayWLox5iomCIKjCofPX52tgKef0yehBZBZeHxJClSNEXfwbIWLRe0AaCWIIs9uwXQ5U6O8QdohyQ22r129jKV4MazZ8SkZrYnukt9v6KrWnBA28DVySMCcyH2MSW9z2XgVQjhzwbtyux9AzEye25R1k+ANFcBP/+gbFUAlKoGawud+CsjpV0TGZNjOTV+nRtCvB3Y1T8ktwtkAZAFmBtClyw3Y0jD5P7hAw6eWAZtx77nRxVD8LMJ8023Lkq47gA91bNFIMDjyo6dl9gGVLpTMnkGdlqCrXagYxmjB+THQniK1oEhEXVsoAu3+VncFax6OoA=3D
  • Ironport-sdr: hMBu6/oVRH/R1oWK40KVYkadLumQ/S5O2Wb3piJF0ewsSDlx8gZoP7bcZbr9bi/ovdgt2J3nEa mEpsda1ebzlA==
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWYD50qvymxqwBekGvpE9jOp7sFakVL9RA///1TACABlJ7kA==
  • Thread-topic: [sumo-user] Change the volume of traffic flows in TraCI

Hi Reza,

you can try to define different route/flow files and call them from the cmd line with the option --route-files (see https://sumo.dlr.de/docs/sumo.html for all possible options). You can name the files with the number 1 to 5 at the end and can use the "i" value in your loop. For example "--route-files", "flows" + srt(i) + ".rou.xml"
Otherwise you can create different .sumocfg files with different routes/flows file or other parameters. For example "--c", "VEL" + srt(i) + ".sumocfg"

Maybe there is a better way to do what you want, but I can only think of this one.

Regards,
Giuliana

-----Original Message-----
From: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] On Behalf Of MohamadReza-Haghani
Sent: Donnerstag, 23. Juli 2020 17:12
To: sumo-user@xxxxxxxxxxx
Subject: Re: [sumo-user] Change the volume of traffic flows in TraCI

Hi Giuliana,

Thank you very much for your answer. What I am trying to do is not changing
the traffic flow in the middle of simulation. I wrote a loop for running the
simulation several times that you can see it here. 

<http://sumo-user-mailing-list.90755.n8.nabble.com/file/t374/Capture3.png> 


I was wondering to know is there any cmd command that I can add it in
"traci.start()" to change the traffic volume at the start of every
simulation.

Best,
Reza.



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
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