eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.57k stars 1.44k forks source link

How to control traffic lights using Neuro-Fuzzy rules generated by ANFIS/MATLAB #11244

Closed erev-84 closed 2 years ago

erev-84 commented 2 years ago

Hello,

I designed a controller using the ANFIS toolbox of the Matlab program for to determine the green light duration with the Neuro-Fuzzy rules according to the number of vehicles and vehicle type as input parameters.

How can I use the Neuro Fuzzy rules that I designed and which are in ".fis" format to control the traffic lights in the simulation in SUMO? (Check Traffic Light.pdf file to see the content of the “.fis” file)

I would be very grateful if you could give me detailed information on how to carry out such a project with SUMO.

Traffic Light.pdf

Thanks in advance

m-kro commented 2 years ago

You can use the TraCI interface to interact with SUMO. There is also an interface to MATLAB called TraCI4MATLAB. There are several functions in TraCI to query information about vehicles and vehicle types. Please try out some TraCI tutorial to get familiar with it.