The vTypeDistribution approach only works if all the roads in your
simulation can be used by all vClasses in the distribution. Otherwise you
should use multiple randomTrips calls and add the option --vclass.
The option --trip-attributes should work just the way you wrote it.
On a general note:
Dear Jakob,
Thank you very much for helping!
I tried the second approach you mentioned before I asked. But when I tried it,
I have following addition xml file.
Could you help to clarify how to set type attribute? I tried randomTrips.py
use option --binomial 1 --period 2 --flows N
Am Mo., 25. Mai 2020 um 16:35 Uhr schrieb Raheleh Zarei <
raheleh.za...@gmail.com>:
> Yes, I already tried the --binomial and understand how it works. But
> because I need to create flow instead of trips, I have to use --flow option.
> I need to
Yes, I already tried the --binomial and understand how it works. But
because I need to create flow instead of trips, I have to use --flow option.
I need to create files, with a certain number of flows, fromJunction
toJunction, each with the probability of 0.5.
The command line I use is
python
This is, because you are setting the option --binomial 2.
The whole point of this option is to enable probabilistic departures with a
per-second probability > 1. (The probability option needs to be smaller
than 1 or you will get deterministic behavior). The probability is divided
by the value
I tried it with different numbers, that also creates two flow for the same
origin-destination pair. e.g. if I put 2 it gives me 4, and if I put 4 it
gives me 8 which is 4 pairs. each pair are identical but with a different
id.
On Mon, May 25, 2020 at 2:18
Thank you for your answer!
This is a good suggestion.
Best regards
Ellen
Från: sumo-user-boun...@eclipse.org För Jakob
Erdmann
Skickat: den 19 maj 2020 13:25
Till: Sumo project User discussions
Ämne: Re: [sumo-user] TraCI - Change vehicle-class specific speed limit for an
edge
This is not
If you wish to generated multiple types you either have to
- run randomTrips multiple times with a different type attribute (you also
need to set the --prefix option to ensure all vehicles have distinct ids).
- put the types into a vTypeDistribution and put the distribution id into
the type
Yes. The error happened when accessing the vehicle (pointer) of a previous
stage in order to retrieve the vehicle type id of that stage. Instead of
using a potentially stale pointer, the type id is now stored directly.
Am Mo., 25. Mai 2020 um 10:29 Uhr schrieb Tripplanner Mumbai <
Hi Jackob,
I want to point out to your comments at github link- "*when calling
traci.person.getNextStage(personID, nextStageIndex) with a negative index,
if the vehicle has already left the simulation, traci crashes when trying
access the vehicle type*".
You may be right that it happened due to
Thank you for the example files. The issue has been fixed (
https://github.com/eclipse/sumo/issues/7060)
You can download the updated sumo version* tomorrow* at
https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version
regards,
Jakob
Am Mo., 25. Mai 2020 um 07:50 Uhr schrieb
Dear Jacob,
Thank you very much for your helping!
I actually checked the webpage you sent before I asked. It mentions the case
with one vType: "/tools/randomTrips.py -n input_net.net.xml
--trip-attributes="type=\"myType\"" --additional-file type.add.xml
--edge-permission passenger"
I'm
With the latest development version you can use polyconvert option "--color
random"
regards,
Jakob
Am Sa., 23. Mai 2020 um 01:31 Uhr schrieb Sasan Amini :
> I have one shapefile containing more than 300 polygons from a visum
> network. When I use polyconvert to extract the polygons all of them
This is due to your use of --flow 1. If you want more origin-destination
pairs you need to increase the number of flows.
Am Mo., 25. Mai 2020 um 06:58 Uhr schrieb Raheleh Zarei <
raheleh.za...@gmail.com>:
> Hello,
>
> When I use --binomial with rondomTrip.py to create flows, it creates two
>
You can use traci.vehicle.getNextTLS() which returns tlsID, index, distance
and state for the upcoming traffic lights.
regards,
Jakob
Am Mo., 25. Mai 2020 um 00:01 Uhr schrieb Weronika :
> Dear all,
>
>
> I am a new sumo user, still on the way of discovering many things. I would
> be grateful if
15 matches
Mail list logo