Научная статья на тему 'Simulation model of an intelligent transportation system for the “smart city” with adaptive control of traffic lights based on fuzzy clustering'

Simulation model of an intelligent transportation system for the “smart city” with adaptive control of traffic lights based on fuzzy clustering Текст научной статьи по специальности «Медицинские технологии»

CC BY-NC-ND
96
23
i Надоели баннеры? Вы всегда можете отключить рекламу.
Журнал
Бизнес-информатика
ВАК
RSCI
Ключевые слова
intelligent transportation system / “smart city” / “smart traffic lights” / agent-based modeling / adaptive control / fuzzy clustering / AnyLogic

Аннотация научной статьи по медицинским технологиям, автор научной работы — Armen L. Beklaryan, Levon A. Beklaryan, Andranik S. Akopov

This article presents a new simulation model of an intelligent transportation system (ITS) for the “smart city” with adaptive traffic light control. The proposed transportation model, implemented in the AnyLogic, allows us to study the behavior of interacting agents: vehicles (V) and pedestrians (P) within the framework of a multi-agent ITS of the “Manhattan Lattice” type. The spatial dynamics of agents in such an ITS is described using the systems of finite-difference equations with the variable structure, considering the controlling impact of the “smart traffic lights.” Various methods of traffic light control aimed at maximizing the total traffic of the ITS output flow have been studied, in particular, by forming the required duration phases with the use of a genetic optimization algorithm, with a local (“weakly adaptive”) switching control and based on the proposed fuzzy clustering algorithm. The possibilities of optimizing the characteristics of systems for individual control of the behavior of traffic lights under various scenarios, in particular, for the ITS with spatially homogeneous and periodic characteristics, are investigated. To determine the best values of individual parameters of traffic light control systems, such as the phases’ durations, the radius of observation of traffic and pedestrian flows, threshold coefficients, the number of clusters, etc., the previously proposed parallel real-coded genetic optimization algorithm (RCGA type) is used. The proposed method of adaptive control of traffic lights based on fuzzy clustering demonstrates greater efficiency in comparison with the known methods of collective impact and local (“weakly adaptive”) control. The results of the work can be considered a component of the decision-making system in the management of urban services.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «Simulation model of an intelligent transportation system for the “smart city” with adaptive control of traffic lights based on fuzzy clustering»

DOI: 10.17323/2587-814X.2023.3.70.86

Simulation model of an intelligent transportation system for the "smart city" with adaptive control of traffic lights based on fuzzy clustering

Armen L. Beklaryan a' b

E-mail: [email protected]

Levon A. Beklaryan b O

E-mail: [email protected]

Andranik S. Akopov b ©

E-mail: [email protected]

a HSE University Address: 20, Myasnitskaya Street, Moscow 101000, Russia

b Central Economics and Mathematics Institute, Russian Academy of Sciences Address: 47, Nakhimovsky Prospect, Moscow 117418, Russia

Abstract

This article presents a new simulation model of an intelligent transportation system (ITS) for the "smart city" with adaptive traffic light control. The proposed transportation model, implemented in the AnyLogic, allows us to study the behavior of interacting agents: vehicles (V) and pedestrians (P) within the framework

of a multi-agent ITS of the "Manhattan Lattice" type. The spatial dynamics of agents in such an ITS is described using the systems of finite-difference equations with the variable structure, considering the controlling impact of the "smart traffic lights." Various methods of traffic light control aimed at maximizing the total traffic of the ITS output flow have been studied, in particular, by forming the required duration phases with the use of a genetic optimization algorithm, with a local ("weakly adaptive") switching control and based on the proposed fuzzy clustering algorithm. The possibilities of optimizing the characteristics of systems for individual control of the behavior of traffic lights under various scenarios, in particular, for the ITS with spatially homogeneous and periodic characteristics, are investigated. To determine the best values of individual parameters of traffic light control systems, such as the phases' durations, the radius of observation of traffic and pedestrian flows, threshold coefficients, the number of clusters, etc., the previously proposed parallel real-coded genetic optimization algorithm (RCGA type) is used. The proposed method of adaptive control of traffic lights based on fuzzy clustering demonstrates greater efficiency in comparison with the known methods of collective impact and local ("weakly adaptive") control. The results of the work can be considered a component of the decision-making system in the management of urban services.

Keywords: intelligent transportation system, "smart city", "smart traffic lights", agent-based modeling, adaptive control, fuzzy clustering, AnyLogic

Citation: Beklaryan A.L., Beklaryan L.A., Akopov A.S. (2023) Simulation model of an intelligent transportation system for the "smart city" with adaptive control of traffic lights based on fuzzy clustering. Business Informatics, vol. 17, no. 3, pp. 70-86. DOI: 10.17323/2587-814X.2023.3.70.86

Introduction

Currently, there is an increase in the need for the design and implementation of intelligent transport systems (ITS) for a "smart city" due to the ever-increasing traffic, causing the formation of multiple traffic jams. At the same time, one of the most promising directions of the ITS evolutionary development is the use of "smart traffic lights" that analyze the dynamics and structure of traffic and pedestrian flows [1].

Various approaches to rational traffic light management are known, in particular, based on information exchange [2] using machine learning methods with reinforcement [3] based on mixed integer programming [4, 5], using genetic and swarm optimization algorithms [6-8], as well as artificial neural networks (ANS), fuzzy logic, clustering and adaptive control for the ITS [11-13].

