Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about edge/lane allowed vehicles #14864

Open
NoelGK opened this issue May 15, 2024 · 1 comment
Open

Question about edge/lane allowed vehicles #14864

NoelGK opened this issue May 15, 2024 · 1 comment

Comments

@NoelGK
Copy link

NoelGK commented May 15, 2024

Hi,
I wanted to ask if it is possible to allow / disallow vehicles in edges (or lanes) by emission class instead of by vehicle class. If not possible, is it possible to find a workaround, maybe to define new vechicle classes?

Thank you in advance.

SUMO-version: Eclipse SUMO sumo Version v1_20_0+0070-a67160a3527

operating system: ubuntu:20.04

@m-kro
Copy link
Contributor

m-kro commented May 16, 2024

That depends on how many combinations of emission class and vehicle class you actually need for your case, as the number of vehicle classes cannot be extended by the SUMO user. The purpose of vehicle classes is lane permissions and default parameter values of vehicle types (see doc).

Vehicle classes custom1 and custom2 are directly meant for user-defined semantics. If you need more categories, you could reuse some other vehicle classes for your purpose as well. Just keep in mind to overwrite default vehicle type parameter values you don't want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants