Design of real-time actuated control system for modern tram at arterial intersections based on logic rules. (December 2018)