[sumo-user] Units of lcStrategic, lcLookaheadLeft, lcAssertive, lcSpeedGain

2023-06-03 Thread Soumya Sharma via sumo-user
Hello,
I am trying to conduct a sensitivity analysis of car-following and
lane-changing parameters in SUMO for hypothetical freeway segments (basic
and weaving). I tried changing headway values (car-following) and
lcStrategic values (lane-changing) for a basic segment. I used lcStrategic
values of 500, 1000, and 1500 for trucks in simulations (length = 15.25m).
My trucks are using the CACC model.
The two metrics I am interested in are the travel rates (secs/ mi) by
vehicle type and the number of lane changes per vehicle type. I found that
there was no change in travel rate and a number of lane changes when I
changed the value of lcStrategic to 500, 1000, and 1500. I don't understand
why there was no effect of changing the parameter values.
Next, I want to look into other parameters like "lcLookaheadLeft",
"lcAssertive" and "lcSpeedGain".

*Question*: I would like to understand the units of the parameters
"lcStrategic" and "lcLookaheadLeft", "lcAssertive" and "lcSpeedGain".

The SUMO documentation says:

   1. lcStrategic: The eagerness for performing strategic lane changing.
   Higher values result in earlier lane-changing. default: 1.0, range [0-inf),
   -1 A value of 0 sets the lookahead-distance to 0 (vehicles can still
   change at the end of their lane) whereas -1 disables strategic changing
   completely.
   2. lcLookaheadLeft: Factor for configuring the strategic lookahead
   distance when a change to the left is necessary (relative to right
   lookahead). default: 2.0, range [0-inf)
   3. lcAssertive: Willingness to accept lower front and rear gaps on the
   target lane. The required gap is divided by this value. default: 1, range:
   positive reals
   4. lcSpeedGain: The eagerness for performing lane changing to gain
   speed. Higher values result in more lane-changing. default: 1.0, range
   [0-inf)

These definitions don't mention any units explicitly, are they all factors?
i.e. unitless or are some of them in meters and some unitless?

I was checking the code
for
LC2013 and found that look ahead distance (laDist) is being calculated as
follows:

laDist = myLookAheadSpeed * LOOK_FORWARD * myStrategicParam * (right ? 1 :
myLookaheadLeft);


If this is how the look-ahead distance for a vehicle is calculated when
making lane-changing decisions, then both lcLookaheadLeft and lcStrategic
specified will be used to calculate laDist but I don't know what what the
units of any of these parameters are. For laDist to be in distance units,
speed would be multiplied by time here.

Please share any information that is available as it would help me
understand my results better.

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


Re: [sumo-user] Fwd: Exclude vehicles from rerouting

2023-06-03 Thread Karam Moore
https://securedownloads.cpanel.net/latest-dnsonly

On 6/3/23, manos kampitakis  wrote:
> Thank you Jakob.
>
> Στις Σάβ 3 Ιουν 2023 στις 10:20 μ.μ., ο/η Jakob Erdmann <
> namdre.s...@gmail.com> έγραψε:
>
>> You can use setParameter(vehID, "device.rerouting.period", "0") to
>> disable
>> period rerouting.
>>
>> Am Sa., 3. Juni 2023 um 18:42 Uhr schrieb manos kampitakis <
>> mankampita...@gmail.com>:
>>
>>>
>>>
>>> -- Forwarded message -
>>> Από: manos kampitakis 
>>> Date: Σάβ 3 Ιουν 2023 στις 7:01 μ.μ.
>>> Subject: Exclude vehicles from rerouting
>>> To: 
>>>
>>>
>>> Hi all,
>>>
>>> Is there a way to deactivate a vehicle from rerouting? For example, I
>>> want vehicles to reroute each 5 mins only if they are placed in a
>>> certain
>>> area of my network. I tried to set the parameter "has.rerouting.devise"
>>> to
>>> "false" but threw an error: "Device removal is not supported for device
>>> of
>>> type 'rerouting' ". Is there another way to bypass this? Also, I think
>>> that
>>> it would be good to include this in a later version. Thanks in advance.
>>>
>>> Best regards,
>>> Manos
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>