To study the behavior and optimize the characteristics of the ITS, various combined approaches are used, for example, agent-based and discrete-event modelling methods supported in AnyLogic [14, 15], joint control of traffic lights and vehicle trajectories [16], adaptive control based on a predictive model and reinforcement learning [17]. At the same time, most of these approaches are used for ITS with a simplified configuration, for example, for two consecutive intersections [15], one intersection consisting of two roads, etc. [17]. Various scenarios that determine the periodic dynamics of interacting transport and pedestrian routes are not considered.

As a rule, significant difficulties arise when managing the characteristics of the ITS with a more complex geometry of the "Manhattan Lattice" type [18, 19]. In such an ITS, inconsistent control of the states of at least one traffic light, as a rule, leads to a change in vehicle speed and traffic density on all connected

routes. At the same time, in order to maximize the output traffic flow, it is necessary to effectively manage traffic lights, ensuring periodic prioritization between vehicles and pedestrians. So, for example, when a significant number of people gather at a regulated pedestrian crossing, the inclusion of a traffic light permitting signal is justified (a similar approach, in particular, has already been successfully applied in the street road network of some cities in Austria). At the same time the main purpose of "smart traffic lights" is to monitor traffic flows and select the optimal time points for switching control signals. The greatest difficulties in managing traffic flows are caused by the effect of "wave speed reduction" [20], when, as a result of a vehicle braking at a traffic light, all subsequent drivers inadvertently seek to increase the safe distance, contributing to the formation of traffic congestion. Therefore, it is necessary to study the heterogeneous spatial dynamics of agents and use data on the structure of traffic and pedestrian flows for adaptive traffic light control.

In this article, we propose a new simulation model of heterogeneous traffic flows in a "smart city" with adaptive traffic light behavior control based on fuzzy clustering. Within the framework of such a model, individual decisions on switching traffic light control

signals are based on a fuzzy assessment of the traffic situation, including the evolutionary dynamics of both traffic and pedestrian flows (i.e. with equal priority in relation to cars and pedestrians). At the same time, an important task is solved to maximize the total traffic of the output stream under various scenarios, in particular, for the ITS with spatially homogeneous and periodic flow characteristics.

The scenarios presented in the paper, the corresponding optimal controls, as well as, in general, the proposed universal simulation model with the possibility of further modification of the studied geometry of intersections, as the authors see, can be considered to be an element of an integrated decision-making system in the management of urban services.

1. Description of the model

A key fragment of a multi-agent transport system of the Manhattan Lattice type is considered, consisting of four interconnected nodes-intersections that allow arbitrary change of vehicle directions, i.e. movement in a straight line, turns to the left and right, as well as a U-turn and movement in the opposite direction (Fig. 1).

W

crossroads "smart" traffic lights crosswalks

vehicle flows

pedestrian flows

S

Fig. 1. General scheme of a multi-agent transport system of the Manhattan Lattice type with controlled traffic at pedestrian crossings.

N

E

Earlier, in [18, 19], the dynamics of traffic flows in Manhattan Lattice class systems was examined and various ways of their optimization were proposed, mainly based on the management of vehicle routes, i.e. the search and assignment of optimal routes for each agent-vehicle [18], including using genetic algorithms [19]. At the same time, one of the important ways to reduce the load of the ITS is to improve the manoeuvrability of the vehicle, including by choosing the least loaded traffic lanes, the determination of which is implemented using the fuzzy clustering algorithm [21, 22]. The existing methods of improving traffic flow are implemented mainly for unmanned vehicles (UVs), which can be "assigned" the optimal route depending on the current situation. The spatial dynamics of conventional vehicles (CVs) is most influenced by "smart traffic lights" that regulates the movement of traffic and pedestrian flows. In particular, they make it possible to effectively redistribute vehicle flows at intersections and pedestrian crossings, preventing the formation of traffic congestion.

Such traffic jams are formed mainly as a result of the "wave speed reduction." first studied in [20] and illustrated in Fig. 2. When braking a vehicle, for example, at the stop line of an adjustable pedestrian crossing or in front of the nearest obstacle in the form of another vehicle (Fig. 2), the car following it, as a rule, will brake harder in order to maintain a safe distance by increasing the radius of his personal space, due to the psychological characteristics of the driver's reaction. Further, the effect of an increase in the "safe" distance ("expansion" of personal space) spreads along the chain, reducing the flow rate as you move away from the original source of congestion (traffic lights), up to a complete stop.

To model the spatial dynamics of agents within the ITS (vehicles and pedestrians), systems of finite-difference equations with a variable structure can be used [21, 23]. This allows one to consider various scenarios of interaction of vehicles with each other and with the external environment (such as V2V, V2P, V2I, etc.) and the influence of the radius of each agent's personal space.

.......

.......

8

•• »

S

Fig. 2. Illustration of the effect of "wave speed reduction" in a road network with an adjustable pedestrian crossing.

Here is a brief formal description of the developed simulation model of vehicle movement, considering the influence of "smart traffic lights" regulating traffic and pedestrian traffic within the ITS.

Here,

T = {t0, t1, ..., |T|} is the set of time moments (in minutes), |T | is the total number of time moments; t0 e T, t|T | e T are initial and final moments of time;

L = |/0, l1, ..., llL|} is the set of indices of "smart traffic lights", where|L | is the total number of "smart traffic lights";

