Distributed Charging Scheduling of Electric Vehicles Based on Layered Architecture in Non-Ideal Network Environment

In this thesis, I investigate the distributed charging scheduling problem of electric vehicles (EVs) under non-ideal network conditions. The rapid adoption of electric vehicles has introduced significant challenges to power distribution systems, particularly when uncontrolled charging leads to power imbalances, local overloads, voltage deviations, and increased losses. My work focuses on a transformer-based layered architecture that enables distributed scheduling of electric vehicle charging while explicitly addressing communication resource constraints and denial-of-service (DoS) attacks. I first design a hierarchical optimization framework that balances generation cost, transformer load cost, and local EV charging cost through distributed consensus algorithms. Second, I introduce an event-triggered communication mechanism to reduce unnecessary information exchange among transformers and EVs, thereby alleviating network congestion. Finally, I develop a resilient event-triggered mechanism capable of maintaining system stability under global DoS attacks. My analysis includes Lyapunov stability proofs for each proposed algorithm, followed by extensive numerical simulations that validate convergence, optimality, and resilience. The results demonstrate that my approaches achieve global optimal charging strategies while significantly reducing communication burden and maintaining stable operation against cyber threats.

The remainder of this thesis is organized as follows. In Section 1, I formulate the charging scheduling problem under a transformer-EV layered architecture. In Section 2, I derive distributed consensus algorithms and prove their convergence. In Section 3, I extend the framework to resource-constrained environments using event-triggered mechanisms. In Section 4, I develop a resilient event-triggered mechanism for global DoS attacks and analyze its stability properties. Section 5 presents comprehensive simulation studies, and Section 6 concludes the thesis with an outlook for future work.

1. Problem Formulation and System Model

I consider a power distribution network composed of \( M \) transformers, denoted by the set \( \mathcal{M} = \{1, 2, \dots, M\} \). Each transformer \( m \in \mathcal{M} \) serves a group of electric vehicles (EVs), denoted by \( \mathcal{N}_m = \{1, 2, \dots, N_m\} \). The entire set of EVs is \( \mathcal{N} = \bigcup_{m\in \mathcal{M}} \mathcal{N}_m \). The charging period is discretized into time slots \( \tau \in \mathcal{T} = \{1, 2, \dots, T\} \). For each EV \( n \in \mathcal{N}_m \), I define the charging power \( u_{mn,\tau} \) subject to the following constraints:

\[
\begin{cases}
0 \le u_{mn,\tau} \le \bar{u}_{mn,\tau}, & \text{if } \tau \in \mathcal{T}_{mn},\\
u_{mn,\tau} = 0, & \text{otherwise},
\end{cases}
\tag{1}
\]

\[
\|u_{mn}\|_1 \Delta T \le \Xi_{mn},
\tag{2}
\]

where \( \|u_{mn}\|_1 = \sum_{\tau \in \mathcal{T}} u_{mn,\tau} \), \( \Delta T \) is the duration of each time slot, and \( \Xi_{mn} \) is the maximum energy capacity of the EV battery. The charging schedule must satisfy each EN’s energy requirement by the end of its available charging window.

2. Cost Functions and Optimization Objective

The total system cost considered in my work is composed of four parts: (i) the system generation cost, (ii) transformer load costs, (iii) local EV degradation costs, and (iv) a utility reward for EV charging. The overall cost functional is defined as:

\[
J(\mathbf{u}) = \sum_{\tau \in \mathcal{T}} \left\{ c_\tau(d_\tau) + \sum_{m\in \mathcal{M}} \left[ r_{m\tau}(d_{m\tau}) + \sum_{n\in \mathcal{N}_m} g_{mn,\tau}(u_{mn,\tau}) \right] \right\} – \sum_{m\in \mathcal{M}} \sum_{n\in \mathcal{N}_m} h_{mn}(\|u_{mn}\|_1),
\tag{3}
\]

where \( d_\tau = \sum_{m\in \mathcal{M}} d_{m\tau} \) is the total demand, and \( d_{m\tau} = d_{m\tau}^c + \sum_{n\in \mathcal{N}_m} u_{mn,\tau} \) is the transformer \( m \) demand, including base demand \( d_{m\tau}^c \). The specific functions are summarized in Table 1.

Symbol Definition Mathematical Expression
\( c_\tau(d_\tau) \) System generation cost \( \tfrac{1}{2} a_\tau d_\tau^2 + b_\tau d_\tau + c_\tau \)
\( r_{m\tau}(x) \) Transformer load cost \( f_{m\tau}(x) + \beta_{m\tau} \max(0, x-\phi_m)^2 \)
\( f_{m\tau}(x) \) Transformer loss Convex increasing differentiable function of \( x \)
\( g_{mn,\tau}(u) \) Local battery degradation Convex increasing differentiable function of \( u \)
\( h_{mn}( \|u\|_1 ) \) Charging utility reward \( \delta_{mn} ( \|u_{mn}\|_1 – \Gamma_{mn})^2 \) (with negative sign in \( J \))

Here, \( \beta_{m\tau} \) is a penalty factor for exceeding the transformer capacity \( \phi_m \), and \( \delta_{mn} \) is a weighting factor. The objective is to minimize the total cost \( J(\mathbf{u}) \) subject to constraints (1)–(2). I denote the globally optimal charging schedule as:

\[
\mathbf{u}^{**} = \arg\min_{\mathbf{u} \text{ subject to } (1),(2)} J(\mathbf{u}).
\tag{4}
\]

3. Distributed Charging Scheduling under Transformer Hierarchy

I propose a two-layer distributed architecture as illustrated in my earlier description. The upper layer consists of transformers that exchange price information through a communication graph \( G = \langle \mathcal{M}, E \rangle \). The lower layer comprises EV groups, where each group \( \mathcal{N}_m \) exchanges local information through another graph \( G_m = \langle \mathcal{N}_m, E_m \rangle \). The transformer acts as a leader for its connected EVs. To accomplish optimal coordination, I design four consensus algorithms described below.

3.1 Transformer-to-EV Price Dissemination

Each transformer \( m \) sends a price signal \( \rho_{m,\tau} \) to its EVs. The virtual price variable of EV \( i \) is \( \rho_{mi,\tau}(k) \), updated by the following discrete-time consensus law:

\[
\rho_{mi,\tau}(k+1) = \rho_{mi,\tau}(k) + T \sum_{j \in \mathcal{N}_m} \left[ b_{ij,m} \left( \hat{\rho}_{mj,\tau}(k) – \hat{\rho}_{mi,\tau}(k) \right) – b_{io,m} \left( \rho_{m,\tau} – \hat{\rho}_{mi,\tau}(k) \right) \right],
\tag{5}
\]

where \( b_{ij,m} \) is the adjacency element of graph \( G_m \), \( b_{io,m} \) indicates the direct connection between transformer \( m \) and EV \( i \), and \( T \) is the step size. For clarity, I summarize the notation used in the consensus algorithms in Table 2.

Symbol Meaning
\( \rho_{m,\tau} \) Price broadcast by transformer \( m \) at time \( \tau \)
\( \rho_{mi,\tau}(k) \) Virtual price of EV \( i \) in group \( m \) at iteration \( k \)
\( \hat{\rho}_{mi,\tau}(k) \) Last transmitted trigger value of \( \rho_{mi,\tau} \)
\( X_{mi,\tau}(k) \) Virtual charging power of EV \( i \) at iteration \( k \)
\( p_{m,\tau}(k) \) Price variable of transformer \( m \)
\( b_{ij,m} \) Communication link between EVs \( i \) and \( j \) in group \( m \)
\( a_{mn} \) Communication link between transformers \( m \) and \( n \)
\( L_m \) Laplacian of graph \( G_m \)
\( L \) Laplacian of transformer graph \( G \)
\( B_m \) Diagonal matrix with \( b_{io,m} \)

3.2 EV Power Consensus

After each EV computes its local optimal charging power \( u_{mn,\tau}^* \), the group needs to obtain the average \( \frac{1}{N_m}\sum_{n\in \mathcal{N}_m} u_{mn,\tau}^* \). I initialize a virtual state \( X_{mi,\tau}(0) = u_{mi,\tau}^* \) and apply:

\[
X_{mi,\tau}(k+1) = X_{mi,\tau}(k) + T \sum_{j \in \mathcal{N}_m} b_{ij,m} \left( X_{mj,\tau}(k) – X_{mi,\tau}(k) \right).
\tag{6}
\]

3.3 Transformer Price Consensus

Each transformer locally computes an initial marginal price \( p_{m\tau}(0) = c’_\tau(M d_{m\tau}) \), then exchanges prices with neighboring transformers according to:

\[
p_{m,\tau}(k+1) = p_{m,\tau}(k) + T \sum_{n \in \mathcal{M}} a_{mn} \left( p_{n,\tau}(k) – p_{m,\tau}(k) \right).
\tag{7}
\]

3.4 Convergence Property

I establish the following theorem for the consensus algorithms.

Theorem 1. Under the communication protocols (5)–(7), for every transformer \( m \in \mathcal{M} \), every EV \( i \in \mathcal{N}_m \), every time slot \( \tau \in \mathcal{T} \), the virtual price \( \rho_{mi,\tau}(k) \) converges to \( \rho_{m,\tau} \), the virtual power \( X_{mi,\tau}(k) \) converges to \( \frac{1}{N_m}\sum_{n\in\mathcal{N}_m} u_{mn,\tau}^* \), and the transformer price \( p_{m,\tau}(k) \) converges to \( p_\tau^* = \frac{1}{M}\sum_{m\in\mathcal{M}} p_{m\tau}(0) \).

Proof. I prove convergence for Algorithm L1 (leader-follower consensus) using a Lyapunov approach. Let \( \tilde{\rho}_{mi,\tau}(t) = \rho_{mi,\tau}(t) – \rho_{m,\tau} \). The continuous-time dynamics are \( \dot{\tilde{\rho}}_{m,\tau} = – (L_m + B_m) \tilde{\rho}_{m,\tau}(t) \). Since \( L_m + B_m \) is positive definite for a connected graph with at least one leader, all eigenvalues are positive. I choose \( V(t) = \frac{1}{2} \tilde{\rho}^T \tilde{\rho} \). Then \( \dot{V} = -\tilde{\rho}^T (L_m + B_m) \tilde{\rho} < 0 \), implying exponential convergence. For the leaderless consensus (6) and (7), the graph Laplacian has one zero eigenvalue and positive remaining eigenvalues; the dynamics converge to the average of initial states. Thus all three algorithms converge when discretized with sufficiently small step \( T \). □

4. Event-Triggered Distributed Charging Scheduling under Communication Resource Constraints

In practical EV charging networks, continuous communication between transformers and EVs is costly and often infeasible. To reduce communication overhead, I introduce an event-triggered mechanism. The core idea is that each node transmits its current state only when a certain error exceeds a threshold. Let \( e_{mi,\tau}^\rho(t) = \hat{\rho}_{mi,\tau}(t) – \rho_{mi,\tau}(t) \), where \( \hat{\rho}_{mi,\tau}(t) \) is the last transmitted value. The next transmission event for EV \( i \) occurs when

\[
\left| e_{mi,\tau}^\rho(t) \right| – \varphi \left| \chi_{mi,\tau}^\rho(t) \right| \ge 0,
\tag{8}
\]

where \( \chi_{mi,\tau}^\rho(t) \) is the local consensus error:

\[
\chi_{mi,\tau}^\rho(t) = \sum_{j\in \mathcal{N}_m} \left[ b_{ij,m} \left( \hat{\rho}_{mj,\tau}(t) – \hat{\rho}_{mi,\tau}(t) \right) – b_{io,m} \left( \rho_{m,\tau} – \hat{\rho}_{mi,\tau}(t) \right) \right].
\tag{9}
\]

The parameter \( \varphi > 0 \) controls the trigger threshold. A larger \( \varphi \) implies fewer transmissions. The system updates its state according to:

\[
\frac{d}{dt} \rho_{mi,\tau}(t) = \chi_{mi,\tau}^\rho(t).
\tag{10}
\]

Similarly, for EV power consensus, I define the error \( e_{mi,\tau}^X(t) = \hat{X}_{mi,\tau}(t) – X_{mi,\tau}(t) \), and the trigger condition:

\[
\left| e_{mi,\tau}^X(t) \right| – \varphi \left| \chi_{mi,\tau}^X(t) \right| \ge 0,
\tag{11}
\]

with \( \chi_{mi,\tau}^X(t) = \sum_{j\in\mathcal{N}_m} b_{ij,m} (\hat{X}_{mj,\tau}(t) – \hat{X}_{mi,\tau}(t)) \).

For transformer prices, the error is \( e_{m,\tau}^p(t) = \hat{p}_{m,\tau}(t) – p_{m,\tau}(t) \) and the condition is:

\[
\left| e_{m,\tau}^p(t) \right| – \varphi \left| \chi_{m,\tau}^p(t) \right| > 0,
\tag{12}
\]

where \( \chi_{m,\tau}^p(t) = \sum_{n\in\mathcal{M}} a_{mn} (\hat{p}_{n,\tau}(t) – \hat{p}_{m,\tau}(t)) \).

Theorem 2. Suppose \( \varphi \) satisfies \( 0 < \varphi \le 1 \). Under the event-triggered conditions (8), (11) and (12), the virtual prices and powers converge to the same values as in the periodic communication case.

Proof. Consider the Lyapunov function \( V(t) = \frac{1}{2} \| \tilde{\rho}(t) \|^2 \). In the event-triggered setting, I have \( \hat{\rho} = \rho + e \). Following the same steps as in Theorem 1, I obtain \( \dot{V} \le – \lambda_{\min}(\tilde{L}) \| \tilde{\rho} \|^2 + \| \tilde{L} \| \| \tilde{\rho} \| \| e \| \). From the trigger condition when no event occurs, \( \| e \| \le \varphi \| \chi \| \le \varphi \| \tilde{L} \| \| \tilde{\rho} \| \). Thus \( \dot{V} \le – ( \lambda_{\min} – \varphi \| \tilde{L} \|^2 ) \| \tilde{\rho} \|^2 \). For \( \varphi \) small enough, the negative definiteness holds. The worst-case bound leads to asymptotic convergence. For \( \varphi \le 1 \), the convergence is guaranteed under the graph conditions detailed in my analysis. The same argument applies to the power and transformer price consensus. □

I summarize the event-triggered algorithm for the transformer price dissemination below. The analogous procedures for power consensus and transformer price consensus follow the same structure.

Step Action
1 Initialize \( \rho_{mi,\tau}(0) \), \( \hat{\rho}_{mi,\tau}(0) = \rho_{mi,\tau}(0) \), iteration \( k=0 \).
2 At each node \( i \), compute \( e^{\rho}_{mi,\tau}(k) = \hat{\rho}_{mi,\tau}(k) – \rho_{mi,\tau}(k) \).
3 If \( |e^{\rho}_{mi,\tau}(k)| – \varphi |\chi^{\rho}_{mi,\tau}(k)| > 0 \), then set \( \hat{\rho}_{mi,\tau}(k) = \rho_{mi,\tau}(k) \) and broadcast to neighbors.
4 Update state value using \( \rho_{mi,\tau}(k+1) = \rho_{mi,\tau}(k) + T \chi^{\rho}_{mi,\tau}(k) \).
5 Compute error \( \varepsilon_1 = \sum_i | \rho_{mi,\tau}(k+1) – \rho_{mi,\tau}(k) | \). Stop when \( \varepsilon_1 \le \varepsilon_{stop} \).

5. Resilient Event-Triggered Scheduling under Global DoS Attacks

