Abstract
To reduce carbon emission in the transportation sector, there is currently a steady move taking place to an electrified transportation system. This brings about various issues for which a promising solution involves the construction and operation of a battery swapping infrastructure rather than in-vehicle charging of batteries. In this paper, we study a closed Markovian queueing network that allows for spare batteries under a dynamic arrival policy. We propose a provisioning rule for the capacity levels and show that these lead to near-optimal resource utilization, while guaranteeing good quality-of-service levels for electric vehicle users. Key in the derivations is to prove a state-space collapse result, which in turn implies that performance levels are as good as if there would have been a single station with an aggregated number of resources, thus achieving complete resource pooling.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
A key challenge in the deployment and take-up of electric vehicles by society is the provision of a scalable charging infrastructure. A viable solution is the development of a battery swapping network. Currently, there has been work done on the operation and control of a single battery swapping station (for example [20]), but there is a clear gap within the literature when extending this to the operation of a wider network of stations. In this paper, we introduce a novel stochastic network model describing a network of battery swapping stations which clearly addresses this need and provides a foundation for future studies. In addition, we carry out a detailed analysis of this model and obtained a number of novel insights into the operation of a battery swapping network.
A steady energy transition is taking place due to the de-carbonization of the economy, leading to many intrinsic challenges and research opportunities, of which an overview is given in [2, 14]. There are numerous challenging problems caused by developments on the demand side. Examples include control problems in local, smart distribution grids, as well as managing increasing demand irregularities caused by, for example, electric vehicles. Modeling the behavior of individual agents and their interaction naturally leads to stochastic models.
Despite the apparent need for alternative energy sources in the transportation sector, the adoption of electrified vehicles has been slow initially due to various practical challenges, such as high purchase costs of an EV, battery life problems and long battery charging times [17]. A possible solution to address these issues is the construction and operation of a battery swapping infrastructure. The upfront costs of purchase of an EV can be significantly reduced when battery swapping station operators own and lease batteries to customers, the batteries can be charged more appropriately to prolong batteries’ lifetime [20], and EV users can experience a fast exchange of batteries in contrast to long charging times. Beyond the consumer benefits, the centralized charging paradigm of battery swapping allows the deferment of huge network reinforcement works required to support charging at home by connecting the chargers to the medium voltage network. Furthermore, the aggregation of a large number of batteries at charging stations can provide a comprehensive range of flexibility services to transmission and distribution network service operators.
In this paper, we introduce a model for EVs utilizing battery swapping technology within the context of a fixed region. Within the region there are a number of charging/swapping stations, and vehicles, in general, do not leave the region, leading to the conservation of batteries. This leads us to introduce a class of closed Markovian queueing network models, which we use in a novel way to model the evolution of the battery population within a city.
With the advancement of smartphones and online technologies, a range of service providers will utilize these advancements to provide occupancy level information to customers to improve delay performance. In a battery swapping system, such information can motivate EV users to visit the most appealing location in the direct vicinity. In this paper, we integrate a load-balancing policy to incorporate this. An intrinsic problem is to establish suitable capacity levels that account for the inherent tradeoff between EV users’ quality-of-service and operational costs. To the best of our knowledge, this is the first work that considers this question for a battery swapping system in a network framework under a dynamic arrival policy.
Adequately balancing service performance and resource utilization is very much in the spirit of the Quality-and-Efficiency-Driven (QED) regime known from asymptotic many-server queueing theory [12]. Typically, this gives rise to a square-root slack provisioning policy for the capacity levels and has been successfully implemented in many applications such as call centers [4, 13, 26], healthcare systems [11, 23, 25] and more. This policy leads to favorable performance for large systems: as the number of customers r grows large, the waiting probability tends to a value strictly between zero and one, the waiting time vanishes with a rate \(1/\sqrt{r}\), and near-optimal resource utilization of \(1-O(1/\sqrt{r})\) is achieved. To inherit such properties for the battery swapping framework, we adopt a similar capacity level design policy for both the number of charging servers and the number of spare batteries relative to the expected offered load under the load-balancing arrival strategy.
To add to the agreeable properties of delay performance in the QED regime, the arrival strategy ensures that the relative charging loads at the different stations do not grow apart too much since arriving EV users always move to the least loaded station. This phenomenon has been observed in a number of settings and is referred to as state-space collapse; see [5, 24] for an overview and [9] for work most closely related to this paper. In fact, when capacity levels are chosen appropriately, this effect is so strong that complete resource pooling takes place: the system behaves as if there is only a single station with an aggregated number of resources. It ensures that it is unlikely that EV users are waiting for a battery at one station, while another is readily available at any other station, even among those stations that are far from his direct vicinity.
The first main contribution of this paper is the introduction of a stochastic model for battery charging in a network setting. In recent years, there has been a growing amount of research on both the planning/design as well as the operation/scheduling in battery swapping systems; see [20] for an overview. Most papers employ robust optimization techniques to find optimal solutions for certain objectives, while little of the works focus on the quality-of-service for EV users. The exception is a collection of papers written by a set of authors [16,17,18,19,20], that use asymptotic analysis and Markov Decision Process techniques to propose suitable solutions. Whereas the focus in those papers is on issues arising in a single station, we propose a network setting to account for queue length correlations between stations.
Our second main contribution involves the novelty of our load-balancing arrival mechanism. Load-balancing policies have attracted a lot of attention in recent years due to extremely relevant applications in large data centers; see [22] for an overview. Typically, these systems comprise many single-server stations where a central dispatcher decides where to allocate incoming tasks. In contrast, our framework involves a network of (a fixed number of) multi-server stations for which we introduce a unique feature: an arriving EV user restricts itself to move only to one of the stations in his direct vicinity. By appropriately setting the capacity levels according to the QED provisioning rule, we show that this constraint becomes redundant in the sense that the resource pooling effect can still be achieved.
In this paper, we also make several theoretical contributions. Direct analysis of the steady-state distribution of the queue-length process is intractable under the load-balancing strategy in the case of multiple stations. Instead, we resort to a fluid and diffusion limit approach. We derive the existence of the fluid limit and point out its unique invariant state. Using a diffusion-scaled queue length process, we zoom in on the fluctuations around the invariant state. We prove a state-space collapse (SSC) result by showing that in the limit (as the number of EVs grows larger) the diffusion-scaled queue lengths tend to become arbitrarily close almost instantaneously and stay that way for any fixed interval. This property can be exploited to derive the limiting queue length behavior at every station, and show that it implies the complete resource pooling effect. The derivations of our results rely heavily on the framework developed by Dai and Tezcan [9], that in turn can be seen as an extension of [6]. We adapt their framework to incorporate a closed network setting under the novel load-balancing policy.
The introduction of the novel framework within this paper acts as a foundation for a substantial research program in the modeling of battery swapping networks. This will provide practitioners with a better understanding of how such networks should be designed and operated from both the perspective of quality of service requirements but also from an economic viewpoint. This can be carried out by enriching the model, here we highlight a few possible directions we consider important and challenging future steps. Each of these will provide a detailed insight into a specific aspect of such systems. Firstly, the inclusion of multiple customer types to model a range of car brands within the network using different battery systems. Secondly, there is a delay between the moment an EV user consults queue length information and the actual arrival due to transportation time. As is perceived in health care settings and bike-sharing systems, this can have a considerable effect on the queue length behavior. A third enhancement would be to incorporate a time-inhomogeneous demand rate to better simulate the expected diurnal variation. This will lead to a varying amount of slackness in the capacity within the QED regime. Finally, there is substantial underlying variability in the fluctuating energy prices, which sharply rise whenever the energy grid is more strained and vice versa. A battery swapping infrastructure will be sensitive to these prices changes and can provide an indispensable asset for supporting a stable grid in the future, since it can relieve strain during peak moments by deferring the moment of charging or even deplete batteries, providing energy to the grid. It is beyond the scope of this paper to provide efficient and adequate provisioning rules in these challenging settings, yet they offer intriguing avenues to pursue in future research. The main insight provided in the present study is the effectiveness of simple load-balancing policies, and while the model is parsimonious, this insight is useful in, at least, the planning stage of a swapping network.
The remainder of this paper is organized as follows: In Sect. 2, we describe the battery swapping network and its corresponding load-balancing arrival mechanism. In Sect. 3, we present the fluid and diffusion results in the special case of a single station, and generalize these results for the multiple stations setting in Sect. 4. Our results imply approximations for certain performance measures, which we validate through several simulation experiments described in Sect. 5.
2 Model description
In this paper, we consider a queueing network with S battery swapping stations and r EVs. Each EV has one battery (collection) providing the energy for the car to drive. Every station \(i \in \{1,\ldots ,S\}\) has three types of assets: \(F_i\) charging points, \(B_i\) spare batteries and \(G_i\) swapping servers. Whenever there is an EV arrival at a station, a swapping server takes out the almost depleted battery and exchanges it for a fully charged one if available. The swapping time is relatively very short (with respect to charging times), and therefore, we assume it to occur instantaneously. Batteries in need of charging are being recharged whenever a charging point is available, and we assume every recharge to take an exponential amount of time with rate \(\mu \), independent of everything else. Whenever a battery is fully charged, it is placed in an EV immediately if one is waiting, and otherwise stocked for a future EV arrival. After receiving a fully charged battery, the EV requires recharging after an exponential amount of time with rate \(\lambda \). With probability \(p_{ij}\) stations i and j are in the EV user’s direct vicinity. We assume that EV users consult some online device, and are motivated to move to the station that is relatively least loaded (ties are broken evenly). We define which station is relatively least loaded more precisely later in this section. Figure 1 illustrates the closed queueing model under this load-balancing arrival mechanism.
We point out that batteries are always exchanged, and therefore, the number of batteries physically present at a station can never be below this station’s number of spare batteries. In fact, this observation implies that the queueing model is closed, where the total number of batteries is given by
Another observation concerns the role of the swapping servers. Whenever a battery is taken out of the EV, it cannot move from the swapping server until an exchange of batteries has taken place. Thus, no more than \(B_i+G_i\) batteries can be charged simultaneously at a station \(i \in \{1,\ldots ,S\}\). As a consequence, having more charging points creates no additional charging capacity, and can be bounded by
In addition, we assume that the number of such expensive swapping technologies is small at every station, i.e., \(G_i < G\) for all \(i=1,\ldots ,S\), with \(G< \infty \) being a small fixed number.
The main quantity of interest in this paper is the number of batteries that are in need of charging, i.e., the aggregated number of batteries that are being charged at a charging point and the possible exchanged batteries that are waiting for an available charging point. We also refer to this quantity as the queue length. Let \(Q_i(t)\) denote the number of batteries in need of charging at station i at time \(t \ge 0\), and we write \(Q(t)=(Q_1(t),\ldots ,Q_S(t))\). Besides the queue length process, we focus on three performance measures in this paper: the waiting probability of an arbitrary EV, its expected waiting time and the resource utilization levels of the stations. As the role of swapping servers is non-existent in this framework, we consider the resources of the swapping stations to be the charging points and the spare batteries. We define the utilization level of the charging points to be the fraction of charging points that are busy with charging, and the utilization level of the spare batteries to be the fraction of batteries that are not fully charged with respect to the total number of batteries at the station. In steady state, the latter corresponds to the fraction of time at a station that a battery is expected to wait for an arriving EV.
To achieve favorable performance levels, we propose an associated QED-scaled capacity level for the resources at the stations. More specifically, we consider a sequence of systems indexed by the number of cars r, where we write a superscript r for processes and quantities to stress the dependency on r. Under the policy where every arrival would choose randomly between the two stations in its direct vicinity, we observe that \(p_i = \sum _{j=1}^S p_{ij}/2\) represents the effective arrival probability for every station \(i=1,\ldots ,S\). Therefore, for a system with r cars, we set the capacity levels of the number of charging points and the number of spare batteries as
for all \(i =1,\ldots ,S\). We remark that the bound for the number of charging points originates from (1). Since the number of swapping servers is fixed and small and the number of cars r grows large, this condition reduces to the \(\gamma \le \beta \) requirement in (2).
Since there are two types of resources at every station, i.e., charging points and spare batteries, one can consider two types of utilization levels. However, in view of (2), we see that the capacity levels of both resources are of the magnitude \(p_i \lambda r/\mu + O(\sqrt{r})\), and hence, the utilization levels of both resources are given by \(Q(t)/(p_i \lambda r/\mu ) (1+o(1))\). Using this observation, we define the relative occupancy level (load) of a station as \(Q_i(t)/p_i\). We let our load-balancing policy prescribe that an EV in need of charging closest to station i and j at time \(t\ge 0\) moves to station i iff
where ties are broken evenly. In our results, we show that this load-balancing policy ensures that the resource utilization levels at the different stations are approximately equal at all times. Consequently, this also ensures that the expected waiting times are approximately the same at every station at all times.
Remark 1
Our modeling prescribes that every EV user can choose between two stations in its direct vicinity. We point out that this is done for simplicity, as it helps to describe our scaling and load-balancing policy in a clear and concise manner. We point out that our model and results extends naturally to the cases where some EV arrivals may always move to one station, and some EV arrivals choose from multiple stations. With respect to the modeling, this extension can be included as follows: Let \(\mathcal {M}\) be the set of arrival types, where every \(m \in \mathcal {M}\) is a set of stations that isc in the direct vicinity of the EV user. Let \(s_m, m \in \mathcal {M}\), denote the probability that an EV arrival is of type m. Then, the effective arrival rate at any station \(i \in \{1,\dots ,S\}\) is given by
In this extended setting, the scaling (2) for the number of resources and the load-balancing policy (3) remains the same.
3 System behavior in case of a single swapping station
When there is only a single battery swapping station, all EVs simply move to this station with probability one. The system reduces to a closed network where batteries are in two possible locations: either positioned in a car in no need of charging, or at the station. An illustration of the closed queueing model is given in Fig. 2. The square-root scaling rules reduces to
where we suppress the subscript 1 for the station number in this case.
The notable advantage of a single station is that all resources are assembled at one entity, and inherently, no resources are unavailable by being at different locations. There is also a considerable upside in terms of the analysis: since there is no routing policy anymore, the queue length process becomes a simple birth–death process for which the steady-state distribution is easily derived. Yet, the steady-state distribution provides little qualitative insight into the queue length behavior, and in particular, the behavior of the process when it has not reached steady state yet. Therefore, we resort to fluid and diffusion limits, which in practice serve as good approximations for moderate to large-scale systems. This allows us to provide approximations for the performance measures of our interest, for example, the waiting probability and the expected waiting time.
At first glance, the single-station variant of our model may seem similar to the classic repair man model. This model and its QED-scaling implications are thoroughly treated in [10, 11], which mainly focus on the healthcare setting. We point out that there is a crucial difference: our single-station model includes spare batteries, causing none of r cars to be waiting at the station as long as there are sufficient fully charged spares available. If \(B=0\), our model reduces to the repair man model with r machines and F repair men. Generally, however, the birth rates are different.
3.1 Steady-state distribution
As the queue length process is a birth–death process, it is straightforward to derive the steady-state distribution of the queue-length process by standard theory for Markov chains, irrespective of whether the QED scaled provisioning rules (4) hold. More specifically, the queue length \(\{Q(t),t\ge 0\}\) is a birth–death process with state space \(Q(t) \in \{0,1,\ldots ,B^r+r\}\) for all \(t \ge 0\), with birth rate \(\lambda (r - \left( Q(t)-B^r\right) ^+)\) and death rate \(\mu \min \{Q(t),F^r\}\). Let
denote the steady-state distribution of the number of batteries in need of charging.
Lemma 1
Suppose \(S=1\), where the single swapping station has F charging points and B spare batteries, i.e., we disregard the scaling in (4). The steady-state distribution is given by
where, if \(F \le B\),
and, if \(B \le F\),
Remark 2
In view of (1), we exclude the case that \(F \ge B\) in our analysis further on in this paper. Yet, in an application where, for example, \(G = \infty \) and hence \(F \ge B\) possibly holds, we point out that the distribution can be derived similarly. That is, all EVs that arrive at the station find an available swapping server, and the swapping servers do not pose any restriction on the number of batteries that can be charged simultaneously. Only the number of charging points bounds the charging rate. One can also consider the QED provisioning rule in this case, which we treat in Appendix C of the arXiv version of this paper [15]. Moreover, if both \(G=\infty \) and \(F = \infty \), Lemma 1 shows that
where
Also in this particular case one can pose a QED provisioning rule for the number of spare batteries alone, and derive the asymptotic properties. We treat this case in Appendix B of the arXiv version of this paper [15].
3.2 Limiting queue length behavior
Due to the curse of dimensionality, it is very challenging to gain a qualitative insight in the (transient) behavior of processes in large-scale systems. Therefore, we resort to fluid and diffusion limits to provide good approximations for the behavior in the actual system when r is large. Recall that \(Q^r(t)\) corresponds to the queue length process (the number of batteries in need of charging) under the scaling rules (4) with r cars at time \(t \ge 0\). We consider the fluid scaling
The fluid-scaled process converges to a deterministic, continuous monotone process with a single fixed steady-state value.
Proposition 1
Suppose \(S=1\) and scaling rules (4) hold. If \(\bar{Q}^r(0) \rightarrow \bar{Q}(0)\) as \(r \rightarrow \infty \) with \(\bar{Q}(0)\) a finite constant, then \(\bar{Q}^r \rightarrow \bar{Q}\) in distribution as \(r \rightarrow \infty \), where \(\bar{Q}\) satisfies the ODE
and has the steady-state value
Proposition 1 implies that the number of batteries in need of charging can be approximated by
where \(\bar{Q}(t) = \lim _{r \rightarrow \infty } \bar{Q}^r(t)\) is a solution of an ODE. It describes the approximate (possible) transient behavior before reaching steady state. The proof of Proposition 1 is given in Appendix A of [15].
We point out that whenever the queue length is near its steady-state value, it remains close to its steady-state value from that time onward. That is, if \(Q^r(t_0) \approx \lambda r/\mu \) for some \(t_0 \ge 0\), then \(Q^r(t) \approx \lambda r /\mu \) for all \(t \ge t_0\). From that point on, the fluid limit becomes a rather rough estimate for the number of batteries in need of charging that allows for further investigation on the fluctuations around this value.
Therefore, we turn our focus to the diffusion scaling
This scaling provides more sensitive approximations, as it captures fluctuations of order \(\sqrt{r}\). The diffusion-scaled process will tend to a piecewise linear Ornstein–Uhlenbeck processes, with a steady-state distribution that can be expressed analytically. The proof can be found in Appendix A of [15].
Theorem 1
Suppose \(S=1\) and the system operates under (4). If \(\hat{{Q}}^r(0) \rightarrow \hat{{Q}}(0)\) in distribution as \(r \rightarrow \infty \), then \(\hat{{Q}}^r \rightarrow \hat{{Q}}\) in distribution as \(r \rightarrow \infty \). The process \(\hat{{Q}}\) is a diffusion process with drift
and constant infinitesimal variance \(2\mu \). The steady-state density of \(\hat{Q}(\infty ) = \lim _{t \rightarrow \infty } \hat{Q}(t)\) is given by
where \(\alpha _i=r_i/(r_1+r_2+r_3)\), \(i=1,2,3\), with
Equation (12) in Theorem 1 is obtained by taking the limit of the scaled diffusion process (as \(r \rightarrow \infty \)), and finding its steady-state distribution (as \(t\rightarrow \infty \)). However, in order to obtain a good approximation of the steady-state distribution with a fixed number of cars r, it is arguably more reasonable to consider the steady-state distribution of the scaled diffusion process (as \(t\rightarrow \infty \)) and next take the limit as \(r \rightarrow \infty \). Fortunately, the following theorem shows that the order in which one takes the limits leads to the same result.
Theorem 2
If \(S=1\) and (4) holds, the steady-state distribution of the diffusion scaled process \(\hat{Q}^r(\infty )\) converges in distribution to \(\hat{Q}(\infty )\) as in Theorem 1.
The proof of Theorem 2 is given in Appendix A of [15]. As the order in which the limits are taken does not affect the result, we use the limiting process \(\hat{Q}(\infty )\) to obtain approximations for the performance measures.
3.3 Performance measures
Typical performance measures for the QoS level for the EV users include the waiting probability and the expected waiting time. We view the efficiency-level for the station by the resources utilization. Typically, the QED regime in many-server systems causes the waiting probability to tend to a non-degenerate limit as \(r \rightarrow \infty \), the waiting time to vanish, while the resource utilization tends to one. These features also appear in our system under the proposed QED scaling.
Due to the PASTA (Poisson Arrivals See Time Averages) property in open queueing systems where the arrival process is a time-homogeneous Poisson process, the steady-state value of any quantity is the same as at arrival instances. In particular, the waiting probability equals the steady-state probability that the number of fully charged batteries is zero, or equivalently, that the number of batteries in need of charging is at least B. Unfortunately, the arrival process in our closed setting is state-dependent. Yet, Theorem 1 shows that the fluctuations in arrival rate are of order \(O(\sqrt{r})\), i.e., the arrival rate are \(\lambda r - O(\sqrt{r})\) (with high probability). These small changes will therefore become negligible as \(r \rightarrow \infty \). In other words, this argument implies that the PASTA property remains valid asymptotically. This notion can be formalized similarly as in [10]. Summarizing, if W denotes the waiting time of an arriving EV user, then
where \(\hat{Q}(\infty )\) is as in Theorem 1.
The key concept to derive the expected waiting time is Little’s law, stating that the long-term average number of waiting cars, denoted by \(Q^r_W\), equals the long-term throughput multiplied by the average waiting time. In other words,
where the throughput \(\theta \) can be viewed as the long-term average rate at which EVs arrive and hence also leave the battery swapping station. We can express the throughput as
since the long-term average number of batteries not in need of charging is in fact the expected number of cars not waiting at the station in this closed system. Therefore, it follows that
In turn, the expected number of waiting cars can be derived directly using Theorem 1 and the observation that \(Q_W^r=(Q^r(\infty )-B^r)^+\),
as \(r\rightarrow \infty \). We point out that \(\mathbb {E}(Q_W^r)\) is consequently of order \(\varTheta (\sqrt{r})\), and together with (13) this implies that E(W) is of order \(\varTheta (1/\sqrt{r})\) and hence vanishes in the limit.
The resources will be fully utilized under (4) as \(r \rightarrow \infty \). Theorem 1 implies that at most \(O(\sqrt{r})\) charging points are not utilized, and the number of fully charged batteries is also of order \(O(\sqrt{r})\). Therefore, as \(r \rightarrow \infty \),
Theorem 3
Suppose \(S=1\), and the system is operating under (4). Then the following properties hold as \(r \rightarrow \infty \): The waiting probability has a non-degenerate limit given by
The expected waiting time behaves as
with \(\alpha _i\) are as in Theorem 1. Finally, the resource utilizations behave as
4 System behavior in case of multiple stations
When the number of stations \(S \ge 2\), the analysis of system behavior needs to account for the underlying routing mechanism of arriving EVs. Whenever an EV is in need of recharging, stations i and j are in its direct vicinity with probability \(p_{ij}\), and it chooses to move the station i if (3) holds. For a resource pooling effect to occur, we require that there is a sufficient number of pairs (i, j) for which \(p_{ij}>0\). For example, if the network consists of four stations with \(p_{12}=p_{34}=1/2\), there are no arrivals that can choose between one station in the set \(\{1,2\}\) and another in the set \(\{3,4\}\). Therefore, possible discrepancies in queue lengths are not leveled by the arrival mechanism between these two sets. Therefore, we assume that for every non-empty set \(\mathcal {S}\) of stations, there is at least one pair (i, j) with \(i \in \mathcal {S}\) and \(j \not \in \mathcal {S}\) for which \(p_{ij}>0\). This statement is equivalent to the following assumption.
Assumption 4
Let \(G = (V,E)\) be a graph, where \(V=\{1,\ldots ,S\}\) and \(E=\{(i,j) : p_{ij}>0\}\). We assume that the graph G is connected.
Remark 3
For our results to follow through in the extended model as described in Remark 1, Assumption 4 needs to be updated as follows: Let \(G = (V,E)\) be a graph, where \(V=\{1,\ldots ,S\}\) and \(E=\{(i,j) : i,j \in m, |m| \ge 2, m \in \mathcal {M}\}\). Then, we assume that the graph G is connected. Note that if \(m=2\) for every \(m \in \mathcal {M}\), the setting as well as this assumption reduces to the original setting as described in this paper.
4.1 System dynamics
There are many processes that are of interest in this system, and in particular, the queue length process at each station. In our analysis, we consider \(\{\mathbb {X}^r(t), t \ge 0\}\) with
where
-
\(A^r = \left( A_{ij}^r ; \{i,j\} \in E \right) \), where \(A_{ij}^r(t)\) is the number of arrivals that are closest to stations i and j until time \(t \ge 0\) in the rth system;
-
\(A^r_d = \left( A_{ij,i}^r ; \{i,j\} \in E \right) \), where \(A_{ij,i}^r(t)\) is the number of arrivals that are closest to stations i and j and are routed to station i until time \(t \ge 0\) in the rth system;
-
\(Q^r = \left( Q_j^r ; 1 \le j \le S \right) \), where \(Q_j^r(t)\) is the number of batteries in need of charging at time \(t \ge 0\) in the rth system;
-
\(Z^r = \left( Z_j^r ; 1 \le j \le S \right) \), where \(Z_j^r(t)\) is the number of busy servers (charging points) at time \(t \ge 0\) in the rth system;
-
\(Y^r\), where \(Y^r(t)\) is the aggregated time of all cars that are not waiting at some station until time \(t \ge 0\) in the rth system;
-
\(T^r = \left( T_j^r ; 1 \le j \le S \right) \), where \(T_j^r(t)\) is the aggregated time of all servers at station j that were charging until time \(t \ge 0\) in the rth system;
-
\(D^r = \left( D_j^r ; 1 \le j \le S \right) \), where \(D_j^r(t)\) is the number of service completions at station j until time \(t \ge 0\) in the rth system;
-
\(L^r\), where \(L^r(t)\) is the number of batteries that are positioned in an EV not waiting at a station in the rth system at time \(t \ge 0\).
Clearly, there are strong relations between the individual processes in \(\mathbb {X}^r\). For example, there is a routing policy that dictates where a car in need of a full battery drives to in order to swap its battery. This notion is captured by the arrival processes \(A^r\) (the classification of the different arrival types) and \(A^r_d\) (the routing decision). To generate the arrival and service completion processes, we introduce a set of independent Poisson processes. Let \(\{\varLambda _{ij}(t),t\ge 0 \}\) for all \(\{i,j\} \in E\) be independent Poisson processes with rate \(p_{ij} \lambda \) and \(\{S_j(t),t \ge 1\}\) for all \(1 \le j \le S\) be independent Poisson processes with rate \(\mu \). The system dynamics satisfy the following identities:
We refer to these equations as the system identities, and they prove to be central for deriving our results. The derivations use the framework set out in [9], which in turn is based on [6]. We adopt much of the notation and definitions in this paper, and before stating our main results, we repeat them for the purpose of self-containment. For each positive integer d, we denote by \(\mathbb {D}^d[0,\infty ]\) the d-dimensional Skorohod path space. For \(x,y \in \mathbb {D}^d[0,\infty ]\) and \(T >0\), let
where \(|z| = \max _{i=1,\ldots ,d} |z_i|\) for any \(z=(z_1,\ldots ,z_d) \in \mathbb {R}^d\). The space \(\mathbb {D}^d[0,\infty ]\) is endowed with the \(J_1\) topology, and the weak convergence in this space is considered with respect to this topology. We say a sequence of functions \(\{x_n\} \in \mathbb {D}^d[0,\infty ]\) converges uniformly on compact sets (u.o.c) sets to \(x \in \mathbb {D}^d[0,\infty ]\) as \(n \rightarrow \infty \) if, for each \(T \ge 0\),
as \(n \rightarrow \infty \). Moreover, we say that \(t \ge 0\) is a regular point of a function x if x is differentiable at \(t \ge 0\), and denote its derivative by \(x'(\cdot )\). We assume that the random variables in \(\mathbb {X}^r\) live on the same probability space \((\varOmega , \mathcal {F}, \mathbb {P})\). Often, we consider sample paths of stochastic processes, and whenever we want to make the dependence on the sample path explicit, we write \(X^r(\cdot ,\omega )\) for the sample path associated with \(\omega \in \varOmega \) for a stochastic process \(X^r\).
4.2 Fluid limit
To capture the rough system dynamics, we consider the fluid-scaled process
For each process \(X^r\) in \(\mathbb {X}^r\), we define similarly its fluid equivalent as \(\bar{X}^r = X^r / r\) and its limiting process \(\bar{X} = \lim _{r \rightarrow \infty } \bar{X}^r\). We adopt the definition of a fluid limit and its invariant state(s) from [9]. That is, we consider \(\mathcal {A} \subset \varOmega \) such that the FSLLN holds, i.e.,
u.o.c. as \(r \rightarrow \infty \). Due to the FSLLN, we observe that one can choose \(\mathcal {A}\) large enough such that \(\mathbb {P}(\mathcal {A})=1\).
Definition 1
We call \(\bar{\mathbb {X}}\) a fluid limit of \(\{\mathbb {X}^r \}\) if there exists an \(\omega \in \mathcal {A}\) and (sub)sequence \(\{r_l\}\) with \(r_l \rightarrow \infty \) as \(l \rightarrow \infty \), such that \(\bar{\mathbb {X}}^{r_l}(\cdot , \omega )\) converges u.o.c. to \(\bar{\mathbb {X}}(\cdot , \omega )\). Moreover, let \({q} = (q_1,\ldots ,q_S)\) be an invariant state of the fluid limits if for any fluid limit \(\bar{\mathbb {X}}\), \(\bar{Q}(0)= (\bar{Q}_1(0),\ldots ,\bar{Q}_S(0))=(q_1,\ldots ,q_S) = q\) implies that \(\bar{Q}(t)=q\) for all \(t\ge 0\).
In Proposition 1, we focus on the fluid-scaled queue length process only for \(S=1\), and the sequence \(r_l=l\). Instead of requiring \(\bar{Q}^r(0) \rightarrow \bar{Q}(0)\) with \(\bar{Q}(0)\) a finite constant, Definition 1 allows for \(\bar{Q}(0)\) to be random. Proposition 1 implies that in case that \(S=1\), the fluid limits exist and are deterministic, (Lipschitz) continuous paths that depend only on the realization of \(\bar{Q}(0)\). Moreover, there is a single unique invariant state given by \(\lambda /\mu \). A similar result holds when \(S \ge 2\).
Theorem 5
Let \(\{\mathbb {X}^r\}\) be a sequence of systems. Then the fluid limits exist, where each component is Lipschitz continuous. Each fluid limit \(\bar{\mathbb {X}}\) satisfies the following equations for all \(t\ge 0\):
Also, for every \(\{i,j\} \in E\), if t is a regular point of \(\bar{\mathbb {X}}\), then
Finally, there is a unique invariant state given by \(q=(q_1,\ldots ,q_S)\) with \(q_i = p_i \lambda /\mu \) for \(i=1,\ldots ,S\).
The (uniqueness of the) invariant state result for the fluid limit is central for the existence of a properly defined diffusion process as it states that if \(\bar{Q}(0)=(p_1 \lambda /\mu ,\ldots ,p_S \lambda /\mu )\), the fluid limits are time invariant. We present a proof of Theorem 5 in Appendix A.
4.3 Diffusion limit
Due to the policy governing which station a car drives to in order to replace a battery, one observes the so-called load-balancing effect. By setting the number of resources as in (2), this load-balancing effect is so strong that in fact complete resource pooling occurs. In other words, the system behaves as if there is a single large swapping station where the number of resources equals the aggregated total of the individual stations. This appealing consequence ensures that there are no idle resources at one station, while at another there are possible long waiting lines of cars that are waiting for a battery exchange.
The key concept to derive this effect is to show a state-space collapse (SSC) result. That is, we consider the diffusion-scaled queue length process defined as
In our model, the SSC result states that (almost instantaneously) the diffusion-scaled queue length processes are arbitrarily close at all stations, and stay close during any fixed interval.
Theorem 6
Suppose
as \(r \rightarrow \infty \), where \(\hat{Q}(0)\) is a random vector. Then, for every \(K^r=o(\sqrt{r})\) with \(K^r \rightarrow \infty \) as \(r \rightarrow \infty \), and for every \(T >0\) and \( \epsilon >0\),
for every \(i,j \in \{1,\ldots ,S\}\) as \(r \rightarrow \infty \). If, in addition, for every \(i,j \in \{1,\ldots ,S\}\),
then
for every \(i,j \in \{1,\ldots ,S\}\) as \(r \rightarrow \infty \).
The proof of Theorem 6 is given in Appendix B. This result reveals that instead of considering the individual queue length processes, it suffices to track the total queue length process instead. More specifically, define the sequence of random processes \(\{Q^r_\varSigma (t), t \ge 0\}\) with \(r \in \mathbb {N}\), where \(Q^r_\varSigma (t) = \sum _{j=1}^S Q_j^r(t)\), and
As the state-space collapse implies that \(\hat{Q}_i^r (t) \approx \hat{Q}_j^r (t)\) for all \(i,j \in \{1,\ldots ,S\}\) (for \(t \ge K^r/\sqrt{r}\)), we can approximate the queue length at an individual queue by
for all \(j=1,\ldots ,S\). The limiting process of the total queue length can be derived using the SSC result.
Theorem 7
Suppose \(\hat{Q}^r(0) \rightarrow \hat{Q}(0)\) in distribution as \(r \rightarrow \infty \), and
for all \(i,j \in \{1,\ldots ,S\}\). Then, \(\hat{Q}^r_\varSigma \rightarrow \hat{Q}_\varSigma \) in distribution as \(r \rightarrow \infty \), where \(\hat{Q}_\varSigma \) is a diffusion process with drift
and constant infinitesimal variance \(2\mu \). The steady-state density \(\hat{Q}_\varSigma (\infty )\) is given by
where \(\alpha _i=r_i/(r_1+r_2+r_3)\), \(i=1,2,3\), with
Proof
We observe that the steady-state density is a direct consequence of the diffusion process [7]. What remains to be shown is that \(\hat{Q}_\varSigma ^r\) converges to the described diffusion process as \(r \rightarrow \infty \). Equivalently, we need to show that
where \(\{W(t),t\ge 0\}\) is a standard Brownian motion. We note that, due to the system identities,
where
and
We observe that, due to the FCLT and Theorem 5,
where \(\{\text {BM}_A(t), t\ge 0\}\) is Brownian motion with mean zero and variance \(\mu \). Similarly, due to the FCLT and Theorem 5,
where \(\{\text {BM}_D(t), t\ge 0\}\) is an (independent) Brownian motion with mean zero and variance \(\mu \). The sum of these two processes is equal (in distribution) to a Brownian with mean zero and variance \(2\mu \), which contributes to the \(\sqrt{2\mu } \, dW(t)\) term in (36). Next, we observe that, due to the system identities and the definition of the diffusion scaling,
Since
for all \(t \in [0,T]\), and due to Theorem 6,
where the sequence \(\{\epsilon (r),r \in \mathbb {N}\}\) can be chosen such that \(\epsilon (r) \rightarrow 0\) as \(r \rightarrow \infty \). Then, as \(r \rightarrow \infty \),
This contributes to the first two terms in (36). Applying the continuous mapping theorem concludes the proof. \(\square \)
Another consequence of the state-space collapse result is that the waiting probabilities and expected waiting times are equal at all stations, as well as the resource utilization levels. In fact, it exhibits the same behavior as if there were a single station due to the complete resource pooling effect.
Corollary 1
Suppose the system is operating under (4). Then the following properties hold as \(r \rightarrow \infty \) for all \(i=1,\ldots ,S\): The waiting probability has a non-degenerate limit given by
The expected waiting time behaves as
with \(\alpha _i\) as in Theorem 7. Finally, the resource utilizations behave as
5 Simulation experiments
The results presented are given in an asymptotic regime where the charging times are exponentially distributed. In this section, we conduct simulation experiments to evaluate the quality of our approximations and the robustness of the state-space collapse result. We first focus on a large-scale system to illustrate the implications of our results. Next, we also zoom in on a moderate-sized system that reflects a more realistic setting for an EV battery swapping infrastructure.
5.1 Large-scale system
Throughout the experiments in this section, we consider a network with five stations where the arrival probabilities are given by \(p_{12}=p_{24}=p_{34}=p_{35}=0.1\), \(p_{23}=0.4\) and \(p_{45}=0.2\); see Fig. 3. This results in an effective arrival probability \(p=(p_1,\ldots ,p_5)=(0.05,0.3,0.3,0.2,0.15)\) at the stations.
As a battery swapping infrastructure currently does not exist yet in real-life, there is no (significant) data that can be exploited to obtain useful parameter choices. Instead, we discuss an adequate provisioning strategy under the following assumptions: We assume that the battery swapping facility installed (relatively) fast charging points where recharging takes 1 h on average (\(\mu =1\)), and that every EV user returns for recharging services after every 40 h on average (\(\lambda =0.025\)). In addition, we stress that our results are based on an asymptotic regime, and therefore require the system to be sufficiently large for the approximation to become meaningful. We allow for (at least) \(r=50{,}000\) EV users in this infrastructure. The effective loads at the stations in this case are
and we note that due to the QED provisioning rule in (2), the numbers of charging points and spare batteries are close to these values. Obviously, the number of resources are integer values, and in our simulation experiments we choose
5.1.1 State-space collapse for exponential charging times
A first-order approximation for the queue length process is implied by the fluid result in Theorem 5. We validate this approximation for the above-described setting, with initial queue length \(Q_i^r(0)=150\) for all stations \(i=1,\ldots ,5\). That is, only station 1 is initially overloaded, while all other station are underloaded. The equations in Theorem 5 together with the Lipschitz continuity describe a unique fluid limit with the given initial queue length. This yields the approximations
In particular, in the case when the initial queue length is \(Q_i^r(0)=150\) for all stations \(i=1,\ldots ,5\), this results in the approximations
where \(t_1\approx 0.1826\), \(t_2 \approx 0.3189\), \(t_3=1.4\) and \(t_4\approx 1.4758\). The times \(t_i, i=1,2,4\), correspond to the times where two stations (approximately) have the same relative queue lengths, and \(t_3\) is the moment where the number of EVs in need of recharging is (approximately) equal to the number of stations/spare batteries.
A sample path comparison with its fluid approximation (dotted lines) is graphically illustrated in Fig. 4. We observe that the fluid limit approximations capture the typical values of the actual queue length process quite accurately. We observe apparent fluctuations around its approximation, and we note that these become relatively small as r grows large.
To observe the state-space collapse, we plot the same sample path in its diffusion scaling; see Fig. 5. Indeed, around \(t_4 \approx 1.4758\) the diffusion-scaled queue lengths appear to become close and remain nearly equal to one another after this time. In addition, as time moves, the diffusion-scaled queue lengths fluctuate around zero.
5.1.2 Performance measures
Our results imply approximations for performance measures such as the waiting probability and waiting time; see Corollary 1. In particular, the state-space collapse result implies that the performance at all stations is approximately the same, and can be approximated by the closed-form expressions as given in Corollary 1.
In Fig. 6, we plotted the waiting probabilities of all stations in the case of 2, 500, 000 EV arrivals averaged over 20 samples for the large-scaled system. We point out that the stair-type effect appearing in the waiting probabilities is due to the ceiling of the number of resources at the stations. Moreover, as r is finite and we use the ceiling function, the waiting times are not all exactly equal, which is most apparent for station 1. This is also reflected in Fig. 5, where a closer view suggests that the diffusion-scaled queue length at station 1 is smaller than the queue length at another station (often station 2 or station 3). As r grows large, the waiting probabilities do grow closer and move near to their asymptotic expressions. Still, the waiting probabilities are typically below their asymptotic expressions. This implies that the provisioning rules (2) guarantee that a desired waiting probability is achieved.
5.2 Universality result for charging time distribution
In order to be able to rigorously prove the state-space and consequential results, we assumed exponential charging times in our framework. Yet, extensive simulation experiments suggest that these results hold for any charging time distribution with finite mean and variance. In Figs. 7 and 8, we consider the system setting as described in Sect. 5.1. It appears that similar behavior occurs on the fluid scale in the case of deterministic and uniformly distributed charging times as for the exponential case.
When the queue lengths are initially zero, the system behaves close to its invariant state for \(t \ge 1\). Similarly to the setting with exponential charging times, the maximum difference between the diffusion-scaled queue length behaves quite erratically; see Fig. 9. Still, the differences are very small, and grow smaller as r grows larger, suggesting that state-space collapse also holds in this setting. That is, the system behaves similarly to the situation when there is a single station with an aggregated number of charging points and spare batteries, and a charging time distribution as at the individual stations. Consequently, performance measures such as waiting probability and expected waiting time are approximately equal to their equivalents in a single-station system.
5.3 The role of system size
In the previous sections, we commented that the differences between the diffusion-scaled queue lengths are small and fluctuate erratically among each other when one would zoom in on this domain. Obviously, the differences between the diffusion-scaled queue lengths are not arbitrarily small since r is finite. Even if the diffusion-scaled queue lengths at all stations are the same, and an arriving EV moves to station 1, this causes a discrepancy of \(1/(p_1 \sqrt{\lambda r/\mu })\approx 0.5657\) in the described setting in Sect. 5.1. Theorem 6 implies that the distance between the queue lengths become smaller as the number of EV users r grows large. To illustrate this notion, we consider the maximum difference between the queue lengths over a finite interval \(T=1\) in Fig. 10, which is monotonically decreasing in r. In addition, we observe that the average maximum distance, i.e., \(1/T \int _{0}^T \max _{1 \le i < j \le S}\{|Q_i(t)-Q_j(t)|\, \} \mathrm{d}t\), is also monotonically decreasing in r, and is not excessively smaller than the maximum distance of the interval.
Summarizing, as the system size increases, the accuracy of the approximations improve. However, one can imagine that a real-life battery swapping infrastructure is not of the scale as discussed in the previous sections. Therefore, we consider how our results hold up in a more realistic setting for an EV battery swapping infrastructure.
5.4 Moderate-sized system
We consider the following setting: We have the same network structure as given in Fig. 3, but with different arrival probabilities. More specifically, we assume \(p_{12}=p_{23}=p_{24}=p_{25}=0.2\) and \(p_{13}=p_{34}=0.1\), giving an effective arrival probability of \((p_1,\ldots ,p_5)=(0.1,0.25,0.3,0.2,0.15)\). For the other parameters, we assume that recharging takes 4 h on average (\(\mu =0.25\)) and every EV user returns for recharging services after every 50 h on average (\(\lambda =0.02\)). We assume that there our infrastructure consists of a thousand electric vehicles (\(r=1000\)). The effective load at the stations is
Note that \(\lambda r / \mu = 80\) and \(\sqrt{\lambda r / \mu } = 4\sqrt{5} \approx 8.94\). Relatively, their sizes are much closer to one another than when r becomes larger, and this will also have its impact on the behavior.
Due to the smaller system size, we can expect that the fluctuations of the queue length around its fluid limit are relatively larger. Indeed, if one plots a sample path for this system with initial queue length \(Q(0)=(0,0,0,0,0)\), we observe that the fluctuations compared to its corresponding fluid limit approximation are significant; see Figs. 11 and 12. Moreover, in Fig. 12, the queue lengths even seem to lie above the fluid limit results. We point out that this is a consequence of the high waiting probabilities for these parameter settings. Moreover, since the fluctuations are of a significant size (relatively), this leads to sample paths that appear quite far off (above) its fluid limit approximation at first glance.
To see whether a load-balancing effect still takes place for a moderate-sized system, we should consider the diffusion scaled queue lengths; see Fig. 13. Numerous experiments, including the setting as in Fig. 13, suggest that even for these settings, the effect of state-space collapse is very much visible. In other words, there is still a strong load-balancing effect present that leads to the occupation level at the different stations staying close to one another. In turn, this leads to performance measures, for example, waiting probability and waiting times, that are comparable at the different stations at all times.
References
Ata, B., Kumar, S.: Heavy traffic analysis of open processing networks with complete resource pooling: asymptotic optimality of discrete review policies. Ann. Appl. Probab. 15(1A), 331–391 (2005)
Bienstock, D.: Electrical Transmission System Cascades and Vulnerability. Society for Industrial and Applied Mathematics, Philadelphia (2015)
Billingsley, P.: Convergence of Probability Measures, Wiley Series in Probability and Statistics: Probability and Statistics, 2nd edn. Wiley, New York (1999)
Borst, S.C., Mandelbaum, A., Reiman, M.I.: Dimensioning large call centers. Oper. Res. 52(1), 17–34 (2004)
Bramson, M.: State space collapse with application to heavy traffic limits for multiclass queueing networks. Queueing Syst. Theory Appl. 30(1–2), 89–148 (1998)
Bramson, M.: State space collapse with application to heavy traffic limits for multiclass queueing networks. Queueing Syst. 30(1), 89–140 (1998)
Browne, S. and Whitt, W.: Piecewise-linear diffusion processes. In: J. Dshalalow (ed.), Advances in Queueing, pp. 463–480. CRC Press, Boca Raton, FL (1995)
Dai, J.G.: Stability of fluid and stochastic processing networks. MaPhySto Miscellanea Publication, No. 9 (1999)
Dai, J.G., Tezcan, T.: State space collapse in many-server diffusion limits of parallel server systems. Math. Oper. Res. 36(2), 271–320 (2011)
de Véricourt, F., Jennings, O.: Dimensioning large-scale membership services. Oper. Res. 55(1), 173–187 (2008)
de Véricourt, F., Jennings, O.: Nurse staffing in medical units: a queueing perspective. Oper. Res. 59(6), 1320–1331 (2011)
Halfin, S., Whitt, W.: Heavy-traffic limits for queues with many exponential servers. Oper. Res. 29, 567–588 (1981)
Khudyakov, P., Feigin, P.D., Mandelbaum, A.: Designing a call center with an IVR (interactive voice response). Queueing Syst. 66(3), 215–237 (2010)
National Academies of Sciences, E., Medicine: Analytic Research Foundations for the Next-Generation Electric Grid. The National Academies Press, Washington, DC (2016)
Sloothaak, F., Cruise, J.R., Shneer, V., Vlasiou, M., Zwart, B.: Complete resource pooling of a load balancing policy for a network of battery swapping stations. Preprint arXiv:1902.04392 (2019)
Sun, B., Sun, X., Tsang, D.H.K., Whitt, W.: Optimal battery purchasing and charging strategy at electric vehicle battery swap stations. Eur. J. Oper. Res. 279(2), 524–539 (2019)
Sun, B., Tan, X., Tsang, D.H.K.: Optimal charging operation of battery swapping stations with QoS guarantee. In: 2014 IEEE International Conference on Smart Grid Communications (SmartGridComm), pp. 13–18 (2014)
Sun, B., Tan, X., Tsang, D.H.K.: Optimal charging operation of battery swapping and charging stations with QoS guarantee. IEEE Trans. Smart Grid 9(5), 4689–4701 (2018)
Tan, X., Sun, B., Tsang, D.H.K.: Queueing network models for electric vehicle charging station with battery swapping. In: 2014 IEEE International Conference on Smart Grid Communications (SmartGridComm), pp. 1–6 (2014)
Tan, X., Sun, B., Wu, Y., Tsang, D.H.K.: Asymptotic performance evaluation of battery swapping and charging station for electric vehicles. Perform. Eval. 119, 43–57 (2018)
Tezcan, T.: Optimal control of distributed parallel server systems under the Halfin and Whitt regime. Math. Oper. Res. 33(1), 51–90 (2008)
van der Boor, M., Borst, S.C., van Leeuwaarden, J.S.H., Mukherjee, D.: Scalable load balancing in networked systems: a survey of recent advances. Preprint arXiv:1806.05444 (2018)
van Leeuwaarden, J.S.H., Mathijsen, B.W.J., Sloothaak, F., Yom-Tov, G.B.: The restricted Erlang-R queue: finite-size effects in service systems with returning customers. Preprint arXiv:1612.07088 (2016)
Williams, R.J.: Diffusion approximations for open multiclass queueing networks: sufficient conditions involving state space collapse. Queueing Syst. Theory Appl. 30(1–2), 27–88 (1998)
Yom-Tov, G.B., Mandelbaum, A.: Erlang-R: a time-varying queue with reentrant customers, in support of healthcare staffing. Manuf. Serv. Oper. Manag. 16(2), 283–299 (2014)
Zhang, B., van Leeuwaarden, J.S.H., Zwart, B.: Staffing call centers with impatient customers: refinements to many-server asymptotics. Oper. Res. 60(2), 461–474 (2012)
Acknowledgements
This research is supported by the Netherlands Organisation for Scientific Research through the programs Gravitation NETWORKS Grant 024.002.003, VICI Grant 639.033.413 and MEERVOUD Grant 632.003.002. The work of Seva Shneer is supported by the Mathematical Center in Akademgorodok under Agreement No. 075-15-2019-1675 with the Ministry of Science and Higher Education of the Russian Federation.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
A Fluid limit proof
The proof of Theorem 5 is similar to the proof of [9], but adapted appropriately to our system.
Proof of Theorem 5
First, we show that the fluid limits exist, where all components are Lipschitz continuous. For this purpose, we show that for all \(\omega \in \mathcal {A}\) the sequence \(\{\bar{\mathbb {X}}(\cdot ,\omega )\}\) has a convergent subsequence, where every component in the limiting process is Lipschitz continuous.
Fix \(\omega \in \mathcal {A}\). We observe that, for every \(0 \le t_1 <t_2\),
Therefore, there exists a subsequence \(\{r_l\}\) such that \(\bar{T}_j^{r_l}(\cdot ,\omega )\) converges u.o.c. to some \(\bar{T}_j(\cdot , \omega )\) as \(l \rightarrow \infty \) for every \(j=1,\ldots ,S\), which is Lipschitz continuous.
Using Lemma 11 in [1], Equation (18) and the fact that \(\omega \in \mathcal {A}\), it follows that \(\bar{D}^r_j(\cdot , \omega )\) also converges u.o.c. to \(D_j(\cdot , \omega )\) for every \(j=1,\ldots ,S\). In fact, it follows that \(D_j(\cdot , \omega ) = \mu \bar{T}_j(\cdot , \omega )\), and is therefore also Lipschitz continuous.
Next, we consider the arrival processes. First, we observe that \(L^r(t) \le r \) for every \(t \ge 0\). Therefore,
for all \(0 \le t_1 <t_2\), and hence, there exists a subsequence \(\{r_l\}\) such that \(\bar{Y}^{r_l}(\cdot ,\omega )\) converges u.o.c. to some \(\bar{Y}(\cdot , \omega )\) as \(l \rightarrow \infty \) for every \(j=1,\ldots ,S\), which is again Lipschitz continuous.
Moreover, it follows from (16) that, for all \(0 \le t_1 < t_2\),
As \(\omega \in \mathcal {A}\) and the FSLLN applies, it follows from Theorem 12.3 in [3] that there is some subsequence \(\{r_l\}\) such that \(\bar{A}_{ij}^r(\cdot ,\omega )\) converges u.o.c. as \(l \rightarrow \infty \) to some process \(\bar{A}_{ij}(\cdot ,\omega )\). In particular, it holds for all \(0 \le t_1 < t_2\) that
and \(\bar{A}_{ij}\) is hence Lipschitz continuous. Similarly, we can show the same convergence result for the processes \(\bar{A}_{ij,i}^r(\cdot ,\omega )\) to \(\bar{A}_{ij,j}(\cdot ,\omega )\).
By (17), it follows also that \(\{Q_j^{r_l}(\cdot , \omega )\}\) is precompact, which in turn implies that \(\{Z_j^{r_l}(\cdot , \omega )\}\) is precompact due to (21). Moreover, \(\{L^{r_l}(\cdot , \omega )\}\) is precompact by (22). In conclusion, the fluid limit exists with each component being Lipschitz continuous.
Fluid equations (24)–(31) follow from the FSLLN results and applying Lemma 11 of [1]. Equation (32) requires additional arguments. Suppose \(\bar{\mathbb {X}}\) to be a fluid limit with corresponding \(\omega \in \mathcal {A}\) and subsequence \(\{r_l\}_{l \in \mathbb {N}}\). If, for some \(t >0\), we have that \(\bar{Q}_j(t)/p_j > \bar{Q}_i(t)/p_i\), then it follows by the continuity of the fluid limit that there exists a \(\delta >0\) such that
for all \(s \in [t-\delta ,t+\delta ]\). By the definition of the fluid limit, it holds for large enough \(r_l\) that
for all \(s \in [t-\delta ,t+\delta ]\). In this case, the routing policy states that all arrivals of type \(\{i,j\}\) move to station i. Therefore, \(A^{r_l}_{ij,j}\) remains constant on \([t-\delta ,t+\delta ]\), and hence, \(\bar{A}'_{ij,j}(t)=0\). Moreover, station i receives all arrivals and, by the FSLLN and (25),
for all \(t_1< t_2\) with \(t_1,t_2 \in [t-\delta ,t+\delta ]\). It follows that \(\bar{A}'_{ij,i}(t,\omega )= p_{ij} \lambda \bar{L}(t, \omega )\) by (15).
Finally, we show that there is a unique invariant state given by \(q = (p_1 \lambda /\mu ,\ldots ,p_S \lambda /\mu )\). Introduce the function
and write
Trivially, \(h(t) \ge 0\). Since \(\bar{Q}(\cdot )\) is Lipschitz continuous, so is \(h(\cdot )\), and hence, it is differentiable almost everywhere. To show that \(h(0)=0\) implies \(h(t) =0\) for all \(t\ge 0\), it therefore suffices to show that if \(h(t)>0\) then \(h'(t)<0\) for every regular point t of \(\bar{\mathbb {X}}\). By (26), we observe that, for every \(j=1,\ldots ,S\) and regular point \(t\ge 0\),
Due to (27)–(30), \(\bar{D}'_j(t) = \min \{\mu \bar{Q}_j(t), p_j \lambda \}\). In particular, we observe that \(\bar{D}'_i(t)/p_i = \bar{D}'_j(t)/p_j\) for all \(i,j \in \bar{S}_{\max }(t)\), as well as for all \(i,j \in \bar{S}_{\min }(t)\). Due to Lemma 2.8.6 from [8], as t is a regular point, it follows that
for every \(j,l \in \bar{S}_{\max }(t)\), as well as for every \(j,l \in \bar{S}_{\min }(t)\). Due to (24), (25) and (32), we conclude that, for every \(j \in S_{\max }(t)\),
On the other hand, for every \(j \in S_{\min }(t)\),
Observing that \(\bar{D}'_j(t)/p_j > \bar{D}'_i(t)/p_i\) for every \(j \in S_{\max }(t)\) and \(i\in S_{\min }(t)\), we therefore conclude that if \(h(t) >0\) with t a regular point, then
In other words, for every invariant state of the fluid limit, it must hold that \(\bar{Q}_i/p_i(t)= \bar{Q}_j/p_j(t)\) for every \(i \ne j\). We observe, in view of (26), that
where, for every \(1 \le j \le S\),
and hence, in view of (24) and (25),
That is, \(\bar{Q}'_j(t) =0\) if and only if
In view of (31), this occurs if and only if \(\bar{Q}_j(t) = p_j \lambda /\mu \) for every \(j=1,\ldots ,S\).
\(\square \)
B State-space collapse proofs
To prove Theorem 6, we use a framework similar to that of [6, 9]. The construction consists of several steps, which we lay out next.
-
1.
Divide the interval [0, T] into \(T \sqrt{r}\) intervals of length \(1/\sqrt{r}\), indexed by m. In each interval, consider the hydrodynamically scaled process of \(\mathbb {X}\). For each of these intervals, we
-
(a)
show the scaled process is “almost” Lipschitz continuous;
-
(b)
show convergence to some hydrodynamic limiting process for a sufficiently large part of the state space;
-
(c)
derive the hydrodynamic limit equations.
-
(a)
-
2.
Relate the hydrodynamic scaling to the diffusion scaling, using a SSC function to deal with complications regarding the range of the time variable. Transferring the results appropriately, we show multiplicative SSC with respect to the SSC function.
-
3.
Using a compact containment condition, we show that this implies strong SSC.
1.1 B.1 Hydrodynamic scaling and its limiting process
In order to introduce the hydrodynamic scaling, we use a diffusion scaling for the values of the process but we slow the process down in time in order to analyze what occurs initially (what would happen instantaneously on a diffusive scale). That is, we divide the interval [0, T] in \(T \sqrt{r}\) intervals of length \(1/\sqrt{r}\), indexed by m. We write \(p=(p_1,\ldots ,p_S)\), and
For the processes in \(\mathbb {X}\), we introduce the following hydrodynamically scaled variants: For \(Q^r\), \(Z^r\) and \(L^r\), let
the deviations of these processes with respect to their fluid limits. For the processes \(A^r\), \(A_d\), \(Y^r\), \(T^r\) and \(D_r\), we introduce
In other words, we track the increase of these processes during the interval \([m/\sqrt{r},m/\sqrt{r}+\sqrt{x_{r,m}}t/r]\). By the definition of \(x_{r,m}\), we note that
which will be a required compactness property when we prove convergence to a hydrodynamic limit. Moreover, due to our fluid limit results, we can show that \(\sqrt{x_{r,m}}/r\) is very small for all \(\omega \in \mathcal {A}\).
Lemma 2
Suppose \(\hat{Q}^r(0) \rightarrow \hat{Q}(0)\) for some random vector \(\hat{Q}(0)\), and let \(M>0\) be fixed. For every \(\epsilon >0\) and \(\omega \in \mathcal {A}\),
for r large enough.
Proof
Due to our fluid limit result in Theorem 5 and the definition of \(x_{r,m}\) in (37), we observe that
for r large enough. Moreover, for r large enough,
We conclude that, for every \(m \le \sqrt{r} T\),
and
\(\square \)
For the hydrodynamically scaled process, the system identities translate to
In order to show that \(\mathbb {X}^{r,m}\) is almost (with the exception of certain events) Lipschitz continuous, we would like to exclude these certain events, i.e., show that such events are unlikely to occur.
Lemma 3
Fix \(\epsilon >0\), \(M > 0\) and \(T>0\). For r large enough, there exists a constant \(N >0\) (only depending on \(\lambda \), \(\mu \), and \(\{p_{ij}; \{i,j\} \in E\}\)) such that
Moreover,
Proof
First, we note that, due to the memoryless property which both the arrival and service completion processes satisfy, the choice of m is irrelevant and thus can be made arbitrarily. To prove (55), we start by showing that, for every \(\{i,j\} \in E\),
From (50) and (53), we observe that \(Y_{r,m}(t) \le t\) and is non-decreasing. Due to the properties of Poisson processes,
Therefore,
where the second-to-last inequality follows from Proposition 4.3 in [6]. Choosing \(N = 1/(\lambda \min _{\{i,j\} \in E} p_{ij})\) and applying the union bound twice, we obtain
which yields (55).
The proof for (56) is completely analogous, but with minor adaptions as one uses \(T_j^{r,m}(t) \le p_j \lambda / \mu t\) instead of \(Y^{r,m}(t) \le t\). We conclude that (55) and (56) show that the hydrodynamically scaled arrival process and service completion process are almost Lipschitz continuous.
In order to prove (57) and (58), we introduce the following processes: Let \(\{u_{ij}(l), l\ge 1\}\) be independent exponentially distributed random variables with rate \(p_{ij} \lambda \), representing the time that a car has before it needs recharging at either station i or j. Let \(\{v_j(l), l\ge 1\}\) be independent exponentially distributed random variables with rate \(\mu \), representing the service requirement (recharging time) of a battery at station j. Define
the aggregated interarrival time of n cars that will choose between stations i and j, and the total service requirement of n batteries at station j, respectively. We observe the identities
Moreover, due to (16) and (18), we observe
As in [9], we define for notational convention, for \(b=(b_1,b_2) \in \mathbb {N}\),
In view of (59) and (60), this yields the inequalities
Using these processes, we first prove the following bounds:
for \(b=(1,0)\) and \(b=(0,1)\). The proof is similar to that of (78) in [21]. We observe that the proof of (55) implies that in particular
and hence also
for r large enough. Proposition 4.2 of [6] states
Therefore, it follows that
and
Increasing \(\epsilon \) appropriately, we obtain
for both \(b=(0,0)\) and \(b=(1,0)\). Using the union bound yields
for both \(b=(0,0)\) and \(b=(1,0)\). To conclude the proof for \(b=(0,1)\) as well, we observe
where the final inequality follows from Lemma 5.1 in [6] with
The proof of (66) is analogous to (65), replacing the arrival processes by the service processes. Equations (57) and (58) are then a direct consequence of (63) and (64).
\(\square \)
Using the previous result, we can show that \(\mathbb {X}\) is almost Lipschitz continuous.
Proposition 2
Fix \(\epsilon >0\), \(M > 0\) and \(T>0\). For r large enough,
where \(N < \infty \) is constant (depending only on \(\lambda \), \(\mu \) and \(\{p_{ij}; \{i,j\} \in E\}\)).
Proof
This follows in a straightforward way from Lemma 3 and the hydrodynamically scaled system equations. That is, let \(\mathcal {V}^r\) denote the intersection of the complements of the events given in Eqs. (55)–(58), so \(\mathbb {P}(\mathcal {V}^r) \le 1-N_0 \epsilon \) with \(N_0\) the number of equations in Lemma 3. We note that in order to prove the proposition, it suffices to show that for every \(\omega \in \mathcal {V}^r\), and for every \(t_1,t_2 \in [0,T]\) and \(m < \sqrt{r}T\),
where \(N_1\) and \(N_2\) are only dependent on the system parameters (i.e., \(\lambda \), \(\mu \), p). Let \(t_1,t_2 \in [0,T]\) with \(t_1 \le t_2\). By the definition of \(\mathcal {V}^r\),
and
for N as in Lemma 3. Due to (46),
In view of (48) and (46), we observe
Due to (57),
and similarly, due to (58),
In view of (52),
Finally, due to (53),
We conclude that (67) is satisfied, as each process in \(\mathbb {X}^{r,m}\) satisfies this property.
\(\square \)
As is done in [6, 9], one can take \(\epsilon \) appropriately small for every system. That is, for fixed \(M>0\), \(N>0\) and \(T>0\), let
where \(\epsilon (r)\rightarrow 0\) as \(r \rightarrow \infty \) is a sequence of positive real numbers. Moreover, in view of Lemma 2, let, for that same sequence \(\{\epsilon (r)\}_{r \in \mathbb {R}}\),
Let \(\mathcal {K}^r\) denote the intersection of \(\mathcal {K}_0^r\), \(\mathcal {H}^r\), and the complements of the events in Lemma 3. We note that Lemmas 2, 3 and Proposition 2 continue to hold for the sequence \(\epsilon (r)\) if \(\epsilon (r) \rightarrow 0\) sufficiently slowly. We conclude that \(\mathbb {P}(\mathcal {K}^r) \rightarrow 1\) as \(r \rightarrow \infty \).
Corollary 2
Fix \(M>0\) and choose \(N>0\) and \(\epsilon (r)\) as above. Then,
Following the framework of [6], we can use these results to state that the hydrodynamically scaled system convergences to a hydrodynamic limit. Fix \(M >0\) and let \(\tilde{E}\) be the set of right-continuous functions \(x: [0,M] \rightarrow \mathbb {R}^d\) with left limits. Let
Moreover, we set
and
We remark that these definitions are not related to E, the set of all possible pairs of stations where cars can move to.
Definition 2
A hydrodynamic limit of \(\mathcal {E}\) is a point \(x \in \tilde{E}\) such that for all \(\epsilon >0\) there exists a \(r_0 \in \mathbb {N}\) so that for every \(r \ge r_0\) there is some \(y \in E^r\) such that \(|x(\cdot ) - y(\cdot ) |_M < \epsilon \).
Since \(|\mathbb {X}^{r,m}(0)|\le 1\), the following result is a consequence of Proposition 4.1 in [6].
Corollary 3
Let \(\tilde{E}, E^r, \mathcal {E}\) be as above. Fix \(\epsilon >0\), \(M>0\), \(T\ge 0\), and choose r large enough. Then, for \(\omega \in \mathcal {K}^r\) and any \(m < \sqrt{r}T\),
for some hydrodynamic limit \(\mathbb {X}(\cdot ) \in E'\) of \(\mathcal {E}\).
Finally, to conclude this section, we derive the equations that are satisfied by any hydrodynamic limit.
Proposition 3
Let \(M>0\) be fixed, and let \(\tilde{\mathbb {X}}\) be a hydrodynamic limit of \(\mathcal {E}\) over [0, M]. Then \(\tilde{\mathbb {X}}\) satisfies the following equations:
Remark 4
We cannot provide such general equations for \(\tilde{Z}(\cdot )\) or \(\tilde{L}(\cdot )\), since these limits depend on \(x_{r,m}\). That is, the processes \(\tilde{Z}^{r,m}(\cdot )\) and \(\tilde{L}^{r,m}(\cdot )\) converge to a limit, but the limiting process may differ for different m. In the proof, we specify the limiting equations of these processes as well.
Proof of Proposition 3
Let \(\tilde{\mathbb {X}}\) be a hydrodynamic limit of \(\mathcal {E}\). For a given \(\delta >0\), choose (r, m) such that \(\epsilon (r) \le \delta \), and
Due to (50), (51) and \(\omega \in \mathcal {H}^r\), we derive
and
Equation (68) is a clear consequence of (46). Combining the above equations, we observe
These bounds imply that any hydrodynamic limit satisfies Eqs. (68)–(73). Finally, we still have to show (74). If, for some \(t \in [0,M]\),
then by continuity of \(\tilde{\mathbb {X}}\), there exists a \(\eta >0\) such that this holds for all \(s \in [t-\eta , t+\eta )\), and also
Due to (54), this implies that \(A_{ij,i}^{r,m}(s)\) is constant on \(s \in [t-\eta , t+\eta ]\). Therefore, its limit is also constant on \([t-\eta , t+\eta ]\), and hence, the derivative is zero. On the other hand, if
then by continuity of \(\tilde{\mathbb {X}}\), there exists a \(\eta >0\) such that this holds for all \(s \in [t-\eta , t+\eta ]\), and
Since \(\tilde{A}'_{ij,j}=0\), and due to (46) with limiting process (69),
\(\square \)
1.2 B.2 The SSC function
In this section, we introduce the state-space collapse (SSC) function under which we show multiplicative state-space collapse. The SSC function we use in our paper is \(g: \mathbb {R}^S \rightarrow \mathbb {R}\), defined as
where \(q=(q_1,\ldots ,q_S)\). We note that \(g(\cdot )\) is a non-negative continuous function and satisfies
for every \(\alpha >0\).
Lemma 4
Suppose \(g: \mathbb {R}^S \rightarrow \mathbb {R}\) is defined as in (75). Then,
for every hydrodynamic model solution \(\tilde{\mathbb {X}}\) satisfying \(|\tilde{\mathbb {X}}(0)|\le 1\), where
with \(h >0\) some constant that depends only on \(\lambda \) and \(\{p_{ij}, \{i,j\} \in E\}\). Moreover, if \(g(\tilde{Q}(0))=0\) and \(|\tilde{\mathbb {X}}(0)|\le 1\), then \(g(\tilde{Q} (t))=0\) for all \(t \ge 0\).
Proof
The proof relies heavily on the ideas used in the proof for the fluid limit. Let
Since
for any non-empty \(\mathcal {I}, \mathcal {J} \subset \{1,\ldots ,S\}\) with \(\mathcal {I} \cap \mathcal {J} = \emptyset \), we observe that \(h <0\). For a hydrodynamic limiting process \(\tilde{\mathbb {X}}\), let \(H_{\tilde{\mathbb {X}}}(\cdot )\) be given by
We note that this function is non-negative, and satisfies \(H_{\tilde{\mathbb {X}}}(t) = 0\) for all \(t \ge g(\tilde{Q}(0))/h\).
To show that \(g(\tilde{Q}(t))\) is bounded by this function, we note that it suffices to show that whenever \(g(\tilde{Q}(t)) >0\) with \(t\ge 0\) being a regular point of \(\tilde{\mathbb {X}}\),
For this purpose, let
and
Due to Lemma 2.8.6 in [8], it holds for all \(i,j \in S_{\max }(t)\) that \(\tilde{Q}'_i(t)/p_i= \tilde{Q}'_j(t)/p_j\), and similarly, for all \(i,j \in S_{\min }(t)\) it holds that \(\tilde{Q}'_i(t)/p_i= \tilde{Q}'_j(t)/p_j\). Therefore, due to hydrodynamic limit equations (68)–(74) and the observation that there is at least one station \(j \not \in S_{\max }(t)\) such that \(\{i,j\} \in E\), it follows that
for all \(i \in S_{\max }(t)\). Similarly, for all \(i \in S_{\min }\),
We conclude that \(g'(\tilde{Q}(t)) \le -h\), and hence, \(g(\tilde{Q}(t)) \le H_{\tilde{\mathbb {X}}}(t)\) for all \(t\ge 0\). In particular, if \(g(\tilde{Q}(0))=0\) and \(|\tilde{\mathbb {X}}(0)|\le 1\), it follows from the definition of \(H_{\tilde{\mathbb {X}}}(\cdot )\) that \(g(\tilde{Q} (t))=0\) for all \(t \ge 0\).
The first statement of the lemma follows since for every hydrodynamic model solution \(\tilde{\mathbb {X}}\) satisfying \(|\tilde{\mathbb {X}}(0)|\le 1\), it holds that \(g(\tilde{Q}(0)) \le 2/\min _{1\le j \le S} p_j\). Hence, \(H_{\tilde{\mathbb {X}}}(\cdot ) \le H(\cdot )\) for every hydrodynamic model solution \(\tilde{\mathbb {X}}\) satisfying \(|\tilde{\mathbb {X}}(0)|\le 1\). \(\square \)
This result implies that the hydrodynamically scaled queue length almost satisfies this property as well. The next result is an immediate consequence of Corollary 3.
Corollary 4
Fix \(\epsilon >0\), \(M>0\) and \(T>0\). Then, for every \(\omega \in \mathcal {K}^r\),
for all \(t \in [0,M]\) and \(m < \sqrt{r}T\), where \(H(\cdot )\) is as in Lemma 4. Moreover, if \(g(\hat{Q}(0)) \rightarrow 0\) in probability as \(r \rightarrow \infty \), then for all \(\omega \in \mathcal {L}^r\) with
it holds that
and
1.3 B.3 Multiplicative state-space collapse
The goal of this section is to show multiplicative state-space collapse for the SSC function defined in (75). To do so, we first need to relate the hydrodynamic and diffusion scaling. That is, we observe that
where
with
Corollary 4 can be translated to the diffusion scaled process. Consider the SSC function \(\hat{g}: \mathbb {R}^S \rightarrow \mathbb {R}\) defined as
with \(q=(q_1,\ldots ,q_S)\).
Corollary 5
Fix \(\epsilon >0\), \(M>0\) and \(T>0\). Then for r large enough, and \(\omega \in \mathcal {K}^r\),
for all \(t\in [0,T]\) with \(m \in \mathbb {N}\) such that
Also, for all \(\omega \in \mathcal {L}^r\),
Since \(H(\cdot )\) is given as in (76), we observe that \(H(t)=0\) for all \(t \ge 2/(h \min _{1 \le j \le S} p_j)\). We would like to show that \((\sqrt{r}t-m)/y_{r,m}\) can be chosen large enough to obtain a very small upper bound, and use that property to show multiplicative state-space collapse.
Lemma 5
Suppose \(M \ge 2(N+2)\) is fixed, and let
Then, for r large enough,
for every \(\omega \in \mathcal {K}^r\) and \(t \in ( M y_{r,0} /\sqrt{r} , T]\).
Proof
For every \(\omega \in \mathcal {K}^r\), by the definition of the set,
for \(t_1,t_2 \in [0,M]\) and \(m < \sqrt{r} T\). In particular, for \(t_2=1/y_{r,m}\), \(t_1=0\) and \(\epsilon \le 1\),
Applying the reverse triangle inequality, we observe
and similarly,
Therefore, it always holds that
For every \(t \in (M y_{r,0}/\sqrt{r},T]\), it follows by the definition of \(m_r(t)\) that
In particular,
where the last inequality follows since \(M \ge 2(N+2)\). \(\square \)
Next, we show the main result of this section.
Theorem 8
Suppose \(\hat{Q}^r(0) \rightarrow \hat{Q}(0)\) for some random vector \(\hat{Q}(0)\). For every \(T>0\), \(\epsilon >0\) and \(M<\infty \) with
it holds that
as \(r \rightarrow \infty \). If, in addition, \(\hat{g}(\hat{Q}^r(0)) \rightarrow 0\) in probability as \(r \rightarrow \infty \), then for every \(T>0\),
as \(r \rightarrow \infty \).
Proof
Fix \(\eta >0\) and note that by construction there exists a \(r_0\) such that, for all \(r > r_0\),
For every \(\omega \in \mathcal {K}^r\), we have derived bounds that only require that M is bounded. We note that M as in the statement of the theorem allows, for every \(t \in [0,T]\), \(m/\sqrt{r} \le t \le (m+y_{r,m} M )/\sqrt{r}\) for some \(m < \sqrt{r} M\). Moreover, it follows from Lemma 5 and (76) that
for all \(t \in ( M y_{r,0} /\sqrt{r} , T]\). In view of Corollary 5, we obtain, for every \(\epsilon >0\),
for all \(t \in ( M y_{r,0} /\sqrt{r} , T]\). Since, for all \(t \in [0,T]\),
we obtain, for every \(\omega \in \mathcal {K}^r\),
Note that, for every \(t \ge 0\),
Moreover, since \(\epsilon >0\) is arbitrary, we can conclude that (77) holds.
If \(|\hat{Q}^r(0)| \overset{\mathbb {P}}{\rightarrow } 0\), it follows from Corollary 5 that, for all \(\omega \in \mathcal {L}^r\) and \(t \in [0,M y_{r,0}/\sqrt{r}]\),
Since \(\epsilon >0\) is arbitrary, together with (77) and (79), we obtain (78).\(\square \)
Remark 5
Note that the bounds in Theorem 8 are obtained for every fixed \(T>0\). Yet, from the proof it is clear that one has the following slightly more general result: Suppose \(\hat{Q}^r(0) \rightarrow \hat{Q}(0)\) for some random vector \(\hat{Q}(0)\). For every \(\epsilon >0\), \(M<\infty \) as in Theorem 8, and \(t_r \in (M y_{r,0}/\sqrt{r},\infty )\),
as \(r \rightarrow \infty \). If, in addition, \(\hat{g}(\hat{Q}^r(0)) \rightarrow 0\) in probability as \(r \rightarrow \infty \), then for every \(t_r \in (M y_{r,0}/\sqrt{r},\infty )\),
as \(r \rightarrow \infty \). In other words, the interval over which the state-space collapse is considered can also be chosen as a sequence of intervals indexed by r.
1.4 B.4 Strong state-space collapse
Although Theorem 8 shows multiplicative state-space collapse, our interest lies in the strong state-space collapse as is stated in Theorem 6. To do so, it suffices to show that the denominators in Theorem 8 are bounded in a probabilistic sense. More specifically, \(\Vert \hat{Q}^r(t)\Vert _T\) should satisfy the compact containment property. Before doing so, we prove a result that shows that even if the diffusion-scaled queue lengths are initially not necessarily close to one another, these queue lengths do not explode for a sufficiently short period of time.
Lemma 6
Suppose \(\hat{Q}^r(0) \rightarrow \hat{Q}(0)\) for some random vector \(\hat{Q}(0)\), and \(M \in [0,\infty )\). Then,
Proof
Fix \(\epsilon \in (0,1)\) small. First, note that
By definition,
Since \(\hat{Q}^r(0) \rightarrow \hat{Q}(0)\) for some random vector \(\hat{Q}(0)\),
and due to the definition of \(y_{r,0}\) and (79) for \(t=0\), this implies
To bound the first term in (82) as well, we observe that the queue length at some time is trivially bounded by
We observe that \(F_j^r \le (1+\epsilon ) \lambda r/\mu \) for r large enough. Moreover, if \(\{\varLambda (t),t\ge 0\}\) denotes a Poisson process with rate \(\lambda \), then due to the properties of the Poisson process it holds that \(\sum _{\{i,j\} \in E} \varLambda _{ij}(\cdot ) \overset{d}{=} \varLambda (\cdot )\). In terms of the diffusion scaling, the above bound yields, for all \(t \ge 0\),
Therefore, using this bound for \(t = M y_{r,0} / \sqrt{r} \le \epsilon M K /\sqrt{r}\) and noting that Poisson processes are (non-decreasing) counting processes,
Due to the LLN, we observe that
for \(\epsilon >0\) small enough (for example, for \(\epsilon < 1-M/(M+\sqrt{\lambda /\mu }\min _{1 \le j \le S} p_j)\)). Similarly, due to the LLN,
for \(\epsilon >0\) small enough (for example, for \(\epsilon < \min _{1 \le j \le S} p_j/(M\sqrt{\lambda /\mu }+\min _{1 \le j \le S} p_j)\)). We conclude that the first term in (82) converges to zero, i.e.,
and hence, the result follows. \(\square \)
Next, we show that the process \(\hat{Q}^r(\cdot )\) satisfies the compact containment property.
Proposition 4
Suppose \(|\hat{Q}^r(0)| \rightarrow \hat{Q}(0)\) for some random vector \(\hat{Q}(0)\). Then, for every \(T>0\) and \(\epsilon >0\),
Proof
Fix \(\epsilon \in (0,1/3)\) small, and let \(K > \max \{2|\beta |+2,2|\gamma |+2\}\). Introduce the sequence of stopping times
and similarly,
Clearly,
In order to improve the readability of the proof, we first present a proof in the case when \(\hat{g}(\hat{Q}^r(0)) \rightarrow 0\) in probability as \(r \rightarrow \infty \). We then comment on the changes needed to adapt the proof to the case when this condition does not necessarily hold.
Case I: \(\hat{g}(\hat{Q}^r(0)) \rightarrow 0\) in probability as \(r \rightarrow \infty \).
Since \(|\hat{Q}^r(0)| \rightarrow \hat{Q}(0)\) for some random vector \(\hat{Q}(0)\), it holds that
and hence, we can assume that both \(\hat{\tau }_K^r> \hat{T}_K^r >0\) and \(\breve{\tau }_K^r> \breve{T}_K^r >0\) (for K large enough). Moreover, for every \(t \le \min \{\breve{\tau }_K^r,\hat{\tau }_K^r\}\),
Next, we provide bounds for the two ways of crossing the boundary K separately. First, we consider the first term in (84). We observe
To bound the first term, define the process \(\{\hat{Q}^r_\varSigma (t), t\ge 0\}\) with
We observe that
Due to the system identities, we observe that, for every \(t \in [\hat{T}_K^r, \hat{\tau }_K^r]\),
We note that, due to the properties of the Poisson process,
with \(\{\varLambda (t),t\ge 0\}\) an (independent) Poisson process with rate \(\lambda \). Moreover, since for all \(t \in [\hat{T}_K^r, \hat{\tau }_K^r]\) it holds that \(\hat{Q}^r_j(t) \ge \gamma \) for every \(i \in \{1,\ldots ,S\}\),
Using the FCLT, we observe that
as \(r \rightarrow \infty \), where \(\{\text {BM}(t), t\ge 0\}\) is a Brownian motion with zero mean and finite variance (independent of K). Finally, by the definitions of the stopping times, and in view of (85) and (86), for all \(t \in [\hat{T}_K^r, \hat{\tau }_K^r]\),
We conclude that
which converges to zero as \(K \rightarrow \infty \) since \(\epsilon \in (0,1/3)\).
The analysis of the second term in (84) uses similar arguments as the first term. We observe
Again, due to Theorem 8 and (81),
Due to the system identities, we observe that, for every \(t \in [\breve{T}_K^r, \breve{\tau }_K^r]\),
Due to the definitions of the stopping times, we observe that, for all \(t \in [\breve{T}_K^r, \breve{\tau }_K^r]\), it holds that \(\hat{Q}_j^r(t) \le \beta \) for every \(j \in \{1,\ldots ,S\}\), and hence, \(L^r(t)=r\). Therefore, due to the properties of the Poisson process,
with \(\{\varLambda (t),t\ge 0\}\) a Poisson process with rate \(\lambda \). Moreover,
Using the FCLT, we observe again that
as \(r \rightarrow \infty \), where we recall that \(\{\text {BM}(t), t\ge 0\}\) is a Brownian motion with zero mean and finite variance (independent of K). Finally, by the definition of the stopping times, and in view of (85) and (86), it holds for all \(t \in [\breve{T}_K^r, \breve{\tau }_K^r]\) that
We conclude that
which also converges to zero as \(K \rightarrow \infty \) since \(\epsilon \in (0,1/3)\). Since this holds for both of the two summed probabilities in Theorem (84), we conclude that (83) holds.
Case II: general case, i.e., when we do not assume that \(\hat{g}(\hat{Q}^r(0)) \rightarrow 0\) in probability as \(r \rightarrow \infty \).
Let \(M \in [1,\infty )\) be fixed and satisfy the property as in Theorem 8. Since \(|\hat{Q}^r(0)| \rightarrow \hat{Q}(0)\) for some random vector \(\hat{Q}(0)\) and due to Lemma 6, it holds that
Therefore, we can assume that both \(\hat{\tau }_K^r> \hat{T}_K^r > M y_{r,0}/\sqrt{r}\) and \(\breve{\tau }_K^r> \breve{T}_K^r > M y_{r,0}/\sqrt{r} \) (for K large enough). The proof in this general case is then completely analogous to that in the previous one: \(\Vert \hat{g}(\hat{Q}^r(t))\Vert _{ \breve{\tau }_K^r}\) needs to be replaced with \(\sup _{t \in ( M y_{r,0}/\sqrt{r}, \breve{\tau }_K^r]} |\hat{g}(\hat{Q}^r(t))|\), and \(\Vert \hat{g}(\hat{Q}^r(t))\Vert _{ \hat{\tau }_K^r}\) with \(\sup _{t \in ( M y_{r,0}/\sqrt{r}, \hat{\tau }_K^r]} |\hat{g}(\hat{Q}^r(t))|\). \(\square \)
Next, we prove our main result stated as in Theorem 6.
Proof of Theorem 6
Equation (34) is a consequence of Theorem 8 and Proposition 4. To prove (33), note that, for every \(\epsilon >0\) and any sequence \(\{K^r,r \in \mathbb {N}\}\),
Theorem 8 and Proposition 4 imply that, for every \(\epsilon >0\),
Moreover, for any sequence \(\{K^r,r \in \mathbb {N}\}\) for which \(K^r=o(\sqrt{r})\) with \(K^r \rightarrow \infty \) as \(r \rightarrow \infty \), it holds that
by the definition of \(y_{r,0}\), (79) and since \(\hat{Q}^r(0) \rightarrow \hat{Q}(0)\) for some random vector \(\hat{Q}(0)\). We conclude that (33) holds as well. \(\square \)
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
Sloothaak, F., Cruise, J., Shneer, S. et al. Complete resource pooling of a load-balancing policy for a network of battery swapping stations. Queueing Syst 99, 65–120 (2021). https://doi.org/10.1007/s11134-021-09707-w
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11134-021-09707-w