s,(tk-1) e {1, 2, 3}, /e L are the states of the phase of the l-th "smart traffic light" at the moment tk-1 (tk-1 e T): si (tk-i) = 1 is the prohibiting (for agents-vehicle) traffic light signal ("red"), sl (tk-1) = 2 is the warning signal of the traffic light ("yellow"), s/ (tk-1) = 3 is the permitting (for agents-vehicle) traffic light signal ("green");

{r/1, ra, t/3} e T, l e L is the duration of the phases of the l-th "smart traffic light" (in seconds) (control parameter of the model);

Tt is the minimum required (to ensure safe traffic) duration of the main phase ("red" or "green") for "smart traffic lights" (in seconds) (control parameter of the model);

{p(tk-i), V(tk-1)} is the total number of pedestrians and vehicles, respectively, located in the monitoring zones of the /-th "smart traffic light" at the moment

tk-i (4-1 e T);

A^t-i)} is the total number of vehicles in clusters and the average inter-cluster distance calculated using the fuzzy clustering algorithm for agents located in the monitoring zones of the /-th smart traffic light at the momenttk-1 (tk-1 e T);

8/, / e L is the threshold ratio between the number of pedestrians at the crossing regulated by the /-th smart traffic light and the total number of agent-vehicles planning to move this crossing (in any direction), at which it is necessary to turn on the traffic light permitting signal (control parameter of the model);

av / e L is the coefficient of significance of the average inter-cluster distance (for vehicles), estimated using the fuzzy clustering algorithm, when controlling traffic flows regulated by the /-th smart traffic light (control parameter of the model);

The phase status of the /-th "smart traffic light" (/ e L) at the moment tk (tk e T) is set up according to the following rules:

1, if I, II, or III is true,

2, if IV is true,

3, ifV, VI, or VII is true,

(1)

under conditions:

(tk <4-i + Ti and s,(tk-i) = 1) or (tk > tk_i + ra+ + rB and s,(tk-1) = 3 with the first method of controlling the duration of phases, based on the collective impact on traffic lights;

n- ((tk < tk-i + Ti and S (tk-i) = 1) or (tk > tk-i + rn+ + tB and s, (tk-1) = 3)) or

PShA

> 8l and st (tk j ) = 3 and tk > tkA + ft

with the second method of controlling the duration of phases based on local ("weakly adaptive") control of traffic light switching, considering the prioritization of pedestrian traffic;

III((tk < tk-1 + t, i and s, (tk-i) = 1) or

(tk > tk-1 + T12+ T,3 and S,(tk-1) = 3))or

^MAM"

->8, and = 3 andi,> tk_, + i,

with the third (adaptive) method of controlling the duration of phases based on the fuzzy clustering algorithm, considering the prioritization of pedestrian traffic;

IV.((tk > tk-i + T/i and s,(tk-i) = 1) or (tk > 4-1 + T/3 and S (tk-1) = 3)) or (tk < tk-1 + t2 and s (tk-1) = 2), which means that one of the main traffic lights ("red" or "green") has expired or continues to operate, the previously included warning ("yellow") signal;

V. (tk < tk-i + T/3 and S(tk-i) = 3) or (tk > tk-i + t/2 + T/i and s/ (tk-1) = 1) with the first method of controlling the duration of phases, based on the collective impact on traffic lights;

VI-((tk < tk-1 + tb and s, (tk-1) = 3) or (tk > tk-1 + T,2 + Tl 1 and S,(tk-1) = 1)) or

< 8, and = 1 and tk> tk_l+fl

with the second method of controlling the duration of phases based on local ("weakly adaptive") control of traffic light switching, considering the prioritization of traffic flow traffic;

Mn.((iJk < tk-1 + t, 1 and s, (tk-1) = 3) or

(tk > tk-1 + T12 + Tl 1 and s,(tk-1) = 1)) or PA-Ù

-<8, and = 1 and tk>tk_l+Tt

with the third (adaptive) method of controlling the duration of phases, based on the fuzzy clustering algorithm, considering the prioritization of the trans -port stream traffic.

The total number of vehicles and pedestrians located in the monitoring zones of the /-th "smart traffic light" (/ e L) at the moment tk (tk e T) calculated with the

second method of local ("weakly adaptive") switching control is equal to

(2)

¡•=1

where

va(tk) =

[Uf da{tk)<Rn, [0, if du(tk)> Rn,

fl,if dn(tk)<Rn, [o,if d-u(tk)>Rl2,

(3)

where

I = { i1, i2, ..., i|7|} is the set of indices of agent-vehicles, where |I | is the total number of vehicles;

1= {ij, i2,..., i^} is the set of indices of agent-pedestrians, where |/| is the total number of pedestrians;

{Rn, Rc}, l e L are the radiuses of traffic monitoring zones for road and pedestrian traffic, respectively, for the l-th "smart traffic light" (control parameter of the model);

{dlt (tk), d^ (it)}, i e I, i e I, l e L is the distance from the i-th agent-vehicle and the i -th agent-pedestrian to the l-th "smart traffic light" at the momen tk (tke T).

The total number of vehicles in clusters and the average inter-cluster distance for traffic flows located in the monitoring zones of the l-th "smart traffic light" (l e L) at the moment tk (tk e T) calculated with the third method of adaptive switching control using the fuzzy clustering algorithm are equal

vA)=YLUhi m)=j^tid^x (4)

(=1 c,=l \^-/i\cl=lc,=l

where

Cl = { cn, cl2, ..., c |C |}, l e L is the set of cluster indices determined for the analysis of the traffic situation in the location area of the l-th "smart traffic light" using a fuzzy clustering algorithm, where |Cl| is the total number of clusters (control parameter of the model);

v. (t,), ieLieLleL is the total number of vehicles belonging to the cl-th cluster at the moment tk (tk e T);

dcS(tk), c,,c,eC;, c; l&L are pairwise distances between the centers of clusters belonging to the l-th "smart traffic light" at the moment tk (tk e T).

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

The spatial dynamics of vehicle agents and pedestrians can be modelled using systems of finite-difference equations with the variable structure, considering the regulatory impact of "smart traffic lights."

Here,

{x7 (tk), yn(tk)}, j^)}, i e I, i e I, l e L are co-

ordinates of the i-th agent-vehicle and the i -th agent-pedestrian located in the monitoring zone of the l-th "smart traffic light" at the moment tk (tk e T);

{v; (tk-1), Vr (tk-1)}, ie I, i e I is the preferred speed of the i -th agent-vehicle and the i -th agent-pedestrian at the moment tk1

(tk-1 ^ T);

{r. (tk-1), fr (tk-1)}, i e I, i e I, l e L are the radius of personal spaces of the i-th agent-vehicle and the i -th agent-pedestrian, the values of which depend on the density of the transport (pedestrian) flow consisting of agents that reduce their speed and are located in the direction of travel (see Fig. 2) at the moment

tk-1 (tk-1 e T);

{mtb (tk), rhrb (tk)}, i e I, i e I, b e I u I is the distance from the i-th agent-vehicle and the i-th agent-pedestrian to the nearest b-th agent-obstacle at the moment

tk-1 (tk-1 e T);

{Wi (tk-l), wí(tk-l)}, {q,(tk-l), q-t (tk-1)} e {-1, ^ 1}, ie L are parameters that determine the direction of movement of the i-th agent-vehicle and the i -th agent-pedestrian at the moment tk-1 (tk-1 e T):

w, (tk-1), Wr(tk-1) = -1 when moving in the direction of tli e E-W (see Fig. 1),

wt (tk-1), Wr(tk-1) = 0 when moving in the direction of the N-S or S-N,

wt (tk-1), Wr(tk-1) = 1 when moving in the direction of th e W-E,

q. (tk-1), 9-(tk-1) = -1 when moving in the direction of tlie S-N,

ql(tk_1), q. (tk1) = 0 when moving in the direction of the W-E or E-W,

qt (tk1), q. (tk1) = 1 when moving in the direction of tlie S-N;'

A is the coefficient that specifies the ratio of the scales of real and model time.

The spatial dynamics of the i-th agent-vehicle (i e I) and the z'-th agent-pedestrian (i e I), located in the monitoring zone of the l-th smart traffic light (l e L) at the moment tk (tk e T) without taking into account internal manoeuvring (associated with overtaking, lane changes, etc.) is given by the following system of finite difference equations with a variable structure:

*A)=

