Abstract
The collective motion of interacting selfdriven particles describes many types of coordinated dynamics and selforganisation. Prominent examples are alignment or lane formation which can be observed alongside other ordered structures and nonuniform patterns. In this article, we investigate the effects of different types of heterogeneity in a twospecies selfdriven particle system. We show that heterogeneity can generically initiate segregation in the motion and identify two heterogeneity mechanisms. Longitudinal lanes parallel to the direction of motion emerge when the heterogeneity statically lies in the agent characteristics (quenched disorder). While transverse bands orthogonal to the motion direction arise from dynamic heterogeneity in the interactions (annealed disorder). In both cases, nonlinear transitions occur as the heterogeneity increases, from disorder to ordered states with lane or band patterns. These generic features are observed for a first and a second order motion model and different characteristic parameters related to particle speed and size. Simulation results show that the collective dynamics occur in relatively short time intervals, persist stationary, and are partly robust against random perturbations.
Introduction
The emergence of coordinated movement and selforganisation in the collective motion of large groups of interacting autonomous individuals is ubiquitous in nature^{1,2,3,4}. Flock and swarm behaviours arise e.g. in bacterial and cell migration^{5,6} (see also the pioneering works on morphogenesis by Turing^{7}), animal aggregation^{8,9,10,11}, rods and nonliving systems^{12,13,14}, microswimmers^{15,16,17}, but also in robotic systems^{18,19}. This includes a large class of nonequilibrium systems of selfdriven particles often called active matter in the literature. The microscopic interaction rules initiate motilityinduced phase separation from disordered states to nonuniform macroscopic patterns displaying order (at least partially)^{20,21}. Pedestrian and vehicle flows are also systems of interacting selfdriven agents that can exhibit phase transitions and selforganisation^{22,23,24,25,26}. Indeed, pedestrians and drivers interact locally with their environment and the neighbourhood and have by the way densitydependent motility parameters. Similar forms of collective dynamics can arise in more abstract conceptions of selfdriven particles like social systems, social networks, and opinion formation^{27,28,29,30}. Regardless of the important differences in the specific type and interaction of the individuals, collective motions exhibit similarities suggesting the existence of generic underlying mechanisms and systemic phase transitions^{20,31,32}.
The terminology active, selfdriven, or selfpropelled particles dates back to the 1970s when it was introduced for the description of swimming microorganisms^{33}. It became popular during the 1990s with the Vicsek model^{8} and is nowadays used for animal aggregation^{10}, bacterial migration^{6}, suspensions of microswimmers^{16}, or vehicle and pedestrian dynamics^{34}. Selfdriven particle models are mainly designed to describe collective dynamics. In contrast to Brownian colloids dominated by physical (exclusion) rules, the motion of selfdriven particles is mainly governed by local interaction rules with the environment. The interactions may result from external chemical potentials, for instance in cell behaviour (chemotaxis), while they come from social and proxemics interaction rules for pedestrians (sociotaxis)^{35}. The social rules of pedestrians can initiate collective phenomena improving the system performance. The collective motions have positive effects on transport properties and may be referred to as intelligent collective dynamics. Examples of intelligent collective dynamics of pedestrians are lane formation^{32,36,37,38}, collective motion and alignment^{21,39}, or intermittent flows at bottlenecks and diagonal, chevron or circular patterns at intersections^{40,41}. Intelligent collective dynamics in transportation are also of practical relevance, e.g. for the control of autonomous driving systems^{42,43}. Yet, selforganisations may also induce negative effects on traffic safety and performance, for instance through stopandgo waves^{44,45,46}, herding^{35} or clogging effects^{47,48} among other segregation phenomena^{49}. Besides scientific interests, extracting the essential features of collective motions from individual behaviors is fundamental to authorities for the control of crowd and traffic dynamics and the development of intelligent transportation strategies.
In selfdriven particle systems, collective dynamics can result from heterogeneity effects in the microscopic behaviour of the particles, upon other inertia or delay mechanisms. Pedestrian dynamics describe for instance lane formation for counterflow or for pedestrians walking in the same direction but with different speeds^{32,50}. Other examples are stripe, diagonal travelling band or chevron patterns for crossing flows^{40,41}. In this article, we show by simulation that heterogeneity effects can generically initiate segregation and spontaneous formation of lane or band patterns in twospecies flows of polarised agents. Two heterogeneity mechanisms are identified: static heterogeneity in the agent characteristics and dynamic heterogeneity in the interactions. Static heterogeneity refers to quenched disorder in solid state physics and the terminology of random walks, when dynamic heterogeneity relies on annealed disorder (see^{51,52} and references therein). Interestingly, lanes spontaneously occur when the heterogeneity relies statically on the agent features (quenched disorder), while bands emerge if the heterogeneity operates dynamically in the interactions (annealed disorder). The lane and band patterns are stable and persist stationary, although no alignment interaction rules are defined (explicitly or implicitly). The features are generically observed with different microscopic motion models, namely the first order collisionfree speed model^{53} and the inertial second order social force model^{54}, and different types of parameters related to agent speed or agent size. Lane and band patterns are observed with different binary mixtures of interacting particles^{55,56,57}, e.g. oppositely charged colloids subject to, respectively, DC and AC external electric fields^{58,59}. In the presented models, the heterogeneity comes from internal interaction mechanisms. Potential applications are mixed urban traffic flow and the modelling of the interactions between different types of road users.
Models
We consider in the following two types of agents evolving on a torus. We denote \(n=1,\ldots ,N\) the agent’s ID while \(k_n={1,2}\) is the agent’s type. The agent’s motion is given by a dynamic model \(F_{{\mathbf {p}}}({\mathbf {X}}_n)\) that defines the agent speed as in the collisionfree model^{53} or the agent acceleration as in the social force model^{54} according to local spatiotemporal variables \({\mathbf {X}}_n\) (e.g. the position and speed differences with the neighbours) and a set of parameters \({\mathbf {p}}\) (namely, desired speed, desired time gap, repulsion rate, agent size, and so on). We assume two different settings \({\mathbf {p}}_1\) and \({\mathbf {p}}_2\) for the parameters. Two types of heterogeneity are then considered.

