Abstract
We compare stability regions for different power flow models in the process of charging electric vehicles (EVs) by considering their random arrivals, their stochastic demand for energy at charging stations, and the characteristics of the electricity distribution network. We assume the distribution network is a line with charging stations located on it. We consider the Distflow and the Linearized Distflow models, and we assume that EVs have an exponential charging requirement, that voltage drops on the distribution network stay under control, and that the number of charging stations N goes to infinity. We investigate the stability of utility-optimizing power allocations in large distribution networks for both power flow models by controlling the arrival rate of EVs to charging stations. For both power flow models, we show that, to obtain stability, the maximum feasible arrival rate, i.e., stability region of vehicles, is decaying as \(1/N^2\), and the difference between those arrival rates is up to constants, which we compare explicitly.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
The popularity of electric vehicles (EVs) has been growing due to their increased range, lower cost of batteries, and governmental subsidies. However, EVs need to be charged and the current infrastructure cannot support their increasing demand for energy. This can therefore cause capacity problems in electricity networks in the (very near) future [14]. Modifying the existing infrastructure is costly and constrained by the limits of the electricity network. Therefore, we need to explore the impact of the increasing charging demand on the quality of service to EV drivers, subject to network constraints. More specifically, in this paper, we characterize the set of feasible arrival rates of EVs to charging stations, guaranteeing the quality of service and satisfying network constraints.
It has been shown that for the penetration of EVs to 20–40% of the households, existing electricity networks should be able to deal with an increasing demand for energy from EVs if the majority is restricted to low charging rates at off-peak times [1]. However, controlling the rate at which EVs charge can lead to better utilization of existing networks. For example, in [25], an optimal charging rate for each EV is determined. The goal is to maximize the total power that can be delivered to the vehicles while operating within network limits. In [13], individual preferences regarding their charging rates are also taken into account. Those users who want a higher rate can receive it, but must pay a higher price.
Irrespective of the allocation of charging capacity to EVs, it is important to respect network limits. In an electricity network, an important constraint is the requirement of keeping voltage losses, or in other words, the voltage drop, on a cable in the network under control. This voltage drop comes from the transportation of electricity due to physical properties of cables in the network. Keeping the voltage losses under control ensures that every customer receives safe and reliable energy at a voltage that is within some standard range, which varies from one country to another [16]. For example, according to the Dutch law, the voltage loss in distribution networks is not allowed to be more than 4.5% [30].
Motivated by this, we consider EVs charging in a neighborhood such that voltage drops on the distribution network stay under control. EVs arrive randomly (at charging stations) to get charged and have different stochastic demands for energy. Moreover, the charging rates allocated to EVs depend on the number of cars charging simultaneously in the neighborhood. We model this process as a queue, with EVs representing jobs, charging stations classified as servers, and the service being delivered as the power supplied to EVs, constrained by the physical limitations of the distribution network. These physical limitations are modeled by different power flow models.
The goal of this paper was to compare different power flow models while guaranteeing stability of the queuing model under distribution network constraints. Whenever we write stability, we mean stability of the queuing model, unless stated otherwise. In our setting, we assume that cars arrive at the same rate at each charging station and we want to find the maximum feasible arrival rate in terms of the number of charging stations N such that voltage drops are within constraints. This is very challenging due to the uncertainty of the stochastic electricity demand of cars. Another difficult aspect is the modeling of the power flow dynamics in the distribution network. In this paper, we approximate the power flow dynamics in the distribution network by the commonly used Distflow and the Linearized Distflow models, because they are good approximations and of their appealing mathematical properties. Moreover, studying these power flow models provides insight into what happens by linearizing physical models. The main stability results (Theorems 3.1, 3.2) characterize the maximal feasible arrival rates under distribution network constraints for different power flow models. More specifically, they show, on the one hand, that for large distribution networks (to obtain stability) the maximal feasible arrival rates under both power flow models decay at the same rate, and on the other hand that the difference between these arrival rates is up to constants, which we compare explicitly.
1.1 Distribution networks
An electric grid is a connected network that transfers electricity from producers to consumers. It consists of generating stations that produce electric power, high voltage transmission lines that carry power from distant sources to demand centers, and distribution lines that connect individual customers, e.g., houses, charging stations, etc. We focus on a network that connects a generator to individual customers with only distribution lines. Such a network is called a distribution network. Such a network is not necessarily limited to EV drivers that want to charge their cars. All individual consumers of energy with the same characteristics as EVs, such as arrival and demand patters, fit this framework.
In the rest of the paper, we assume that the distribution network, consisting of one generator, several charging stations, and distribution lines, has a line topology. The generator that produces electricity is called the root node. Charging stations consume power and are called the load nodes. Thus, we represent the distribution network by a graph (here, a line) with a root node, load nodes, and edges representing the distribution lines.
1.2 Power flow models
In order to model the power flow in the network, we use approximations of the alternating current (AC) power flow equations [24]. These power flow equations characterize the steady-state relationship between power injections at each node, the voltage magnitudes, and phase angles that are necessary to transmit power from generators to load nodes. First, we study a load flow model known as the branch flow model or the Distflow model [4], and second, a linearized version of the Distflow model called the Linearized Distflow model. Both power flow models focus on quantities such as complex current and power flowing on the distribution lines. Due to the specific choice for the distribution network as a line, both power flow models have a recursive structure, which we can exploit.
The accuracy and effectiveness of the Linearized Distflow model has been numerically justified in the literature [4]. Its use is justified by the fact that the nonlinear terms in the equations of the Distflow model represent the losses that appear if electric power is transferred over the lines. These losses should be, in practice, much smaller than the active and reactive power terms that show up in the equations. In this paper, we show analytically that the impact of neglecting these losses, in terms of stability, is insignificant if the network is large.
1.3 Stability conditions for EV charging
Customers can charge their EVs at charging stations. In practice, EVs are served simultaneously, because they require concurrent usage of all upstream distribution lines between the location of an EV and the generator of the distribution network. This feature of sharing service capacity under concurrent users can be captured adequately in queuing theory by a resource-sharing network and specifically a bandwidth-sharing network. Bandwidth-sharing networks have been successfully applied in many areas, for example, in computer systems and communication networks [21, 22, 34].
There is vast literature on stability conditions in bandwidth-sharing networks. The question of stability was first posed under Markovian assumptions in [10, 32], and cover the stability of such networks for weighted proportionally fair policies. In [5], the latter results are generalized to a more general family of policies called weighted \(\alpha \)-fair policies [6]. Stability results for more general arrival and service distributions have also been derived [8, 12, 23]. In particular, [20] has shown the stability of the proportionally fair policy under phase-type service distributions. In a continuous-time Markovian setting, [26, 27] present stability conditions for a more general class of utility-maximizing allocations, which include weighted \(\alpha \)-fair allocations. For a more detailed overview, see [33] or a recent survey paper by Williams [34].
The literature on stability results for EV charging is limited to numerical experiments. An early paper on stability analysis in EV charging is Huang et al. [15]. The authors present a new quasi-Monte Carlo stability analysis method to assess the dynamic effects of plug-in electric vehicles in power systems. They conclude that improvements for stability control are worth further study since the number of EVs is growing.
Simulation studies are conducted to obtain stability conditions in Carvalho et al. [7]. Here, the authors find that there is a threshold value \(\lambda _c\) on the arrival rates, such that if the actual arrival rate \(\lambda \) is greater than this threshold, i.e., \(\lambda >\lambda _c\), some vehicles have to wait for increasingly long times to fully charge. Similar findings are obtained in [9, 11, 29, 35]. Up to a certain point, the distribution network is able to serve all EVs properly, but if the number of EVs in the system is too high, it cannot be guaranteed, e.g., that voltage drops stay under control, that distribution transformers, distribution lines, and cables are not overloaded, that power losses are not too big, or that peak demands are not too high.
The present paper builds upon Aveklouris et al. [2]. In this study, the authors consider a distribution network used to charge EVs such that voltage drops stay under control, taking into account randomness of future arriving EVs and power demands. The work focuses on a fluid approximation for the number of uncharged EVs, while we focus on explicit conditions to ensure stability of the queuing model under both power flow models. We present maximal arrival rates to obtain stability for both power flow models. We use differential and integral calculus to compute these maximal feasible arrival rates under the Distflow model and to study the difference between maximal feasible arrival rates obtained under the Linearized Distflow and the Distflow models. The main conclusion that we draw is that these rates are the same as the size of the distribution network increases, up to constants. The existence of conditions guaranteeing stability has been shown in [26, 27], where the authors establish stability for networks of interacting queues governed by utility-maximizing service rate allocations using direct applications of Lyapunov–Foster-type criteria.
The structure of the paper is as follows. In Sect. 2, we provide a detailed model description. In particular, we introduce the queuing model, the distribution network model, and the power flow models. In Sect. 3, we find stability regions for both power flow models. The stability results are presented in Sects. 3.1 and 3.2. The comparison between the stability regions of both power flow models is made in Sect. 3.3. The aforementioned stability results under the Linearized Distflow and the Distflow models are proven in Sects. 4 and 5, respectively. From an engineering point of view, the computation of the stability region for the Distflow model, as in Sect. 3.2, can also be done numerically, via an iterative approach. Therefore, we show how to use Newton’s method to compute the maximal feasible arrival rate under the Distflow model in Sect. 6. In Sect. 7, we state most important outcomes of this paper. The appendix focuses on proofs and a theorem that are used in Sects. 2.3.1, 4, and 5. A more detailed description is found in Appendix.
In the remainder of this section, we list the notation we use throughout the paper. An overview of notations is also given in Appendix F.
1.4 Notation
All vectors and matrices are denoted by bold letters. Vector inequalities hold coordinate-wise; namely, \({\textbf{x}}>{\textbf{y}}\) implies that \(x_i>y_i\) for all i. The imaginary unit is denoted by \(\textrm{i}\), and the absolute value of a complex number \(z=x+\textrm{i} y\) is \(\left| z\right| =\sqrt{x^2+y^2}\). Also, the complex conjugate \(x-\textrm{i}y\) of z is denoted by \({\overline{z}}\).
The following operations are defined on \(x,y\in {\mathbb {R}}\):
Denote the space of functions \(f:[0,T]\rightarrow {\mathbb {R}}\) that are right continuous with left limits, i.e., càdlàg functions, by
Furthermore, we define the space \({\textbf{D}}_{\ge 1}[0,T]\) as
For a function \(f(\cdot )\) defined on (a subset of) \({\mathbb {R}}\), \(f'(t)\) denotes its derivative at t and \(f''(t)\) its second derivative at t, when these exist.
2 Model description
This section describes the three main components of the EV-charging model. In Sect. 2.1, we describe the characteristics of the queuing model, i.e., the evolution of the number of cars charging at each charging station. In Sect. 2.2, we specify the distribution network model, and in Sect. 2.3, we introduce the Distflow and the Linearized Distflow power flow models.
2.1 Queuing model of EV charging
We use a queuing model to study the process of charging EVs in a distribution network. Recall that in this setting, EVs referred to as jobs require service. This service is delivered by charging stations, referred to as servers, and the service being delivered is the power supplied to EVs. Since we are interested in the maximal feasible arrival rate, we assume that we can simultaneously charge an infinite number of EVs so that we are not limited by space, i.e., a finite number of charging stations or limited numbers of parking lots. At the same time, this is not out of the physical realm if we consider, for example, wireless charging.
Thus, in the queuing system, we consider N single-server queues, each having its own arrival stream of jobs. Denote by \({\textbf{X}}(t) = (X_1(t),\ldots ,X_N(t))\) the vector giving the number of jobs at each queue at time t. We make the following assumption on the arrival rates and service requirements of all EVs.
Assumption 2.1
At all charging stations, all EVs arrive independently according to Poisson’s processes with the same rate \(\lambda \) and have independent service requirements which are Exp(1) random variables.
We make this assumption, since our goal is to compare different power flow models. Therefore, we exclude other sources of variability from our model, such as different arrival and demand patterns.
At each queue, all jobs are served simultaneously and start service immediately (there is no queuing). Furthermore, each job receives an equal fraction of the service capacity allocated to a queue. Denote by \({\tilde{\textbf{p}}}(t) = ({\tilde{p}}_1(t),\ldots ,{\tilde{p}}_N(t))\) the vector of service capacities allocated to each queue at time t. This represents the active power that is allocated to each node and is dependent on the number of EVs that are charging at each charging station. This means that at each queue j, it takes 1/\({\tilde{p}}_j(t)\) time units to serve one job. However, service capacities are state-dependent and subject to changes, and the dynamics are more complicated. See below for details.
We can then represent the number of electric vehicles charging at every station as an N-dimensional continuous-time Markov process. The evolution of the queue at node j is given by
and
From now on, for simplicity, we drop the dependence on time t from the notation. For example, we write \(X_j\) and \({\tilde{p}}_j\) instead of \(X_j(t)\) and \({\tilde{p}}_j(t)\). We assume that the rates \({\tilde{\textbf{p}}}\) may be allocated according to the current vector \({\textbf{X}}=(X_1,\ldots ,X_N)\) of number of jobs.
As discussed in introduction, we use the existence of stability conditions for a general class of utility-maximizing allocations, which include the popular and well-known \(\alpha \)-fair algorithms [6]. Therefore, we discuss the use of an \(\alpha \)-fair algorithm to allocate the charging capacity to EVs in more detail.
In state \({\textbf{X}}\), an \(\alpha \)-fair algorithm allocates \({\tilde{p}}_j/X_j\) to each EV at charging station j, with \({\tilde{\textbf{p}}}=({\tilde{p}}_1,\ldots ,{\tilde{p}}_N)\) the solution of the utility optimization problem
subject to physical constraints on the vector \({\tilde{\textbf{p}}}\) of allocated power and where
A fair allocation is one that does not penalize some users arbitrarily. In our setting, that could be an allocation where the charging rate allocated to an EV does not depend on the specific charging station it is connected to.
The parameter \(\alpha \) measures the degree of fairness of the allocation. Popular choices are \(\alpha \rightarrow 0\), where the total allocated power tends to be maximized, but the allocation is very unfair. The choice \(\alpha =1\), where we end up with proportional fairness, that tends to maximize the utility of the total power allocation or \(\alpha =2\), that corresponds to the minimum potential delay allocation, where the total charging time tends to be minimized. Last, we have the limiting case \(\alpha \rightarrow \infty \), where the minimum of the power allocated to any charging station tends to be maximized, namely max–min fairness [21].
2.2 Distribution network model
The distribution network is modeled as a directed graph \({\mathcal {G}}=({\mathcal {I}},{\mathcal {E}})\), where we denote by \({\mathcal {I}} = \{0,\ldots ,N\}\) the set of nodes and by \({\mathcal {E}}\) its set of directed edges, assuming that node 0 is the root node. We assume that \({\mathcal {G}}\) has a line topology. Each edge \(\epsilon _{j-1,j}\in {\mathcal {E}}\) represents a line connecting nodes \(j-1\) and j, where node j is further away from the root node than node \(j-1\). Each edge \(\epsilon _{j-1,j}\in {\mathcal {E}}\) is characterized by the impedance \(z=r+\textrm{i} x\), where \(r,x\ge 0\) denote the resistance and reactance along the lines, respectively. We make the following assumption. This is a natural assumption given that \(r>>x\) in distribution networks [17, 28].
Assumption 2.2
All edges have the same resistance value \(r>0\) and reactance value \(x=0\).
Furthermore, let \({\tilde{s}}_j = {\tilde{p}}_j + \textrm{i} {\tilde{q}}_j\) be the complex power consumption at node j. Here, \({\tilde{p}}_j\) and \({\tilde{q}}_j\) denote the active and reactive power consumption at node j, respectively (cf. (2.1)). By convention, a positive active (reactive) power term corresponds to consuming active (reactive) power. Since EVs can only consume active power [7], it is natural to make the following assumption.
Assumption 2.3
The active power \({\tilde{p}}_j\) is non-negative and the reactive power \({\tilde{q}}_j\) is zero at all charging stations \(j\in {\mathcal {I}}\).
Let \({\tilde{V}}_j\) denote the voltage at node j. Given Assumptions 2.2 and 2.3, observe [e.g., from Equations (2.6)–(2.9)] that the voltages at each node j, \({\tilde{V}}_j\), can be chosen to have zero imaginary components [2, 7]. For each \(\epsilon _{j-1,j}\in {\mathcal {E}}\), let \(I_{j-1,j}\) be the complex current and \({\tilde{S}}_{j-1,j}={\tilde{P}}_{j-1,j}+\textrm{i}{\tilde{Q}}_{j-1,j}\) be the complex power flowing from node \(j-1\) to j. Here, \({\tilde{P}}_{j-1,j}\) and \({\tilde{Q}}_{j-1,j}\) denote the active and reactive power flowing from node \(j-1\) to j. The model is illustrated in Fig. 1.
Voltage drop constraint The distribution network constraints, that is in our case only the voltage drop constraint, are described by a set \({\mathcal {C}}\). The set \({\mathcal {C}}\) is contained in an N-dimensional vector space and represents feasible power allocations. In our setting, a power allocation is feasible if the maximal voltage drop; i.e., the relative difference between the base voltage \({\tilde{V}}_0\) and the minimal voltage in all buses between the root node and any other node is bounded by some value \(\Delta \in (0,\frac{1}{2}]\). Thus, the distribution network constraints can be described as
In Sect. 2.3.1, we show there is a technical reason why we use the explicit interval \((0,\frac{1}{2}]\) for \(\Delta \). However, this is not out of the physical realm, since in practice, we want the maximal voltage drop to be no more than a small percentage of the base voltage, e.g., \(\Delta = 0.05\) or \(\Delta =0.1\). In Sect. 2.3, we give more concrete definitions of the constraint set \({\mathcal {C}}\).
2.3 Power flow models
We introduce two commonly used models to represent the power flow that are valid for radial systems, i.e., systems where all charging stations have only one (and the same) source of supply. They are called the Distflow and Linearized Distflow model [4]. Both models are valid when the underlying network topology is a tree, which is indeed the case in this paper (as we consider a line topology). Moreover, we show that for a line topology, the power flow model equations can be rewritten recursively for the voltages. For an overview of other representations of power flow, we refer the reader to Molzahn and Hiskens [24, Chapter 2].
Given the impedance r, the voltage at the root node \({\tilde{V}}_0\), and the power consumptions \({\tilde{p}}_j, j=1,\ldots ,N\), both power flow models satisfy three relations. First, we have power balance at each node: For all \(j\in {\mathcal {I}}\backslash \{0\}\),
Here, on the one hand, the quantity \(r|I_{j-1,j}|^2\) represents line loss so that \({\tilde{S}}_{j-1,j}-r|I_{j-1,j}|^2\) is the receiving-end complex power at node j from node \(j-1\). On the other hand, the delivering-end complex power is the sum of the consumed power at node j and the complex power flowing from node j to node \(j+1\). Second, by Ohm’s law, we have for each edge \(\epsilon _{j-1,j} \in {\mathcal {E}}\),
and third, due to the definition of complex power, we have for each edge \(\epsilon _{j-1,j} \in {\mathcal {E}}\),
Decomposing Eq. (2.3) in real and imaginary parts leads to Eqs. (2.6) and (2.7). Isolating the voltage \({\tilde{V}}_j\) from (2.4) and taking the squared magnitude on both sides, lead to (2.8). Similarly, taking the squared magnitude on both sides of (2.5) leads to (2.9). Thus, we have that an equivalent formulation of (2.3)–(2.5) is given by:
with the understanding that when j is a leaf node \({\tilde{P}}_{j,j+1}=0\) and \({\tilde{Q}}_{j,j+1}=0\) in (2.6) and (2.7), respectively. Equations (2.6)–(2.9) are the Distflow model equations. Given Assumptions 2.2 and 2.3, these equations yield a first-order recurrence relation in two real variables: the active power flow between two subsequent buses and the square of the voltages at each node.
In what follows, in the case of the Distflow model, we rewrite Equations (2.6)–(2.9) to obtain a second-order recurrence relation in a single variable: the voltage at each node. In the case of the Linearized Distflow model, we make an additional assumption to simplify Equations (2.6)–(2.9) first and then find recursive equations for the voltages.
Using these recursive expressions for the voltages under both power flow models, we determine whether a given power allocation \(\tilde{{\textbf{p}}}\) is feasible or not under both power flow models (given properties of the distribution network, such as the impedance r and base voltage \({\tilde{V}}_0\)). In other words, in Sects. 2.3.1 and 2.3.2, we specify the constraint set \({\mathcal {C}}\) in (2.2) for both power flow models.
Furthermore, to avoid a notational issue, we denote the expressions for the different models using the superscripts D (Distflow model equations) and L (Linearized Distflow equations). If there is no superscript specified, the expressions hold for both models.
2.3.1 Distflow
The first power flow model we discuss is called the Distflow model. This model was first proposed in [3] and [4] and derived under the assumption that the underlying network topology is a tree. Further simplifying the network topology into a line and assuming that load nodes consume active power only, direct manipulation and rewriting of Eq. (2.8) with the help of Eqs. (2.6), (2.7), and (2.9) yield a second-order recursive relation between the voltages,
where the voltage at the root node, \({\tilde{V}}_0^D\), and the charging rates \({\tilde{p}}_j\) for \(j=1,\ldots ,N\) are given. Relabeling Eqs. (2.10) and (2.11) by \({V_j}^D:= {\tilde{V}}_{N-j}^D\) and \(p_j:={\tilde{p}}_{N-j}\) results in a new recursive relation such that each further term of the sequence is defined as a function of the preceding terms. Notice that in terms of the new variables \({V_N}^D\) and for \(j=0,\ldots ,N-1\), \(p_j\) are given. Thus, we have the following second-order recursive relation between the voltages,
where \({V_N}^D\) is known.
Given the recurrence relation in (2.12) and (2.13), it is not straightforward to find out if a given power allocation \({\tilde{\textbf{p}}}\) is feasible or not. Computing if a given power allocation is feasible, requires finding a voltage \({V_0}^D\) such that the known voltage \({V_N}^D\) satisfies the maximal voltage drop constraint as in Eq. (2.2).
However, in what follows, we find an equivalence of the recursive relations in (2.12) and (2.13) between the situation where the voltage \({V_N}^D\) is known and the situation where the voltage \({V_0}^D\) is known, such that the voltage drop constraint is satisfied. In the latter situation, one can find out easily if a given power allocation \({\textbf{p}}\) (with distribution network parameter r and voltage \({V_N}^D\)) is feasible: Initialize the recursion with \({V_0}^D>0\) and iterate through (2.12) and (2.13) and check, using the voltage \({V_N}^D\), if the maximal voltage drop constraint is satisfied. To this end, we let the voltage \({V_0}^D\) be positive and define \(v_j: {\mathbb {R}}_+ \rightarrow {\mathbb {R}}_+\) be the function defined by the equation \(v_j({V_0}^D) = {V_j}^D\). The equivalence is found in Proposition 2.1.
Proposition 2.1
Let the resistance r and power consumptions \(p_j, j=0,\ldots ,N-1\) be given. Then, the following equivalence, for \(0< \Delta \le \frac{1}{2}\), for the voltages (under the Distflow model) at the root node and the node at the end of the line holds:
where \(c>0\).
To prove the desired equivalence, we follow the approach in [31, Chapter 5]. We first derive an alternative expression for the voltages under the Distflow model as a double summation, instead of the voltages given by Eqs. (2.12) and (2.13). Then, we show that the voltage at node j, for \(j=0,\ldots ,N\), as a function of the voltage \({V_0}^D\) is an increasing function. Here, we rely on the fact that the sequence of voltages \(V_0^D,\ldots ,V_N^D\) is increasing. This is proven in Lemma 2.3. The proofs of Proposition 2.1 and Lemmas 2.1–2.3 are found in Appendix A.
In Lemma 2.1, we derive an alternative expression for the voltages under the Distflow model.
Lemma 2.1
Let \({V_j}^D, j=0,1,\ldots ,N\), be as in (2.12) and (2.13). Then,
Now that we have an alternative expression for the voltages under the Distflow model, we show, in Lemma 2.2 that the voltages under the Distflow as a function of the voltage \({V_0}^D\) are increasing functions.
Lemma 2.2
Let the voltage \({V_0}^D\) be positive \(({V_0}^D>0)\). If \({V_N}^D\le 2{V_0}^D\), then
for all \(j=0,\ldots ,N\).
In Lemma 2.2, we rely on the fact that the sequence of voltages \(V_0^D,\ldots ,V_N^D\) is increasing. This is established by Lemma 2.3.
Lemma 2.3
The voltages \(V_0^D,\ldots ,V_N^D\) form an increasing sequence.
Moreover, in Lemma 2.2, we have restricted ourselves to a network of nodes where the voltage \({V_N}^D\) can maximally be two times the voltage \({V_0}^D\). However, this is not an additional restriction since the inequality \(0<\Delta \le \frac{1}{2}\) immediately implies that \({V_N}^D\le 2{V_0}^D\).
Due to Proposition 2.1, we can, given the voltage \(V_0^D\), recursively determine the voltage \(V_N^D\). The value for the voltage \({V_0}^D\) is arbitrary, so for simplicity, we set \({V_0}^D = 1\) (and thus need to determine whether \({V_N}^D\le \frac{1}{1-\Delta }\)). For the rest of the paper, we work with the convention that \({V_0}^D=1\), i.e.,
Thus, following the expression for the voltage drop constraint in (2.2), the constraint set for the Distflow model reduces to
2.3.2 Linearized Distflow
The second power flow model we consider is the Linearized Distflow model. While the first power flow model eventually results in the nonlinear Eq. (5.4) when wishing to compute the voltage at each node, the Linearized Distflow model has a simpler representation. In the Linearized Distflow model, we assume that the active and reactive power losses \(r|I_{j-1,j}|^2\) and \(x|I_{j-1,j}|^2\), respectively, are much smaller than the active and reactive power flows \({\tilde{P}}_{j-1,j}\) and \({\tilde{Q}}_{j-1,j}\); i.e., the Linearized Distflow approximation neglects the loss terms associated with the squared current magnitudes \(|I_{j-1,j}|^2\). Rewriting Eq. (2.8) using Eqs. (2.6), (2.7), and (2.9) under the assumption that \(|I_{j-1,j}|^2=0\) for all \(\epsilon _{j-1,j}\in {\mathcal {E}}\), and relabeling the resulting equation such that each further term of the sequence is defined as a function of the preceding terms, yields a linear relationship for the squared voltages at each node,
where \(({{V'_N}^L})^2\) is given. Notice that we do not need an equivalence as in the case of the voltages under the Distflow model since we have an explicit expression for \({V'_0}^L\). In this case, the voltage \(({V'_0}^L)^2\) can be computed directly; iteratively using (2.20), we find a closed-form solution for the squared voltage \({({{V'_{0}}^L})}^2\), i.e.,
In this case, the value for the voltage \(({V'_N}^L)^2\) is arbitrary. To get an equivalent expression for the voltage drop constraint in (2.2) in terms of the squared voltages, we set \(({V'_N}^L)^2 = 1/(1-\Delta )^2\) and need to determine whether \(({V'_0}^L)^2 \ge 1\). Thus, the constraint set for the Linearized Distflow model reduces to
Remark 2.1
Note that \(V_j, j=1,\ldots ,N\) are dependent on the vector \({\textbf{p}}\) and resistance r. We write \(V_j({\textbf{p}},z)\) as a continuous function of the power allocation \({\textbf{p}}\) and distribution network parameter r, respectively, when we wish to emphasize this. Furthermore, the constraint set \({\mathcal {C}}\) is dependent on the specific power flow model that is used. However, we write \({\mathcal {C}}\) as the constraint set for both power flow models as it is clear from the constraints in the set \({\mathcal {C}}\) or from the context which power flow model is used.
3 Main results
In this section, we present our main results, which concern the comparison of the stability of the queuing models under distribution network constraints. The stability of the system is defined as positive recurrence of the Markov process \({\textbf{X}}\).
We compute, in Theorems 3.1 and 3.2, the maximal feasible arrival rates when the number of charging stations, denoted by N, goes to infinity, such that the queuing model is stable given distribution network constraints. In other words, we compute the arrival rates such that the maximal voltage drop is attained. Then, in Sect. 3.3, we compare these arrival rates explicitly.
3.1 Stability conditions under the linearized Distflow model
In this section, we show the computation of the specific arrival rate under the Linearized Distflow model such that the process is stable. That is, we show there exists an explicit threshold \(\lambda _N^L\) that only depends on the distribution network parameter r, the maximal voltage drop parameter \(\Delta \), and the number of charging stations N in the network such that for all arrival rates below this threshold, the queuing model is stable.
Theorem 3.1
Consider the queuing model in Sect. 2.1 and the power flow model in Sect. 2.3.2. The Markov process \({\textbf{X}}\) is positive recurrent, if
Moreover, \(N^2\lambda _N^L\rightarrow \lambda _c^L\) as \(N\rightarrow \infty \) with
The proof is given in Sect. 4. It exploits the explicit expression of the squared voltage \({W_{0,0}^L}\) and uses [26, Theorem 11]. We show for the arrival rate \(\lambda _N^L\) that the maximal allowed voltage drop is attained, so that \(\varvec{\lambda }_N^L\) is still in the constraint set \({\mathcal {C}}\).
Remark 3.1
Under the Linearized Distflow power flow model, defined in (4.1), the maximum feasible arrival rate is decaying as the inverse of the square of the number of nodes.
We now proceed with the stability result under the Distflow model.
3.2 Stability conditions under the Distflow model
In this section, we show there exists a specific arrival rate \(\lambda _N^D\) that only depends on the resistance r, the maximal voltage drop parameter \(\Delta \), and the number of charging stations N in the network such that for every arrival rate below this threshold the system is stable. Furthermore, as the number of charging stations N goes to infinity, we show the convergence of a suitably scaled version of \(\lambda _N^D\) to a critical arrival rate \(\lambda _c^D\).
Theorem 3.2
Consider the queuing model in Sect. 2.1 and the power flow model in Sect. 2.3.1. There exists \(\lambda _N^D\) such that the Markov process \({\textbf{X}}\) is positive recurrent, if
Moreover, \(N^2\lambda _N^D \rightarrow \lambda _c^D\) as \(N\rightarrow \infty \) with
The imaginary error function \(\text {erfi}(z)\) is the function defined by
where \(\text {erf}(x) = \frac{2}{\sqrt{\pi }}\int _0^x \exp (-t^2)dt\) is the standard error function.
The proof is given in Sect. 5. Unlike the proof of Theorem 3.1, the key difference is that we do not have an explicit expression for the voltage \(V_N^D\). Thus, we require a different approach to find the maximal feasible arrival rate \(\lambda _N^D\). Instead of solving for the value \(\lambda _N^D\) such that the maximal allowed voltage drop is attained, we approximate the voltage \(V_N^D\) by a continuous function. Then, we show that this continuous function converges to the voltage \(V_N^D\) as N goes to infinity and compute the arrival rate such that the maximal voltage drop is attained under this new approximation.
From Theorems 3.1 and 3.2, we see that the arrival rates for both power flow models decay at the same rate if the number of charging stations grows to infinity. However, this does not provide insights into the actual difference between the critical arrival rates if the number of charging stations grows to infinity. In the next section, we quantify this difference explicitly.
3.3 Comparison of stability regions
In this section, we compare the critical arrival rates under both power flow models. The expression for the critical arrival rates under the Linearized Distflow and Distflow model is given in (3.2) and (3.3), respectively. Then, we have for the ratio between \(\lambda _c^D\) and \(\lambda _c^L\),
We study the behavior of the function \(P(\Delta )\) in Theorem 3.3.
Theorem 3.3
Let \(P(\Delta )\) be defined as in (3.4) for \(0<\Delta \le \frac{1}{2}\). Then, \(P(\Delta )\) is a strictly decreasing function from 1 at \(\Delta =0\) to \(\frac{\pi }{6}\text {erfi}\left( \sqrt{\ln (2)} \right) ^2\approx 0.77\) at \(\Delta =\frac{1}{2}\).
The proof of Theorem 3.3 is found in Appendix B. The importance of Theorem 3.3 lies in the fact that it implies that the critical arrival rate under the Distflow is always smaller than the critical arrival rate under the Linearized Distflow model and that we are able to quantify the difference between the critical arrival rates.
It is shown that the Linearized Distflow model overestimates the voltages in comparison with the voltages given by the Distflow model [18, Lemma 12]. Therefore, any feasible power allocation under the Linearized Distflow model is also a feasible power allocation under the Distflow model. Hence, given service requirements, any stable arrival rate under the Linearized Distflow model is also a stable arrival rate under the Distflow model.
For several values of \(\Delta \), Table 1 shows the ratio between \(\lambda _c^D\) and \(\lambda _c^L\).
Similar to Table 1, one can see from Fig. 2 that the ratio between \(\lambda _c^D\) and \(\lambda _c^L\) decreases as \(\Delta \) increases. When we allow a voltage drop of \(50\%\), i.e., \(\Delta = \frac{1}{2}\), the maximal feasible arrival rate under the Linearized Distflow model is \(\approx 20\%\) higher than under the Distflow model. In more realistic situations, such as in Dutch distribution networks, when the relative drop between voltages cannot be more than \(4.5\%\), or in other words, when \(\Delta = 0.045\), the difference between these critical arrival rates is even smaller.
4 Proof of Theorem 3.1
Our work is based on [2] and [26]. Both papers provide a way to prove stability. So, before we continue with the proofs on stability in Sects. 4 and 5, we discuss these two ways to prove stability. First, we start with a brief discussion of the approach in [2]—the method of convex relaxation. Then, we study an extension of Shneer and Stolyar [26, Theorem 11] that we use to prove Theorems 3.1 and 3.2 and provides stability of the Markov process \({\textbf{X}}\) as well.
The approach of convex relaxation in [2] goes as follows. It is known that the utility optimization problem in (2.1) subject to the constraint set defined in (2.19) is in general non-convex. For non-convex sets, the choice of the utility function is crucial to ensure stability [6]. However, since our underlying network topology is a line, we obtain that the convex relaxation of (2.1) under the constraint defined in (2.19) is exact [2]. When the constraint set is convex, the stability of utility-maximizing allocations is known to be independent of the considered utility function [6]. Then, also for all \(\alpha \)-fair allocations [c.f. (2.1)], an allocation can be given such that the Markov process \({\textbf{X}}\) is stable [6].
The approach in [26] is more general in the sense that it does not assume \(\alpha \)-fair allocations or convexity to prove stability. It holds for a larger class of functions and for non-convex constraint sets. If the constraint set \({\mathcal {C}}\) is compact and coordinate-convex, then the Markov process \({\textbf{X}}\), which represents the number of EVs charging at every station, is stable if there exists a vector \(\varvec{\nu }\in {\mathcal {C}}\) such that \(\varvec{\lambda }<\varvec{\nu }\) according to [26]. In fact, in Appendix C, we show for general arrival and service rates that we do not need coordinate-convexity, but only compactness of the constraint set \({\mathcal {C}}\) to prove stability. The fact that we do not need coordinate-convexity is important, since we can construct examples where this property does not hold for the constraint set of the Distflow model [cf. (2.19)].
Therefore, the proof consists of three steps. First, we show that our queuing model description, as in Sect. 2.1, is contained in the general model framework that is given by [26]. Then, in order to apply their stability result, we show that the constraint set \({\mathcal {C}}\) is compact. Last, we show that the maximal feasible arrival rate \(\lambda _N^L\) is given by Eq. (3.1).
4.1 Queuing model framework
We consider the general model framework in the continuous-time setting in [26, Section 5.1] and compare it with the continuous-time model of Sect. 2. In [26], the authors consider a finite network of queues such that individual instantaneous service rates may depend on the state of the entire system. This corresponds to our network of charging stations such that the power allocation depends on the total number of cars charging at the same time. The network state represents a set \({\textbf{X}}(t)=(X_i(t),i\in N)\) of the queue lengths \(X_i\) at the network nodes \(i\in N\) at time t. In our case, the network state is represented by the number of cars charging at each charging station. Arrivals into queue i occur according to a Poisson process with a constant rate \(\lambda \), independent of all other processes. The instantaneous service rate \(\mu _i\) of a node represents the intensity of the Poisson process modeling departures (service completions) of the node. In [26], the authors consider a service rate allocation algorithm \(\varvec{\psi }({\textbf{X}}(t))\), mapping a network state \({\textbf{X}}(t)\) into a set of instantaneous service rates \(\varvec{\mu }\), is all that is needed to specify the service allocation algorithm. In our case, the power allocation is given by a constrained optimization problem, mapping the network state, the number of EVs at each charging station, into a power allocation.
In this general model framework, if there exists \(\varvec{\nu }\in {\mathcal {C}}\) such that \(\varvec{\lambda }<\varvec{\nu }\) and \({\mathcal {C}}\) is compact and coordinate-convex (i.e., if a vector \(\mu \) belongs to \({\mathcal {C}}\) and \(\mu '\le \mu \) coordinate-wise, then \(\mu '\in {\mathcal {C}}\)), then the Markov process \({\textbf{X}}\) is positive recurrent according to Shneer and Stolyar [26, Theorem 11]. In Appendix C, we show that the set \({\mathcal {C}}\) does not need to be coordinate-convex, since we can construct a coordinate-convex set \({\mathcal {C}}_1\) such that the following are equivalent:
and
We are thus left to show that there exists \(\varvec{\nu }\in {\mathcal {C}}\) such that \(\varvec{\lambda }<\varvec{\nu }\) and that \({\mathcal {C}}\) is a compact set. First, we show the compactness of the set \({\mathcal {C}}\).
4.2 Compactness of the constraint set \({\mathcal {C}}\)
To simplify notation, it is easier to work with the squared voltages to prove compactness of the constraint set \({\mathcal {C}}\), defined in (2.22). Thus, we may rewrite (2.21) by defining \({W_{j,j}}^L:=({{V'_j}^L})^2\), for \(j=0,\ldots ,N\). Then, (2.21) has the linear expression,
In this section, we show that the constraint set \({\mathcal {C}}\) is compact, i.e., we show that the set is closed and bounded.
Lemma 4.1
The constraint set \({\mathcal {C}}\), defined in (2.22), is compact for the Linearized Distflow model.
Proof
Consider N fixed. Recall from the relabeling for the Linearized Distflow model that \(W_{N,N}^L\) is set to a fixed value. Define \({\textbf{C}} = -2r\begin{pmatrix} N&\ldots&1\end{pmatrix}\in {\mathbb {R}}^{1\times N}\) and \({\textbf{p}}=\begin{pmatrix} p_0&\ldots&p_{N-1}\end{pmatrix} \in {\mathbb {R}}^{N\times 1}\). Then, one can derive from (4.1) that \(W_{0,0}^L\) is given by an affine transformation \(l:{\mathbb {R}}^N \rightarrow {\mathbb {R}}\) where \(l({\textbf{p}})={\textbf{C}}{\textbf{p}}+W_{N,N}^L\). Furthermore, let \(\epsilon >0\) and choose \(\delta = \epsilon /\Vert {\textbf{C}}\Vert \). Then, for \({\textbf{p}}^*\in {\mathbb {R}}^{N\times 1}\) such that \(\Vert {\textbf{p}}-{\textbf{p}}^*\Vert <\delta \), we have
This implies that \(W_{0,0}^L\) as a function of \({\textbf{p}}\) is continuous. Therefore, the constraint set \({\mathcal {C}}\) is closed. Furthermore, by definition of the constraint set in (2.22), we have
Thus,
Therefore, \({\textbf{p}}\) is bounded. Hence, the set of constraints \({\mathcal {C}}\) is bounded and closed, which implies compactness. \(\square \)
Next, we show there exists \(\varvec{\nu }\in {\mathcal {C}}\) such that \(\varvec{\lambda }<\varvec{\nu }\).
4.3 Computation of \(\lambda _N^L\) such that maximal voltage drop is attained
In this section, we compute the maximal feasible arrival rate \(\lambda _N^L\) such that \(\varvec{\lambda }_N^L = (\lambda _N^L,\ldots ,\lambda _N^L)\in {\mathcal {C}}\) (where we define \(\lambda _N^L\) below). Then, by Shneer and Stolyar [26, Theorem 11], for all \(\lambda <\lambda _N^L\), the Markov process \({\textbf{X}}\) is positive recurrent. First, we make the following remark.
Remark 4.1
We do not necessarily need that all arrival rates for all nodes are the same. It is sufficient to find a vector \(\varvec{\lambda }^*\) such that (4.2) is tight because for this vector \(\varvec{\lambda }^*\) the maximal voltage drop is attained. In this case, the Markov process \({\textbf{X}}\) is positive recurrent if \(\varvec{\lambda } < \varvec{\lambda }^*\) for some arrival rate vector \(\varvec{\lambda }\). However, to make a comparison between the two power flow models, we eliminate all sources of noise by letting all arrival rates for all nodes be the same, i.e., \(\varvec{\lambda }_N^L = (\lambda _N^L,\ldots ,\lambda _N^L)\).
Now, we establish that \(\varvec{\lambda }_N^L\) is contained in the constraint set \({\mathcal {C}}\). By definition, we have
Using this arrival rate in the expression for the squared voltage \(W_{0,0}^L(\varvec{\lambda }_N^L)\) [cf. Equation (4.1)] yields
Hence, the vector \(\varvec{\lambda }_N^L = (\lambda _N^L,\ldots ,\lambda _N^L)\) is contained in the constraint set \({\mathcal {C}}\) and for \(\lambda <\lambda _N^L\) the Markov process \({\textbf{X}}\) is positive recurrent.
5 Proof of Theorem 3.2
The proof consists of four steps. Similar to the proof of Theorem 3.1, we show that our queuing model description, as in Sect. 2.3.1, is contained in the general model framework that is given by Shneer and Stolyar [26] (see Appendix C) and that the constraint set \({\mathcal {C}}\) is compact for the Distflow model. Then, we need an intermediate step before we can compute the arrival rate \(\lambda _N^D\) such that the maximal voltage drop is attained. Unlike the proof of Theorem 3.1, we do not have an explicit expression for the voltage \(V_N^D\). Therefore, our next step is to approximate the voltage \(V_N^D\) by a continuous function, as \(N\rightarrow \infty \). In Appendix D, we show the convergence of the approximation of the voltage to the actual value \(V_N^D\), as \(N\rightarrow \infty \). This approximation allows us to compute the arrival rate \(\lambda _N^D\) such that the maximal voltage drop is attained, which concludes the proof.
5.1 Queuing model framework
Again, we consider the continuous-time model as in Sect. 2 and we follow the exact same reasoning as in Sect. 4.1. The only difference in this description is given by the constrained optimization problem. In this case, the voltages are computed according to the Distflow model instead of the Linearized Distflow model.
5.2 Compactness of the constraint set \({\mathcal {C}}\)
It is again easier to work with the squared voltages to prove the compactness of the constraint set \({\mathcal {C}}\) for the Distflow model. Therefore, for \(\epsilon _{j-1,j}\in {\mathcal {E}}\), we apply the transformation,
to (2.17) and (2.18). This transformation, for \(j=1,\ldots ,N-1\), leads to the linear Equations (5.2) and (5.3) (in terms of \({\textbf{W}}(\epsilon _{ij})\)), i.e.,
where
are the initial values. However, if we want to compute the recursion variables \({W_{j,j+1}}^D, j=1,\ldots ,N-1\) explicitly, we need the relationship defined in (5.4), which is not linear:
We want to keep the maximal voltage drop under control. Using the transformation, the voltage drop constraint reduces to
where \(0<\Delta \le \frac{1}{2}\).
To establish compactness of \({\mathcal {C}}\) in the case of the Distflow model, we use the fact that the voltages \(V_0^D,\ldots ,V_N^D\) form an increasing sequence. This is proven in Lemma 2.3. Now, we present an analogous result in Corollary 5.1.
Corollary 5.1
The squared voltages \(W_{0,0}^D, W_{0,1}^D, W_{1,1}^D,\ldots ,W_{N-1,N}^D,W_{N,N}^D\) are an increasing sequence.
Proof
This is an immediate consequence of Lemma 2.3. Since \(V_j^D\ge 1\), for all \(j=0,\ldots ,N\), we have
for all \(j=0,\ldots ,N\). \(\square \)
Now, we are in position to prove Lemma 5.1.
Lemma 5.1
The constraint set \({\mathcal {C}}\), defined in (2.19), is compact for the Distflow model.
Proof
Since \(W_{N,N}^D({\textbf{p}},z)\) is continuous, the set \({\mathcal {C}}\) is closed. By the transformation in (5.1), we have
Then, we show a lower bound on the squared voltage \(W_{N,N}^D\). By Corollary 5.1 and Eq. (5.2), we have
Now, apply the definition of \(W_{N-2,N-1}^D({\textbf{p}},z)\) in Eq. (5.2) and Corollary 5.1 to Eq. (5.6) to find the inequality
Inserting (5.7) in (5.6) gives
Applying the definition of \({W_{j-1,j}^D}({{\textbf{p}}},z)\) and Corollary 5.1 over and over again, for \(j=1,\ldots ,N-3\) in reversed order, results in the inequality
Thus,
Therefore, \({\textbf{p}}\) is bounded. Hence, the set of constraints \({\mathcal {C}}\) is bounded and closed, which implies compactness. \(\square \)
5.3 Approximation of \(V_N^D\) by continuous counterpart
Unlike the proof of Theorem 3.1, we do not have an explicit expression for the voltage \(V_N^D\). Therefore, we define a continuous extension of the voltages \(V_j^D,\ j=0,1,\ldots ,N\) to a function \(V_N^D(t): [0,N] \rightarrow {\mathbb {R}}_+\). That is, for all \(j\in \{0,\ldots ,N\}\), we show \(V_{j}^D = V_N^D(j)\). A suitable and natural extension, cf. (2.16), is given by
where \(k_N = r\lambda _N^D\). Here, the arrival rate \(\lambda _N^D\) is the same for all charging stations. We include N in the notation of the function \(V_N^D(t)\) and \(k_N\) to stress its dependence on the number of charging stations N.
Then, we scale the continuous extension \(V_N^D(t)\) in time by N and in space by scaling the parameter \(k_N\) by \(N^2\), such that \(k_N = \frac{a}{N^2}\). Therefore, we use the following definition of the in time-scaled continuous extension of \(V_N^D(t)\).
Definition 1
Denote the voltages under the Distflow model in continuous time by \(V_N^D(t)\) as in (5.8), and scale them in time by N,
This scaling allows us to show (see Sect. D.1.1) that the representation of the scaled version of the voltages \({\overline{V}}_N^D(t)\) can be written as
where the remainder term \({\overline{R}}_N(t)\) vanishes as \(N\rightarrow \infty \). Hence, (5.10) can be expected to converge to the integral equation given by
This convergence is exactly shown in Proposition 5.1 and proven in Sect. D.1.
Proposition 5.1
Let \({\overline{V}}_N^D(t)\), for \(t\in [0,1]\), as defined in (5.10) and V(t) as in (5.11). Then,
Thus, the appropriately scaled voltages under the Distflow model \({\overline{V}}_N^D(t)\) can be approximated by V(t) as the number of charging stations goes to infinity. The solution to the integral equation V(t) is found in Appendix E. Using this approximation, we are able to compute the arrival rate \(\lambda _N^D\) such that the maximal allowed voltage drop is attained.
5.4 Computation of \(\lambda _N^D\) such that maximal voltage drop is attained
In this section, we compute the arrival rate \(\lambda _N^D\) such that the maximal allowed voltage drop is attained. First, we show that we can approximate \(V_N^D\) by V(1) [cf. (5.11)]. Then, using this approximation, we compute the value a, which is related to the arrival rate \(\lambda _N^D\) [cf. (5.14)], that solves the equation \(V(1)=\frac{1}{1-\Delta }\). In other words, we compute the value a such that the maximal voltage drop is attained. However, this solution a is computed using the approximation V(1). So, we conclude by showing that this solution a also maximizes the voltage drop using \(V_N^D\).
The recursion for the voltages under the Distflow model [cf. Eqs. (2.17) and (2.18)] with arrival rate \(\lambda _N^D\), is given by,
where
Then, according to the voltage drop constraint in (2.19), the maximum feasible arrival \(\lambda _N^D\) is such that the voltage \(V_N^D\) is equal to \(1/(1-\Delta )\). In Sect. 5.3, we found an equivalent expression for the voltage \(V_N^D\), namely \({\overline{V}}_N^D(1)\). Furthermore, using Proposition 5.1, we found an approximation of the voltage \(V_N^D\), namely V(1), as in (5.11).
Differentiating (5.11) twice gives the differential equation form of the integral equation (5.11), i.e.,
for \(a\in {\mathbb {R}}_+\), with initial conditions
The solution to the differential equation (5.15) and (5.16) is given in terms of the function \(f_0(x)=\exp (U^2(x))\) where U(x) is related to the inverse of the imaginary error function. We prove this result in Lemma E.1. Moreover, it follows that
Therefore, an approximation of the voltage \(V_N^D\), namely V(1), is given by,
Although it is possible to compute the arrival rate \(\lambda _N^D\) such that \(V_N^D = \frac{1}{1-\Delta }\) using an iterative approach, we can obtain a convenient approximation by using (5.17). In Sect. 6, we show how to compute the arrival rate \(\lambda _N^D\) using Newton’s method and that approximation (5.17) yields already a good approximation for the arrival rate \(\lambda _N^D\).
With the approximation V(1) (as \(N\rightarrow \infty \)) at hand, we compute the value of a that solves the equation \(V(1)=\frac{1}{1-\Delta }\), i.e., \(f_0(\sqrt{a}) = \frac{1}{1-\Delta }\) and use that \(r\lambda _N^D = \frac{a}{N^2}\) [cf. (5.14)] to relate it to a critical arrival rate. Solving for a such that \(f_0(\sqrt{a}) = \frac{1}{1-\Delta }\) yields,
Notice that the inverse function \(f_0^{-1}\) is given by
Finally, we use [19, Lemma 3.1] to conclude that a in (5.18) also maximizes the voltage drop using \(V_N^D\). In [19, Lemma 3.1], the authors consider a sequence \(R_n, n=1,2,\ldots \) on a Banach space X, such that \(R_n(x)\rightarrow R(x)\) uniformly for \(x\in U\), where U is a normed space. Then, the following holds:
-
1.
\(\inf \left\{ R_n(x)\ \text {s.t.}\ x\in U\right\} \rightarrow \inf \left\{ R(x)\ \text {s.t.}\ x\in U\right\} \) as \(n\rightarrow \infty \),
and
-
2.
If \(x_n\) is a solution to the optimization problem
$$\begin{aligned} \min \left\{ R_n(x)\ \text {s.t.}\ x\in U\right\} , \end{aligned}$$then \(x_n\) is also a solution to the optimization problem
$$\begin{aligned} \min \left\{ R(x)\ \text {s.t.}\ x\in U\right\} , \end{aligned}$$(5.19)and for a continuous function R is every limit point in U of \(x_n\) a solution to (5.19).
Applying this result, we have, for any fixed a, by Theorem 5.1 that \(|{\overline{V}}_N^D(1)-V(1)|\rightarrow 0\) uniformly as \(N\rightarrow \infty \) and by construction that \(V(1)=\frac{1}{1-\Delta }\). Now, let
and
denote the maximal voltages and the approximation of the maximal voltages under the voltage drop constraint, respectively. Then, by [19, Lemma 3.1], \(\phi _N\) converges to \(\phi \) as \(N\rightarrow \infty \) and since \(a=N^2r\lambda _N^D\) maximizes V(1), a maximizes \({\overline{V}}_N^D(1)\) as well and the limit point \(r\lambda _c^D\) of \(N^2r\lambda _N^D\) is a solution to (5.20), i.e., \(N^2r\lambda _N^D \rightarrow r\lambda _c^D = \frac{\pi }{2}\text {erfi}^2\left( \sqrt{\ln \left( \frac{1}{1-\Delta } \right) }\right) \), as \(N\rightarrow \infty \).
6 Newton’s iterations for the Distflow model
In Sects. 5.3 and 5.4, we approximated the voltage \(V_N^D\) to make the computation of the arrival rate \(\lambda _N^D\) such that \(V_N^D=\frac{1}{1-\Delta }\) easier. However, it is possible to compute the arrival rate \(\lambda _N^D\) such that \(V_N^D=\frac{1}{1-\Delta }\), iteratively, by using the recursive Eqs. (5.12) and (5.13). In other words, for a fixed value of the number of charging stations N and a maximum allowed voltage drop \(\Delta >0\), we compute the number a such that the voltage drop between the root node and node N is exactly equal to \(\Delta \). Furthermore, we present some numerical tests showing the convergence to the number a.
In what follows, we use Newton’s method to find the solution a that yields \(V_N^D=\frac{1}{1-\Delta }\). We need a particular \(a_0\) to initialize Newton’s method. Here, we are led by Theorem 5.1. We look for an initial guess \(a_0\) such that \(V(1) = f_0\left( \sqrt{a}\right) = \frac{1}{1-\Delta }\), we choose
and iterate according to
where \(Y_N^D\) denotes the derivative of \(V_N^D\) with respect to \(k_N\). Note that \(Y_N^D/N^2\) denotes the derivative of \(V_N^D\) with respect to a. We need to compute \(Y_N^D\), and this can be done by differentiating in (5.12) and (5.13) with respect to \(k_N\), and so that
and
Observe that the right-hand side of (6.3) also involves \(V_n^D\). Thus, one should compute \(V_n^D\) and \(Y_n^D\) simultaneously and recursively according to the initialization in (5.12) and (6.2), and the recursion step for \(n=1,\ldots ,N-1\) in (5.13) and (6.3). Furthermore, the iteration step in (6.1) is well defined if \(Y_N^D\) is positive. This is, for reasonable values of a, shown in Lemma 6.1. Before we move to Lemma 6.1, we comment on the range of reasonable values for a. Notice, from the condition that \(f_0(\sqrt{a}) = \frac{1}{1-\Delta }\), it follows that
For small \(\Delta \), which is usually the case (cf. Sect. 2.2), it follows from a Taylor expansion about \(\Delta =0\) that \(\Delta \approx \frac{a}{2}\), which is also seen in Tables 2, 3, and 4. So as long as \(0<\Delta <1\), which is the case, we have \(0<a<2\). Therefore, if we consider \(0<a<2\), \(Y_N^D\) is positive and the iteration step is well defined.
Lemma 6.1
Consider the recursion in (6.2) and (6.3) with \(0<a<2\). Then, the sequence \(Y_0,Y_1,\ldots ,Y_N\) is positive, increasing, and convex.
Proof
The right-hand side of (6.3) is positive for all \(n=1,2,\ldots ,N-1\) such that \(Y_n^D < V_n^D/k_N\). Therefore, since \(Y_0^D = 0 < 1 = Y_1\), the sequence \(Y_n^D, n=1,2,\ldots \) is increasing and convex (and thus positive) as long as \(Y_n^D < V_n^D/k_N\). For such n, we have certainly
since
Here, we used Lemma 2.3. So, using \(Y_0^D=0,Y_1^D=1\) and induction, we get
and consequently for these n, by summing from \(m=0,\ldots ,n\),
Therefore, the condition \(Y_n^D<V_n^D/k_N\) continues to be satisfied certainly when
The right-hand side of (6.4) is at least equal to \(N^2/a\), and the left-hand side of (6.4) is at most equal to \(\frac{1}{2}(N-1)N\), since \(n=0,\ldots ,N-1\). Thus, (6.4) holds for all \(n=1,2,\ldots ,N-1\) when \(\frac{1}{2}(N-1)< N/a\), i.e., when
6.1 Numerical validation of Newton’s method
Below, we summarize some numerical tests. For fixed values of a, ranging from 0.01 to 1 and several values of \(N=10,\ldots ,10^5\), we compute \(V_N^D\) and we put
and using the Newton scheme above, we compute the solution \({\bar{a}}\) such that \(V_N^D = \frac{1}{1-\Delta }\) with stopping criteria \(\frac{|a_{j+1}-a_j|}{a_j}<10^{-10}\).
It appears that the initialization \(a_0\) is already a good approximation for a as the differences between \(a_0\) and a for all situations are small. For example, the relative error of the initialization \(a_0\) with respect to the true value \(a=0.01\) is \(10\%\) in the case of \(N=10\) and decreases even further when N increases. Moreover, the number of iterations needed to converge to a final estimate \({\bar{a}}\) is small.
7 Conclusion
In this paper, we have compared the stability regions of utility-optimizing power allocations in large distribution networks for the Distflow and the Linearized Distflow models. We have expressed the stability regions in terms of their maximum feasible arrival rates. As expected, the Linearized Distflow power flow model allows for too optimistic arrival rates. However, we are able to quantify the difference between the maximal feasible arrival rates under the Distflow model and the Linearized Distflow model. This allows us to use the computationally favorable Linearized Distflow model over the Distflow model and adjust according to the quantified difference. Even in the case of non-equal arrival rates, this could serve as a conservative approach to get insights in maximal feasible arrival rates under the Distflow model.
References
Angelim, J.H., De Affonso, C.M.: Probabilistic impact assessment of electric vehicles charging on low voltage distribution systems. In: 2019 IEEE PES Conference on Innovative Smart Grid Technologies, ISGT Latin America 2019, pp. 1–6 (2019)
Aveklouris, A., Vlasiou, M., Zwart, B.: A stochastic resource-sharing network for electric vehicle charging. IEEE Trans. Control Netw. Syst. 6(3), 1050–1061 (2019)
Baran, M.E., Wu, F.F.: Optimal capacitor placement on radial distribution systems. IEEE Trans. Power Deliv. 4(1), 725–734 (1989)
Baran, M.E., Wu, F.F.: Optimal sizing of capacitors placed on a radial distribution system. IEEE Trans. Control Netw. Syst. 4(1), 735–743 (1989)
Bonald, T., Massoulié, L.: Impact of fairness on internet performance. Perform. Eval. Rev. 29(1), 82–91 (2001)
Bonald, T., Proutière, A.: Flow-level stability of utility-based allocations for non-convex rate regions. In: 2006 IEEE Conference on Information Sciences and Systems, CISS 2006—Proceedings, pp. 327–332 (2006)
Carvalho, R., Buzna, L., Gibbens, R., Kelly, F.: Critical behaviour in charging of electric vehicles. New J. Phys. 17(9), 95001 (2015)
Chiang, M., Shah, D., & Tang, A.: Stochastic stability under network utility maximization: general file size distribution. In: 44st Annual Allerton Conference on Communication, Control, and Computing, pp. 1–22 (2006)
de Hoog, J., Muenzel, V., Jayasuriya, D.C., Alpcan, T., Brazil, M., Thomas, D.A., Mareels, I., Dahlenburg, G., Jegatheesan, R.: The importance of spatial distribution when analysing the impact of electric vehicles on voltage stability in distribution networks. Energy Syst. 6(1), 63–84 (2014)
De Veciana, G., Lee, T.J., Konstantopoulos, T.: Stability and performance analysis of networks supporting elastic services. IEEE/ACM Trans. Netw. 9(1), 2–14 (2001)
Dharmakeerthi, C.H., Mithulananthan, N., Saha, T.K.: Impact of electric vehicle fast charging on power system voltage stability. Int. J. Electr. Power Energy Syst. 57, 241–249 (2014)
Gromoll, H.C., Williams, R.J.: Fluid model for a data network with \(\alpha \)—fair bandwidth sharing and general document size distributions: two examples of stability. Eurandom 4, 253–265 (2008)
Hoog, J.D., Alpcan, T., Member, S., Brazil, M., Thomas, D.A., Member, S., Mareels, I.: Charging under network constraints. IEEE Trans. Smart Grid 7(2), 1–10 (2015)
Hoogsteen, G., Molderink, A., Hurink, J.L., Smit, G.J., Kootstra, B., Schuring, F.: Charging electric vehicles, baking pizzas, and melting a fuse in Lochem. CIRED—Open Access Proceed. J. 2017(1), 1629–1633 (2017)
Huang, H., Chung, C.Y., Chan, K.W., Chen, H.: Quasi-Monte Carlo based probabilistic small signal stability analysis for power systems with plug-in electric vehicle and wind power integration. IEEE Trans. Power Syst. 28(3), 3335–3343 (2013)
Kersting, W.: Distribution System Modeling and Analysis, 4th edn. CRC Press (2018)
Khatod, D.K., Pant, V., Sharma, J.: A novel approach for sensitivity calculations in the radial distribution system. IEEE Trans. Power Deliv. 21(4), 2048–2057 (2006)
Low, S.: Convex relaxation of optimal power flow—part I: formulations and equivalence. IEEE Trans. Control Netw. Syst. 1(1), 15–27 (2014)
Marti, K.: Approximationen der entscheidungsprobleme mit linearer ergebnisfunktion und positiv homogener, subadditiver verlustfunktion. Z. Wahrscheinlichkeitstheor. Verw. Geb. 31(3), 203–233 (1975)
Massoulié, L.: Structural properties of proportional fairness: stability and insensitivity. Ann. Appl. Probab. 17(3), 809–839 (2007)
Massoulie, L., Roberts, J.: Bandwidth sharing: objectives and algorithms. Proc.—IEEE INFOCOM 3, 1395–1403 (1999)
Massoulié, L., Roberts, J.W.: Bandwidth sharing and admission control for elastic traffic. Telecommun. Syst. 15(1–2), 185–201 (2000)
Mo, J., Walrand, J.: Fair end-to-end window-based congestion control. IEEE/ACM Trans. Netw. 8(5), 556–567 (2000)
Molzahn, D., Hiskens, I.: A survey of relaxations and approximations of the power flow equations. Found. Trends Electr. Energy Syst. 4(1), 1–221 (2019)
Richardson, P., Flynn, D., Keane, A.: Optimal charging of electric vehicles in low-voltage distribution systems. IEEE Trans. Power Syst. 27(1), 268–279 (2012)
Shneer, S., Stolyar, A.: Stability and moment bounds under utility-maximising service allocations: finite and infinite networks. Adv. Appl. Probab. 52(2), 463–490 (2020)
Shneer, S., Stolyar, A.: Stability conditions for a decentralised medium access algorithm: single- and multi-hop networks. Queu. Syst. 94(1), 109–128 (2019)
Tonso, M., Morren, J., De Haan, S.W., Ferreira, J.A.: Variable inductor for voltage control in distribution networks. In: 2005 European Conference on Power Electronics and Applications (2005)
Ul-Haq, A., Cecati, C., Strunz, K., Abbasi, E.: Impact of electric vehicle charging on voltage unbalance in an urban distribution network. Intell. Ind. Syst. 1(1), 51–60 (2015)
van Westering, W., Hellendoorn, H.: Low voltage power grid congestion reduction using a community battery: design principles, control and experimental validation. Int. J. Electr. Power Energy Syst. 114, 105349 (2020)
Vasmel, N.: Electrical grid failures. MSc. thesis, Leiden University (2019)
Veciana, D.E., Lee, T., Konstantopoulos, T.: Stability and performance analysis of network supporting services with rate control—could the Internet be unstable? In: Proceedings of IEEE Infocom (1999)
Wang, W., Maguluri, S.T., Srikant, R., Ying, L.: Heavy-traffic insensitive bounds for weighted proportionally fair bandwidth sharing policies. Math. Oper. Res. (2022)
Williams, R.J.: Stochastic processing networks. Ann. Rev. Stat. Appl. 3, 323–345 (2016)
Zhang, Y., Song, X., Gao, F., Li, J.: Research of voltage stability analysis method in distribution power system with plug-in electric vehicle. In: Asia-Pacific Power and Energy Engineering Conference, APPEEC, pp. 1501–1507 (2016)
Acknowledgements
This research was supported by the Dutch Research Council through the TOP program under contract number 613.001.801. Furthermore, we are truly grateful to the referees and Associate Editor who substantially improved the presentation of this paper and thank them for all their efforts.
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
Appendix A Equivalence for the Distflow model
In Sect. 2.3, we derive ways to establish if a given power allocation is feasible under both power flow models. For the Linearized Distflow model, we can directly use a recursion to compute the voltages at all nodes. However, for the Distflow model this is not possible. Therefore, in Appendix A, we find equivalence (2.14) between the voltages under the Distflow model at the root node and the node at the end of the line. To prove the equivalence in Proposition 2.1, we need Lemmas 2.1 and 2.2.
1.1 Proof of Proposition 2.1
Proof
In order to prove the implication from left to right, we take the negation of the right-hand side of (2.14) and show that this implies the negation of the left-hand side of (2.14). Suppose \(v_N({V'_0}^D)>c\). By Lemma 2.2, \(v_N\) is an increasing function in \({V'_0}^D\), so \(c<v_N((1-\Delta )c)\le v_N(x)\) for \(x\ge (1-\Delta )c\). Hence, there exists no \(x\ge (1-\Delta )c\) such that \(v_N(x)=c\).
For the other implication, we first observe that \(v_N\) is a continuous function, because it is a composition of continuous functions itself. To prove the implication from the right-hand side of (2.14) to the left-hand side of (2.14), we assume that at \({V'_0}^D=(1-\Delta )c\), we have \(v_N({V'_0}^D)\le c\). By Lemma 2.2, we know \(v_N((1-\Delta )c)\le c\). Then, by the intermediate value theorem, we know that there exists \((1-\Delta )c\le x\le c\) such that \(v_N(x)=c\). \(\square \)
1.2 Proof of Lemma 2.1
Proof
Both identities follow from the initialization in (2.12) and the definition of the sequence in (2.13).
-
1.
We have from (2.13) for \(j=1,2,\ldots ,N-1\),
$$\begin{aligned} {V_{j+1}}^D-{V_j}^D = {V_j}^D-{V_{j-1}}^D+\frac{rp_j}{{V_j}^D}. \end{aligned}$$(A.1)We have from the identity in (A.1) by summation that
$$\begin{aligned} {V_{i+1}}^D-{V_i}^D&= ({V_1}^D-{V_0}^D) + \sum _{j=1}^i \frac{rp_j}{{V_j}^D}\nonumber \\&= \frac{rp_0}{{V_0}^D} + \sum _{j=1}^i \frac{rp_j}{{V_j}^D}\nonumber \\&= \sum _{j=0}^i \frac{rp_j}{{V_j}^D},\quad i = 0,\ldots ,N-1. \end{aligned}$$(A.2) -
2.
We have from the identity in (A.2) by summation that
$$\begin{aligned} {V_{n}}^D-{V_0}^D = \sum _{i=0}^{n-1}\sum _{j=0}^i \frac{rp_j}{{V_j}^D}, \quad n = 0,\ldots ,N. \end{aligned}$$Hence, with the initialization in (2.12) statement (2) follows immediately.
\(\square \)
1.3 Proof of Lemma 2.2
Proof
This is true for \(j=0\), since \(\frac{dv_j}{d{V_0}^D} = \frac{d{V_0}^D}{d{V_0}^D}=1.\) Suppose that there is some \(0\le J\le n-1\) such that \(0\le \frac{dv_j}{d{V_0}^D}\le 1\) for all \(0\le j\le J\), then by Lemma 2.1 and the definition of \(v_j\),
First, we show that \(\frac{dv_{J+1}}{d{V_0}^D}\ge 0\). Recall that we establish in Lemma 2.3 that the sequence of voltages \({V_j}^D, j=0,\ldots ,N\), is an increasing sequence. This implies that \(-\frac{1}{V_0^D}\le -\frac{1}{V_j^D}\) for all \(j=0,\ldots ,N\). Using the fact that \(-\frac{1}{V_0^D}\le -\frac{1}{V_j^D}\) for all \(j=0,\ldots ,N\) and \(\frac{dv_j}{d{V_0}^D}\le 1\) yields,
By (2.16) in Lemma 2.1, we have consequently
Combining the fact that the \({V_j}^D\) is an increasing sequence and the assumption that \({V_N}^D\le 2{V_0}^D\), gives the inequality \(-{V_{J+1}}^D \ge -2{V_0}^D\). Hence,
Now, we show that \(\frac{dv_{J+1}}{d{V_0}^D}\le 1\). By the induction hypothesis, we have \(-\frac{dv_j}{d{V_0}^D}\le 0\) for all \(j=0,\ldots ,N\). Starting from Eq. (A.3), we immediately get,
\(\square \)
1.4 Proof of Lemma 2.3
Proof
We give a proof by induction on j. Recall that \(V_0^D=1\). Then, from (2.17), we have \(V_1^D = 1+rp_0\ge 1 = V_0^D\), and for \(j=1\), we have from (2.18)
Suppose that \(V_j^D \ge V_{j-1}^D\) for some \(j\in \{2,\ldots ,n-1\}\). Then, by (2.18) and the induction hypothesis we have
since \(r\ge 0,p_j\ge 0\) and \(V_j^D\ge V_0^D=1\). \(\square \)
Appendix B Comparison of stability regions
In this appendix, we prove the result to compare the stability regions under both power flow models.
The critical arrival rates for the Distflow and the Linearized Distflow models are given in (3.3) and (3.2), respectively. To compare these critical rates, we use
Proof
We let
where
Set \(y=\sqrt{\ln \left( \frac{1}{1-\Delta } \right) }\in [0,\infty )\). Then,
Since y is a strictly increasing function of \(\Delta \in [0,\frac{1}{2}]\), it is sufficient to show that H(y) is a strictly decreasing function of y. We compute
Therefore,
We have,
so it is enough to show that
We compute
, and so, it is sufficient to show
We have,
since \(\exp (t)-1-t>0\) for \(t>0\). Furthermore, \(P(0) = 1\) since \(H(y)\rightarrow \frac{1}{\sqrt{2}}\) as \(y\rightarrow 0\) and \(P(\frac{1}{2})=\frac{\pi }{6}\text {erfi}\left( \sqrt{\ln (2)} \right) ^2\approx 0.77\). \(\square \)
Appendix C Stability result
Our paper uses the stability results derived in [26, 27]. In Appendix C, we consider the general model framework in [26] and show that we can drop one of their assumptions and still apply their theorem indicating stability, which we use in Sects. 2.3.1 and 2.3.2.
Assume that we have an arbitrary network of queues such that individual instantaneous service rates may depend on the state of the entire system. The network state is represented as a set \({\textbf{X}}(t)=(X_i(t),i\in N)\) of the queue lengths \(X_i\) at the network nodes \(i\in N\) at time t. Arrivals into queue i occur according to a Poisson process with a constant rate \(\lambda _i\), independent of all the other processes. For this section, denote the vector of arrival rates by \(\varvec{\lambda } = (\lambda _1,\ldots ,\lambda _N)\). The instantaneous service rate \(\mu _i\) of a node represents the intensity of the Poisson process modeling departures (service completions) of the node. In this case, the service rate allocation algorithm \(\varvec{\psi }({\textbf{X}}(t))\), mapping a network state \({\textbf{X}}(t)\) into a set of instantaneous service rates \(\varvec{\mu } = (\mu _1,\ldots ,\mu _N)\), is all that is needed to specify the service allocation algorithm.
For simplicity, in this section, we drop the dependence on time t from the notation and we assume that
where the set \({\mathcal {C}}\) is compact. We would like to stress that this set \({\mathcal {C}}\) can be any constraint set (as long as it is compact), so not necessarily the one that we have used in our work. We impose, in addition, the following conditions:
-
Condition (H): the function \(h:[0,\infty )\rightarrow {\mathbb {R}}\) is strictly increasing, differentiable, and concave (both the cases \(\lim _{y\downarrow 0}h(y)=h(0)>-\infty \) and \(\lim _{y\downarrow 0}h(y)=-\infty \) are allowed); and
-
Condition (G): the function \(g:{\mathbb {Z}}_{+}\rightarrow [0,\infty )\) is strictly increasing and such that
$$\begin{aligned} \frac{g(y)}{\delta (y)}\rightarrow \infty \ \text {as}\ y\rightarrow \infty , \end{aligned}$$(C.2)where \(\delta (y)=g(y+1)-g(y)\). Note that (C.2) is equivalent to
$$\begin{aligned} \frac{g(y+1)}{g(y)}\rightarrow 1,\ \text {as}\ y\rightarrow \infty . \end{aligned}$$
We are going to assume that
where \({\mathcal {C}}\) can be any constraint set. Note that stability condition (C.3) is equivalent to
where
Indeed, for the implication from (C.4) to (C.3), if there exists \(\varvec{\nu }\in {\mathcal {C}}_1\) such that \(\varvec{\lambda }<\varvec{\nu }\), then \(\varvec{\lambda }<\varvec{\nu }\le \varvec{\mu }\) for \(\varvec{\mu }\in {\mathcal {C}}\), so there exists \(\varvec{\mu }\in {\mathcal {C}}\) such that \(\varvec{\lambda }<\varvec{\mu }\). For the implication from (C.3) to (C.4), assume there exists \(\varvec{\nu }\in {\mathcal {C}}\) such that \(\varvec{\lambda }<\varvec{\nu }=\varvec{\nu }\); hence, \(\varvec{\nu }\in {\mathcal {C}}_1\) such that \(\varvec{\lambda }<\varvec{\nu }\).
Note that \({\mathcal {C}}_1\) is coordinate-convex by construction. Note also that if
for all \(\varvec{\mu }\in {\mathcal {C}}\), then
for all \(\varvec{\nu }\in {\mathcal {C}}_1\), since the function h is strictly increasing and g is non-negative. Hence,
Then, the rest of the proof of [26, Theorem 11] follows.
Appendix D Convergence of \({\overline{V}}_N^D(t)\) to V(t) as \(N\rightarrow \infty \)
An important step in the proof of Theorem 3.2 is the approximation of the voltage \(V_N^D\) by a continuous counterpart. In this section, we prove the convergence of a scaled version of the voltage \(V_N^D\), i.e., \({\overline{V}}_N^D(t)\), as introduced in Equation (5.9), to the continuous function V(t), as introduced in Equation (5.11), as the network size N grows to infinity (cf. Proposition 5.1) and present its numerical validation.
1.1 Proof of Proposition 5.1
The proof consists of several steps that we discuss globally in Sect. 5.3 already, and for which we now present the details.
In Sect. D.1.1, we rewrite the scaled version of the voltage \({\overline{V}}_N^D(t)\), in the same form as the continuous function V(t). We show that the continuous extension \(V_N^D(t)\) [as in Eq. (5.8)] of the discrete voltages \(V_n^D\) is such that \(V_n^D = V_N^D(n)\) for all \(n=0,1,\ldots ,N\). Then, we scale the continuous extension \(V_N^D(t)\) by N, such that \({\overline{V}}_N^D(t) = V_N^D(Nt)\) [as in Eq. (5.9)] and show that this scaled version \({\overline{V}}_N^D(t)\) can be written as \({\overline{V}}_N^D(t) = 1+a\int _0^t\int _0^s \frac{1}{{\overline{V}}_N^D(u)}du\ ds + {\overline{R}}_N(t)\) [as in Eq. (5.10)].
Then, for convenience, we introduce the map H (cf. Definition 2) that allows us to write,
The goal is to show that the supremum over the interval [0, 1] of the absolute difference between \({\overline{V}}_N^D(t)\) and V(t) goes to zero as the size of the network N goes to infinity. Having (D.1) in mind, we consider the remainder term \({\overline{R}}_N(t)\) and the term \((H{\overline{V}}_N^D)(t)-(HV)(t)\) of the right-hand side of (D.1) separately.
In Sect. D.1.2, we show that this remainder term \({\overline{R}}_N(t)\) vanishes as \(N\rightarrow \infty \) for every t in the interval [0, 1] and in Sect. D.1.3, we show that the map H is a contractive mapping on the interval [0, h], where \(h<1\). This means,
for \(\kappa (h)<1\). Combining the results in Sects. D.1.2 and D.1.3, we then find that
In Sect. D.1.4, we show by induction that the convergence of the supremum of the absolute difference between \({\overline{V}}_N^D(t)\) and V(t) on the interval [0, h] can be extended to the interval [0, 1], as desired in Proposition 5.1.
1.1.1 Derivation of \({\overline{V}}_N^D(t)\) as in Eq. (5.10)
In this section, we first derive an expression for the voltages under the Distflow model as a double summation, instead of the voltages given by Eqs. (5.12) and (5.13). Then, we show, in Lemma D.1, that the function \(V_N^D(t)\) (as in Equation (5.9)) is a continuous extension of the discrete voltages \(V_n^D\), using the alternative expression for the voltages from Lemma 2.1.
For convenience, we state the alternative expression for the voltages under the Distflow model from Lemma 2.1; i.e., for \(n=0,\ldots ,N\),
with the convention \(\sum _{i=0}^{-1}\cdot = 0\) and \(k_N = r\lambda _N^D\). Again, observe that the alternative expression in (D.2) is only defined for integer values. In the following lemma, we define a continuous extension of the alternative expression for the voltages under the Distflow model.
Lemma D.1
(Continuous extension) The sequence \(V_n^D, n=0,1,\ldots ,N\) defined in (D.2) can be represented by
i.e., for all integer values \(n=\lfloor t\rfloor \), \(V_N^D(n) = V_n^D\).
Proof
Let \(t\in [0,N]\). Due to the definition of \(V_N^D(t)\) in (D.3), we have
Thus, for all integer values \(n = \lfloor t\rfloor \), we have the equality
We show \(V_N^D(n)=V_n^D\) for all \(n=0,\ldots ,N\) by strong induction. Note that, for \(n=0\), we have
by definition. Now, assume that,
for \(0\le n\le m\). Then, we need to show that \(V_N^D(m+1)=V_{m+1}^D\). By definition and linearity of the integral, we have
By the induction hypothesis in (D.5), we have
For \(s\in [m,m+1]\), the inner integral in (D.6) simplifies to
Now, again by the induction hypothesis in (D.5) and (D.4), we have
Continuing from (D.6), and using the result in (D.7), leads to
Here, we recognize Eq. (2.15) from Lemma 2.1. Hence,
This concludes the proof. \(\square \)
So far, we have shown that the function \({V}_N^D(t)\) is a continuous extension of the discrete voltages \(V_n^D\). Now, we scale the continuous extension \(V_N^D(t)\), by \({\overline{V}}_N^D(t) = V_N^D(Nt)\) (cf. Definition 1), into an integral equation that, as we show later, differs from the integral equation in (5.11) by terms that vanish as \(N\rightarrow \infty \). We have, for \(t\in [0,1]\) and \(k_N = \frac{a}{N^2}\), that
Substituting \(s=Nx\) and \(u=Ny\) in the integral in (D.8), we get
Finally, we rewrite (D.9) as
where
By adding \({\overline{V}}_N^D(t)\) and subtracting \({\overline{V}}_N^D(t+\frac{1}{N})\) on both sides of (D.10), we get
Observe that the representation in (D.12) is equal to the one in (5.10), as desired, if we define
For convenience, we introduce an operator H. This is useful for the proofs in Sect. D.1.3.
Definition 2
Let \(H:{\textbf{D}}_{\ge 1}[0,1]\rightarrow {\textbf{D}}_{\ge 1}[0,1]\) such that
This allows us to write the difference between \({\overline{V}}_N^D(t)\) and V(t) as,
So far, we reached Eq. (D.1) and made all the necessary preparation work to consider the remainder term \({\overline{R}}_N(t)\) and the term \((H{\overline{V}}_N^D)(t)-(HV)(t)\) of the right-hand side of (D.1) in the next two sections, separately.
1.1.2 Convergence of supremum of remainder term to zero
In this section, we show that the remainder term \({\overline{R}}_N(t)\) in (D.13) vanishes as \(N\rightarrow \infty \), i.e., we show convergence of to zero as \(N\rightarrow \infty \). Therefore, by (D.13), we show the convergence of as \(N\rightarrow \infty \) in Lemma D.2 and as \(N\rightarrow \infty \) in Lemma D.3. Then, as an immediate consequence of Lemmas D.2 and D.3, we show as \(N\rightarrow \infty \).
We begin with the convergence of as \(N\rightarrow \infty \) in Lemma D.2.
Lemma D.2
Let \({\overline{V}}_N^D(t)\) as defined in (5.10), then
Proof
By definition of (5.10), we have
However, (D.14) simplifies to,
In what follows, we bound the absolute value of the right-hand side of (D.15) in terms of N. Since \({\overline{V}}_N^D(t)\in {\textbf{D}}_{\ge 1}[0,1]\), we have, for all \(t\in [0,1]\) that \({\overline{V}}_N^D(t)\ge 1\). Applying this bound yields,
Observe that \(\frac{\lfloor Nt\rfloor +1}{N}-\frac{\lfloor Nt\rfloor }{N}=\frac{1}{N}\). Thus, for \(t\in [0,1]\), we get
As a consequence, we get the desired result,
\(\square \)
Now, it remains to be shown that as \(N\rightarrow \infty \). This is done in Lemma D.3.
Lemma D.3
Let \(R_N(t)\) be defined as in (D.11), then
Proof
Since \({\overline{V}}_N^D(t)\in {\textbf{D}}_{\ge 1}[0,1]\), we have, for all \(t\in [0,1]\) that \({\overline{V}}_N^D(t)\ge 1\), we get from (D.11), that
Observe that, for the first integral in (D.16), that \(\frac{\lceil Nx\rceil }{N}-x \le \frac{Nx+1}{N}-x = \frac{1}{N}\), and for the second integral, that \(\frac{\lfloor Nt\rfloor +1}{N}-t\le \frac{Nt+1}{N}-t = \frac{1}{N}\). Thus, for \(t\in [0,1]\),
Hence,
\(\square \)
The convergence of the supremum of the remainder term \(|{\overline{R}}_N(t)|\) follows immediately from Lemmas D.2 and D.3 and is summarized in the following corollary.
Corollary D.1
Let \({\overline{R}}_N(t)\) be defined as in (D.13), then
1.1.3 Contractive property of map H
In this section, we show that \(H:{\textbf{D}}_{\ge 1}[0,h]\rightarrow {\textbf{D}}_{\ge 1}[0,h]\) is a contractive mapping for a suitably chosen \(h<1\). This allows us to show that as \(N\rightarrow \infty \).
In Lemma D.4, we show that H is a contraction on \({\textbf{D}}_{\ge 1}[0,h]\) for a suitably chosen \(h<1\).
Lemma D.4
Let H as in Definition 2. There exists \(0\le h<1\), such that H is a contractive mapping on \({\textbf{D}}_{\ge 1}[0,h]\), i.e.,
with \(\kappa (h)<1\).
Proof
For \(0\le t\le h\), we have
Since \({\overline{V}}_N^D(t)\in {\textbf{D}}_{\ge 1}[0,1]\), we have, for all \(t\in [0,1]\) that \({\overline{V}}_N^D(t)\ge 1\). Therefore, we get,
Furthermore, by definition of the supremum, we get
Thus, for \(0\le t\le h\),
Hence,
where \(\kappa (h)=\frac{ah^2}{2}\). If \(a>2\), take \(h<\sqrt{\frac{2}{a}}\). Then \(\kappa (h) = \frac{ah^2}{2}<1\). Otherwise, if \(a\le 2\), then \(\kappa (h) = \frac{ah^2}{2} \le h^2 < 1\), since \(h<1\). \(\square \)
From the proof of Lemma D.4, it follows that the contraction property of the map H on the interval [0, h] depends on the size of a. We choose
Recall from (5.14) that \(a = {\hat{r}}\lambda _N^DN^2\ge 0\). Thus, for every \(a\ge 0\), we choose a suitable h, according to (D.17), such that H is a contraction on the interval [0, h].
1.1.4 Convergence of supremum on different intervals of \({\overline{V}}_N^D(t)\) to V(t)
In Sects. D.1.2 and D.1.3, we have shown that the remainder term \({\overline{R}}_N(t)\) vanishes as \(N\rightarrow \infty \) for every t in the interval [0, 1] and that the map H is a contractive mapping on the interval [0, h], respectively. Using both results yields the convergence of as \(N\rightarrow \infty \) in Lemma D.5. Then, we show, by induction, that as \(N\rightarrow \infty \) for every \(m=0,\ldots ,M\) such that \(Mh=1\) in Lemma D.6. This allows us to show that as \(N\rightarrow \infty \), as desired in Proposition 5.1.
Using the contraction property as shown in Lemma D.4, we show the convergence of \({\overline{V}}_N^D(t)\) to V(t) in the supremum norm.
Lemma D.5
Let h as in (D.17) and \({\overline{V}}_N^D(t)\) as defined in (5.10) and V(t) as in (5.11). Then, we have,
Proof
By Eq. (D.1) and the triangle inequality, we have
Using Lemma D.4 in the right-hand side of (D.18), we get
Rearranging terms yields,
Remark that \(\sup _{0\le t\le h}|{\overline{R}}_N(t)| \le \sup _{0\le t\le 1}|{\overline{R}}_N(t)|\). Hence, by Corollary D.1,
\(\square \)
Now, we are in position to prove that on every small interval \([mh,(m+1)h]\) (where \(m=0,\ldots ,M\) such that \(Mh=1\)) the supremum over \(t\in [mh,(m+1)h]\) of the absolute difference between \({\overline{V}}_N^D(t)\) and V(t) goes to zero as \(N\rightarrow \infty \).
Lemma D.6
Let h as in (D.17). For every \(0\le m\le M\), let \(t\in [mh,(m+1)h]\). Then,
Proof
We prove the statement in (D.19) by strong induction. By Lemma D.5, the statement holds for \(m=0\), i.e.,
Suppose that the statement holds for \(0\le t\le mh\):
Then, we need to show that for \(mh\le t\le (m+1)h\), the statement in (D.19) holds. Before we move on with expressions of the form \(\sup _{mh\le t\le (m+1)h}|{\overline{V}}_N^D(t)-V(t)|\), we first try to bound the expression \(|{\overline{V}}_N^D(t)-V(t)|\) itself. By Eqs. (5.11) and (5.8), we have
and since \({\overline{V}}_N^D(t)\in {\textbf{D}}_{\ge 1}[0,1]\), we have, for all \(t\in [0,1]\) that \({\overline{V}}_N^D(t)\ge 1\). Therefore, we get,
In what follows, we find for each term in (D.21) an upper bound in either terms of \(\sup _{0\le t\le mh}|{\overline{V}}_N^D-V(t)|\) or \(\sup _{mh\le t\le (m+1)h}|{\overline{V}}_N^D(t)-V(t)|\) or terms that vanish as \(N\rightarrow \infty \). Then, by rearranging terms and using the induction step in (D.20), we find that the statement in (D.19) holds.
Consider the first term on the right-hand side of (D.21). By definition of the supremum, we get
Now, consider the second term on the right-hand side of (D.21). This integral can be bounded as follows:
Finally, the third term on the right-hand side of (D.21) is the remainder term \(|{\overline{R}}_N(t)|\). Continuing from (D.21) and taking the supremum over the interval \(m\le t\le (m+1)h\) of \(|{\overline{V}}_N^D(t)-V(t)|\) on the left-hand side yield,
Simplifying and rearranging terms yields,
Remark that \(\sup _{mh\le t\le (m+1)h}|{\overline{R}}_N(t)| \le \sup _{0\le t\le 1}|{\overline{R}}_N(t)|\). Hence, by Corollary D.1 and from the induction hypothesis that , it follows that
\(\square \)
Now, we have all the ingredients to prove Theorem 5.1.
Proof of Proposition 5.1
Let \(t\in [0,1]\) and \({\overline{V}}_N^D(t)\) as defined in (5.10) and V(t) as in (5.11). Furthermore, let h as in (D.17) and consider the partition \(\{[0,h],[h,2h],\ldots ,[(M-1)h,Mh]\}\) of the interval [0, 1]. Then,
By Lemma D.6, we have for the supremum over each interval \([mh,(m+1)h]\), for \(m=0,\ldots ,M-1\), of the absolute difference of \({\overline{V}}_N^D(t)\) and V(t) that it converges to zero as \(N\rightarrow \infty \). Hence,
\(\square \)
1.2 Numerical validation of convergence in Proposition 5.1
We validate the convergence established in Theorem 5.1. We run the recursion \(V_n^D, n=0,\ldots ,N\) until node N and evaluate the approximation V(t) in the point \(t=1\) for different values of the parameter a. The results obtained via the approximation are compared with the recursion values, i.e., we compare V(1) [computed via (5.17) where the function \(f_0\) is defined in Lemma E.1] with \(V_N^D\) for different values of a. For each value of a, we compute V(1) and \(V_N^D\) for several values of N, ranging from 10 to \(10^4\). One example of V(1) and \(V_N^D\), where \(a=0.05\) is shown in Fig. 3 and Table 5. In the case that N is small, e.g., \(N=10\), the absolute and relative errors are only \(\approx 0.2\%\).
One can see from Fig. 3 that, as N gets bigger, \(V_N^D\) decreases to V(1). Thus, the approximation V(1) offers a close approximation of the voltage \(V_N^D\) under the Distflow model, especially for large N. The errors are bigger for small N.
Appendix E Integral equation
The solution to the integral equation in (5.15) and (5.16) is given in this appendix.
Lemma E.1
For \(t\ge 0,k>0,y>0,w\ge 0\), the nonlinear differential equation
with initial conditions \(f(0)=y\) and \(f'(0)=w\) has the exact solution \(f(t) = \gamma f_0(\alpha +\beta t)\). Here, \(f_0\) is given by
where U(x), for \(x\ge 0\), is given by
and
Proof of Lemma E.1
From the differential equation
we get
Integrating Eq. (E.3) over u from 0 to t using \(f(0)=1, f'(0)=0\), we get
Hence, for \(t>0\),
Integrating \(f'(u)/(2\ln (f(t)))^{\frac{1}{2}})=1\) from \(u=0\) to \(u=t\), while substituting \(s=f(u)\in [1,f(t)]\), we get
Substituting \(v=(\ln (s))^{\frac{1}{2}}, s=\exp (v^2),ds=2v\exp (v^2)dv\) in the integral (E.5), we get
i.e.,
Hence, when we define U(t) by
we have
Observe that from (E.4) and (E.7) we get,
We denote in the sequel the solution of \(f''(t)=1/f(t), t\ge 0\), with \(f(0)=1,f'(0)=0\) by \(f_0(t)\). Next, for given \(w\ge 0\) and \(y,k>0\) we consider the following initial value problem:
We find unique, explicit and positive values \(\gamma ,\alpha \) and \(\beta \) such that
The function f(t) in (E.10) fulfills the conditions in (E.9),
i.e., if and only if
From \(f_0'(\alpha )=\frac{w}{\sqrt{2k}}\), we get \(U(\alpha )=\frac{w}{\sqrt{2k}}\) by (E.8), and w, from (E.6), we find
Hence, subsequently we get
\(\square \)
Notice that we do not find an elementary closed-form solution of the function f, since f is given in terms of U(x). The function U(x), for \(x\ge 0\), is given by Eq. (E.1). The left-hand side of (E.1) is equal to \(\frac{1}{2}\sqrt{\pi } \text {erfi}(U(x))\), where \(\text {erfi}(z)\) is the imaginary error function.
Appendix F Notation
-
N: number of charging stations.
-
\(\lambda \): arrival rate of EVs at each charging station.
-
\(\varvec{\lambda } = (\lambda ,\ldots ,\lambda )\): the arrival rate at each charging station.
-
\(\lambda _c\): critical arrival rate for EVs.
-
\(\lambda _c^D\): critical arrival rate under the Distflow model.
-
\(\lambda _c^L\): critical arrival rate under the Linearized Distflow model.
-
\({\textbf{X}}(t)=(X_1(t),\ldots ,X_N(t))\): the number of EVs at each charging station at time t.
-
\({\textbf{p}}=(p_1(t),\ldots ,p_N(t))\): the power allocated to each charging station at time t.
-
\(g(\cdot ),h(\cdot )\): auxiliary functions to define utility-maximizing mechanism.
-
\({\mathcal {C}}\): N-dimensional vector space that contains the distribution network constraints.
-
\({\mathcal {G}}=({\mathcal {I}},{\mathcal {E}})\): directed graph.
-
\({\mathcal {I}}\): set of nodes.
-
\({\mathcal {E}}\): set of edges.
-
\(\epsilon _{ij}\): edge.
-
z: impedance on edge.
-
r: resistance on edge.
-
x: reactance on edge.
-
\({\tilde{V}}_j\): real voltage at node \(j\in {\mathcal {I}}\).
-
\({\tilde{V}}_j^L\): real voltage at node \(j\in {\mathcal {I}}\) under the Linearized Distflow model.
-
\({\tilde{V}}_j^D\): real voltage at node \(j\in {\mathcal {I}}\) under the Distflow model.
-
\(W_{ij}\): transformed voltage; product of real voltage at node \(i,j\in {\mathcal {I}}\) (after relabeling).
-
\(W_{ij}^L\): transformed voltage; product of real voltage at node \(i,j\in {\mathcal {I}}\) under the Linearized Distflow model (after relabeling).
-
\(W_{ij}^D\): transformed voltage; product of real voltage at node \(i,j\in {\mathcal {I}}\) under the Distflow model (after relabeling).
-
\({\tilde{s}}_i\): complex power consumption at node \(i\in {\mathcal {I}}\).
-
\({\tilde{p}}_i\): active power consumption at node \(i\in {\mathcal {I}}\).
-
\({\tilde{q}}_i\): reactive power consumption at node \(i\in {\mathcal {I}}\).
-
\(I_{ij}\): complex current on edge \(\epsilon _{ij}\in {\mathcal {E}}\).
-
\({\tilde{S}}_{ij}\): complex power flowing over edge \(\epsilon _{ij}\in {\mathcal {E}}\).
-
\({\tilde{P}}_{ij}\): active power flowing over edge \(\epsilon _{ij}\in {\mathcal {E}}\).
-
\({\tilde{Q}}_{ij}\): reactive power flowing over edge \(\epsilon _{ij}\in {\mathcal {E}}\).
-
\(\Delta \): bound on the maximal voltage drop.
-
\(k_N\): product of r and arrival rate \(\lambda _c^D\).
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
Christianen, M.H.M., Cruise, J., Janssen, A.J.E.M. et al. Comparison of stability regions for a line distribution network with stochastic load demands. Queueing Syst 103, 187–239 (2023). https://doi.org/10.1007/s11134-023-09873-z
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11134-023-09873-z