**Preface to "Intelligent Mobility in Smart Cities"**

Smart Cities seek to optimize their systems by increasing integration through approaches such as increased interoperability, seamless system integration, and automation. Thus, they have the potential to deliver substantial efficiency gains and eliminate redundancy. To add to the complexity of the problem, the integration of systems for efficiency gains may compromise the resilience of an urban system. This all needs to be taken into consideration when thinking about Smart Cities.

The transportation field must also apply the principles and concepts mentioned above. This cannot be understood without considering its links and effects on other components of an urban system. New technologies allow for new means of travel to be built, and new business models allow for the existing ones to be utilized. This Special Issue puts together papers with different focuses, but all of them tackle the topic of smart mobility.

> **Leon Rothkrantz, Miroslav Svitek, Ondrej Pribyl** *Editors*

## *Editorial* **Intelligent Mobility in Smart Cities**

**Ondrej Pribyl 1,\*, Miroslav Svitek <sup>2</sup> and Leon Rothkrantz <sup>3</sup>**


## **1. What Is a Smart City**

In recent years, the term "Smart Cities" has become popular in Europe and abroad. There are various definitions of the term, but none of them are generally accepted. IBM was the first technologically leading company to discuss the Smart City Initiative in 2008. They introduced first concept of a Smart City:

*"Cities are gaining greater control over their development, economically and politically. Cities are also being empowered technologically, as the core systems on which they are based become instrumented and interconnected, enabling new levels of intelligence. In parallel, cities face a range of challenges and threats to their sustainability across all their core systems that they need to address holistically. To seize opportunities and build sustainable prosperity, cities need to become smarter"* [1].

## According to IEEE [2],

*"A Smart City brings together technology, government and society to enable the following characteristics: a smart economy, smart mobility, a smart environment, smart people, smart living, and smart governance".*

The definition of European Commission, which promotes the general interests of the EU by proposing and enforcing regulatory compliance and implementing policies and the budget, is:

*"A smart city is a place where traditional networks and services are made more efficient with the use of digital solutions for the benefit of its inhabitants and business. A smart city goes beyond the use of digital technologies for better resource use and less emissions. It means smarter urban transport networks, upgraded water supply and waste disposal facilities and more efficient ways to light and heat buildings. It also means a more interactive and responsive city administration, safer public spaces and meeting the needs of an ageing population"* [3].

The last example of definition of Smart City is from Department for Business Innovation & Skills:

*"The concept is not static: there is no absolute definition of a smart city, no end point, but rather a process, or series of steps, by which cities become more "livable" and resilient and, hence, able to respond quicker to new challenges. Thus, a Smart City should enable every citizen to engage with all the services on offer, public as well as private, in a way best suited to his or her needs. It brings together hard infrastructure, social capital including local skills and community institutions, and (digital) technologies to fuel sustainable economic development and provide an attractive environment for all"* [4].

**Citation:** Pribyl, O.; Svitek, M.; Rothkrantz, L. Intelligent Mobility in Smart Cities. *Appl. Sci.* **2022**, *12*, 3440. https://doi.org/10.3390/ app12073440

Received: 10 March 2022 Accepted: 16 March 2022 Published: 28 March 2022

**Publisher's Note:** MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

**Copyright:** © 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/).

When we look at the definitions, several key concepts can be extracted. Such selection of the major principles is summarized below:

	- a. Improving quality of life;
	- b. Using resources more efficient;
	- c. Improving city sustainability;
	- d. Improving city resiliency and citizens' safety with focus on critical infrastructure.

Smart Cities seek to optimize their systems by increasing integration through approaches such as increased interoperability, seamless system integration, and automation. Thus, they have the potential to deliver substantial efficiency gains and eliminate redundancy. To add to the complexity of the problem, it shall be stated that the integration of systems for efficiency gains may on the other hand compromise the resilience of an urban system. This all needs to be taken into consideration when thinking about Smart Cities.

#### **2. How Is Mobility Changing within Smart Cities?**

The transportation field must also apply the principles and concepts mentioned above. This cannot be understood without considering its links and effects on other components of an urban system. For example, the links between urbanism and transportation (the so called land use–transportation cycle [5]), urbanism and energy management, and many others shall be taken into consideration. New technologies allow new means of travel to be built, and new business models allow existing ones to be utilized. There is a whole paradigm shift in this context from focusing on mobility (i.e., the ability to travel) and accessibility (i.e., the ability to participate in activities).

While we cannot discuss all of such trends and principles, an overview prepared by the author is provided in the Figure 1.

*Appl. Sci.* **2022**, *12*, x FOR PEER REVIEW 3 of 5

**Figure 1.** Overview of new trends and challenges within smart mobility (own source). **Figure 1.** Overview of new trends and challenges within smart mobility (own source).

#### **3. The Approach of This Special Issue 3. The Approach of This Special Issue**

This Special Issue puts together papers with different focuses, but all of them tackle the topic of smart mobility as defined and discussed above. This Special Issue puts together papers with different focuses, but all of them tackle the topic of smart mobility as defined and discussed above.

The topic of integration of mobility into the wider city perspective is addressed within the paper "Interdisciplinary Urban Tunnel Control within Smart Cities" [6]. The paper has two major contributions. First, it provides a systematic view of an urban road tunnel with a focus on the interfaces between the tunnel and the rest of the city and the way they are managed. A tool to consider a sustainable development of a tunnel (i.e., not only traffic flow parameters such as average speed but also environmental and societal characteristics) is provided. The second contribution is that it provides a new urban road tunnel control approach that follows the original methodology and systemic view described in the paper. If the tunnel is controlled autonomously, which corresponds to the current state of the art in many cities, the algorithm decides to close it based on only local parameters. However, the proposed new algorithm takes into consideration not only the traffic situation in the tunnel (as expressed by the parameter traffic density) but also the actual traffic situation within the city (as expressed by its level of service (LOS)). This al-The topic of integration of mobility into the wider city perspective is addressed within the paper "Interdisciplinary Urban Tunnel Control within Smart Cities" [6]. The paper has two major contributions. First, it provides a systematic view of an urban road tunnel with a focus on the interfaces between the tunnel and the rest of the city and the way they are managed. A tool to consider a sustainable development of a tunnel (i.e., not only traffic flow parameters such as average speed but also environmental and societal characteristics) is provided. The second contribution is that it provides a new urban road tunnel control approach that follows the original methodology and systemic view described in the paper. If the tunnel is controlled autonomously, which corresponds to the current state of the art in many cities, the algorithm decides to close it based on only local parameters. However, the proposed new algorithm takes into consideration not only the traffic situation in the tunnel (as expressed by the parameter traffic density) but also the actual traffic situation within the city (as expressed by its level of service (LOS)). This allows more environmentally, socially, and economically sustainable management of urban road tunnels.

lows more environmentally, socially, and economically sustainable management of urban road tunnels. The topic of city logistics using new and environmentally friendly travel modes is addressed in the paper "A Geometrical Structure-Based New Approach for City Logistics System Planning with Cargo Bikes and Its Application for the Shopping Malls of Budapest" [7]. In this paper, the authors provide a new geometrical-model-based way of thinking in organizing city logistics by the use of cargo bikes. Although cargo bikes are popular in many countries particularly in Asia, their usage in European cities is not common. A The topic of city logistics using new and environmentally friendly travel modes is addressed in the paper "A Geometrical Structure-Based New Approach for City Logistics System Planning with Cargo Bikes and Its Application for the Shopping Malls of Budapest" [7]. In this paper, the authors provide a new geometrical-model-based way of thinking in organizing city logistics by the use of cargo bikes. Although cargo bikes are popular in many countries particularly in Asia, their usage in European cities is not common. A new approach to managing city logistics is by clearly aiming to improve city sustainability. Within this paper, a model is provided to plan the location of cargo bikes within the capital of Hungary, i.e., Budapest.

Another contribution to the topic of city logistics is in the paper "A Multi-Criteria Decision-Making Approach for Ideal Business Location Identification" [8]. It searches for optimal placement of business within a city. This has a positive effect on the accessibility of activities, as discussed above, and can contribute, for example, to decreasing the number of miles traveled by vehicles, which is an important performance indicator. The paper focuses on the decision-making process and presents a hybrid of two techniques to solve the MCDM problem. The proposed approach is based on the AHP (Analytic Hierarchy Process) and TOPSIS (The Technique for Order of Preference by Similarity to Ideal Solution) approaches. The hybrid approach reduces the computational complexity and requires less manual effort, thus improving the efficiency and accuracy of the proposed approach. Given a set of candidate locations for a new business, the proposed approach ranks the candidates. Thus, the candidate locations with higher ranks are identified as suitable or ideal. Such a decision-making model has the potential to also be applied to other aspects of Smart Cities.