1.
Heterogeneity in the agent characteristics—We attribute statically the two parameter settings \({\mathbf {p}}_1\) and \({\mathbf {p}}_2\) to the two types of agents:
$$\begin{aligned} M_1(n,k_n)=F_{{\mathbf {p}}_{k_n}}({\mathbf {X}}_n). \end{aligned}$$(1)We aim here to model different types of agents (for instance pedestrians and bicycles) with specific characteristics in term of desired speed, agent size, etc. This kind of heterogeneity is usually called quenched disorder in solid state physics. It refers to static heterogeneity features remaining constant (i.e. quenched) over the time.

2.
Heterogeneity in the interactions—We attribute dynamically the two parameter settings \({\mathbf {p}}_1\) and \({\mathbf {p}}_2\) according to the type of the closest agent in front. The parameter setting is \({\mathbf {p}}_1\) if the agent in front is of the same type, while it is \({\mathbf {p}}_2\) in case of interaction with an another agent type:
$$\begin{aligned} M_2(n,k_n)=\left\{ \begin{array}{ll}F_{{\mathbf {p}}_1}({\mathbf {X}}_n), &{}\text {if }{\tilde{k}}({\mathbf {X}}_n)=k_n,\\ F_{{\mathbf {p}}_2}({\mathbf {X}}_n),&{}\text {otherwise,}\end{array}\right. \end{aligned}$$(2)with \({\tilde{k}}({\mathbf {X}}_n)\) the type of the closest agent in front (see “Methods” for details). Such a mechanism may be realized in mixed urban traffic where cyclists or electric scooter drivers are adapting their behaviour, e.g. increasing the time gap or reducing his/her desired speed, when following a group of pedestrians. The heterogeneity features are here timedependent. They are usually called annealed disorder in the literature of solid state physics^{51,52}.
In contrast to the model Eq. (1) for which the heterogeneity statically lies in agent characteristics, the model Eq. (2) induces a dynamic heterogeneity mechanism taking place in the interactions. See Fig. 1 for an illustrative example in one dimension.
Analysis
We qualitatively observe by simulation that the static heterogeneity model \(M_1\) Eq. (1) initiates the formation of lanes in the system, while the dynamic heterogeneity model \(M_2\) Eq. (2) allows the formation of bands (see Fig. 2 below). To classify the state of the system, we measure the agent’s mean speed and also order parameters for the lane and band formation. The order parameter has been introduced to detect lanes in a colloidal suspension^{60} and used in pedestrian dynamics^{61}. We denote in the following \((x_n,y_n)\) the positions of the agents \(n=1,\ldots ,N\). The order parameter for lane formation is
Here \(L_n\) is the number of agents with the same type in front of the agent n on a lane of width \(\Delta >0\), \(\text {card}(A)\) being the operator counting the elements of an ensemble A, while \({\bar{L}}_n\) is the number of agents with different types. The order parameter \(\Phi _L\) tends by construction to be close to one when the system describes lanes. Assuming a disordered state for which the agents are uniformly randomly distributed on a \(w\times h\) rectangle with \(h>\Delta >0\) the system’s height and \(w>0\) the system’s width, the number \(L_n\) of agents with the same type is distributed according to the binomial model \({\mathscr{B}}(m,p)\), with \(m=N_{k_n}\) and \(p=\Delta /h\). Here \(N_{k_n}\) is the total number of agents with type \(k_n\). The distribution of the number \({\bar{L}}_n\) of agents with different types can be deduced similarly.
For band formation, the order parameter is
The band order parameter includes a term w/h, w and h being the width and height of the system. The distribution of the order parameters for lanes and bands is by construction the same in cases of random positions of the agents. Indeed for disordered states, the number \(B_n\) of agents on the sides with the same type has a binomial distribution \({\mathscr{B}}(m,p)\) with \(m=N_{k_n}\) and \(p=\Delta w/(hw)=\Delta /h\) as well. This makes the lane and band order parameters directly comparable. In particular, \(\mathbb E\Phi _L=\mathbb E\Phi _B\ge (1p)/(1p+pm)\) systematically holds for disordered states.
Simulation results
We carry out simulations of twospecies flows on a \(9\times 5\) m rectangular with topdown and rightleft periodic boundary conditions (torus). We simulate the evolution of \(N=45\) agents (density of 1 agent\(/\) \(\hbox {m}^2\)) from random initial conditions using the first order collisionfree (CF) pedestrian model^{53} and the inertial social force (SF) model^{54} in the Supplementary Materials. The desired directions of motion of all agents are polarised to the right. The heterogeneity in the two settings \({\mathbf {p}}_1\) and \({\mathbf {p}}_2\) is introduced by varying model parameters related to the speed (i.e. desired speed or time gap parameters) or to the size of the agents. We quantify the heterogeneity level in the twospecies system using the index \(\delta _s\) when we vary parameters related to agent speed, and the index \(\delta _l\) when we vary parameters related to agent size. The definitions of the microscopic motion model and details on the setting of the model’s parameters and heterogeneity indexes are provided in “Methods”.
Preliminary experiment
We first present single simulation histories of the twospecies system with the two heterogeneity models Eqs. (1) and (2). We simulate the evolution of the agents using the collisionfree model^{53} for given heterogeneity indexes \(\delta _s\) on the parameters related to the agent speed, namely the desired speed and the time gap parameters (see “Methods” for details on the setting of the model parameters). Successive snapshots of the system are presented in Fig. 2. The evolution of the system with the static heterogeneity model Eq. (1) is shown in the left panels while the evolution with the dynamic heterogeneity model Eq. (2) is displayed in the right panels. The bottom panels provide the evolution of the order parameters for lane and band formation. We observe fast formation of two lanes by agent type within the first heterogeneity model, while two bands emerge with the second model. The parameter settings are statically attributed to the agent type for the model defined by Eq. (1). Thus, the segregation also involves the parameter setting. In contrast, the parameter setting depends on the type of the agent in front for the model defined by Eq. (2). This results in four bands according to the parameter settings. Note that further simulations with larger systems may describe more lanes and bands with different sizes.
The order parameters converge after a transient phase to stationary performances with lanes or bands where they are polarised to one or zero. The duration of the transient states is approximately 40 seconds of simulation. Note that the duration of the transient states varies from a simulation to another but the system systematically converges to a stationary state with lanes or bands. Furthermore, lane and band formation in larger systems require longer simulation times, especially for the band formation (see the blue dotted curves in Fig. 2, bottom panel, for a \(15\times 9\) m system three times larger with 135 pedestrians). Similar performances are observed when using the social force model instead of the collisionfree model (see Fig. S1 in the Supplementary Materials). Here, the heterogeneity of the two parameter settings \({\mathbf {p}}_1\) and \({\mathbf {p}}_2\) and corresponding index \(\delta _s\) are relatively high. Reducing the heterogeneity index can result in a longer transient phase or even no formation of lanes and bands. We may expect that lanes and bands progressively emerge as the heterogeneity index increases. This is however not the case. As described in the next section, we observe in stationary states an abrupt phase transition from disorder states to order states with lanes or bands as the heterogeneity index increases.
Stationary performances
The preliminary experiment shows that lanes tend to emerge in the dynamics when the heterogeneity relies on agent characteristics (quenched disorder model \(M_1\) Eq. (1)) while bands occur when the heterogeneity takes place in the interactions (annealed disorder model \(M_2\) Eq. (2)). The results presented in Fig. 2 are obtained for given values of the heterogeneity index \(\delta _s\) between the two parameter settings \({\mathbf {p}}_1\) and \({\mathbf {p}}_2\). The index is sufficiently high to rapidly observe the formation of lanes or bands. In this section, we analyse the performances by progressively increasing the heterogeneity indexes \(\delta _s\) and \(\delta _l\). We repeated one thousand MonteCarlo simulations from independent random initial configurations for the two heterogeneity models \(M_1\) Eq. (1) and \(M_2\) Eq. (2) by varying the heterogeneity indexes \(\delta _s\) and \(\delta _l\) over twenty levels. The differences between the two parameter settings \({\mathbf {p}}_1\) and \({\mathbf {p}}_2\) are zero at the lower heterogeneity level, while they are important at the higher level. We measure the system during 60 s after a simulation time \(t_0=600\) s to observe stationary performances. The remaining Figs. 3 and 4 and Figs. S2–S5 in the Supplementary Materials show the median estimates of the MonteCarlo simulations with interquartile ranges of the agent mean speed and order parameters for lane and band formation. Details on the setting of the model’s parameters and heterogeneity indexes are provided in “Methods”.
We first present the MonteCarlo simulation results obtained by varying the heterogeneity index \(\delta _s\) relying on agent speed features (desired speed and time gap parameters). We observe the emergence of lanes when the heterogeneity relies on agent characteristics (quenched disorder model \(M_1\) Eq. (1), see Fig. 3, left panels) while band occurs when the heterogeneity operates in the interactions (annealed disorder model \(M_2\) Eq. (2), see Fig. 3, right panels). An abrupt phase transition occurs as the heterogeneity index \(\delta _s\) increases from a disordered state for which the order parameters are close to 0.2 (dotted line in Fig. 3, top panels) to an ordered dynamics with lanes or bands for which the order parameters are polarised on zero or one. A critical heterogeneity index can be identified. The lane patterns allow the speed of the agents with faster characteristics to be higher than the speed of agents with slower features (Fig. 3, bottom left panel). This makes the agent speed on average close to the mean speed of a homogeneous flow (dotted line). In contrast, the band patterns in the model \(M_2\) Eq. (2) correspond to gridlocks for which the speed of all the agents have slower features (Fig. 3, bottom right panel). Similar performances occur by varying parameters relying on agent size (see Fig. 4 below), or by using the social force inertial model instead of the first order collisionfree model (see Figs. S2 and S3 in the Supplementary Materials).
The lane formation for counterflow is an universal collective mechanism observed in pedestrian dynamics and binary mixtures of interacting particles^{32,36,37,38,56,57,58}. It relies on heterogeneity of agent velocity: some of them have a desired speed v while the others have a desired speed \(v\). No counterflow occurs in the presented simulation experiments since all agents are polarised to the right. The agents of type 1 have a speed \(v_1>0\) and agents of type 2 have a speed \(v_2>0\) with \(v_1\not =v_2\). However, using a Galilean transformation with \({\tilde{v}}=(v_1+v_2)/2\) and neglecting anisotropic effects, the situation is the same as in a counterflow with \(v=v_2v_1/2\). Therefore, it is not surprising to observe longitudinal lane formation in unidirectional flows with the quenched disorder model \(M_1\) Eq. (1) even if no counterflow arises (see also recent experiments^{50}). The dynamic heterogeneity features of the annealed disorder model \(M_2\) Eq. (2) result in transversal segregation in space and the formation of bands vertical to the direction of motion. Band structures, as clusters or stopandgo dynamics, are selforganised density waves^{45,58}. The agents have a constant speed and the bands propagate downstream in the presented study. The bands propagate upstream with a characteristic speed and enforce agents to deceleration and acceleration phases in case of stopandgo dynamics^{44,45,62}, while they are static for oppositely charged particles^{59}.
Heterogeneity in agent speed featuring results in transitions from disordered states to ordered patterns with lanes or bands according to, respectively, model \(M_1\) Eq. (1) and model \(M_2\) Eq. (2). Similar although smoother transitions occur when varying the agent size characteristic index \(\delta _l\) instead of the speed index \(\delta _s\) (compare Figs. 3 and 4). Lanes emerge for the static heterogeneity model Eq. (1), see Fig. 4, left panels, while bands arise for the dynamic heterogeneity model Eq. (2), see Fig. 4, right panels. In contrast to heterogeneous models relying on agent speed, varying the agent size induces bidimensional steric effects making the average speed in the presence of lanes less than the mean speed of a homogeneous flow (see Fig. 4, bottom left panel). On contrast, the mean speed can be higher than the homogeneous one in the presence of bands (see Fig. 4, bottom right panel). Indeed, varying the agent size acts in two dimensions, reducing or increasing the available space in case of presence of lanes or bands. Similar performances occur when using the social force model instead of the collisionfree model (compare Fig. 4 and Fig. S3 in the Supplementary Materials).
Transient states and perturbed systems
The simulations above describe stationary situations. Yet, it is interesting to observe the transient states of the system and the time required for the emergence of lanes or bands. In Fig. 5, we run simulations for different simulation times ranging from \(t_0=0\) to \(t_0=3000\,\rm s\) before starting the measurements. The initial conditions are random. The lanes and bands spontaneously emerge during the first minute of simulation when the heterogeneity index \(\delta _s\) is sufficiently high. Similar phase transition to lane and band patterns occur for \(t_0=600\), \(t_0=1200\) and \(t_0=3000\) s suggesting that the dynamics can be considered stationary as soon as \(t\ge 600\) s. The simulation times required to obtain stationary performances fluctuate from one simulation to another. They also depend on the size of the system and the density level. Generally speaking, larger or more dense systems require on average longer simulation times to reach a stationary state than smaller or least dense systems.
So far, the modelling approach is deterministic. Analysing whether the collective motion is robust against random noising may reveal unexpected behaviours. In Fig. 6, we present the order parameter for stochastic systems for which the agent speeds are subject to independent Brownian noises. Simulations are carried out for a noise amplitude \(\sigma =0.1\), 0.2 and 0.5 m/s. The noise monotonically perturbs the lane formation in the static heterogeneity model \(M_1\) Eq. (1) (Fig. 6, left panel). No phase transition occurs for \(\sigma =0.5\) m/s. This phenomenon is well known in the literature as the freezingbyheating effect^{63}. The concept is borrowed from the plant growth stimulation process. On the contrary, introducing a low noise in the dynamics allows improving the band formation in the dynamic heterogeneity model \(M_2\) Eq. (2). Indeed, the critical heterogeneity indexes for the phase transition are smaller with \(\sigma =0.1\) or \(\sigma =0.2\) m/s than for the deterministic model with \(\sigma =0\), see Fig. 6, right panel. The band pattern is not only robust to the noise, it exists noise ranges improving the band formation. In contrast to the freezingbyheating effect, this can be interpreted as an example of noiseinduced ordering effect^{64,65}.
Discussion
Two microscopic heterogeneity mechanisms are identified for the formation of collective segregation in twospecies systems of polarised agents. Quenched disorder model \(M_1\) Eq. (1) with static heterogeneity in the agent characteristics initiates the formation of longitudinal lanes. While annealed disorder model \(M_2\) Eq. (2) for which the heterogeneity dynamically lies in the interactions initiates transversal bands perpendicular to the motion direction. These features are observed when varying parameters related to agent speed (e.g. desired speed or time gap parameters, see Figs. 2 and 3) or to agent size (see Fig. 3), and by using the first order collisionfree model^{53} or the second order social force model^{63} (see Fig. S1–S3 in the Supplementary Materials). The lanes and bands already emerge rather early in the simulations (see Figs. 5; Fig. S4 in the Supplementary Materials) and are partly robust against random perturbations (see Figs. 6; Fig. S5 in the Supplementary Materials). The band formation is especially robust and may even be improved by perturbing the agent dynamics (noiseinduced ordering effect), when the lane formation does not (freezingbyheating effect). Further simulation results show similar behaviours when the noise is introduced in the agent polarity (i.e. the desired direction) instead of the speed.
Regardless of the modelling order of the motion models (speedbased or accelerationbased models) and related parameters, relying the heterogeneity on agent characteristics or on the interactions initiates generic segregation and the formation of lanes and bands in the dynamics. Such results corroborate the universality of the lane formation observed in pedestrian counterflows, oppositely charged colloids, upon other binary mixtures of interacting particles^{32,56,57,58}. They open new explanation perspectives for the formation of bands. Further theoretical investigations remain necessary to rigorously characterise the phase transitions. A possibility is to analyse meanfield instability phenomena of discrete lattice representations of the model^{41}. The presence of walls and obstacles and the role of the geometry of given facilities may also be of interest. Preliminary simulation results show segregation effects of slower or bigger agents in case of bottleneck within the static heterogeneity model. These are expelled at the edges of the system and are obstructed by the presence of walls. These simulation results require more attention, notably for elderly people, people with motor disabilities, or in the current context of social distanciation.
Methods
The two agent motion models used in the simulations are the collisionfree (CF) model^{53} and the social force (SF) model^{54} (see the Supplementary Materials). The CF model is a speedbased model of first order while the SF model is an inertial accelerationbased model. The agent dynamics are polarised in both models, i.e. all the agents have identical desired direction.
Collisionfree model
In the collisionfree model, the dynamics of an agent n with position \({\mathbf {x}}_n\) is given by the first order differential equation
composed of the scalar speed model
here \(V_j\ge 0\) is the desired speed, \(T_j>0\) denotes the desired time gap, and \(\ell _j\ge 0\) the agent size, the index \(j=1,2\) representing the two parameter setting \({\mathbf {p}}_1\) and \({\mathbf {p}}_2\), and the direction model
with \({\mathbf {e}}_0=0\) the desired direction (polarity), \(U(x)=A\exp \big ((\ell _jx)/B\big )\) with parameters \(A=5\) and \(B=0.1\) m a repulsive potential with the neighbors, and \(C>0\) a normalisation constant. A bidimensional white noise \(\xi _n\) (i.e. the time derivatives of two independent Wiener processes) with amplitude \(\sigma >0\) is used for the stochastic model in “Transient states and perturbed systems”. The function \(s({\mathbf {X}}_n)=\Vert {\mathbf {x}}_n{\mathbf {x}}_{m_0({\mathbf {X}}_n)}\Vert \) in the scalar speed model determines the minimal distance in front,
being the closest agent in front of the agent n. Note that in the definition of the dynamic heterogeneity type Eq. (2), the type of the closest agent in front is \({\tilde{k}}({\mathbf {X}}_n)=k_{m_0({\mathbf {X}}_n)}\). The simulations are carried out using an explicit Euler numerical scheme in deterministic cases, and using an Euler–Maruyama scheme for the simulations including the stochastic noise. The time step is \(\delta t=0.01\) s in both cases.
Setting of the parameters
The default values for the parameters \({\mathbf {p}}=(\ell ,V,T)\) of the CF model are based on the setting proposed in the literature^{53}
Note that \(\Delta =0.6\) m in the order parameters corresponds approximately to two times the size of a pedestrian. Starting from the default values, we vary using heterogeneity indexes the parameter settings \({\mathbf {p}}_1=(\ell _1,V_1,T_1)\) and \({\mathbf {p}}_2=(\ell _2,V_2,T_2)\).

In the analysis of the speed heterogeneity (heterogeneity index \(\delta _s\), cf. Figs. 2, 3, 5 and 6) the time gap parameter T ranges into [0.05, 1.95] s by step of 0.05 s,
$$\begin{aligned} T_1=T+0.05\delta _s,\quad T_2=T0.05\delta _s,\quad \delta _s=0,\ldots ,19, \end{aligned}$$(10)while the desired (maximal) speed V ranges into [1, 2] m/s by step of 0.025 m/s,
$$\begin{aligned} V_1=V0.025\delta _s,\quad V_2=V+0.025\delta _s,\quad \delta _s=0,\ldots ,19. \end{aligned}$$(11)The parameters \(\ell _1=\ell _2=\ell =0.3\) m for the agent size remain constant.

In the analysis of the size heterogeneity (heterogeneity index \(\delta _l\), cf. Fig. 4) the parameter \(\ell \) ranges into [0, 0.9] m by step of 0.015 m decreasing and 0.03 m increasing,
$$\begin{aligned} \ell _1=\ell 0.015\delta _l,\quad \ell _2=\ell +0.03\delta _l,\quad \delta _l=0,\ldots ,19. \end{aligned}$$(12)The remaining parameters for the agent speed \(V_1=V_2=V=1.5\) m/s and \(T_1=T_2=T=1\) s are constant.
Data availability
Simulations of lane or band formations with the two heterogeneity models \(M_1\) Eq. (1) and \(M_2\) Eq. (2) can be implemented online and in real time on the dedicated webpage https://www.vzu.uniwuppertal.de/fileadmin/site/vzu/Laneandbandformation. Simulation module and programming code (in Logo language) can be downloaded on the same link.
References
Castellano, C., Fortunato, S. & Loreto, V. Statistical physics of social dynamics. Rev. Mod. Phys. 81, 591–646 (2009).
Ramaswamy, S. The mechanics and statistics of active matter. Annu. Rev. Condensed Matter Phys. 1, 323–345 (2010).
Vicsek, T. & Zafeiris, A. Collective motion. Phys. Rep. 517, 71–140 (2012).
Elgeti, J., Winkler, R. G. & Gompper, G. Physics of microswimmers—single particle motion and collective behavior: A review. Rep. Prog. Phys. 78, 056601 (2015).
Friedl, P. & Gilmour, D. Collective cell migration in morphogenesis, regeneration and cancer. Nat. Rev. Mol. Cell Biol. 10, 445–457 (2009).
Chen, C., Liu, S., Shi, X.Q., Chaté, H. & Wu, Y. Weak synchronization and largescale collective oscillation in dense bacterial suspensions. Nature 542, 210–214 (2017).
Turing, A. M. The chemical basis of morphogenesis. Philos. Trans. R. Soc. Lond. B Biol. Sci. 237, 37–72 (1952).
Vicsek, T., Czirók, A., BenJacob, E., Cohen, I. & Shochet, O. Novel type of phase transition in a system of selfdriven particles. Phys. Rev. Lett. 75, 1226–1229 (1995).
Parrish, J. K. & EdelsteinKeshet, L. Complexity, pattern, and evolutionary tradeoffs in animal aggregation. Science 284, 99–101 (1999).
Buhl, J. et al. From disorder to order in marching locusts. Science 312, 1402–1406 (2006).
Needleman, D. & Dogic, Z. Active matter at the interface between materials science and cell biology. Nat. Rev. Mater. 2, 1–14 (2017).
Narayan, V., Ramaswamy, S. & Menon, N. Longlived giant number fluctuations in a swarming granular nematic. Science 317, 105–108 (2007).
Giomi, L. Geometry and topology of turbulence in active nematics. Phys. Rev. X 5, 031003 (2015).
Bär, M., Großmann, R., Heidenreich, S. & Peruani, F. Selfpropelled rods: Insights and perspectives for active matter. Annu. Rev. Condensed Matter Phys. 11, 441–466 (2020).
Janssen, L. M., Kaiser, A. & Löwen, H. Aging and rejuvenation of active matter under topological constraints. Sci. Rep. 7, 1–13 (2017).
Jahanshahi, S., Lozano, C., ten Hagen, B., Bechinger, C. & Löwen, H. Colloidal brazil nut effect in microswimmer mixtures induced by motility contrast. J. Chem. Phys. 150, 114902 (2019).
Grauer, J., Löwen, H., Be’er, A. & Liebchen, B. Swarm hunting and cluster ejections in chemically communicating active mixtures. Sci. Rep. 10, 1–11 (2020).
Ibele, M., Mallouk, T. & Sen, A. Schooling behavior of lightpowered autonomous micromotors in water. Angew. Chem. Int. Ed. 48, 3308–3312 (2009).
OzkanAydin, Y., Goldman, D. I. & Bhamla, M. S. Collective dynamics in entangled worm and robot blobs. Proc. Natl. Acad. Sci. 118, 20 (2021).
Cates, M. E. & Tailleur, J. Motilityinduced phase separation. Annu. Rev. Condensed Matter Phys. 6, 219–244 (2015).
Caprini, L., Marini Bettolo Marconi, U. & Puglisi, A. Spontaneous velocity alignment in motilityinduced phase separation. Phys. Rev. Lett. 124, 078001 (2020).
Chowdhury, D., Santen, L. & Schadschneider, A. Statistical physics of vehicular traffic and some related systems. Phys. Rep. 329, 199–329 (2000).
Bellomo, N., Piccoli, B. & Tosin, A. Modeling crowd dynamics from a complex system viewpoint. Math. Models Methods Appl. Sci. 22, 1230004 (2012).
Moussaïd, M. et al. Traffic instabilities in selforganized pedestrian crowds. PLoS Comput. Biol. 8, 1–10 (2012).
Shahhoseini, Z. & Sarvi, M. Collective movements of pedestrians: How we can learn from simple experiments with nonhuman (ant) crowds. PLoS One 12, 1–20 (2017).
Boltes, M., Zhang, J., Tordeux, A., Schadschneider, A. & Seyfried, A. Empirical Results of Pedestrian and Evacuation Dynamics 1–29 (Springer, 2018).
Hermann, G. & Touboul, J. Heterogeneous connections induce oscillations in largescale networks. Phys. Rev. Lett. 109, 018702 (2012).
Muchnik, L., Aral, S. & Taylor, S. J. Social influence bias: A randomized experiment. Science 341, 647–651 (2013).
Moussaïd, M., Kämmer, J. E., Analytis, P. P. & Neth, H. Social influence and the collective dynamics of opinion formation. PLoS One 8, 1–8 (2013).
Touboul, J. D. The hipster effect: When anticonformists all look the same. Discret. Contin. Dyn. Syst. B 24, 4379 (2019).
Fu, X. et al. Spatial selforganization resolves conflicts between individuality and collective migration. Nat. Commun. 9, 1–12 (2018).
Cristìn, J., Méndez, V. & Campos, D. General scaling in bidirectional flows of selfavoiding agents. Sci. Rep. 9, 18488 (2019).
Childress, S., Levandowsky, M. & Spiegel, E. A. Pattern formation in a suspension of swimming microorganisms: Equations and stability theory. J. Fluid Mech. 69, 591–613 (1975).
Helbing, D. Traffic and related selfdriven manyparticle systems. Phys. Mod. Phys. 73, 1067–1141 (2001).
Kirchner, A. & Schadschneider, A. Simulation of evacuation processes using a bionicsinspired cellular automaton model for pedestrian dynamics. Phys. A 312, 260–276 (2002).
Burstedde, C., Klauck, K., Schadschneider, A. & Zittartz, J. Simulation of pedestrian dynamics using a twodimensional cellular automaton. Phys. A 295, 507–525 (2001).
Nakayama, A., Hasebe, K. & Sugiyama, Y. Instability of pedestrian flow and phase structure in a twodimensional optimal velocity model. Phys. Rev. E 71, 036121 (2005).
Feliciani, C., Murakami, H. & Nishinari, K. A universal function for capacity of bidirectional pedestrian streams: Filling the gaps in the literature. PLoS One 13, 1–31 (2018).
Garcimartín, A., Pastor, J. M., MartínGómez, C., Parisi, D. & Zuriguel, I. Pedestrian collective motion in competitive room evacuation. Sci. Rep. 7, 1–9 (2017).
Helbing, D., Buzna, L., Johansson, A. & Werner, T. Selforganized pedestrian crowd dynamics: Experiments, simulations, and design solutions. Transport. Sci. 39, 1–24 (2005).
Cividini, J., AppertRolland, C. & Hilhorst, H.J. Diagonal patterns and chevron effect in intersecting traffic flows. EPL 102, 20002 (2013).
Schwarting, W., Pierson, A., AlonsoMora, J., Karaman, S. & Rus, D. Social behavior for autonomous vehicles. Proc. Natl. Acad. Sci. 116, 24972–24978 (2019).
Cerotti, D., Distefano, S., Merlino, G. & Puliafito, A. A crowdcooperative approach for intelligent transportation systems. IEEE Trans. Intell. Transp. Syst. 18, 1529–1539 (2017).
Stern, R. E. et al. Dissipation of stopandgo waves via control of autonomous vehicles: Field experiments. Transport. Res. Part C Emerg. Technol. 89, 205–221 (2018).
Bain, N. & Bartolo, D. Dynamic response and hydrodynamics of polarized crowds. Science 363, 46–49 (2019).
Friesen, M., Gottschalk, H., Rüdiger, B. & Tordeux, A. Spontaneous wave formation in stochastic selfdriven particle systems. SIAM J. Appl. Math. 81, 853–870 (2021).
Zuriguel, I. et al. Clogging transition of manyparticle systems flowing through bottlenecks. Sci. Rep. 4, 7324 (2014).
Nicolas, A., Bouzat, S. & Kuperman, M. N. Pedestrian flows through a narrow doorway: Effect of individual behaviours on the global flow and microscopic dynamics. Transport. Res. Part B Methodol. 99, 30–43 (2017).
Foulaadvand, M. E. & NeekAmal, M. Asymmetric simple exclusion process describing conflicting traffic flows. Europhys. Lett. 80, 60002 (2007).
Fujita, A., Feliciani, C., Yanagisawa, D. & Nishinari, K. Traffic flow in a crowd of pedestrians walking at different speeds. Phys. Rev. E 99, 062307 (2019).
Krüsemann, H., Godec, A. & Metzler, R. Firstpassage statistics for aging diffusion in systems with annealed and quenched disorder. Phys. Rev. E 89, 040101 (2014).
Tateishi, A., Ribeiro, H., Sandev, T., Petreska, I. & Lenzi, E. Quenched and annealed disorder mechanisms in comb models with fractional operators. Phys. Rev. E 101, 022135 (2020).
Tordeux, A., Chraibi, M. & Seyfried, A. Collisionfree speed model for pedestrian dynamics. In Traffic and Granular Flow ’15 225–232 (Springer, 2016).
Helbing, D. & Molnár, P. Social force model for pedestrian dynamics. Phys. Rev. E 51, 4282–4286 (1995).
Löwen, H. Particleresolved instabilities in colloidal dispersions. Soft Matter 6, 3133–3142 (2010).
Poncet, A., Bénichou, O., Démery, V. & Oshanin, G. Universal long ranged correlations in driven binary mixtures. Phys. Rev. Lett. 118, 118002 (2017).
Vasilyev, O. A., Bénichou, O., MejíaMonasterio, C., Weeks, E. R. & Oshanin, G. Cooperative behavior of biased probes in crowded interacting systems. Soft Matter 13, 7617–7624 (2017).
Vissers, T. et al. Lane formation in driven mixtures of oppositely charged colloids. Soft Matter 7, 2352–2356 (2011).
Vissers, T., van Blaaderen, A. & Imhof, A. Band formation in mixtures of oppositely charged colloids driven by an ac electric field. Phys. Rev. Lett. 106, 228303 (2011).
Rex, M. & Löwen, H. Lane formation in oppositely charged colloids driven by an electric field: Chaining and twodimensional crystallization. Phys. Rev. E 75, 051402 (2007).
Nowak, S. & Schadschneider, A. Quantitative analysis of pedestrian counterflow in a cellular automaton model. Phys. Rev. E 85, 066128 (2012).
Nakayama, A., Hasebe, K. & Sugiyama, Y. Effect of attractive interaction on instability of pedestrian flow in a twodimensional optimal velocity model. Phys. Rev. E 77, 016105 (2008).
Helbing, D., Farkas, I. & Vicsek, T. Freezing by heating in a driven mesoscopic system. Phys. Rev. Lett. 84, 1240–1243 (2000).
Wiesenfeld, K., Pierson, D., Pantazelou, E., Dames, C. & Moss, F. Stochastic resonance on a circle. Phys. Rev. Lett. 72, 2125 (1994).
D’Huys, O., Veltz, R., Dolcemascolo, A., Marino, F. & Barland, S. Canard resonance: On noiseinduced ordering of trajectories in heterogeneous networks of slowfast systems. J. Phys. Photon. 3, 024010 (2021).
Acknowledgements
RK and AT acknowledge the FrancoGerman research project MADRAS funded in France by the Agence Nationale de la Recherche (ANR, French National Research Agency), project number ANR20CE920033, and in Germany by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation), project number 446168800.
Funding
Open Access funding enabled and organized by Projekt DEAL.
Author information
Authors and Affiliations
Contributions
A.S. and A.T. conceived and designed the study. A.T., B.K. and R.K. performed the numerical simulations. A.T. wrote the manuscript. All authors reviewed the article.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Khelfa, B., Korbmacher, R., Schadschneider, A. et al. Heterogeneityinduced lane and band formation in selfdriven particle systems. Sci Rep 12, 4768 (2022). https://doi.org/10.1038/s41598022086494
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598022086494
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.