The Indonesian Journal of Computer Science
Vol. 13 No. 5 (2024): The Indonesian Journal of Computer Science (IJCS)

Implementasi Algoritma Deep Q-Network (DQN) pada Lampu Lalu Lintas Adaptif Berdasarkan Waktu Tunggu dan Arus Kendaraan

Putra, Ridho Amanda (Unknown)
Syahbana, Yoanda Alim (Unknown)
Ananda (Unknown)



Article Info

Publish Date
29 Oct 2024

Abstract

Traffic congestion often occurs due to the alternating road closure system during repairs on one side of the road, forcing vehicles to take turns passing the unrepaired side. The use of temporary traffic lights with fixed timing is often ineffective because it does not account for the imbalance in traffic flow from both sides of the road. To address this issue, this study implements the Deep Q-Network (DQN) algorithm to optimize traffic light duration based on vehicle wait times and traffic flow. Testing was conducted using the SUMO simulator, focusing on the parameters of epoch, exploration rate, and discount factor that affect the performance of the DQN agent. The results show that DQN achieves optimal performance when configured with an exploration rate of 1 and a discount factor of 0.9, after training for 50 epochs and testing for 10 epochs. In this configuration, DQN proves to be more adaptive in managing traffic lights compared to conventional methods that use fixed timing for green and red lights. Although the fairness value of DQN is lower, it successfully reduces congestion and improves overall traffic efficiency.

Copyrights © 2024






Journal Info

Abbrev

ijcs

Publisher

Subject

Computer Science & IT Electrical & Electronics Engineering Engineering

Description

The Indonesian Journal of Computer Science (IJCS) is a bimonthly peer-reviewed journal published by AI Society and STMIK Indonesia. IJCS editions will be published at the end of February, April, June, August, October and December. The scope of IJCS includes general computer science, information ...