[sumo-user] vType in edge-output

2024-05-29 Thread Sasan Amini via sumo-user
Dear all,

I am trying to find out bus delay time at intersections. I am using
edge-output by adding vType="bus" to account for timeLoss of busses
only, however, I see no difference in the values which gives me the
impression that vType for edge-ouput has no effect. Could that be the
case?

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


[sumo-user] read additional tll.xml with sumolib

2024-03-25 Thread Sasan Amini via sumo-user
Dear all,

I am trying to read a network with additional tls program using sumolib.
Currently, sumolib imports only tllogic that is defined inside the bet.xml
file. Is there a function to let it import additional files too?

Best,
Sasan
___
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] NEMA controller issues in netconvert

2024-02-29 Thread Sasan Amini via sumo-user
I think I know why it happens: I am also passing the attribute
--tls.group-signals. If I remove that, then the ring and barierPhases
are also defined. Not sure if this is a bug or limited feature  that
has not been implemented yet.

Thanks,
Sasan

On Thu, Feb 29, 2024 at 11:06 AM Jakob Erdmann via sumo-user
 wrote:
>
> 1 We do have tests where ring and barrier params are created automatically 
> (see 
> https://sumo.dlr.de/extractTest.php?path=netconvert/import/XML/tl_types/NEMA).
>  Please provide example input where an invalid  NEMA controller is written to 
> the network.
> 2. This is the fallback if the existing guess-a-NEMA-controller code fails. 
> If you can provide an example input along with a definition of the expected 
> NEMA controller I can try to improve the code.
>
> regards,
> Jakob
>
> Am Mi., 28. Feb. 2024 um 14:11 Uhr schrieb Sasan Amini via sumo-user 
> :
>>
>> Dear all,
>>
>> I am trying to define all my traffic signals as a NEMA type but I am
>> facing two issues:
>> 1- Rings and barrierPhases are not automatically defined so I get an
>> error in SUMO complainging bout it.
>> 2- Some junctions seem to be "actuated" type even when I set
>> tls.default-type NEMA in netconvert (see attached screenshot)
>> Any suggestions how I could fix this?
>>
>> Thanks,
>> Sasan
>> ___
>> 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] vType attributes vs. vClass defaults

2024-02-27 Thread Sasan Amini via sumo-user
thanks. Another related question: if I don't specify vClass when
defining a vType, "passenger" class will be automatically assigned to
it. Am I understand this correctly?

On Tue, Feb 27, 2024 at 2:50 PM Jakob Erdmann via sumo-user
 wrote:
>
> No. user-defined attributes always take precedence.
>
> Am Di., 27. Feb. 2024 um 14:02 Uhr schrieb Sasan Amini via sumo-user 
> :
>>
>> Dear all,
>>
>> I have a question about vehicle type/class definition. If I define a vType 
>> as:
>> > speedFactor="0.90" emissionClass="PHEMlight/PC_G_EU4"
>> vClass="passenger"/>
>> would the attributes such as minGap and length etc. be overwritten by
>> the default ones from vClass=passenger?
>>
>> Best,
>> Sasan
>> ___
>> 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] vType attributes vs. vClass defaults

2024-02-27 Thread Sasan Amini via sumo-user
Dear all,

I have a question about vehicle type/class definition. If I define a vType as:

would the attributes such as minGap and length etc. be overwritten by
the default ones from vClass=passenger?

Best,
Sasan
___
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] Implementing Bus prioritisation

2024-02-21 Thread Sasan Amini via sumo-user
any chances you can point me to that branch? I am actually half way
through the logic, but didn't actually know how I can make sure of
this point you have noted below. I thought I could add another E1
detector after the intersection, but here seems to be more elegant
solution:

prolong until public vehicle has passed the default lane detector
(must use loop->collectVehiclesOnDet) -> this activates the default
phase-prolongation to ensure that the public vehicle enters the
intersection

On Wed, Feb 21, 2024 at 10:55 AM Jakob Erdmann via sumo-user
 wrote:
>
> We don't have any tools for this yet.
> It shouldn't be too hard to hack a python script that generates traffic light 
> xml with custom switch rules for prioritization.
> However, we also plan to add this as a direct feature 
> (https://github.com/eclipse-sumo/sumo/issues/9163), There was even some work 
> started in a branch that one might pick up on.
>
>
> Am Mi., 21. Feb. 2024 um 10:29 Uhr schrieb Sasan Amini via sumo-user 
> :
>>
>> Dear all,
>>
>> has anyone experience with implementing bus prioritisation on a
>> network level? The logic for one intersection is explained here:
>> https://sumo.dlr.de/docs/Simulation/Traffic_Lights.html#bus_prioritization
>> But my question is how can we scale this to a large network? Are there
>> already some tools available?
>>
>> Best,
>> Sasan
>> ___
>> 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] Implementing Bus prioritisation

2024-02-21 Thread Sasan Amini via sumo-user
Dear all,

has anyone experience with implementing bus prioritisation on a
network level? The logic for one intersection is explained here:
https://sumo.dlr.de/docs/Simulation/Traffic_Lights.html#bus_prioritization
But my question is how can we scale this to a large network? Are there
already some tools available?

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


[sumo-user] Segmentation fault NETCONVERT

2023-11-13 Thread Sasan Amini via sumo-user
Dear all,

I am using NETCONVERT to convert a Vissim network to SUMO on MacBook
(M2) using SUMO versions 1.18 and 1.19 but I get a segmentation fault
error. Does anyone know a fix for this?

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


[sumo-user] proj.4 string in netconvert

2023-08-04 Thread Sasan Amini via sumo-user
Dear all,
I am trying to use a proj.4 string for my netconvert (version 1.18)
from OSM to SUMO but apparently it has no impact on the output. Is
this a bug or am I doing something wrong? I remember I have used it in
older versions of SUMO. This is how I use it:
netconvert --osm-files map.osm --proj "+proj=utm +zone=32 +ellps=GRS80
+towgs84=0,0,0,0,0,0,0 +units=m +no_defs" -o network.net.xml

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


[sumo-user] setting contPos=0 when using NETCONVERT

2023-07-20 Thread Sasan Amini via sumo-user
Dear all,

Does anyone know if there is a way to avoid creating internal
junctions while converting the network from osm.xml to net.xml? I want
to generate internal links but would like to have my connections
associated with just one internal link and not broken into segments at
internal junctions. It is possible to set contPos=0 in NETEDIT, but I
was wondering if there is a more elegant/automated way of doing this
directly when importing from OSM. The workaround that comes to my mind
is to generate PlainXML files and modify the connection file and
rebuild the network using NETCONVERT.


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