y„(0=

y„(0=

if VIII is true, Xu{tk l), if IX is true,

y^ + q&JXv^), if VIII is true, y,.,^), if IX is true,

xn(tk j), if X is true,

if XI is true, y-a(tk_j), if X is true,

y&J + Q&JMfoJ,

if XI is true,

(5)

(6)

(7)

(8)

ie I, i e I, b e IuI, le L, where

VIII. si(tk_i) = 3 and m№ (tM) > (r (tM) + rt (tM)) for the nearest agent (beIu/), which means that the permissive (for agent-vehicles) traffic light signal ("green") is in effect and there are no obstacles in the form of other vehicles or pedestrians on the way of the z'-th agent-vehicle (i e I);

K.si (tk_i) = 1 and mtb (tk_J) < (r (i^) + rt (t^)) for the nearest agent (be Iu /), which means that a prohibi-tor (for agent-vehicles) traffic light signal ("red") is in effect, or there is an obstacle in the form of another vehicle or a pedestrian on the way of the i-th agent-vehicle (i e I);

X. si(tk_i) = 1 and mlb(tkJ>^{tkJ + rb(tkJ) for the nearest agent (b e I u /), which means that a pro-hibitor (for agent-vehicles) traffic light signal ("red") is in effect and there are no obstacles in the form of other pedestrians or vehicles on the way of the i -th agent-pedestrian (i e /);

XL^t^) = 1 or m^J^it.J + r^J) for the nearest agent (b e/u /), which means that the permissive (for agent-vehicles) traffic light signal ("green") is in effect, or there is an obstacle in the form of another pedestrian or vehicle on the way of the i -th agent-pedestrian (i e /).

The total traffic of the output stream that should be maximized is equal to

where

w=