The focus on citizens through services is also one of the key objectives mentioned above. This is true especially when looking at seamless integration of various travel modes. The paper "Exploring Hybrid-Multimodal Routing to Improve User Experience in Urban Trips" [9] introduces a new hybrid-multimodal routing algorithm that evaluates different routes that combine different transportation modes. Hybrid-multimodal routes are route options that might consist of more than one transportation mode. The motivation to use different transportation modes is to avoid unpleasant trip segments (e.g., traffic jams, long walks) by switching to another mode. Another contribution of the paper is in the approach of how to deal with geo-located and anonymized data.

An improvement in the efficiency of transportation services is also enabled through the connectivity of various actors within the field. This belongs to the field of Cooperative Intelligent Transport Systems (C-ITS). The term refers to transport systems, where the cooperation between two or more ITS sub-systems (personal, vehicle, roadside, and central) enables and provides an ITS service that offers better quality and an enhanced service level compared to the same ITS service provided by only one of the ITS sub-systems. Today, pilot implementations of cooperative systems in European countries are being carried out. However, before they are put into full operation, they need to be tested, evaluated, and assessed. The paper "Methodology of Functional and Technical Evaluation of Cooperative Intelligent Transport Systems and Its Practical Application" [10] focuses on the latter two points, i.e., evaluation and assessment of the cooperative systems. For this purpose, a methodology was created that describes the procedure chosen in the evaluation and assessment of cooperative systems in the Czech Republic and a demonstration of its use by way of example. The methodology is focused on three main areas, which in this case are functional evaluation, user acceptance, and impact assessment.

The last paper of this Special Issue, "Comprehensive Analysis of Housing Estate Infrastructure in Relation to the Passability of Firefighting Equipment" [11], focuses on urban emergency management (i.e., resiliency). It provides the assessment and evaluation of the passability in densely populated parts of cities with multi-story housing estates in terms of the operation of the integrated rescue system (IRS) in the Czech Republic. The aim of the research is to minimize the arrival times in order to conduct the intervention as efficiently as possible. The presented problem is caused by the unsystematic development of housing estates and the emergence of secondary problems in the form of the inability of larger IRS vehicles to reach the place of intervention. The vision presented in this document presents a systematic approach to improve the serviceability of individual blocks of flats. The main aim is to ensure passability, even for the largest types of equipment such as fire engine ladders.

While this Special Issue does not solve the problem of mobility within Smart Cities, we believe the papers make an interesting contribution to the field of transportation.

**Institutional Review Board Statement:** Not applicable.

**Informed Consent Statement:** Not applicable.

**Data Availability Statement:** Not applicable.

**Acknowledgments:** Thanks are due to all the authors and peer reviewers for their valuable contributions to this Special Issue. The paper is a result of the research done in the project "Smart City–Smart Region—Smart Community"—project (No. CZ.02.1.01/0.0/0.0/17 048/0007435) financed by Czech Operational Programme "Research, Development and Education" for the implementation of the European Social Fund (ESF) and the European Regional Development Fund (ERDF).

**Conflicts of Interest:** The authors declare no conflict of interest.

## **References**


**Ondˇrej Pˇribyl \*, Pavel Pˇribyl and Miroslav Svítek**

Faculty of Transportation Sciences, Czech Technical University in Prague, Konviktská 20, 110 00 Praha 1, Czech Republic; pribyl@fd.cvut.cz (P.P.); svitek@fd.cvut.cz (M.S.) **\*** Correspondence: pribylo@fd.cvut.cz

**Abstract:** Nowadays, urban road tunnels are considered to be independent entities within a city. Their interactions with the rest of the city and vice versa are usually not considered and, if they are, are only considered in a limited way (for example, through the nearest traffic controller). Typically, only the traffic parameters and not the environmental impacts are considered. This paper has two major objectives. First, we provide a systemic view on a road urban tunnel. The major focus is on the interfaces between the tunnel and the rest of the city and the way they will be managed. We are providing a tool to take into consideration a sustainable development of a tunnel (i.e., not only traffic flow parameters such as average speed, but also environmental and societal characteristics). This model expresses the actual traffic situation in a monetary form (i.e., cost of congestions). The second objective is to provide a new road urban tunnel control approach that follows the original methodology and systemic view described in the paper. If the tunnel is controlled autonomously, which corresponds to the current state-of-the-art in many cities, the algorithm decides to close it based on only local parameters. However, the proposed new algorithm takes into consideration not only the traffic situation in the tunnel (expressed by the parameter traffic density), but also the actual traffic situation within the city (expressed by its level of service (LOS)). This allows more environmentally, socially and economically sustainable oriented road urban tunnel management. The described algorithm is demonstrated on a specific example of the tunnel complex Blanka in Prague.

**Keywords:** traffic control; urban tunnel; smart cities; integration

#### **1. Introduction**

A road tunnel is often denoted a complex system, since the documentation contains hundreds of pages and consists of several large sub-systems. To describe it, it is necessary to get together experts with various backgrounds including civil engineers, electrical engineers, and also environmentalists or traffic engineers. At the same time, the design of an urban road tunnel is based not only on the national or international standards and regulations, but also on mathematical and physical models and designers' experience. There is not a mandatory prescription on how to further split the tunnel into subsystems or how many and which processes must be implemented. For example, the tunnel's safety system involves at least the followings subsystems: SOS boxes, identification of dangerous goods through ADR (hazard identification number) code recognition, powered PA speakers, video-detection of pedestrians, accident or smoke detection, section speed control, and others. Each of them is composed by diverse facilities.

All of the above mentioned indicates that a tunnel is a dedicated and separated system. In this paper we highlight the importance of recognizing an urban tunnel as part of a city. There are many processes that are interconnected. As will be demonstrated, a tunnel control strategy influences traffic in the rest of the city.

The main problems of integration an urban tunnel into a (smart) city is the large number of processes, their specific features, and the complicated relationship between them which all lead to the increase complexity and create a high dimensionality problem making it difficult to share.

**Citation:** Pˇribyl, O.; Pˇribyl, P.; Svítek, M. Interdisciplinary Urban Tunnel Control within Smart Cities. *Appl. Sci.* **2021**, *11*, 10950. https:// doi.org/10.3390/app112210950

Academic Editor: Luís Picado Santos

Received: 29 October 2021 Accepted: 17 November 2021 Published: 19 November 2021

**Publisher's Note:** MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

**Copyright:** © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/).

The main contribution of this paper is in two aspects. First, the role of an urban road tunnel within a city is discussed. The topic of smart cities looks at quality of life and sustainability usually through better integration of their components [1]. A tunnel is, however, nowadays considered an independent entity. For this reason, we discuss the different dimensions of the interface between a tunnel and a city. We provide a target function as well as a mechanism to express the traffic situation in monetary terms. This allows better integration.

The second contribution of this paper is a new tunnel control algorithm based on the systemic approach described above. This algorithm takes into consideration the future state of traffic flow in the tunnel. It is based on the measured parameter traffic density in the tunnel but also as on the level of service (LOS) of traffic in the rest of the city. Thus, the control is adopted based not only on the tunnel performance itself but also on the rest of the city. A parameter cost of congestions is explained and shall be used directly to evaluate the control strategies. This parameter also demonstrates the monetary influence of current tunnel control strategies (namely closing the tunnel for road traffic) on the city.

This paper has the following structure. First, we address an urban road tunnel from the system theory perspective. The target function of any control or management strategy is discussed. Also, the topic of complexity and interface to the adjacent (smart) city components and processes is addressed. The influence of tunnel control on the adjacent traffic is supported by results from a project GLOMODO (global model of traffic) on a case study from Prague. The theory of expressing the deterioration of traffic performance indicators is expressed through monetary terms (i.e., cost of congestions). In Section 3, we discuss a new urban tunnel control algorithm. This algorithm is based on the traffic flow theory and aims on keeping the flow stable (fluid) while taking into consideration the outside traffic of the tunnel. The impact is demonstrated on a case study showing the effect of closing a tunnel complex Blanka in Prague. This is followed by a discussion and conclusions.

#### **2. Systemic Approach to Urban Road Tunnel**

#### *2.1. Tunnel and Its Neighborhood*