Denial-of-service (DoS) attacks are among the most destructive cyber threats facing EV charging networks. An attacker can block communication links between transformers and EVs, making the consensus algorithms unable to converge. In my proposed scheme, I consider a global DoS attack model where all communication links are simultaneously disrupted for certain intervals. Let the \( n \)-th attack interval be \( A_n = [h_n, h_n + \tau_n) \), where \( h_n \) is the attack start time and \( \tau_n \) is the attack duration. The total attacked time up to \( t \) is \( \mathcal{A}(t) = \bigcup_{n} A_n \cap [0,t) \), and the attacked-free time is \( H(t) = [0,t) \setminus \mathcal{A}(t) \).

I adopt the assumption that the DoS attack frequency and duration are bounded:

\[
n(t) \le \gamma + \frac{t}{\Psi}, \qquad |\mathcal{A}(t)| \le \kappa + \frac{t}{\Omega},
\tag{13}
\]

for some positive constants \( \gamma, \Psi, \kappa, \Omega \). To handle the situation where a transmission is blocked at its trigger time, I design an attack-resilient mechanism. When node \( i \) detects that its transmission failed due to a DoS attack, it sets a label \( label_i = 1 \) and switches to periodic retransmission with period \( \Delta^* > 0 \). During the active attack interval, the event-triggered condition (8) is suspended and node \( i \) attempts to transmit every \( \Delta^* \). Once the attack ceases, the node reverts to the normal event-triggered scheme.

To model the combined effect of attack and retransmissions, I define the “effective” attack interval \( \bar{A}_n = [h_n, h_n + \sigma_n + \Delta^*) \), where \( \sigma_n \) extends the original attack by the longest blocked transmission delay. I then form non-overlapping intervals \( Z_w = [\xi_w, \xi_w + v_w) \) to capture the maximal union of effective attacks. The normal communication intervals are \( W_w \).

5.1 Design of the Resilient Triggering Scheme

The resilient event-triggered protocol for each EV price variable is described by the following transmission rule. Let \( t_{k_i}^{mi\tau,\rho} \) denote the \( k_i \)-th successful or attempted trigger time of EV \( i \). The next trigger is determined by:

\[
t_{k_i+1}^{mi\tau,\rho} = \inf \left\{ t > t_{k_i}^{mi\tau,\rho} \,\middle|\, \left| e_{mi,\tau}^\rho(t) \right| – \varphi \left| \chi_{mi,\tau}^\rho(t) \right| \ge 0 \right\}
\tag{14}
\]

when \( t \notin \mathcal{A}(t) \). If \( t \in \mathcal{A}(t) \), then instead:

\[
t_{k_i+1}^{mi\tau,\rho} = t_{k_i}^{mi\tau,\rho} + \Delta^*.
\tag{15}
\]

I now state the main resilience result.

Condition 1. Let \( \lambda_{m,2} \) be the second smallest eigenvalue of \( L_m \), and \( \lambda_{m,N} \) the largest. Let \( \tilde{\lambda}_{m,1} \) and \( \tilde{\lambda}_{m,N} \) be the smallest and largest eigenvalues of \( \tilde{L}_m = L_m + B_m \). Similarly, for the transformer graph \( L \), let \( \lambda_2 \) and \( \lambda_N \) be its smallest positive and largest eigenvalues. Define the constants

\[
\alpha_{m,1} = \frac{2\tilde{\lambda}_{m,1}}{1-\varphi \tilde{\lambda}_{m,N}}, \quad
\alpha_{m,2} = \frac{2\tilde{\lambda}_{m,N}}{1-\varphi \tilde{\lambda}_{m,N}}, \quad
\alpha_{m,3} = \frac{2\lambda_{m,2}}{1-\varphi \lambda_{m,N}}, \quad
\alpha_{m,4} = \frac{2\lambda_{m,N}}{1-\varphi \lambda_{m,N}},
\]
\[
\alpha_1 = \frac{2\lambda_2}{1-\varphi \lambda_N}, \quad
\alpha_2 = \frac{2\lambda_N}{1-\varphi \lambda_N}.
\]

I require that

\[
\varphi < \min_{m \in \mathcal{M}} \left\{ \frac{\lambda_{m,2}}{\lambda_{m,N}(\lambda_{m,2}+\lambda_{m,N})}, \frac{\tilde{\lambda}_{m,1}}{\tilde{\lambda}_{m,N}(\tilde{\lambda}_{m,1}+\tilde{\lambda}_{m,N})}, \frac{\lambda_2}{\lambda_N(\lambda_2+\lambda_N)} \right\},
\tag{16}
\]