jl, if {X^y^ztf, n [0, if {xt{tkJ,yt{tkJ)e{X, Y},

fl, if {Xjit^yiit^eiX, Y}, l0,if {Xjit^lyjii^siX, Y),

(9)

(10)

(11)

where

Wt-i), y^k-i)l, Wt_i), ^('t-i)}, i e I, ,r e_ I are coordinates of the i-th agent-vehicle and the i -th agent-pedestrian within the ITS at the moment tk1 (tk1 e T);

{X, Y} is the set of all coordinates of the ITS digital road network.

Then, it is possible to formulate the following optimization problem to be solved considering the chosen method of controlling "smart traffic lights."

Problem A. The need to maximize the total traffic of the output flow by the set of control parameters {rl1, ra,

^ Tp Sr Rlv Rlv\C,L a}:

max N

{t(1,t,2, ra, f,Rlv Rn, IC, |,o()

(12)

s.t.

T(1,Ti2,T(3,f(e[r, t],5,e[5,5], Rye [R^RJ,R2,e [i?2,if2],

\C,\e[C, C], a,e[q,a],

where {r, 5, i^, R^, C, a}, {¥, 5, Rv R2, C, a} are the lower and upper boundary values of the control parameters of the model.

To solve Problem A, the previously proposed genetic optimization algorithm of real coding (RCGA class) is used [20, 25], aggregated by target functionality with the developed simulation model of the transport system implemented in AnyLogic.

2. Fuzzy clustering algorithm

To assess the structure of traffic flow and adaptive control of "smart traffic lights", it is proposed to use the fuzzy clustering algorithm (Fuzzy C-means) [21, 22, 26, 27]. The choice of this algorithm is primarily due to the possibility of considering various characteristics of moving vehicles in the formation of clusters, in particular, density, speed, distance from the traffic light regulating traffic at the transition, etc. The inclusion of such characteristics in cluster analysis makes it possible to achieve maximum "likelihood" when assessing the structure of the traffic flow. Unlike classical algorithms, Fuzzy C-means does not assign an object unambiguously to any cluster, but compares each cluster with the probability of assigning observed objects to it, forming a so-called membership matrix.

The enlarged scheme of the proposed fuzzy clustering algorithm is shown in Fig. 3. An important difference between the developed algorithm and those previously known is that its key characteristics (for example, the number of clusters, the radius of the traffic monitoring zone, etc.) are calculated using a genetic optimization algorithm (RCGA class) as part of solving the main problem of maximizing output stream traffic. As a result, the results of fuzzy clustering directly affect the possibilities of finding optimal solutions for the ITS being studied.

Figure 3 uses the following notation:

♦ z e [0, 1] is the measure of fuzziness;

♦ M(k) is the membership matrix at the kth step of the algorithm, k = 1, 2, ..., |^T| where |^T| is the maximum number of iterations;

♦ e is a small parameter that is a criterion for the algorithm stopping.

Thus, the proposed fuzzy clustering algorithm is aggregated by the target functional (the total traffic of the ITS output stream), with the real-coded genetic algorithm (Fig. 3). RCGA uses heuristic crossing-over and mutation operators (for example, LX, SBX, SNUM, see [21, 24, 25]) to form new potential solutions with the best characteristics. The Fuzzy C-means algorithm was built into the ITS simulation model implemented in AnyLogic and is executed at each step of the model time, providing an assessment of the structure of the traffic flow located in the monitoring area of each "smart traffic light."

3. Software implementation of the model

The key fragment of the software implementation of the proposed ITS simulation model performed in the AnyLogic environment is shown in Fig. 4.

An important feature of the software implementation of the model (Fig. 4) is the combined use of discrete-event and agent methods, including those supported in the AnyLogic traffic library [28, 29]. In particular, elements of the carSource and pedSource types provide generation of new agents and their addition to the corresponding populations of vehicles and pedestrians, elements of the SelectOutput type (s1, s2 in Fig. 4b) are used to distribute traffic flow along possible routes when the vehicle reaches intersections; CarMoveTo and pedGoTo elements move vehicle agents and pedestrians to a given goal, according to their predefined characteristics (preferred speed, intensity of arrival, etc.); carDispose and pedSink ensure the removal of agents from the corresponding populations and the calculation of the output traffic.

4. Results of optimization experiments

Optimization experiments were carried out for the ITS with spatially homogeneous and periodic flow characteristics with three methods of controlling "smart traffic lights":

Fig. 3. Fuzzy clustering algorithm for adaptive traffic light control.

Fig. 4. Software implementation of the ITS simulation model in AnyLogic:

a) a diagram of a digital road network with "smart traffic lights" b) a fragment of a discrete-event model of the movement of agents-vehicles and pedestrians along specified routes.

a)

b)

♦ by forming the required duration of phases using a genetic optimization algorithm;

♦ using local ("weakly adaptive") switching control.

♦ based on the proposed fuzzy clustering algorithm.

For a system with spatially homogeneous flow characteristics, the intensity of arrival of agents and their preferred speeds are constants.

The intensity of the arrival of agents the ITS with periodic characteristics simulating the presence and absence of peak loads is calculated at each moment of time tk (tke T):

1,

truncnormal(0, a, 0, 0), if t.<-\T\,

* 41 1

ë,\î-\T\<tk<\\T\, 41 1 4

- 3i I

truncnormal(0, a, 0, 0), if t. > —\T\,

(13)

where

truncnormal(0, a, 0,0) is the random value of the intensity of the arrival of agents, set using a truncated normal distribution with the mean 0, standard deviation <7, lower and upper boundary values 0, 0, corresponding to the conditions of extreme traffic;

0 is the intensity of arrival corresponding to the conditions of normal traffic;

In a similar way, the average speeds of the agents are set. The main model assumptions (initial data) are presented in Table 1.

At the first stage, using the Monte Carlo type method [30], numerical experiments were carried out to assess the sensitivity of the target functional (the total traffic of the output stream) with respect to the values of the ITS control parameters with spatially homogeneous and periodic flow characteristics (Fig. 5).

It follows from Fig. 5 that the total traffic of the output stream is sensitive with respect to the values of the ITS control parameters, both with spatially homogeneous and periodic flow characteristics. At the same time, the most likely ranges of values of the total traffic of the output stream are 1800-1900 agents (vehicles and pedestrians).

Table 1.

Initial data of the simulation model

No. Model parameters Values

1 Length and width of roads, m. 155

2 Number of intersections 4

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

3 Distance between adjacent intersections, m. 65

4 Number of traffic lanes for each road 2

5 The width of the dividing strip, m. 2

6 The number of pedestrian crossings regulated by "smart traffic lights" 4

7 Simulation period, min. 20

8 The intensity of the arrival of vehicles and pedestrians to the ITS with spatially homogeneous characteristics at each entrance of the road network (agents per hour) vehicles pedestrians

500 1000

9 Preferred speed of vehicles and pedestrians within the ITS with spatially homogeneous characteristics (km/h for vehicles and m/s for pedestrians) 100 0.75

10 Parameters for calculating the intensity of arrival of vehicles and pedestrians to the ITS with periodic flow characteristics (agents per hour) O 500 1000

a 100 100

O 100 500

0 1500 1500

0 100 500

11 Parameters for calculating the preferred speed of vehicles and pedestrians within the ITS with periodic flow characteristics (km/h for vehicles and m/s for pedestrians) 0 45 1.3

a 10 0.5

0 20 1

0 60 1.5

0 100 1

Relative frequency of an observation 0.16 -............

0.12 --

0.08 -■■

0.04

Q

1-r—I—■ r I 1— I" I 1——I I I I —I-1-1-1-

1500 1600 1700 1800 1900 2000 2100 2200 2300 2400

Relative frequency of an observation 0.12 -+

0.04 -■■

0

1500 1600 1700 1800 1900 2000 2100 2200 2300 2400

Fig. 5. Estimation of sensitivity (probability density) of the total output stream traffic for the ITS: a) with spatially homogeneous and b) periodic flow characteristics.

a)

b)