In the literature, a tunnel is often described as a complex system. Even the World Road Association (PIARC) in its PIARC Road Tunnels Manual [2] from 2019 dedicated an entire chapter to the topics of complexity. It is called "TUNNEL: A COMPLEX SYSTEM". The authors claim that "*A tunnel constitutes a complex system which is the result of the interaction of very many parameters. These parameters can be gathered by subsets.*" This is certainly correct. A tunnel consists of many different subsystems and components that interact with each other. Can we, however, claim that it truly is a complex system?

Let us look at classification based on complexity theory. Rzevsky and Skobelev [3] provide seven criteria a system shall fulfil in order to be considered a complex system. In the following paragraphs, we will provide these criteria together with a discussion addressing the road tunnels in particular:

1. Connectivity—A complex system consists of a large number of diverse components, known as Agents, which are richly interconnected.

Tunnels consist of different components and subsystems. We can perceive all of the different sensors and actuators as agents. It cannot be, however, claimed that they are "richly interconnected." They have interfaces and interact with each other. These interfaces and the reaction to changes of the shared variables are however clearly predefined.

2. Autonomy—Agents are not centrally controlled; they have a degree of autonomy but their behavior is always subject to certain laws, rules or norms.

This criterion is not fulfilled. All subsystems have a predefined behavior that is centrally controlled. There is a typically a central control system (SCADA—supervisory control and data acquisition) which access all the inputs from all subsystems, provides control decision and affects the actuators/outputs.

3. Emergence—*Global behavior of a complex system emerges from the interaction of agents and, in turn, constrains agent behavior. Emergent behavior is unpredictable but not random*.

The emergence in behavior of a complex system is its crucial characteristic. Based on the behavior of partial agents, one cannot determine the overall behavior of the system. This is clearly not true for existing road tunnels. Here, the administration expects clear and predictable behavior. Without that, a road tunnel would not be put into operation.

4. Nonequilibrium—*Complex systems generate unpredictable disruptive events*.

Similarly to the previous criterion, the purpose of tunnel control system is to avoid disruptive events. Even in case of a traffic accident, there are predefined rules that are addressing such situation. The objective is to minimize any disruptiveness.

5. Nonlinearity—*Relations between agents are nonlinear.*

This criterion is fulfilled as for example interaction between traffic parameters and environmental characteristics are nonlinear. This is true for most of the partial subsystems.

6. Self-Organization—*Complex systems self-organize, i.e., autonomously change their behavior or modify their structure, to eliminate or reduce impact of disruptive events (adaptability) or to repel attacks (resilience).*

Tunnel systems do not self-organize. In order to ensure predictability (again, this is a characteristic expected by the road administrators), the behavior even in case of for example traffic accident is predefined.

7. Co-Evolution—*If we define the system environment as the set of all systems with which the system interacts, then we can postulate that complex systems are open, they adapt to their environments and, in turn, change their environments.*

As by self-organization, the existing control systems do not adapt to their environment. They can (and should) be adapted to the changes in environment by the system designers, but it is not a default property of the system.

The arguments above showed that we cannot address road tunnel system as a "complex system" according to the system theory. But is it possible? Nobody can claim that a road tunnel is a simple system. It covers other aspects, such as environment, traffic management, energy management, or even emergency management. So how come it is not complex? It is important to understand that the opposite "complex" isn't "simple", but "independent"; the opposite of "simple" is "complicated" [4]. And road tunnel system is certainly a complicated system, with many subsystems.

Another aspect that contributed to the confusion in terms is the linguistics. We talk often about a "tunnel complex" or as in case of the above-mentioned Road Tunnels Manual [2]: "Complex underground road networks". That is correct. It is not just a hole in a hill. It covers all the different subsystems discussed above; often there are successive connected tunnels (see examples in Prague, The Hague or Oslo; the tunnels are often multimodal (e.g., shared usage between buses, pedestrians, bicycles and trams); tunnels can have a dual function (as transit and access to underground car parks—e.g., Annecy, Brussels and Tromsø); and others). Without a doubt, we are talking about "tunnel complex". Again, it is not the same as a tunnel being a "complex system".

In this paper, however, we will not assume that the urban tunnel is the element itself, but on the contrary part of the smart city concept. In this connection, it becomes a complex system with its neighborhood according to the described principles, since the tunnel must communicate with other subsystems of the smart city. Within this communication, the tunnel becomes an autonomous agent which negotiates with other systems (also represented by software agents) the best possible method for its management.

#### *2.2. Sustainable Target Functions of an Urban Tunnel System*

Tunnels are a specific part of the road network. Often, they are considered a closed system. We will demonstrate the need for their better integration not only into the road traffic network, but also to other fields such as energy management and environmental impacts. impacts.

PI

It is more expensive to reach the same safety level in tunnels than on open roads. In case of an accident, the emergency response is far more difficult and human lives are in danger more often [5]. It is more expensive to reach the same safety level in tunnels than on open roads. In case of an accident, the emergency response is far more difficult and human lives are in danger more often [5].

Tunnels are a specific part of the road network. Often, they are considered a closed system. We will demonstrate the need for their better integration not only into the road traffic network, but also to other fields such as energy management and environmental

The primarily objective of road tunnels is to enhance the urban road network and thus help to realize transport performance between two points (origin-destination) expressed in vehicle kilometers travelled (VKT). The primarily objective of road tunnels is to enhance the urban road network and thus help to realize transport performance between two points (origin-destination) expressed in vehicle kilometers travelled (VKT).

The transport performance however cannot be the only measure of quality. The tunnel (actually similarly to the rest of the road network), must follow the principles of sustainable development [6] as depicted in Figure 1. The transport performance however cannot be the only measure of quality. The tunnel (actually similarly to the rest of the road network), must follow the principles of sustainable development [6] as depicted in Figure 1.

*Appl. Sci.* **2021**, *11*, x FOR PEER REVIEW 4 of 22

*2.2. Sustainable Target Functions of an Urban Tunnel System* 

**Figure 1.** Sustainable development of a road tunnel: balance of safety, economy, and environment. **Figure 1.** Sustainable development of a road tunnel: balance of safety, economy, and environment.

Our target function of the tunnel system *Ψ* seeks a minimum of the qualitative index Our target function of the tunnel system Ψ seeks a minimum of the qualitative index *PI*

$$\mathbf{Y} = \min \mathbf{PI} \tag{1}$$

 = (1) The performance Index (*PI*) has three parts The performance Index (*PI*) has three parts

$$\text{PI} = \left(\mathsf{C}\_{\text{e}} + \mathsf{C}\_{\text{p}} + \mathsf{C}\_{\text{n}}\right) \tag{2}$$

where is the operating costs. The decisive item is usually the price for energy for ventilation and lighting, but it also includes service costs and costs for replacement of equipment after the end of its life, labor costs of staff, and others. is the cost for environmental impacts, including the cost for protection from the air pollution and others. This has also clear link to traffic performance, as congestions have clear negative impact on the produced emissions (for example CO2 emissions [7]). is the cost of traffic accidents (in general the safety impact), which consists of the material damage, cost of the emergency response, but also the cost for personal injury or death. where *C<sup>p</sup>* is the operating costs. The decisive item is usually the price for energy for ventilation and lighting, but it also includes service costs and costs for replacement of equipment after the end of its life, labor costs of staff, and others. *C<sup>e</sup>* is the cost for environmental impacts, including the cost for protection from the air pollution and others. This has also clear link to traffic performance, as congestions have clear negative impact on the produced emissions (for example CO<sup>2</sup> emissions [7]). *C<sup>n</sup>* is the cost of traffic accidents (in general the safety impact), which consists of the material damage, cost of the emergency response, but also the cost for personal injury or death.

#### *2.3. Urban Tunnel Integration into Smart City Concept 2.3. Urban Tunnel Integration into Smart City Concept*

In terms of syntax interface between any two systems, we must focus on all seven layers of the reference ISO/OSI model [8], with the physical layer physically transmitting In terms of syntax interface between any two systems, we must focus on all seven layers of the reference ISO/OSI model [8], with the physical layer physically transmitting signals across a communication medium; the data link layer transforming a stream of bits from the physical layer into an error-free data frame for the network layer; the network layer which controls the operation of a packet transmitted from one network to another, such as how to route a packet and others. Apart from that, we must, however, also ensure that the subsystems understand each other and not only that they can exchange packages. For this we must talk about a semantic interface [9].