-- 
Karam Jameel Moore
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] deactivate rerouting of vehicle

2023-06-03 Thread Karam Moore
https://docs.google.com/document/d/1DMIwPZc76EzyYNldfCUW8vx68SLjiXjlAzkx2_M8MOY/edit

On 6/3/23, Jakob Erdmann  wrote:
> You can use setParameter(vehID, "device.rerouting.period", "0") to disable
> period rerouting.
>
> Am Sa., 3. Juni 2023 um 19:12 Uhr schrieb manos kampitakis <
> mankampita...@gmail.com>:
>
>> Hi all,
>>
>> Is there a way to deactivate a vehicle from rerouting? For example, I
>> want
>> vehicles to reroute each 5 mins only if they are placed in a certain area
>> of my network. I tried to set the parameter "has.rerouting.devise" to
>> "false" but threw an error: "Device removal is not supported for device
>> of
>> type 'rerouting' ". Is there another way to bypass this? Also, I think
>> that
>> it would be good to include this in a later version. Thanks in advance.
>>
>> Best regards,
>> Manos
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>


-- 
Karam Jameel Moore
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Fwd: Exclude vehicles from rerouting

2023-06-03 Thread manos kampitakis
Thank you Jakob.

Στις Σάβ 3 Ιουν 2023 στις 10:20 μ.μ., ο/η Jakob Erdmann <
namdre.s...@gmail.com> έγραψε:

> You can use setParameter(vehID, "device.rerouting.period", "0") to disable
> period rerouting.
>
> Am Sa., 3. Juni 2023 um 18:42 Uhr schrieb manos kampitakis <
> mankampita...@gmail.com>:
>
>>
>>
>> -- Forwarded message -
>> Από: manos kampitakis 
>> Date: Σάβ 3 Ιουν 2023 στις 7:01 μ.μ.
>> Subject: Exclude vehicles from rerouting
>> To: 
>>
>>
>> Hi all,
>>
>> Is there a way to deactivate a vehicle from rerouting? For example, I
>> want vehicles to reroute each 5 mins only if they are placed in a certain
>> area of my network. I tried to set the parameter "has.rerouting.devise" to
>> "false" but threw an error: "Device removal is not supported for device of
>> type 'rerouting' ". Is there another way to bypass this? Also, I think that
>> it would be good to include this in a later version. Thanks in advance.
>>
>> Best regards,
>> Manos
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] deactivate rerouting of vehicle

2023-06-03 Thread Jakob Erdmann
You can use setParameter(vehID, "device.rerouting.period", "0") to disable
period rerouting.

Am Sa., 3. Juni 2023 um 19:12 Uhr schrieb manos kampitakis <
mankampita...@gmail.com>:

> Hi all,
>
> Is there a way to deactivate a vehicle from rerouting? For example, I want
> vehicles to reroute each 5 mins only if they are placed in a certain area
> of my network. I tried to set the parameter "has.rerouting.devise" to
> "false" but threw an error: "Device removal is not supported for device of
> type 'rerouting' ". Is there another way to bypass this? Also, I think that
> it would be good to include this in a later version. Thanks in advance.
>
> Best regards,
> Manos
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Fwd: Exclude vehicles from rerouting

2023-06-03 Thread Jakob Erdmann
You can use setParameter(vehID, "device.rerouting.period", "0") to disable
period rerouting.

Am Sa., 3. Juni 2023 um 18:42 Uhr schrieb manos kampitakis <
mankampita...@gmail.com>:

>
>
> -- Forwarded message -
> Από: manos kampitakis 
> Date: Σάβ 3 Ιουν 2023 στις 7:01 μ.μ.
> Subject: Exclude vehicles from rerouting
> To: 
>
>
> Hi all,
>
> Is there a way to deactivate a vehicle from rerouting? For example, I want
> vehicles to reroute each 5 mins only if they are placed in a certain area
> of my network. I tried to set the parameter "has.rerouting.devise" to
> "false" but threw an error: "Device removal is not supported for device of
> type 'rerouting' ". Is there another way to bypass this? Also, I think that
> it would be good to include this in a later version. Thanks in advance.
>
> Best regards,
> Manos
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] deactivate rerouting of vehicle

2023-06-03 Thread manos kampitakis
Hi all,

Is there a way to deactivate a vehicle from rerouting? For example, I want
vehicles to reroute each 5 mins only if they are placed in a certain area
of my network. I tried to set the parameter "has.rerouting.devise" to
"false" but threw an error: "Device removal is not supported for device of
type 'rerouting' ". Is there another way to bypass this? Also, I think that
it would be good to include this in a later version. Thanks in advance.

Best regards,
Manos
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Fwd: Exclude vehicles from rerouting

2023-06-03 Thread Karam Moore
https://securedownloads.cpanel.net/latest-dnsonly

On 6/3/23, manos kampitakis  wrote:
> -- Forwarded message -
> Από: manos kampitakis 
> Date: Σάβ 3 Ιουν 2023 στις 7:01 μ.μ.
> Subject: Exclude vehicles from rerouting
> To: 
>
>
> Hi all,
>
> Is there a way to deactivate a vehicle from rerouting? For example, I want
> vehicles to reroute each 5 mins only if they are placed in a certain area
> of my network. I tried to set the parameter "has.rerouting.devise" to
> "false" but threw an error: "Device removal is not supported for device of
> type 'rerouting' ". Is there another way to bypass this? Also, I think that
> it would be good to include this in a later version. Thanks in advance.
>
> Best regards,
> Manos
>


-- 
Karam Jameel Moore
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] Fwd: Exclude vehicles from rerouting

2023-06-03 Thread manos kampitakis
-- Forwarded message -
Από: manos kampitakis 
Date: Σάβ 3 Ιουν 2023 στις 7:01 μ.μ.
Subject: Exclude vehicles from rerouting
To: 


Hi all,

Is there a way to deactivate a vehicle from rerouting? For example, I want
vehicles to reroute each 5 mins only if they are placed in a certain area
of my network. I tried to set the parameter "has.rerouting.devise" to
"false" but threw an error: "Device removal is not supported for device of
type 'rerouting' ". Is there another way to bypass this? Also, I think that
it would be good to include this in a later version. Thanks in advance.

Best regards,
Manos
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Unable to generate vehicles in osmWebWizard

2023-06-03 Thread Jakob Erdmann
Quite strange! Below is what I would expect the command line window for
webwizard took like:

[image: grafik.png]


any errors that would cause "recovering" in the webbrowser should be listed
here.

Please try calling
python "%sumo_home%\tools\osmWebWizard.py" 2>&1 > wizardlog.txt

and then check the contents of wizardlog.txt

Am Fr., 2. Juni 2023 um 14:07 Uhr schrieb Florian Schnepf <
florian.schnep...@web.de>:

> Made a small video.
> But as I said, when I write a sumocfg file by hand, everything works.
>
> *Gesendet:* Freitag, 02. Juni 2023 um 13:43 Uhr
> *Von:* "Jakob Erdmann" 
> *An:* "Sumo project User discussions" 
> *Betreff:* Re: [sumo-user] Unable to generate vehicles in osmWebWizard
> I don't quite understand what you mean by opening and closing windows. Can
> you post the whole contents of the command line window in which you
> launched osmWebWizard.py?
>
> Am Fr., 2. Juni 2023 um 13:38 Uhr schrieb Florian Schnepf <
> florian.schnep...@web.de>:
>
>> The second window, that opens up, is duarouter. It just says "Success"
>> and the window closes. Then on top right in osmwebwizard it says "Recovcery"
>> I was confused that the sumo-gui didn't start up. But when I write a
>> .sumocfg file, it works with the vehicle routes.
>>
>> I called the osmwebwizard with python "%SUMO_HOME%/"tools/osmwebwizard.py
>> *Gesendet:* Freitag, 02. Juni 2023 um 11:26 Uhr
>> *Von:* "Jakob Erdmann" 
>> *An:* "Sumo project User discussions" 
>> *Betreff:* Re: [sumo-user] Unable to generate vehicles in osmWebWizard
>> Yes. (with a minor caveat explained at
>> https://github.com/eclipse/sumo/issues/8660).
>> If you launch webwizard from a command line you should see a bit more
>> output related to the vehicle generating failure. Please post this.
>>
>> Am Fr., 2. Juni 2023 um 09:25 Uhr schrieb Florian Schnepf <
>> florian.schnep...@web.de>:
>>
>>> Hello,
>>>
>>> I'm using SUMO 1.17.0 and python 3.11.3
>>>
>>> Generating a scenario without vehicles works fine with osmWebWizard. But
>>> if I add vehicles, a second command window opens and close immediately. In
>>> the browser it says first "Processing Cars" and then "Recovery".
>>> I reinstalled SUMO without success.
>>>
>>> Will I get the exact same result if I generate my traffic using
>>> randomtrips.py with option --fringe-factor and --insertion-density?
>>>
>>> Thanks in advance
>>>
>>> Regards,
>>> Florian
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>> ___ sumo-user mailing list
>> sumo-user@eclipse.org To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> ___ sumo-user mailing list
> sumo-user@eclipse.org To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Taxistands

2023-06-03 Thread Jakob Erdmann
- solution 1: traci.vehicle.getStopParameter(vehID, 0, 'started')  (you can
check whether the vehicle is currenlty stopped with vehicle.getStops
- solution 2: track the time at which vehicles entered the taxistand with
traci.simulation.getParkingStartingVehiclesIDList (then record the time and
vehicleID yourself for later reference).

Am Sa., 3. Juni 2023 um 00:04 Uhr schrieb Sharifullah Asady <
sharif.as...@tum.de>:

> Hi Jakob,
>
> Many thanks, this works perfectly as I wanted. Is there any possibility to
> get taxi parking time?
>
> I am modelling taxis, that are dispatched from taxistands (in my case,
> parking areas are defined as taxistands). Now, I need to dispatch the taxi
> that has arrived earlier to taxistand or has spent more time parking. I
> tried to check if the traci.parkingarea.getVehicleIDs(stopID) could give me
> parked taxis according to their parking time but unfortuntely that is not
> the case.
>
> Many thanks and have a great weekend.
>
> Best,
> Sharif
> --
> *From:* sumo-user  on behalf of Jakob
> Erdmann 
> *Sent:* Tuesday, May 30, 2023 4:57:30 PM
> *To:* Sumo project User discussions
> *Subject:* Re: [sumo-user] Taxistands
>
> The latest development version (starting with v1_17_0-575) contains
> experimental support for taxi stands.
> See https://sumo.dlr.de/docs/Simulation/Taxi.html#idle_behavior
> You can obtain a test case at
> https://sumo.dlr.de/extractTest.php?path=sumo/devices/taxi/idling/taxistand/10persons
>
> regards,
> Jakob
>
> Am Fr., 26. Mai 2023 um 12:09 Uhr schrieb Sharifullah Asady <
> sharif.as...@tum.de>:
>
>> Hello Dear,
>>
>>
>> I want to simulate taxis using SUMO. As we know that taxis have specific
>> taxistands to park and wait for customer requests and also after dropping
>> the customer they must return back to their taxistand. So, there is any
>> possibility to have taxistands.
>>
>>
>> Maybe it is possible to use ParkingAreas as taxistands but then how guide
>> taxis to go to the parkingareas after they drop the customer and also
>> currently, we have to define a duration or time that the vehicle should
>> stay in the parking area but for taxis we don't know the time as it is
>> dependent on requests arrival.
>>
>>
>> Many thanks for the suggestions and feedback.
>>
>>
>> best regards,
>>
>> Sharif
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user