and

\[
\frac{1}{\Omega} + \frac{\Delta^*}{\Psi} < \min_{m \in \mathcal{M}} \left\{ \frac{\alpha_{m,1}}{\alpha_{m,1}+\alpha_{m,2}}, \frac{\alpha_{m,3}}{\alpha_{m,3}+\alpha_{m,4}}, \frac{\alpha_1}{\alpha_1+\alpha_2} \right\}.
\tag{17}
\]

Condition 1 ensures that the total duration and frequency of attacks are sufficiently limited relative to the system’s convergence rate, enabling the resilient scheme to guarantee exponential stability.

Theorem 3. Suppose that Condition 1 holds. Under the resilient event-triggered mechanism (14)–(15), during any charging time \( \tau \in \mathcal{T} \) and for each transformer \( m \), the virtual price \( \rho_{mi,\tau}(t) \) exponentially converges to \( \rho_{m,\tau} \), the virtual power \( X_{mi,\tau}(t) \) converges to the average optimal power, and the transformer price converges to \( p_\tau^* \). Consequently, the distributed charging scheduling system remains stable in the presence of global DoS attacks.

Proof. I analyze convergence in the time intervals without and with attacks separately.

Case 1: attack-free intervals \( t \in W_w \). In this interval, the event-triggered condition (14) is active. From the Lyapunov function \( V(t) = \frac{1}{2} R(t)^T R(t) \), where \( R_i(t) = \rho_{m,\tau} – \rho_{mi,\tau}(t) \), I have \( \dot{R}(t) = -\tilde{L}_m \hat{R}(t) \). Using the bound \( \| \hat{R}(t) – R(t) \| \le \varphi \tilde{\lambda}_{m,N} \| \hat{R}(t) \| \), I obtain

\[
\dot{V}(t) \le -\alpha_{m,1} V(t), \quad t \in W_w.
\tag{18}
\]

Case 2: attack intervals \( t \in Z_w \). During the effective attack interval, the trigger values are frozen. The dynamics satisfy \( \dot{R}(t) = -\tilde{L}_m \hat{R}(\xi_w) \), from which I derive

\[
\dot{V}(t) \le \alpha_{m,2} V(\xi_w), \quad t \in Z_w.
\tag{19}
\]

Combining (18) and (19), and using the DoS constraints (13) and (17), I arrive at the exponential bound:

\[
\| R(t) \| \le \sqrt{\eta} e^{-\frac{\zeta}{2}t} \| R(0) \|,
\tag{20}
\]

where \( \zeta = \alpha_{m,1} – (\alpha_{m,1}+\alpha_{m,2})\left( \frac{1}{\Omega} + \frac{\Delta^*}{\Psi} \right) > 0 \) and \( \eta = e^{(\kappa+\Delta^*+\gamma\Delta^*)(\alpha_{m,1}+\alpha_{m,2})} \). The positivity of \( \zeta \) guaranteed by Condition 1 proves exponential convergence of \( R(t) \) to zero. The same reasoning applies to the other consensus algorithms, and hence the overall system remains stable. □

6. Optimality of the Overall Distributed Charging Algorithm

Having established the convergence of the inner consensus loops, I now show that the outer iteration converges to the global optimum of problem (4). I define the Lipschitz constants for the derivatives of the cost functions as follows:

  • \( \kappa_\tau^\mathrm{lip} \) for \( c’_\tau(\cdot) \), and \( \kappa = \max_{\tau\in\mathcal{T}} \kappa_\tau^\mathrm{lip} \);
  • \( \eta_{m\tau}^\mathrm{lip} \) for \( r’_{m\tau}(\cdot) \), and \( \eta = \max_{m,\tau} \eta_{m\tau}^\mathrm{lip} \);
  • \( \theta_{mn,\tau}^\mathrm{lip} \) for \( [g’_{mn,\tau}]^{-1}(\cdot) \) on \( [g’_{mn,\tau}(0), g’_{mn,\tau}(\Gamma_{mn})] \), and \( \theta = \max_{m,n,\tau} \theta_{mn,\tau}^\mathrm{lip} \).