A semantic interface assures that the knowledge contained in each subsystem will have an unambiguous meaning for the second subsystem and form knowledge will be close to the human cognitive thinking. Ontologies [10] are suggested as a tool to assure understanding among particular subsystems.

The semantics is of a great importance, while it is often neglected. There are many different stakeholders and actors that plays a role when designing a city subsystem. Each of them has a certain perspective on the given problem. Transport engineers are interested in the traffic flow, traffic occupancy, and a number of accidents. An architect understands the city tunnel from the urbanist point of view and looks at the urbanist details. A sociologist observes many details about drivers' behavior. A business specialist looks at the operational cost, energy consumption, etc. Environmental experts study the effects of city tunnel operation on various pollution indicators.

These are often conflicting strategies of the heterogeneous fields, although we are looking at a single object (i.e., the urban tunnel). Each of these fields has a historically developed control concept according to its criteria functions, such as tunnel ventilation in relation to safety parameters, traffic flow control using variable signs, electricity control in relation to tunnel lighting, etc.

In our view, the "system of systems control" means the maximum use of the control strategies of each system (i.e., transport, energy, environment, etc.) and the creation of the best possible combination of them so that these strategies support each other and are not in conflict. This is supported for example by the work of Luin and Peteling [11]. The authors use the existing Supervisory Control and Data Acquisition (SCADA) system in connection to traffic simulation model, simulation of environmental characteristics and ventilation system. This resulting model connecting all above mentioned subsystems is used as a training base for simulating the impact of traffic accidents jointly on all subsystems and allows testing various human-machine interfaces.

#### *2.4. Urban Tunnel Integrated Control*

Let us observe M parallel information variables (*O*1, *O*2, . . . , *O*M) of a real system (city tunnel plus its surroundings). With respect to the system complexity, it is possible to identify *j*-th specialization that represents typically one of following areas: transportation, energy, environment, business, etc. Within *j*-th specialization (in our case one of the systems) the experts can find the set of L different scenarios *Sj*,1, *Sj*,2, . . . , *Sj*,*<sup>L</sup>* . Scenarios *Sj*,1, *Sj*,2, . . . , *Sj*,*<sup>L</sup>* must be prepared beforehand. With the help of selected scenario *Sj*,*<sup>i</sup>* , the control signals for each scenario are used to optimize the real system behavior.

We suppose that there exists an inner *N*- knowledge vector (*K*1, *K*2, . . . , *KN*) common for all specializations that best characterizes strong features of the real system of systems. All scenarios *Sj,i*(*K*1, *K*2, . . . , *KN*) are supposed to be dependent on this knowledge vector. At the same time the quality assessment function *Qi*,*<sup>j</sup> Si*,*j*(*K*1, *K*2, . . . , *KN*) s assigned to each scenario *Sj*,*<sup>i</sup>* (*K*1, *K*2, . . . , *KN*) is also dependent on this vector.

The methodology of scenarios co-ordination can include the following 5 steps:


travel time or the congestion length, etc. can be used as the control assessment function.

5. Cross-disciplinary *i*-th scenario selection for each *j*-th specialization to achieve the most appropriate (weighted) sum of quality assessment functions ∑ *j*,*i Qi*,*<sup>j</sup> Si*,*j*(*K*1, *K*2, . . . , *KN*) . The transportation scenario is selected, for example,

to be as environmentally friendly as possible to take care of both transport and environment specializations.

The above methodology describes the most general example parametrized by vector (*K*1, *K*2, . . . , *KN*). In the real praxis we are not concerned about (*j*, *i*)-th scenario definition, the design of scenario's selection, data collection, transmission and processing (control system). The long term knowledge of each specialization has solved this problem and we can only register how many scenarios *Sj,i* exist in different areas such as transportation, energy supply, environmental protection and others [12].

Further, we suppose that it is possible to determine the (normalized) assessment function *Qj*,*<sup>i</sup> Sj*,*<sup>i</sup>* where (*j*, *i*)-th pair means the selected *i*-scenario for *j*-th specialization *j* ∈ {1, 2, . . .}. If the problem has been linear we would have selected such (*j*, *i*)-th combination that simply maximizes the sum ∑ *j Qi*,*<sup>j</sup> Sj*,*<sup>i</sup>* .

#### *2.5. Urban Tunnel Management as a Smart City Component*

This section presents an illustrative example of how the intelligent tunnel can be integrated into smart urban area. Let us assume that the tunnel communicates with whole district and negotiate its control strategy not only locally but also with respect to criterial functions of whole district.

For simplicity, let us build as a criterion function *Q<sup>j</sup>* of *j*-sectors their financial impacts on the whole area. For example, transportation area around the tunnel can be represented by *Q*<sup>1</sup> that includes all the financial implications of the loss of drivers' time. On other side *Q*<sup>2</sup> captures the financial impacts of transport on the environment, e.g., pollution CO2, NOX, PMx. *Q*<sup>3</sup> describes energy losses in the whole area expressed in financial parameters, including fuel consumed by all vehicles in congestion or energy consumption of own intelligent tunnel operation (ventilation, lighting).

For simplicity, consider only two possible tunnel control scenarios—either the tunnel is open *S*<sup>1</sup> or closed *S*2. The main advantage of the intelligent tunnel as a smart city component is that the decision on the control strategy (*S*<sup>1</sup> or *S*2) is not made locally, but with regard to the financial impact of the whole district area. Described mathematically, control is carried out using two criterion functions:

$$Q(\mathbf{S}\_1) = Q\_1(\mathbf{S}\_1) + Q\_2(\mathbf{S}\_1) + Q\_3(\mathbf{S}\_1) \tag{3}$$

$$Q(\mathcal{S}\_2) = Q\_1(\mathcal{S}\_2) + Q\_2(\mathcal{S}\_2) + Q\_3(\mathcal{S}\_2) \tag{4}$$

Determining the financial impacts on the whole district area is a difficult task. It is important to use all available information and prepare a traffic simulation model to allow the expression of these criterial parameters *Q*(*S*1), *Q*(*S*2) depending on the control strategies *S*1, *S*2.

It is obvious that the described approach can be further extended to several different control strategies, including e.g., speed limitation in the tunnel (50 or 70 km/h), ramp metering with different options of vehicles entry into the tunnel, different tunnel ventilation scenarios, etc. All these variants represent an extended set of possible control strategies *S*1*, S*2*, S*3, . . . . For each control strategy it is necessary to estimate financial impacts to the whole area to be able to provide right decision-making.

#### *2.6. Case Study—Management of Urban Tunnel Blanka in Prague*