Figure 6 shows the dynamics of convergence of the objective function obtained using the developed simulation model aggregated by the target functional with a genetic algorithm (GA).

The maximum possible values of the total output stream for the ITS with periodic flow characteristics are, on average, less than for the ITS with spatially homogeneous characteristics (Fig. 5). The obtained suboptimal values of the control parameters

Values' ranges of total output stream traffic (a number of agents)

Values' ranges of total output stream traffic (a number of agents)

of the model corresponding to the scenarios of the ITS implementation in an enlarged form discussed above are presented in Table 2.

It follows from Fig. 6 and Table 2 that the most promising way to control "smart traffic lights" is adaptive switching control based on fuzzy clustering. The proposed approach demonstrates its effectiveness even for the ITS with periodic flow characteristics, providing the best final value of the objective function.

Total traffic of the output stream (a number of agents, units)

2400 2300 2200 2100 2000 1900 1800 1700

Collective impact Local control Adaptive control

50

100

150

200

250

Integration of GA

a)

0

Total traffic of the output stream (a number of agents, units) 2300 -.........................................................................

2200

2100

2000 -

1900 —

1800 —

1700 r

0

Collective impact Local control Adaptive control

50

100

150

200

250

Integration of GA

Fig. 6. Dynamics of convergence of the objective function (total traffic of the output stream) for the ITS: a) with spatially homogeneous and b) periodic flow characteristics.

b)

Conclusion

This article presents a new simulation model of the intelligent transport system (ITS) of a "smart city" with adaptive traffic light control. We propose a model of the movement of a vehicle ensemble using systems of finite-difference equations with a variable structure, considering the regulatory effect of "smart traffic lights." To assess the structure of traffic flow and adaptive control of "smart traffic lights." a fuzzy clustering algorithm is proposed, the key characteristics of which are calculated using a genetic optimization algorithm (RCGA class) as part of solving the main task of maximizing output traffic. With the help of the devel-

oped simulation model, the possibilities of rational management of "smart traffic lights" are investigated, in particular, for ITS with spatially homogeneous and periodic characteristics. As a result, a model example demonstrates the greater efficiency of adaptive switching control based on fuzzy clustering.

Further research will be aimed at designing the large-scale agent-based model of the ITS "smart city" using the FLAME GPU. ■

Acknowledgments

The research was carried out based on a grant from the Russian Science Foundation (project No. 23-11-00080).

Table 2.

The obtained suboptimal values of the control parameters of the model

A system with spatially homogeneous flow characteristics A system with periodic flow characteristics

Collective impact

Total traffic, agents 2392 2125

Duration of traffic light phases, sec. first and second traffic lights red 11.327 22.675

green 25.816 18.061

third and fourth traffic lights red 10.136 18.768

green 11.933 103.071

all traffic lights yellow 1.098 1.874

Local management

Total traffic, agents 2166 2209

Minimum required duration of the main phase, min. 1.839 4.918

Radius of the traffic monitoring zone, m. 31.59 12.25

Radius of the pedestrian traffic monitoring zone, m. 19.13 2.56

Threshold ratio between the number of pedestrians at the crossing and the total number of vehicles 88.5 241.7

Adaptive management based on fuzzy clustering

Total traffic, agents 2357 2246

Minimum required duration of the main phase, min. 1.514 3.555

Radius of the traffic monitoring zone, m. 26.11 17.89