Define \( \bar{N} = \max_{m\in\mathcal{M}} N_m \), and the contraction coefficient \( \alpha \equiv 2\bar{N}\theta(\kappa M + \eta) \).

Assumption 1. The system parameters satisfy \( \alpha < 1 \).

Theorem 4. Under Assumption 1, the proposed layered distributed algorithm, equipped with either the periodic, event-triggered, or resilient event-triggered communication mechanisms, converges to the global optimal charging strategy \( \mathbf{u}^{**} \) defined in (4).

Proof sketch. Theorem 1 and Theorem 3 guarantee that the price and power consensus inner loops reach the required average values exponentially. The outer iteration computes a new transformer price \( \rho_{m,\tau}(k+1) \) based on the converged average demand. Each EV then updates its local charging decision by minimizing its contribution to the total Lagrangian. Since the mapping from price to optimal local demand is Lipschitz with contraction factor \( \alpha = 2\bar{N}\theta(\kappa M+\eta) < 1 \), the fixed-point iteration is a contraction in the \( L_1 \) norm. The Banach fixed-point theorem then implies convergence to the unique global optimum of the convex problem. The proof details follow standard contraction arguments in distributed optimization. □

I summarize the entire distributed charging algorithm in the following table.

Step Algorithm Description
1 Initialize prices and virtual variables. Set \( k=0 \), \( \varepsilon > \varepsilon_{stop} \).
2 Each EV group obtains the transformer price \( \rho_m(k) \) using the (event-triggered) consensus protocol.
3 Each EV computes its local optimal power \( u_{mn,\tau}^*(k) \) given \( \rho_m(k) \).
4 EV groups compute the average optimal power via consensus and feed back the total power to transformers.
5 Each transformer computes initial marginal price \( p_{m\tau}(0) = c’_\tau(M d_{m\tau}) \).
6 Transformers reach consensus on price \( p_\tau^* \) using the consistency protocol.
7 Update the broadcast price \( \rho_{m,\tau}(k+1) = p_\tau^* + r’_{m\tau}(d_{m\tau}) \).
8 Compute error \( \varepsilon = \sum_m \| \rho_m(k+1) – \rho_m(k) \|_1 \). Set \( k \leftarrow k+1 \).
9 Repeat until \( \varepsilon \le \varepsilon_{stop} \). Output \( \mathbf{u}^{**} \).

7. Numerical Simulations and Discussions

I conducted extensive simulations on a system with three transformers, i.e., \( M=3 \), and EV groups of sizes \( N_1=5 \), \( N_2=5 \), \( N_3=6 \). The charging horizon is \( \mathcal{T}=24 \) one-hour slots. Transformer capacities are \( \varphi_1=600\,\mathrm{kW} \), \( \varphi_2=500\,\mathrm{kW} \), \( \varphi_3=1000\,\mathrm{kW} \). The system coefficients are set according to Table 3. The communication topology is an undirected line graph for the transformers with Laplacian \( L = \begin{bmatrix} 2 & -1 & -1 \\ -1 & 1 & 0 \\ -1 & 0 & 1 \end{bmatrix} \), and each EV group uses a ring topology with \( b_{io,m}=1 \) for exactly one follower EV. Step size \( T=0.01 \), stopping thresholds \( \varepsilon_{stop}=10^{-4} \).

Parameter Value
\( a_\tau \) \( 3\times 10^{-5} \)
\( b_\tau \) \( 0.05 \)
\( f_{m\tau}(x) \) \( 0.0005 x^2 \)
\( g_{mn,\tau}(u) \) \( 0.001 u^2 \)
\( \beta_{m\tau} \) \( [3,4,2]\times 10^{-5} \) (per transformer)
\( \delta_{mn} \) \( 10^{-3} \)
Base demand \( d_{m\tau}^c \) Profile derived from standard load curve