For the purpose of city tunnel control, these three functions *Q*1, *Q*2, *Q*<sup>3</sup> can be expressed as monetary values. It is rather straightforward for energy management (there

is a given price of energy). It is more complicated for environmental parameters and transportation, but it was addressed for example by a project GLOMODO (global model of traffic) (https://starfos.tacr.cz/cs/project/UH0370, accessed on 1 November 2021). This project aims to add values (meaning) to the data from all strategic detectors and all section speed control systems in Prague. An illustrative overview of the sensors used in the project is provided in Figure 2. pressed as monetary values. It is rather straightforward for energy management (there is a given price of energy). It is more complicated for environmental parameters and transportation, but it was addressed for example by a project GLOMODO (global model of traffic) (https://starfos.tacr.cz/cs/project/UH0370, accessed on 1 November 2021). This project aims to add values (meaning) to the data from all strategic detectors and all section speed control systems in Prague. An illustrative overview of the sensors used in the project is provided in Figure 2.

For the purpose of city tunnel control, these three functions ଵ, ଶ, ଷ can be ex-

scenarios, etc. All these variants represent an extended set of possible control strategies ଵ*,* ଶ*,* ଷ, …. For each control strategy it is necessary to estimate financial impacts to the

*Appl. Sci.* **2021**, *11*, x FOR PEER REVIEW 7 of 22

whole area to be able to provide right decision-making.

*2.6. Case Study—Management of Urban Tunnel Blanka in Prague* 

**Figure 2.** Overview of strategic sensors located in Prague and used within the project GLOMODO. **Figure 2.** Overview of strategic sensors located in Prague and used within the project GLOMODO.

Project GLOMODO consists of several modules whose aim is to give a road operator or a city manager better understanding of the traffic situation. As depicted in Figure 3, apart from data preprocessing aiming mainly on identification and correction of missing data and outliers, there are three modules: Module FIS computing the cost of congestions; Module LOS providing a level of service indication based on so-called speed index [13]; and Module MEN aiming on identification normal behavior of traffic flow and warning the operators in case of any non-standard traffic patterns. Project GLOMODO consists of several modules whose aim is to give a road operator or a city manager better understanding of the traffic situation. As depicted in Figure 3, apart from data preprocessing aiming mainly on identification and correction of missing data and outliers, there are three modules: Module FIS computing the cost of congestions; Module LOS providing a level of service indication based on so-called speed index [13]; and Module MEN aiming on identification normal behavior of traffic flow and warning the operators in case of any non-standard traffic patterns.

For the purpose of this paper, we shall focus on the module FIS only as it assigns monetary value based on the level of congestions. The overall cost of congestion in all district *Q* is computed when the vehicle is forced to travel with a limited speed due to congestions and is based on the following formula with parameters adjusted for the conditions of the city district—it is expressed by symbol (.):

$$Q(.) = Q\_1(.) + Q\_2(.) + Q\_3(.)\tag{5}$$

where *Q*1(.) computes the value of lost time, *Q*2(.) determines the cost of environmental impact (related to increased pollutions) of congestions and *Q*3(.) denotes the increased fuel consumption. *Q*1(.) is computed as:

$$Q\_1(.) = N\_{\text{act}}.t\_{\text{act}}.C\_T.veh\_{\text{occ}}\tag{6}$$

where *Nact* denotes the 5-minute value of traffic flow, *tact* denotes the time delay due to the congested traffic, *C<sup>T</sup>* the time spent in traffic and *vehocc* the average occupancy of a vehicle. *Q*2(.) is computed as:

$$Q\_2(.) = (S\_{\text{Gas}}, \mathcal{C}\_{\text{Gas}} + (S\_{\text{Diesel}} + S\_{\text{HDV}}), \mathcal{C}\_{\text{Diesel}}). P\_{\text{CO2}} \tag{7}$$

where *SGas* is the computed fuel consumption for petrol vehicles in the given time interval; *SDiesel* denotes the computed fuel consumption for diesel vehicles; *SHDV* similarly denotes the consumption of trucks and lorries; *CGas* denotes CO<sup>2</sup> emissions for 1 litre of petrol; *CDiesel* denotes emissions CO<sup>2</sup> for 1 litre of diesel; and, finally, *PCO*<sup>2</sup> is the price associated with the production of 1 ton CO<sup>2</sup> emissions. *Appl. Sci.* **2021**, *11*, x FOR PEER REVIEW 8 of 22

**Figure 3.** Main modules developed within the project GLOMODO. **Figure 3.** Main modules developed within the project GLOMODO.

ditions of the city district—it is expressed by symbol (.):

For the purpose of this paper, we shall focus on the module FIS only as it assigns monetary value based on the level of congestions. The overall cost of congestion in all district is computed when the vehicle is forced to travel with a limited speed due to congestions and is based on the following formula with parameters adjusted for the con-*Q*3(.) is building upon the generally accepted models of fuel consumption for different speeds. Different tools use slightly different models, as depicted in Figure 4. For this reason, GLOMODO uses an adopted model that is based on experimental evaluations [14]. *Appl. Sci.* **2021**, *11*, x FOR PEER REVIEW 9 of 22

associated with the production of 1 ton CO2 emissions. ଷ(. ) is building upon the generally accepted models of fuel consumption for different speeds. Different tools use slightly different models, as depicted in Figure 4. For this **Figure 4.** Comparison of fuel consumption (in liters per 100km) according to models HERA COPERT and TRANSYT. **Figure 4.** Comparison of fuel consumption (in liters per 100 km) according to models HERA COPERT and TRANSYT.

reason, GLOMODO uses an adopted model that is based on experimental evaluations

where the cumulative cost of congestions on particular strategic sensors as well as the

All parameters in the equations are set based on national as well as international guidelines and experiments. This approach is rather general and can be easily adopted for

Figure 6 further demonstrates the impact of each of the factors. Clearly, ଵ(. ) (i.e.,

**Figure 5.** The cumulative cost of congestions (in CZK) and the level of service (LOS 1—green; LOS 2—yellow; LOS 3—

the lost time) is the biggest contributor to the cost of congestion.

[14].

level of service (LOS) is shown.

red) as computed for an example network in Prague at (**a**) 8 a.m. and (**b**) 11 p.m.

All parameters in the equations are set based on national as well as international guidelines and experiments. This approach is rather general and can be easily adopted for example to changes in vehicle fleets. All parameters in the equations are set based on national as well as international guidelines and experiments. This approach is rather general and can be easily adopted for example to changes in vehicle fleets.

**Figure 4.** Comparison of fuel consumption (in liters per 100km) according to models HERA

Examples of the results of the above-mentioned model are provided in Figure 5 where the cumulative cost of congestions on particular strategic sensors as well as the level of service (LOS) is shown. Examples of the results of the above-mentioned model are provided in Figure 5 where the cumulative cost of congestions on particular strategic sensors as well as the level of service (LOS) is shown.

COPERT and TRANSYT.

*Appl. Sci.* **2021**, *11*, x FOR PEER REVIEW 9 of 22

**Figure 5.** The cumulative cost of congestions (in CZK) and the level of service (LOS 1—green; LOS 2—yellow; LOS 3 red) as computed for an example network in Prague at (**a**) 8 a.m. and (**b**) 11 p.m. **Figure 5.** The cumulative cost of congestions (in CZK) and the level of service (LOS 1—green; LOS 2—yellow; LOS 3—red) as computed for an example network in Prague at (**a**) 8 a.m. and (**b**) 11 p.m.

Figure 6 further demonstrates the impact of each of the factors. Clearly, ଵ(. ) (i.e., the lost time) is the biggest contributor to the cost of congestion. Figure 6 further demonstrates the impact of each of the factors. Clearly, *Q*1(.) (i.e., the lost time) is the biggest contributor to the cost of congestion. *Appl. Sci.* **2021**, *11*, x FOR PEER REVIEW 10 of 22

**Figure 6.** An example demonstrating the split of the cost of congestions (in CZK) to particular contributing factors Q\_i during the day. **Figure 6.** An example demonstrating the split of the cost of congestions (in CZK) to particular contributing factors Q\_i during the day.

#### **3. New Road Tunnel Traffic Control Algorithm 3. New Road Tunnel Traffic Control Algorithm**

Urban road tunnels, when left without control, often face congestions. Congestions influence several aspects from performance index in Equation (2). Clearly, they impact the transport performance (less vehicles can get through the network), but they also negatively influence the environmental aspects. Urban road tunnels, when left without control, often face congestions. Congestions influence several aspects from performance index in Equation (2). Clearly, they impact the transport performance (less vehicles can get through the network), but they also negatively influence the environmental aspects.

The congestions in tunnels can be addressed mainly by two control approaches. Both of them are based on highway management strategies [15,16]: The congestions in tunnels can be addressed mainly by two control approaches. Both of them are based on highway management strategies [15,16]:

metering, often adopted on highways and freeways.

speed limit is imposed on highways. This is achieved through harmonizing the traffic flow (i.e., minimizing the speed differences among vehicles), thus decreasing the vehicular headways and thus increasing the throughput. Nowadays, this control approach is however limited by the existing norms (for example Czech norm 73 6101) stating that the tunnel is just a continuation of the road network and should maintain

Nowadays, tunnels are typically controlled by the second approach. It is, however, usually performed manually and often in a binary matter. In case queues are forming in a tunnel, the police decide to close the tunnel. This principle is demonstrated on a case study of an urban road tunnel complex Blanka (Prague, Czech republic), which is depicted in Figure 7. It is an important part of the (still not finished) Prague city ring and it was built to lighten the traffic in the central historical areas of the city. The tunnel complex is 5.5 km long and it is composed by three underground tunnels (red lines in the Figure 7). The opening of the tunnel complex Blanka in 2015 had a major impact on traffic in the city

the same speeds. For this reason, a speed variation is not a suitable option. B. Changing the travel demand parameters, particularly by managing (constraining) the number of vehicles entering the tunnel. This is similar to the concept of ramp

and clearly demonstrated need to take such tunnel complex as a part of the city.


Nowadays, tunnels are typically controlled by the second approach. It is, however, usually performed manually and often in a binary matter. In case queues are forming in a tunnel, the police decide to close the tunnel. This principle is demonstrated on a case study of an urban road tunnel complex Blanka (Prague, Czech republic), which is depicted in Figure 7. It is an important part of the (still not finished) Prague city ring and it was built to lighten the traffic in the central historical areas of the city. The tunnel complex is 5.5 km long and it is composed by three underground tunnels (red lines in the Figure 7). The opening of the tunnel complex Blanka in 2015 had a major impact on traffic in the city and clearly demonstrated need to take such tunnel complex as a part of the city. *Appl. Sci.* **2021**, *11*, x FOR PEER REVIEW 11 of 22

**Figure 7.** Schematic overview of the tunnel complex Blanka. **Figure 7.** Schematic overview of the tunnel complex Blanka.

The effect of tunnel closing clearly leads to an improvement within the tunnel, but has a strong negative impact on the traffic around the tunnel, in the rest of the city. This is described by Faltus and Hrdina in [18] and demonstrated in Figure 8. The green points denote sensors for which the average speed increased after opening the tunnel complex Blanka; the red points mean decrease in average speed. Always, the change in percent is presented. The full circle denotes the sensor that measures in one direction only, the split circles show values in both directions. The effect of tunnel closing clearly leads to an improvement within the tunnel, but has a strong negative impact on the traffic around the tunnel, in the rest of the city. This is described by Faltus and Hrdina in [18] and demonstrated in Figure 8. The green points denote sensors for which the average speed increased after opening the tunnel complex Blanka; the red points mean decrease in average speed. Always, the change in percent is presented. The full circle denotes the sensor that measures in one direction only, the split circles show values in both directions.

Another negative aspect of the current traffic control is the recovery phase, after the tunnel is opened again. It can take several dozens of minutes (sometimes even hours) to

In order to develop an optimized traffic control strategy, it is necessary to look at the characteristics of traffic flow. The traffic flow is characterized by three basic variables [20]: flow rate *q*, density *k* and mean speed *u*. Due to the fundamental relation = . there

**Figure 8.** Changes in the average speed on selected sensors after opening the tunnel complex Blanka.

*3.1. Fundamental Traffic Flow Theory* 

recover the stable state after the tunnel is opened [19].

recover the stable state after the tunnel is opened [19].

**Figure 7.** Schematic overview of the tunnel complex Blanka.

circles show values in both directions.

The effect of tunnel closing clearly leads to an improvement within the tunnel, but has a strong negative impact on the traffic around the tunnel, in the rest of the city. This is described by Faltus and Hrdina in [18] and demonstrated in Figure 8. The green points denote sensors for which the average speed increased after opening the tunnel complex Blanka; the red points mean decrease in average speed. Always, the change in percent is presented. The full circle denotes the sensor that measures in one direction only, the split

Another negative aspect of the current traffic control is the recovery phase, after the tunnel is opened again. It can take several dozens of minutes (sometimes even hours) to

**Figure 8.** Changes in the average speed on selected sensors after opening the tunnel complex Blanka. **Figure 8.** Changes in the average speed on selected sensors after opening the tunnel complex Blanka.

*3.1. Fundamental Traffic Flow Theory*  In order to develop an optimized traffic control strategy, it is necessary to look at the characteristics of traffic flow. The traffic flow is characterized by three basic variables [20]: Another negative aspect of the current traffic control is the recovery phase, after the tunnel is opened again. It can take several dozens of minutes (sometimes even hours) to recover the stable state after the tunnel is opened [19].

#### flow rate *q*, density *k* and mean speed *u*. Due to the fundamental relation = . there *3.1. Fundamental Traffic Flow Theory*

In order to develop an optimized traffic control strategy, it is necessary to look at the characteristics of traffic flow. The traffic flow is characterized by three basic variables [20]: flow rate *q*, density *k* and mean speed *u*. Due to the fundamental relation *q* = *k*.*u* there are only two independent variables. The relationship among the variables is often depicted using so-called fundamental diagrams (see Figure 9). *Appl. Sci.* **2021**, *11*, x FOR PEER REVIEW 12 of 22 are only two independent variables. The relationship among the variables is often depicted using so-called fundamental diagrams (see Figure 9).

**Figure 9.** The fundamental diagram.

For the purpose of this paper, we need to focus on the following points and areas of interest in the diagrams: For the purpose of this paper, we need to focus on the following points and areas of interest in the diagrams:

Completely free flowing traffic, when vehicles are not impeded by other traffic and travel at a maximum (or desired) speed of (free speed). This free speed depends on the road design speed (based on curvature, transverse slope, road surface quality and and wide moving jam. **Figure 9.** The fundamental diagram. Completely free flowing traffic, when vehicles are not impeded by other traffic and travel at a maximum (or desired) speed of *u<sup>f</sup>* (free speed). This free speed depends on the road design speed (based on curvature, transverse slope, road surface quality and other

other parameters), the speed restrictions (speed limits), the weather, but also on the

Saturated traffic, when the flow rate, *q*, and speed, *u*, are down to zero. The vehicles

Capacity traffic, with the capacity of a road equal to the maximum flow rate, . The maximum flow rate of has an associated capacity speed, , and a capacity density, . The diagram shows that the capacity speed, , lies below the maximum speed, . There exist various models trying to find an analytical solution fitting as best as possible the empirical measured data, for example linear model [21], triangular diagram [22], or more realistic high-order macroscopic models addressing certain discontinuity [23].

Here, we focus on the last class of models as they well describe the phenomena we face in tunnels. Ning Wu in [24] uses an approach of homogenizing traffic and addressing the transition among them. As Wu demonstrated in his paper, the measured data confirm two major data clusters (traffic states) with different characteristics as well as transition phase between them. They are called fluid traffic and jam traffic. This is confirmed also by the data measured in the Czech Republic as demonstrated for *q*-*v* relationship on example in Figure 10. This is in a way similar to Kerner's Three-phase theory [23], where next to the free flow, the jam is further split into two phases, namely synchronized flow

are queuing and there is a maximum density of (jam density).

states.

parameters), the speed restrictions (speed limits), the weather, but also on the driver's characteristics. At free speed, flow rate and density will be close to zero.

Saturated traffic, when the flow rate, *q*, and speed, *u*, are down to zero. The vehicles are queuing and there is a maximum density of *k<sup>j</sup>* (jam density).

Capacity traffic, with the capacity of a road equal to the maximum flow rate, *q<sup>c</sup>* . The maximum flow rate of *q<sup>c</sup>* has an associated capacity speed, *uc*, and a capacity density, *kc*. The diagram shows that the capacity speed, *uc*, lies below the maximum speed, *u<sup>f</sup>* .

There exist various models trying to find an analytical solution fitting as best as possible the empirical measured data, for example linear model [21], triangular diagram [22], or more realistic high-order macroscopic models addressing certain discontinuity [23].

Here, we focus on the last class of models as they well describe the phenomena we face in tunnels. Ning Wu in [24] uses an approach of homogenizing traffic and addressing the transition among them. As Wu demonstrated in his paper, the measured data confirm two major data clusters (traffic states) with different characteristics as well as transition phase between them. They are called fluid traffic and jam traffic. This is confirmed also by the data measured in the Czech Republic as demonstrated for *q*-*v* relationship on example in Figure 10. This is in a way similar to Kerner's Three-phase theory [23], where next to the free flow, the jam is further split into two phases, namely synchronized flow and wide moving jam. *Appl. Sci.* **2021**, *11*, x FOR PEER REVIEW 13 of 22

**Figure 10.** Data measured on Strakonicka street in Prague (October 2015) demonstrating the fluid and jammed traffic **Figure 10.** Data measured on Strakonicka street in Prague (October 2015) demonstrating the fluid and jammed traffic states.

The critical part which needs an extra focus is the transition from free flow to the jam and back. The traditional models often fail as there is only a limited number of measurements. This is due to the fact that the transition is rather quick (i.e., the flow does not stay in this phase for too long) and there is a clear observable hysteresis (i.e., the recovery from the jam does not follow the same trajectory as falling from the free flow to the jam). The traditional models thus tend to overestimate the road capacity. The principle of this tran-The critical part which needs an extra focus is the transition from free flow to the jam and back. The traditional models often fail as there is only a limited number of measurements. This is due to the fact that the transition is rather quick (i.e., the flow does not stay in this phase for too long) and there is a clear observable hysteresis (i.e., the recovery from the jam does not follow the same trajectory as falling from the free flow to the jam). The traditional models thus tend to overestimate the road capacity. The principle of this transition is further depicted in Figure 11.

sition is further depicted in Figure 11. For the purpose of this paper and the road urban tunnel control system, it is clear from the above-mentioned theory that we need to focus on density. We are mainly interested in the point when the fluid traffic breaks into the jam, that is at density *κKO* (i.e., at the state that the average length of the net headways between the vehicles is equal to *τKO* in the fluid convoy). The jam traffic turns back upwards into the fluid traffic at *κgo*, *min* (i.e., at the state that the average length of the net headways between the vehicles is equal to *τgo* in the jam convoy). For more details on identifying the critical values of density, refer to Wu [24].

refer to Wu [24].

**Figure 11.** The hysteresis within transition phase between fluid and jam traffic.

For the purpose of this paper and the road urban tunnel control system, it is clear from the above-mentioned theory that we need to focus on density. We are mainly interested in the point when the fluid traffic breaks into the jam, that is at density ை (i.e., at the state that the average length of the net headways between the vehicles is equal to ை in the fluid convoy). The jam traffic turns back upwards into the fluid traffic at , (i.e., at the state that the average length of the net headways between the vehicles is equal to in the jam convoy). For more details on identifying the critical values of density, states.

The critical part which needs an extra focus is the transition from free flow to the jam and back. The traditional models often fail as there is only a limited number of measurements. This is due to the fact that the transition is rather quick (i.e., the flow does not stay in this phase for too long) and there is a clear observable hysteresis (i.e., the recovery from the jam does not follow the same trajectory as falling from the free flow to the jam). The traditional models thus tend to overestimate the road capacity. The principle of this tran-

**Figure 11.** The hysteresis within transition phase between fluid and jam traffic. **Figure 11.** The hysteresis within transition phase between fluid and jam traffic.

#### For the purpose of this paper and the road urban tunnel control system, it is clear *3.2. New Road Urban Tunnel Traffic Control*

**Figure 10.** Data measured on Strakonicka street in Prague (October 2015) demonstrating the fluid and jammed traffic

sition is further depicted in Figure 11.

from the above-mentioned theory that we need to focus on density. We are mainly interested in the point when the fluid traffic breaks into the jam, that is at density ை (i.e., at the state that the average length of the net headways between the vehicles is equal to ை in the fluid convoy). The jam traffic turns back upwards into the fluid traffic at , (i.e., at the state that the average length of the net headways between the vehicles is equal to in the jam convoy). For more details on identifying the critical values of density, refer to Wu [24]. As mentioned above, nowadays the most common "control" approach in an urban tunnel is a closure of a tunnel. Tympakianaki et al. [16] calls closure a disruptive traffic management strategy and further claims that the resulting strategy shall depend on the cause and type of congestions. Tunnel closure solves the problems of hygienic (environmental) limits in the tunnel. However, it means a big intervention in the quality of traffic in the whole city, which is contradicting the idea of smart cities. At the same time, due to the distributed nature of traffic spread in the city and implicit hysteresis of the traffic stream characteristics (as explained above), the recovery phase is very slow.

In this chapter we propose a new traffic control management system based on the properties of traffic flow described above. A flow chart (using the SW modelling tool Enterprise Architect) for the proposed control algorithm is provided in Figure 12 and explained within this section.

It aims to prevents traffic flow transiting into the jam phase. Similar principle of stabilizing main traffic stream is known from highways as ramp metering [25,26]. In ramp metering there is a main traffic flow going on the motorway, and a traffic signalization allows only a limited number of vehicles entering from a side on-ramp. In the case of a tunnel, we are using a similar principle, with the difference, that we are restraining vehicles entering the tunnel (see Figure 13). It is not carried out in a binary manner (tunnel open/closed), but using variable length of a red signal, *TR*. The objective is to keep the density below the value of *κKO* (See Figure 11) and thus avoid falling into the jam traffic.

Let us consider a fixed cycle length of 120 s. The length of the red-light signal then varies between 0 s and 120 s (which in a 120-second-long cycle means that the tunnel is closed) depending on two factors.

The first parameter is the traffic density in the tunnel (see explanation in previous section and Figure 11). Since it is difficult to measure directly density, we use a parameter called occupancy, *o<sup>i</sup>* (%) (the index *i* denotes *i*-th sensor). Occupancy is measured directly by point traffic sensors and under certain assumptions (mainly a uniform vehicle length *L*) it can be used to calculate density [27]:

$$
\rho\_i = (L+d). \,\kappa\_i = \mathfrak{c}\_{\mathcal{K}} \mathfrak{x}\_i \tag{8}
$$

where *L* is the uniform vehicle length and *d* is the length of the sensor (e.g., inductive loop). While computing density, in order to allow better link to the theoretical section of this paper, we refer to the corresponding value of computed density in all calculations and figures.

To be able to react to the expected worsening of the situation in advance a prediction module is used to have a prediction of the density (for example, 15 min in advance, *κi* (*t* + 15)). There are several existing algorithms to predict traffic stream characteristics. Yu and Liu [28] are using spatial-temporal data fusion using traffic volume, road geometry, or even weather conditions. Laña et al. [29] use random forest regressors on traffic flow time series. Lv et al. in [30] predict traffic flow using a deep learning approach and Guo et al. in [31] use statistical hybrid Gaussian process regression. Altogether, the various research methods show rather strong prediction capabilities. *Appl. Sci.* **2021**, *11*, x FOR PEER REVIEW 15 of 22

**Figure 12.** Flow chart for the proposed new road urban tunnel traffic control algorithm. **Figure 12.** Flow chart for the proposed new road urban tunnel traffic control algorithm.

metering there is a main traffic flow going on the motorway, and a traffic signalization allows only a limited number of vehicles entering from a side on-ramp. In the case of a tunnel, we are using a similar principle, with the difference, that we are restraining vehicles entering the tunnel (see Figure 13). It is not carried out in a binary manner (tunnel open/closed), but using variable length of a red signal, ோ. The objective is to keep the density below the value of ை (See Figure 11) and thus avoid falling into the jam traffic.

**Figure 13.** Schematic depiction of the road urban tunnel traffic control algorithm. **Figure 13.** Schematic depiction of the road urban tunnel traffic control algorithm.

Let us consider a fixed cycle length of 120 s. The length of the red-light signal then varies between 0 s and 120 s (which in a 120-second-long cycle means that the tunnel is closed) depending on two factors. The first parameter is the traffic density in the tunnel (see explanation in previous Please note that in our approach we do not wait until the density reaches value *κKO* (in Figure 11). We start limiting the vehicles already by *κgo*, *min*. Clearly, we want to prevent the transition into the jam phase, so the algorithm starts earlier. This shall be sufficient as it is linked to the predicted value of occupancy.

section and Figure 11). Since it is difficult to measure directly density, we use a parameter called occupancy, (%) (the index *i* denotes *i*-th sensor). Occupancy is measured directly by point traffic sensors and under certain assumptions (mainly a uniform vehicle length *L*) it can be used to calculate density [27]: = (+). = . (8) where *L* is the uniform vehicle length and *d* is the length of the sensor (e.g., inductive The second parameter that influences the outcome of the traffic control is the traffic situation in the city, expressed by level of service (LOS). When the traffic situation on a selected location in the city is good, the traffic control in tunnel is not influence at all. However, if the traffic situation in the city worsens, it would be contradictory to even contribute to the worsening by improving situation in the tunnel. It can be expected that under such conditions, the situation in the tunnel worsens as well. The length of the red-light phase will be shorter.

loop). While computing density, in order to allow better link to the theoretical section of this paper, we refer to the corresponding value of computed density in all calculations and figures. To be able to react to the expected worsening of the situation in advance a prediction module is used to have a prediction of the density (for example, 15 min in advance, *κi* (*t* + 15)). There are several existing algorithms to predict traffic stream characteristics. Yu and In Figure 5 the cumulative cost of congestions and related Level of Service were introduced. The urban road traffic control algorithm works with LOS categorization—LOS 1—green; LOS 2—yellow; LOS 3—red. To obtain valuable on-line data, the system must be connected to GLOMODO (Figure 3), which continuously monitors the LOS, including available short-term predictions. This fulfills the idea of connecting the road urban tunnel with the Smart city system through presented syntactic and semantic interface.

Liu [28] are using spatial-temporal data fusion using traffic volume, road geometry, or even weather conditions. Laña et al. [29] use random forest regressors on traffic flow time series. Lv et al. in [30] predict traffic flow using a deep learning approach and Guo et al. in [31] use statistical hybrid Gaussian process regression. Altogether, the various research In the case of *LOS* = 1 (green), a full interval *T<sup>R</sup>* will be used for urban tunnel control according to occupancy prediction, as it is shown in Figure 13. In case of *LOS* = 2 and *LOS* = 3, the maximum of interval *TR*, *max* will be reduced accordingly. STEP 6 of the algorithm (see Figure 12) is based on the Equation (9):

$$T\_{R,\max}(t) = \begin{cases} \text{MRT} & \text{for LOS 1} \\ 0.8 \cdot \text{MRT} & \text{for LOS 2} \\ 0.4 \cdot \text{MRT} & \text{for LOS 3} \end{cases} \tag{9}$$

The second parameter that influences the outcome of the traffic control is the traffic situation in the city, expressed by level of service (LOS). When the traffic situation on a where *MRT* denotes the maximum red time and it is a parameter that depends on the particular tunnel. For the case of the tunnel Blanka, the value of parameter *MRT* equals to

selected location in the city is good, the traffic control in tunnel is not influence at all. However, if the traffic situation in the city worsens, it would be contradictory to even

cient as it is linked to the predicted value of occupancy.

120 s (which corresponds to the cycle length discussed above). The reaction of the tunnel control system will be thus more sensitive to the surrounding traffic situation.

The actual length of the red-light signal, *TR*(*t*), i.e., STEP 7 of algorithm (see Figure 12) is currently computed according to the Equation (10):

$$T\_R(t) = k\_i(t+15) \cdot \frac{T\_{R,\text{max}}(t)}{\left(\kappa\_{KO} - \kappa\_{go,\text{min}}\right)}\tag{10}$$

As a next enhancement of the algorithm, nonlinear characteristics will be modeled using a fuzzy inference system mechanism [32,33], which will be tailored-made for specific tunnel construction and its traffic features.

#### *3.3. Case Study Results—Control of Road Urban Tunnel Blanka in Prague*

In this section, we demonstrate the effect of closing the tunnel Blanka using a BEFORE and AFTER analysis. Figure 14 shows the development of the speed index for one working day and one weekday before, resp. after the tunnel opening. The figure demonstrates that the speed index dropped more substantially before opening of the tunnel Blanka.

**Figure 14.** The average speed index over all sensors during the measurement days.

The average speed index increased from 0.909 to 0.915 for a weekend day before, respectively, after and from 0.857 to 0.865 for a selected Tuesday before, respectively, and after. The actual economic impact is demonstrated in Table 1. It uses the presented cost of congestion computations. It provides aggregated values for all traffic sensors presented in Figure 2 and always the whole day. Please note that we are looking at the impact on the rest of the city and not values in the tunnel.

The table presents the following variables:


**Table 1.** BEFORE-AFTER analysis results with respect to changes in the traffic flow (veh), total cost (mio CZK), index and average speed (km/h).


The first part of the table focuses on weekends. We can see that there was a decrease in the total flow outside of the tunnel (−2.21%). This can mean that since the traffic is lower, more people selected to travel through the tunnel. This leads to a decrease in the total price for congestion by about 623 thousand CZK per day.

During the week, there is not only the traffic in the tunnel, but the sum of flows within the city increased by over 2.2%. Even for this increase in traffic flow, there is a decrease in the cost of congestion of about 596 thousand CZK. In both cases we also observe an increase in the average speed and especially for the weekday decrease in the Index.

Even more substantial increases of traffic (and thus deterioration of the traffic flow characteristics such as average speed) is expected if the tunnel is closed nowadays. All of the induced traffic will play an essential role to that. The tunnel attracts daily over 80,000 vehicles that in case of closure of the tunnel must disperse into the city.

#### **4. Discussion**

An urban tunnel is often presented using the word "Smart". In most cases, it however focuses on using new technologies, such as automated incident detection [34], emergency management and lighting [35], energy efficiency [36], or, for example, predictive maintenance [37]. Our aim is to move beyond new technology to integrated control strategies.

Li et al. [38] classifies a road tunnel into so-called urban underground infrastructure. They claim (for example, with Shanghai and other world cities) it to be an important part of current and future megacities. The authors confirm our conclusions that proper integration and effective and joint management of various city subsystems is essential. The impact of proper integration on sustainability is further elaborated for example in [39,40] and on an example of urban utility tunnels also [41].

The importance of implementing the cooperative control strategies is further discussed in [42]. Haddad et al. claim that a highway management without proper integration to adjacent urban intersection controllers is not sufficient. They provided a model for the mixed environment and used model predictive control to optimize the traffic control at the intersections, ramp metering and speed harmonization. Our paper clearly focuses on a similar approach, when the adjacent city network influences the parameters of the tunnel control system. As part of our control design, we managed to convert the cooperative tunnel management into a well-known method of harmonizing traffic flow described in [43,44]. It is therefore possible to use these control results to determine the required key performance indicators (KPIs) of whole district area.

The presented results of this paper are in accordance with the ongoing fourth industrial revolution [45], the basic feature of which is the interconnection of sub-subsystems into more complex system. The importance of understanding the distributed nature of the control problem was described in [46]. An example of this trend is also the concept of smart cities and the interconnection of its elements, such as the road urban tunnel. The

subsystems can no longer be controlled by standard methods based on the collection and processing of local data, but it is necessary to use artificial intelligence algorithms that can work with knowledge bases based on ontologies and perform more sophisticated decision-making and management of these complex systems [47].

In order to be able to specify the impact of certain control strategies on the entire city, we have moved beyond the traditional key performance indicators (KPIs) [48]. We offered a solution to measure the environmental and social impact of congestions by its monetary equivalent. This allows the control strategies to take into account integration of various subsystems in a distributed environment.

In this paper, we focused on an example of how to approach the management of a road urban tunnel with knowledge of the traffic situation in its neighborhood. The above results show that even if the tunnel is controlled so that the passage of vehicles is minimal, it is far better than if it was closed, as is the case today. Although its closure solves the local situation inside the tunnel, it significantly worsens the traffic in the surrounding district. If other elements of transport infrastructure are managed by similar methods, it is possible to expect better transport throughput and the achievement of a better quality of life in these cities.

#### **5. Conclusions**

Within this paper, a system analysis of both the tunnel as a complex system and the method of its integration into the smart city concept was presented. The result of the analysis yields to the conclusion that the road urban tunnel integration into the concept of smart city can bring many benefits to municipality and also to drivers.

The level of service (LOS) was introduced, which represents the transport quality in the whole district based on quantification of congestion prices, namely financial implication of the loss of drivers' time, financial impacts of transport on the environment and energy losses in the whole area. The required parameters were obtained for Blanka tunnel in Prague thanks to the described GLOMODO (global model of traffic in the capital Prague) system.

The current practice of many cities, which include a road urban tunnel, deals with tunnel control by closing the tunnel in the case of congestion to prevent congestion inside the tunnel. It is a logical and local solution, since congestion in the tunnel is expensive in terms of ventilation and other support services. On the other hand, it will significantly worsen congestion outside the tunnel itself.

For these reasons, a new "road urban tunnel control algorithm" has been proposed, which would not only contain two states "open" and "closed", but which would let vehicles enter into the tunnel in small amount and maintain the traffic flow within the transition phase between fluid and jam traffic. Experiments performed in the Blanka tunnel in Prague have shown that even such a small traffic flow can significantly contribute to solving a complex traffic situation in the entire area.

In the future, we intend to develop more advanced road urban tunnel control algorithm, based on the principle of fuzzy methods, which allows the control strategy to be adapted to the specific construction and traffic parameters of a given tunnel.

The results presented here were demonstrating the working principle of the algorithm. In order to have more clear view on the real impact of the method on tunnel as well as city parameters, a large-scale study will be conducted. Here also the environmental aspects shall be measured.

The paper can be understood as a methodology for the integration of similar infrastructural elements (bridges, railway crossing, etc.) and their management into a complex system for a smart city. Thanks to the knowledge of a wider area (neighborhood, district, etc.) than the element itself, it is possible to achieve better sustainability of a specific part of the city and to increase resilience of the whole solution.

**Author Contributions:** Conceptualization, O.P., P.P. and M.S.; methodology, O.P., P.P. and M.S.; validation, M.S.; writing—original draft preparation, P.P., O.P. and M.S.; writing—review and editing, O.P. All authors have read and agreed to the published version of the manuscript.

**Funding:** This research was funded by the European Regional Development Fund under the project AI & Reasoning (reg. No. CZ.02.1.01/0.0/0.0/15\_003/0000466).

**Institutional Review Board Statement:** Not applicable.

**Informed Consent Statement:** Not applicable.

**Conflicts of Interest:** The authors declare no conflict of interest.

#### **References**