Radius of the pedestrian traffic monitoring zone, m. 20.21 25.01

Threshold ratio between the number of pedestrians at the crossing and the total number of vehicles (adjusted for inter-cluster distance) 162.5 255.1

Coefficient of significance of the average inter-cluster distance 0.602 1

Number of clusters 3 3

References

1. Li L., Wen D., Yao D. (2014) A survey of traffic control with vehicular communications. IEEE Transactions on Intelligent Transportation Systems, vol. 15, no. 1, pp. 425-432. https://doi.org/10.1109/TITS.2013.2277737

2. Tang C., Wei X., Hao M., Zhu C., Wang R., Chen W. (2018) Traffic signal phase scheduling based on device-to-device communication. IEEE Access, vol. 6, pp. 47636-47645. https://doi.org/10.1109/ACCESS.2018.2867553

3. Tong W., Pan Z., Liu K., Yali Y., Xiumin W., Huawei H., Wu D.O. (2020) Multi-agent deep reinforcement learning for urban traffic light control in vehicular networks. IEEE Transactions on Vehicular Technology, vol. 69, no. 8, pp. 8243-8256. https://doi.org/10.1109/TVT.2020.2997896

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

4. Lin W-H., Wang C. (2004) An enhanced 0-1 mixed-integer LP formulation for traffic signal control. IEEE Transactions on Intelligent Transportation Systems, vol. 5, no. 4, pp. 238-245. https://doi.org/10.1109/TITS.2004.838217

5. Gartner N.H., John D.C., Gabbay L.H. (1975) Optimization of traffic signal settings by mixed-integer linear programming. Transportation Science, vol. 9, no. 4, pp. 321-343. https://doi.org/10.1287/trsc.9A321

6. Davydov I., Tolstykh D., Kononova P., Legkih I. (2019) Genetic based approach for Novosibirsk traffic light scheduling. Proceedings of the 15th International Asian School-Seminar Optimization Problems of Complex Systems (OPCS), Novosibirsk, Russia, pp. 31-36. https://doi.org/10.1109/0PCS.2019.8880158

7. Turky A.M., Ahmad M.S., Yusoff M.Z.M., Sabar N R. (2009) Genetic algorithm application for traffic light control. Information Systems: Modeling, Development, and Integration. UNISCON 2009. Lecture Notes

in Business Information Processing, vol. 20. (eds. J. Yang, A. Ginige, H.C. Mayr, R.D. Kutsche). Berlin: Springer, Heidelberg, pp. 115-120. https://doi.org/10.1007/978-3-642-01112-2_12

8. García-Nieto J., Alba E., Carolina Olivera A. (2012) Swarm intelligence for traffic light scheduling: Application to real urban areas. Engineering Applications of Artificial Intelligence, vol. 25, no. 2, pp. 274-283. https://doi.org/10.1016/j.engappai.2011.04.011

9. Royani T., Haddadnia J., Alipoor M. (2013) Control of traffic light in isolated intersections using fuzzy neural network and genetic algorithm. International Journal of Computer and Electrical Engineering, vol. 5, no. 1,

pp. 142-146. https://doi.org/10.7763/IJCEE.2013.V5.682

10. Agramelal F., Sadik M., Hannani A.E., Moubarak Y. (2022) A traffic-aware street lighting system based

on fuzzy logic controller. Proceedings of the 2022 IEEE 18th International Colloquium on Signal Processing & Applications (CSPA), Selangor, Malaysia, pp. 132-137. https://doi.org/10.1109/CSPA55076.2022.9782045

11. Rashid H., Ashrafi M.J.F., Azizi M., Heydarinezhad M.R. (2015) Intelligent traffic light control based on clustering using vehicular ad-hoc networks. Proceedings of the 2015 7th Conference on Information

and Knowledge Technology (IKT), Urmia, Iran, pp. 1-6. https://doi.org/10.1109/IKT.2015.7288801

12. Sachan A., Kumar N. (2023) SDN control-enabled and time-quantum-driven max-pressure approach for intersection management in smart city. IEEE Systems Journal, vol. 17, no. 1, pp. 1694-1702. https://doi.org/10.1109/JSYST.2022.3211933

13. Marino F., Leccese F., Pizzuti S. (2017) Adaptive street lighting predictive control. Energy Procedia, vol. 111, pp. 790-799. https://doi.org/10.1016/j.egypro.2017.03.241

14. Makarov V.L., Bakhtizin A.R., Epstein J.M. (2022) Agent-based modeling for a complex world. Moscow: Scientific publications department, GAUGN. https://doi.org/10.18254/978-5-604-5843-5-4

15. Veremchuk N.S. (2022) Elements of simulation modeling in issues of traffic optimization. Vestnik kibernetiki, vol. 4, no. 48, pp. 23-28 (in Russian). https://doi.org/10.34822/1999-7604-2022-4-23-28

16. Agafonov A., Yumaganov A., Myasnikov V. (2023) Cooperative control for signalized intersections in intelligent connected vehicle environments. Mathematics, vol. 11, no. 6, 1540. https://doi.org/10.3390/math11061540

17. Myasnikov V.V., Agafonov A.A., Yumaganov A.S. A deterministic predictive traffic signal control model in intelligent transportation and geoinformation systems. Computer Optics, vol. 45, no. 6, pp. 917-925 (in Russian). https://doi.org/10.18287/2412-6179-C0-1031