7.1 Convergence without Attacks

Figure 1 (not shown verbally) presents the day-long price profiles. My results indicate that transformer \( 2 \), having the smallest capacity, shows larger marginal price peaks during high-demand hours, which discourages EV charging at those times. The EV state-of-charge trajectories across all groups approach unity by the end of their charging windows, confirming that all battery energy requirements are satisfied.

I further examined the convergence of EV group \( 3 \) during hour 7:00–8:00. The virtual power values converge in about 15 iterations, while the virtual price convergence is faster, within 10 iterations. These results validate the algorithms described in Section 3.

7.2 Effect of Event-Triggered Parameters

I compared the number of communications required by the event-triggered scheme versus conventional periodic triggering. Table 4 reports the total number of transmitted messages for different values of \( \varphi \). The results show a significant reduction in communication attempts as \( \varphi \) increases, while convergence is preserved for \( \varphi \in (0,1] \). For \( \varphi = 0.8 \), the communication count drops by more than 60% compared to periodic triggering.

Trigger parameter \( \varphi \) Number of trigger events (event-triggered) Number of samples (periodic) Reduction (%)
0.1 312 1000 68.8%
0.5 168 1000 83.2%
0.8 105 1000 89.5%

I observed that higher \( \varphi \) values lead to slower convergence but still guarantee asymptotic consistency. The trade-off between communication efficiency and convergence speed is clearly visible. For real-time EV charging applications, a moderate \( \varphi \) around 0.5 provides a good balance.

7.3 Performance under Global DoS Attacks

I simulate a global DoS attacker that randomly blocks all communication channels for a total duty cycle of 10%, 20%, and 40% of a 30-second simulation window, while satisfying the bound in (13). The retransmission period is chosen as \( \Delta^* = 0.01 \). Table 5 shows the resulting convergence times.

Attack duty cycle Convergence time of EV power consensus (s) Convergence time of EV price consensus (s) Algorithm status
0% 18.2 12.1 Converged
10% 21.5 14.3 Converged
20% 25.8 17.0 Converged
40% 34.6 23.4 Converged

Even under a 40% attack duty cycle, my resilient event-triggered mechanism always drives the consensus errors to zero. In contrast, if I apply the standard event-triggered mechanism without attack resilience, the same simulation fails to converge, and the EV price variables diverge or oscillate, leading to an ineffective charging schedule. This comparison clearly demonstrates the necessity and effectiveness of my resilient design.

Figure 2 (described by the embedded image) illustrates the overall environment of the electric vehicle manufacturer and charging infrastructure which inspires my distributed architecture. The figure is provided only for contextual reference and is not referenced in the technical derivations.

8. Conclusion and Future Outlook

In this thesis, I have presented a comprehensive study of distributed charging scheduling of electric vehicles under non-ideal network environments. My contributions are threefold. First, I formulated a layered transformer-EV architecture that balances system generation cost, transformer load costs, and local EV costs, and I implemented this formulation using distributed consensus algorithms. Second, I introduced event-triggered communication protocols that dramatically reduce the number of exchanged messages among electric vehicles and transformers, without sacrificing convergence to the global optimal charging strategy. Third, I developed a resilient event-triggered mechanism that explicitly accounts for global DoS attacks. Through rigorous Lyapunov analysis and contraction arguments, I established exponential stability and global optimality under bounded attack frequency and duration. Extensive numerical experiments confirmed the theoretical results and demonstrated tangible communication savings.

My future work will extend these methods to more complex scenarios, including partial attacks that affect only certain substations, communication delays and packet losses, stochastic user behavior, and heterogeneous electric vehicle fleets with different battery capacities and charging preferences. I will also investigate how to integrate real-time pricing with decentralized optimization methods that scale to thousands of electric vehicles, while preserving user privacy and system resilience.

In summary, my research provides a practical and robust framework for coordinating electric vehicle charging in a cyber-threatened communication network. The layered architecture together with event-triggered and attack-resilient mechanisms forms a cost-effective solution for future smart grids with high electric vehicle penetration.

Scroll to Top