18. Sarma S.S., Sinha K., Sub-r-pa C., Chakraborty G., Sinha B.P. (2021) Optimal distribution of traffic

in Manhattan road networks for minimizing routing-time. IEEE Transactions on Intelligent Transportation Systems, vol. 22, no. 11, pp. 6799-6820. https://doi.org/10.1109/TITS.2020.2994836

19. Akopov A.S., Beklaryan L.A., Beklaryan A.L. Simulation-based optimisation for autonomous transportation systems using a parallel real-coded genetic algorithm with scalable nonuniform mutation. Cybernetics

and Information Technologies, 2021, vol. 21, no. 3, pp. 127-144. https://doi.org/10.2478/cait-2021-0034

20. Sugiyama Y., Fukui M., Kikuchi M., Hasebe K., Nakayama A., Nishinari K., Tadaki S., Yukawa S. (2008) Traffic jams without bottlenecks - experimental evidence for the physical mechanism of the formation

of a jam. New Journal ofPhysics, vol. 10, no. 3, 033001. https://doi.org/10.1088/1367-2630/10/3/033001

21. Akopov A.S., Beklaryan L.A., Thakur M. (2022) Improvement of maneuverability within a multiagent fuzzy transportation system with the use of parallel biobjective real-coded genetic algorithm. IEEE Transactions on Intelligent Transportation Systems. vol. 23, no. 8. pp. 12648-12664. https://doi.org/10.1109/TITS.2021.3115827

22. Akopov A.S., Khachatryan N.K., Beklaryan L.A., Beklaryan A.L. (2020) Unmanned vehicle control system based on fuzzy clustering. Part 2. Fuzzy clustering and software implementation. Vestnik komp'iuternykh i informatsionnykh tekhnologii, vol. 17, no. 10(196), pp. 21-29. https://doi.org/10.14489/vkit.2020.10.pp.021-029

23. Akopov A.S., Beklaryan L.A. (2022) Simulation of rates of traffic accidents involving unmanned ground vehicles within a transportation system for the 'smart city'. Business Informatics, vol. 16, no. 4, pp. 19-35. https://doi.org/10.17323/2587-814X.2022.419.35

24. Herrera F., Lozano M., Verdegay J.L. (1998) Tackling real-coded genetic algorithms: Operators and tools for behavioural analysis. Artificial Intelligence Review, vol. 12, no. 4, pp. 265-319. https://doi.org/10.1023/A:1006504901164

25. Akopov A.S., Beklaryan L.A., Thakur M., Verma B.D. (2019) Parallel multi-agent real-coded genetic algorithm for large-scale black-box single-objective optimisation. Knowledge-Based Systems, vol. 174, pp. 103-122. https://doi.org/10.1016/j.knosys.2019.03.003

26. Bezdek J.C. (1974) Cluster validity with fuzzy sets. Journal of Cybernetics, vol. 3, no. 3, pp. 58-73. https://doi.org/10.1080/01969727308546047

27. Beklaryan A.L., Akopov A.S. (2016) Simulation of agent-rescuer behaviour in emergency based on modified fuzzy clustering. Proceedings of the 2016 International Conference on Autonomous Agents & Multiagent Systems (AAMAS'16). International Foundationfor Autonomous Agents and Multiagent Systems, Richland, SC, pp. 1275-1276.

28. Kuklova J. (2021) Highway modeling in anylogic for multi-agent approach to smart city management. Proceedings of the 2021 Smart City Symposium Prague (SCSP), Prague, Czech Republic, pp. 1-6. https://doi.org/10.1109/SCSP52043.2021.9447402

29. Oo T.M., Lupin S., Khaing M.T., Thu A. (2021) Using hybrid modeling for estimation of the efficiency

of service systems. Proceedings of the IEEE Conference of Russian Young Researchers in Electrical and Electronic Engineering (ElConRus), St. Petersburg, Moscow, Russia, pp. 2277-2280. https://doi.org/10.1109/ElConRus51938.2021.9396596

30. Metropolis N. (1987) The beginning of the Monte Carlo method. Los Alamos Science Special Issue, vol. 15, pp. 125-130.

About the authors

Armen L. Beklaryan

Cand. Sci. (Tech.);

Associate Professor, Department of Business Informatics, HSE University, 20, Myasnitskaya Street, Moscow 101000, Russia;

Senior Researcher, Laboratory of Social Modeling, Central Economics and Mathematics Institute, Russian Academy of Sciences, 47, Nakhimovsky Prospect, Moscow 117418, Russia;

Email: [email protected] ORCID: 0000-0001-5141-5140

Levon A. Beklaryan

Dr. Sci. (Phys.-Math.), Professor;

Chief Researcher, Laboratory of Dynamic Models of Economy and Optimization, Central Economics and Mathematics Institute, Russian Academy of Sciences, 47, Nakhimovsky Prospect, Moscow 117418, Russia;

E-mail: [email protected] ORCID: 0000-0001-5695-4450

Andranik S. Akopov

Dr. Sci. (Tech.), Professor; Professor of the Russian Academy of Sciences;

Chief Researcher, Laboratory of Dynamic Models of Economy and Optimization, Central Economics and Mathematics Institute, Russian Academy of Sciences, 47, Nakhimovsky Prospect, Moscow 117418, Russia;

E-mail: [email protected]

ORCID: 0000-0003-0627-3037

i Надоели баннеры? Вы всегда можете отключить рекламу.