This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Hierarchical Game for Coupled Power System with Energy Sharing and Transportation System

Dongxiang Yan, Tongxin Li, Changhong Zhao, , Han Wang, Yue Chen D. Yan and Y. Chen are with the Department of Mechanical and Automation Engineering, the Chinese University of Hong Kong, Hong Kong SAR. (email: [email protected], [email protected])T. Li is with the School of Data Science, The Chinese University of Hong Kong (Shenzhen), Shenzhen China. (email: [email protected])C. Zhao is with the Department of Information Engineering, the Chinese University of Hong Kong, Hong Kong SAR. (email: [email protected])H. Wang is with the School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University, Shanghai 200240, China. (email: [email protected])
Abstract

The wide deployment of distributed renewable energy sources and electric vehicles can help mitigate climate crisis. This necessitates new business models in the power sector to hedge against uncertainties while imposing a strong coupling between the connected power and transportation networks. To address these challenges, this paper first proposes an energy sharing mechanism considering AC power network constraints to encourage local energy exchange in the power system. Under the proposed mechanism, all prosumers play a generalized Nash game. We prove that the energy sharing equilibrium exists and is socially optimal. Furthermore, a hierarchical game is built to characterize the interactions both inside and between the power and transportation systems. Externally, the two systems are engaged in a generalized Nash game because traffic flows serve as electric demands as a result of charging behaviors, and each driver pays the energy sharing price for charging. The hierarchical game is then converted into a mixed-integer linear program (MILP) with the help of optimality conditions and linearization techniques. Numerical experiments validate the theoretical results and show the mutual impact between the two systems.

Index Terms:
coupled power-transportation system, energy sharing, Wardrop user equilibirum, hierarchical game

Nomenclature

-A Acronyms

EV

Electric vehicle.

GV

Gasoline vehicle.

CS

Charging station.

OD

Origin-destination.

PV

Photovoltaic.

TS

Transportation system.

PS

Power system.

DER

Distributed energy resource.

MILP

Mixed-integer linear program.

-B Indices and Sets

N\mathcal{E}_{N}

Set of nodes in the power system.

L\mathcal{E}_{L}

Set of lines in the power system.

𝒞\mathcal{C}

Set of CSs.

C(i)C(i)

Set of CSs powered by prosumer iNi\in\mathcal{E}_{N}.

𝒯N\mathcal{T}_{N}

Set of nodes in the transportation system.

𝒯A\mathcal{T}_{A}

Set of links in the transportation system.

𝒯R\mathcal{T}_{R}

Set of origin nodes.

𝒯S\mathcal{T}_{S}

Set of destination nodes.

𝒦grs\mathcal{K}^{rs}_{g}

Set of GV paths connecting OD pair rsrs.

𝒦ers\mathcal{K}^{rs}_{e}

Set of EV paths connecting OD pair rsrs.

TART_{A}^{R}

Set of regular links.

TACT_{A}^{C}

Set of charging links.

TABT_{A}^{B}

Set of bypass links.

SS

Set of partitions.

-C Parameters

pip_{i}

Renewable generator output at prosumer iNi\in\mathcal{E}_{N}.

difd_{i}^{f}

Fixed power demand at prosumer iNi\in\mathcal{E}_{N}.

D¯i/D¯i\underline{D}_{i}/\overline{D}_{i}

Lower/Upper bound of elastic demand at prosumer ii.

mam_{a}

Market sensitivity.

rni,xnir_{ni},x_{ni}

Resistance and reactance of line (n,i)(n,i).

lnil_{ni}

Squared current magnitude of line (n,i)(n,i).

vnv_{n}

Squared voltage magnitude of node nn.

Pi¯/Pi¯\underline{P_{i}}/\overline{P_{i}}

Lower/Upper bound of PiP_{i}.

Qi¯/Qi¯\underline{Q_{i}}/\overline{Q_{i}}

Lower/Upper bound of QiQ_{i}.

vi¯/vi¯\underline{v_{i}}/\overline{v_{i}}

Lower/Upper bound of viv_{i}.

ni¯\overline{\ell_{ni}}

Upper bound of ni\ell_{ni}.

qgrs/qersq^{rs}_{g}/q^{rs}_{e}

Total traffic flow between r𝒯Rr\in\mathcal{T}_{R} and s𝒯Ss\in\mathcal{T}_{S} for GV/EV.

δakgrs/δakers\delta_{akg}^{rs}/\delta_{ake}^{rs}

Indicator variable for GV/EV.

ta0t_{a}^{0}

Free travel time of link aa.

hah_{a}

Free travel capacity of link aa.

ta,μct_{a,\mu}^{c}

Average service time at CS cc of link aa.

ta,wct_{a,w}^{c}

Maximum waiting time at CS cc of link aa.

hach_{a}^{c}

Maximum allowable EV flow at CS cc of link aa.

γac\gamma^{c}_{a}

Electricity price of charging link aa with CS cc.

EbE_{b}

EV battery charging demand.

ω\omega

A constant converting time to monetary value.

ZZ

Integer parameter for linear approximation.

cm,A1,A2c_{m},A_{1},A_{2}

Constant coefficient matrices in compact form.

DTS,B2D_{TS},B_{2}

Constant coefficient matrices in compact form.

λv,smin/λv,smax\lambda_{v,s}^{min}/\lambda_{v,s}^{max}

Lower/Upper bounds of λv,s\lambda_{v,s} for partition ss.

DTS,smin/DTS,smaxD_{TS,s}^{min}/D_{TS,s}^{max}

Lower/Upper bounds of DTS,sD_{TS,s}.

|S||S|

Partition number of McCormick envelope.

-D Decision Variables

did_{i}

Elastic demand at node iNi\in\mathcal{E}_{N}.

DiTD_{i}^{T}

Total charging demand of links aC(i)a\in C(i).

qiq_{i}

Sharing quantity of node iNi\in\mathcal{E}_{N}.

λi\lambda_{i}

Sharing price for node iNi\in\mathcal{E}_{N}.

bib_{i}

Bid of prosumer iNi\in\mathcal{E}_{N} in the sharing market.

Pni/QniP_{ni}/Q_{ni}

Active/Reactive power flow of line (n,i)(n,i).

UiU_{i}

Utility of prosumer iNi\in\mathcal{E}_{N}.

fkgrs/fkersf_{kg}^{rs}/f_{ke}^{rs}

GV/EV traffic flow of a path k𝒦grs/𝒦ersk\in\mathcal{K}^{rs}_{g}/\mathcal{K}^{rs}_{e}.

xax_{a}

Aggregate traffic flow of link a𝒯Aa\in\mathcal{T}_{A}.

xag/xaex_{ag}/x_{ae}

Aggregate GV/EV traffic flow of link a𝒯Aa\in\mathcal{T}_{A}.

tat_{a}

Travel time on link a𝒯Aa\in\mathcal{T}_{A}.

ckgrsc_{kg}^{rs}/ckersc_{ke}^{rs}

Total cost of a path k𝒦grs/𝒦ersk\in\mathcal{K}^{rs}_{g}/\mathcal{K}^{rs}_{e} for GV/EV.

ugrs/uersu^{rs}_{g}/u^{rs}_{e}

Minimal cost from r𝒯Rr\in\mathcal{T}_{R} to s𝒯Ss\in\mathcal{T}_{S} for GV/EV.

ξz,ηz\xi^{z},\eta^{z}

Auxiliary variables.

yvy_{v}

Vector variable in compact form.

λv,μv\lambda_{v},\mu_{v}

Dual variable vectors in compact form.

ysy_{s}

Binary variable for partition sSs\in S.

λv,s\lambda_{v,s}

Dual variable λv\lambda_{v} for partition sSs\in S.

DTS,sD_{TS,s}

Variable DTSD_{TS} for partition sSs\in S.

σ\sigma

Auxiliary variable to replace bilinear term.

I Introduction

The electrification of transportation systems together with massive deployment of clean sources such as renewable energy has been regarded as an important means of carbon emission reduction [1]. According to the Deloitte report, electric vehicle (EV) developed rapidly in the past decade and is expected to comprise 48%, 27%, and 42% of light-duty vehicle market shares in China, the U.S., and Europe, respectively, by 2030 [2]. Meanwhile, over 81,000 distributed wind turbines had been installed in the U.S. during 2003-2017 with a total capacity of 1,076 MW [3]. The residential solar photovoltaic (PV) panels also grew dramatically from 3,700 MW in 2004 to 150,000 MW in 2014 [4]. The impact of these trends is twofold: Firstly, the proliferation of distributed energy resources (DERs) provides conventional consumers the ability to produce, turning them into proactive prosumers. The power system is changing from an operator-centric model to a prosumer-centric model. Secondly, the prosperity of EVs tightens the coupling of the power and transportation systems. Therefore, it is necessary to analyze the interaction between coupled power and transportation systems while considering the electric grid transformation.

For the first issue, instead of being dispatched centrally, prosumers prefer actively participate in energy management by efficiently configuring their production and consumption [5]. Many recent studies turned to peer-to-peer (P2P) energy sharing (trading) since it can unlock prosumers’ flexibility to the maximum and provide enough incentive to get rid of the dependence on financial support [6]. Typical energy sharing mechanisms can be divided into optimization-based ones, cooperative game-based ones, and noncooperative game-based ones. Optimization-based mechanisms begin with a centralized problem and implement energy sharing with the help of distributed optimization algorithms, such as alternating direction method of multipliers [7]. To have a clearer economic interpretation, game theory is applied. Cooperative game-based mechanisms provide proper allocation rules so that all prosumers will spontaneously act towards the social optimum. Despite some well-known methods such as the Shapley value [8], nucleolus [9], Nash bargaining [10], designing the allocation rule is challenging due to asymmetric information and privacy concerns. For non-cooperative game-based mechanisms, two typical models are Stackelberg games [11, 12, 13] and generalized Nash games [14, 15, 16]. Specifically, in the Stackelberg game [11], the operator moves first to decide on the electricity price and then prosumers choose their strategies. Reference [12] further considered prosumers’ supply and demand ratios in the pricing decision of the operator [12]. A data-driven method was utilized to find a nearly optimal pricing strategy [13]. However, under the Stackelberg game setting, the flexibility of prosumers is limited to some extent since they are followers whose action sets are influenced by the operator (leader). In contrast, generalized Nash games allow prosumers to participate actively as leaders, which is the focus of this paper. A generalized demand function based mechanism was proposed with practical bidding algorithms [14]. Network constraints were further considered [15, 16]. A bilevel model was proposed to model the interaction between the grid operator and P2P energy trading market [17]. However, they adopted simple DC power flow models, which are not accurate enough for the power distribution systems. The AC network model was further integrated with a bilateral energy trading mechanism [18] and direct energy trading framework [19]. Nevertheless, the above studies concentrated on analyzing the behavior of power systems only, whereas the interaction of multi-infrastructures implementing energy sharing remains unexplored.

For the second issue, a large number of EV charging stations (CSs) have been constructed in recent years to meet the growing EV charging needs. On the one hand, the routing of EV traffic flow for CSs will impact the road congestion of transportation systems [20]. On the other hand, the high charging demand from CSs can pose a threat to the distribution network operation [21]. Therefore, it is important to analyze the impact of EVs’ traveling and charging behavior on the two systems’ operation [22]. References [23] and [24] studied the optimal traffic-power flow using a mixed integer linear program (MILP). The EV scheduling strategies [25], the urban transportation network expansion planning [26], and the resilience enhancement [27] of coupled transportation and power systems were investigated. The above works assumed that both systems are under the control of the same operator. However, in reality, the two systems belong to different stakeholders and may have conflicting interests. A bi-level model was proposed to coordinate the two systems [28]. Reference [29] proposed a bi-level EV charging coordination approach to mitigate the global carbon emission of the coupled power and transportation systems. A tri-level model was proposed to model the interaction among charging service providers, the transportation system and the power system [30]. A pricing game was formulated for charging stations in the coupled power-transportation environment and solved by a deep reinforcement learning based method [31]. Reference [32] considered the decision-making of each system as an independent stakeholder. Iterative methods were proposed to search for the equilibrium, which, however, have no convergence guarantee. Besides, their power systems adopted a centralized operation model without taking into account the promising trend of energy sharing in the prosumer era.

TABLE I: Comparison of this paper with other related literature
References Energy Power Transportation Game
sharing system system
[7] \checkmark x x x
[8][14] \checkmark x x \checkmark
[15][19] \checkmark \checkmark x \checkmark
[20][30] x \checkmark \checkmark x
[31, 32] x \checkmark \checkmark \checkmark
This paper \checkmark \checkmark \checkmark \checkmark

This paper studies the interaction of coupled power and transportation systems considering the strategic behavior within each system, i.e. the prosumers’ strategic energy sharing behaviors in the power system and the EV drivers’ strategic route selection behavior in the transportation system. We summarize and compare the operation of the coupled power-transportation system proposed in this paper and other related literature in Table I. The main contributions are twofold:

1) Hierarchical Game Model of Coupled Transportation and Power Systems. We propose a hierarchical game model to characterize the complex interactions of coupled power and transportation systems. In the power system, an effective energy sharing mechanism is proposed under which all prosumers play a generalized Nash game. Different from the existing work, AC power network constraint is incorporated. In the transportation system, all drivers strategically select their routes to minimize their travel costs, which constitutes a Nash game. The charging load of EVs on a road with a charging station of the transportation system serves as the electric demand for a node in the power system, and the drivers pay for charging at the prices derived from the energy sharing market. Hence, externally, there is a generalized Nash game between the two systems.

2) Method for Computing the Equilibrium. To obtain the equilibrium of the proposed hierarchical game, we first provide two equivalent optimization models to compute the equilibrium in the power and transportation systems, respectively, in Propositions 1 and 2. Then, to accelerate the computation, we linearize the nonlinear AC power network constraint via polyhedral approximation. Further, we replace the equivalent optimization model for energy sharing equilibrium in the power system with its primal-dual optimality condition. The resulting nonlinear terms are linearized by piecewise McCormick envelope and SOS2 variables. Finally, the equilibrium of the hierarchical game can be solved by a MILP. Case studies show that the proposed method can greatly enhance the computational efficiency and avoid the disconvergence problem of the traditional methods.

II Mathematical Formulation

The structure of the coupled power and transportation systems is shown in Fig. 1. Each charging station (CS) in the transportation system is powered by a prosumer node in the power distribution system. When an EV goes to a CS, it receives a certain amount of energy. In the transportation system, we consider two kinds of vehicles: traditional gasoline vehicles (GV) and EVs. Each GV driver chooses the route that has the minimum travel time. Each EV driver chooses the route that can minimize its travel cost, which includes a cost proportional to the travel time and a cost related to the charging price. In the power distribution system, each prosumer node is equipped with a distributed renewable generator to supply its demand and to provide electricity for a CS in the transportation system. The prosumer nodes can share energy with each other so that one with excessive power can sell electricity to another that lacks power. In general, the transportation system and the power system closely couple with each other. The traffic flow will influence the demand at the nodes of the power distribution system, which will further impact the energy sharing result. The energy sharing price affects the driving behavior of EV owners, which in turn influences the traffic flow in the transportation system. In the following, we will first introduce the game models inside the power and transportation systems, respectively; and then the hierarchical game model considering the interactions of the two systems.

Refer to caption
Figure 1: Structure of the coupled power and transportation systems.

We introduce game theory into this problem because a game naturally exists among stakeholders in the power-transportation problem studied, i.e., among prosumers in the power grid and drivers in the transportation system, and between the power and the transportation system operators. Each stakeholder is rational and aims to maximize their own profit. As a result, conflicts of interests occur among stakeholders. It is thus well justified to analyze their strategic behaviors considering such interest conflicts, i.e., under a game setting. An alternative method, the centralized optimization method [23] that assumes all stakeholders are controlled by a central operator, can achieve a lower total cost. However, the centralized method fails to account for the strategic behaviors and competing interests among stakeholders and has high computational burdens and privacy concerns. Therefore, a more practical method based on game theory is a must. There have been references studying the game equilibrium in power-transportation networks [32, 31]. For example, reference [32] formulated a pricing game for charging service providers in a power-transportation network. Reference [31] analyzed the equilibrium between the power and the transportation networks. Our paper extends and improves these studies.

While the existing studies focus on analyzing the game equilibrium, we move a step further – design a market mechanism to coordinate the behaviors of strategic stakeholders so that their equilibrium could have a good economic efficiency. In particular, we propose an energy sharing market mechanism as follows. We prove that under the proposed mechanism, the energy sharing equilibrium can attain social optimum, as Proposition 1 states in Section III.

II-A Energy Sharing Equilibrium in Power System

The power system can be modeled as a connected graph 𝒢E=[N,L]\mathcal{G}_{E}=[\mathcal{E}_{N},\mathcal{E}_{L}], where N\mathcal{E}_{N} and L\mathcal{E}_{L} represent the set of nodes and power lines, respectively. Each prosumer node ii has a renewable generator whose output is pip_{i}, fixed demand difd_{i}^{f}, and elastic demand di[D¯i,D¯i]d_{i}\in[\underline{D}_{i},\overline{D}_{i}]. Other nodes only have fixed demand. For notation conciseness, for the nodes with fixed demand, we let their pi=0p_{i}=0 and D¯i=D¯i=0\underline{D}_{i}=\overline{D}_{i}=0. Denote the set of CSs supplied by prosumer node ii as C(i)C(i), which imposes total power demand DiTD_{i}^{T} by EVs. With the real-time renewable generator output pip_{i}, the prosumer iNi\in\mathcal{E}_{N} can adjust its elastic demand did_{i} and share its excessive/deficit energy qiq_{i} with other prosumers at a price λi\lambda_{i} to maintain energy balancing. The utility of elastic demand can be represented by concave functions Ui(di),iU_{i}(d_{i}),\forall i, so that Ui(di),i-U_{i}(d_{i}),\forall i are convex functions. We propose an energy sharing mechanism as follows:

To participate in energy sharing, each prosumer iNi\in\mathcal{E}_{N} submits a bid bib_{i} to the market operator, indicating its willingness to buy. The energy sharing market prices λi,iN\lambda_{i},\forall i\in\mathcal{E}_{N} and the sharing quantities qi,iNq_{i},\forall i\in\mathcal{E}_{N} will be determined according to the bids. Their relationship can be represented by a generalized demand function qi=maλi+biq_{i}=-m_{a}\lambda_{i}+b_{i}, where ma>0m_{a}>0 is the market sensitivity. It shows that given the same price λi\lambda_{i}, the prosumer will buy more if it has a higher willingness to buy (the higher bib_{i}, the higher qiq_{i}); the prosumer will buy less when energy is more expensive (the higher λi\lambda_{i}, the less qiq_{i}). The market operator clears the market by solving:

minλi,iN\displaystyle\min_{\lambda_{i},\forall i\in\mathcal{E}_{N}}~{} iNλi2,\displaystyle\sum_{i\in\mathcal{E}_{N}}\lambda_{i}^{2}, (1a)
s.t. {maλi+bi,iN}c,\displaystyle\{-m_{a}\lambda_{i}+b_{i},~{}\forall i\in\mathcal{E}_{N}\}\in\mathcal{F}_{c}, (1b)

where

c:={qi,iN|\displaystyle\mathcal{F}_{c}:=\{q_{i},~{}\forall i\in\mathcal{E}_{N}~{}|
Pniqirninik:(i,k)Pik=0,(n,i)L,\displaystyle P_{ni}-q_{i}-r_{ni}\ell_{ni}-\sum\nolimits_{k:(i,k)}P_{ik}=0,\forall(n,i)\in\mathcal{E}_{L}, (2a)
Qni+Qixninik:(i,k)Qik=0,(n,i)L,\displaystyle Q_{ni}+Q_{i}-x_{ni}\ell_{ni}-\sum\nolimits_{k:(i,k)}Q_{ik}=0,\forall(n,i)\in\mathcal{E}_{L}, (2b)
vn2(rniPni+xniQni)+(rni2+xni2)ni=vi,(n,i)L,\displaystyle v_{n}-2(r_{ni}P_{ni}+x_{ni}Q_{ni})+(r^{2}_{ni}+x^{2}_{ni})\ell_{ni}=v_{i},\forall(n,i)\in\mathcal{E}_{L}, (2c)
Pni2+Qni2nivn,(n,i)L,\displaystyle P_{ni}^{2}+Q_{ni}^{2}\leq\ell_{ni}v_{n},\forall(n,i)\in\mathcal{E}_{L}, (2d)
Pi¯qiPi¯,iN,\displaystyle\underline{P_{i}}\leq q_{i}\leq\overline{P_{i}},\forall i\in\mathcal{E}_{N}, (2e)
Qi¯QiQi¯,iN,\displaystyle\underline{Q_{i}}\leq Q_{i}\leq\overline{Q_{i}},\forall i\in\mathcal{E}_{N}, (2f)
vi¯vivi¯,iN,\displaystyle\underline{v_{i}}\leq v_{i}\leq\overline{v_{i}},\forall i\in\mathcal{E}_{N}, (2g)
0nini¯,(n,i)L}.\displaystyle 0\leq\ell_{ni}\leq\overline{\ell_{ni}},~{}\forall(n,i)\in\mathcal{E}_{L}~{}\}. (2h)

where QiQ_{i} is bus ii’s reactive power injection, Pni/QniP_{ni}/Q_{ni} is the active/reactive power flow of line (n,i)(n,i), rni/xnir_{ni}/x_{ni} is the resistance/reactance, and ni/vn\ell_{ni}/v_{n} is the squared current/voltage magnitude. The objective function (1a) is designed to minimize the sum of square of the energy sharing prices. We will prove later in Proposition 1 that such a design can guarantee an equilibrium that is socially optimal. Constraints (2a)-(2d) describe the branch flow model. Second-order cone relaxation is applied, so the original equality constraint has been turned into the inequality constraint in (2d). Constraints (2e)-(2h) include the physical bounds of prosumer power injection capacities, squared bus voltage magnitudes, and squared line current magnitudes.

For each prosumer iNi\in\mathcal{E}_{N}, its net cost equals the energy sharing cost λiqi\lambda_{i}q_{i} (when qi<0q_{i}<0, it means prosumer iNi\in\mathcal{E}_{N} will sell energy to the market and receive revenue λiqi-\lambda_{i}q_{i}) minus its utility Ui(di)U_{i}(d_{i}). It can decide on the optimal values of did_{i} and bib_{i} to minimize its net cost:

minbi,di\displaystyle\mathop{\min}_{b_{i},d_{i}}~{} Ui(di)+λi(maλi+bi),\displaystyle-U_{i}(d_{i})+\lambda_{i}(-m_{a}\lambda_{i}+b_{i}), (3a)
s.t. pimaλi+bi=di+dif+DiT,\displaystyle p_{i}-m_{a}\lambda_{i}+b_{i}=d_{i}+d_{i}^{f}+D_{i}^{T}, (3b)
D¯idiD¯i.\displaystyle\underline{D}_{i}\leq d_{i}\leq\overline{D}_{i}. (3c)

Constraint (3b) shows that the renewable generation plus the energy it buys from the energy sharing market can satisfy its fixed and elastic demands. Constraint (3c) is the demand adjustable range.

The aforementioned energy sharing mechanism can protect the privacy of both prosumers and the operator to some extent, since the network constraints (2a)-(2h) are known only to the operator and the individual capacity constraint (3c) is available only to the prosumer. If we take the market operator as a virtual player, then all prosumers and the operator play a generalized Nash game. A major feature that distinguishes the generalized Nash game from a standard Nash game is that both the objective function and the constraints of one player are influenced by the strategies of the other players [33]. Denote the objective function (1a) of the market operator as ΓM(λ)\Gamma_{M}(\lambda) and its feasible set as 𝒳M(b):={λ|(1b)is satisfied.}\mathcal{X}_{M}(b):=\{\lambda~{}|~{}\eqref{eq:market.2}~{}\mbox{is satisfied.}\}. Denote the objective function (3a) of each node as Γi(λi,bi,di)\Gamma_{i}(\lambda_{i},b_{i},d_{i}) and its feasible set as 𝒳i(λi):={(bi,di)|(3b)(3c)are satisfied.}\mathcal{X}_{i}(\lambda_{i}):=\{(b_{i},d_{i})~{}|~{}\eqref{eq:eachnode.2}-\eqref{eq:eachnode.3}~{}\mbox{are satisfied.}\}. The game consists of the following elements:

  1. 1)

    The set of players, including prosumers iN={1,2,,I}i\in\mathcal{E}_{N}=\{1,2,\ldots,I\} and the market operator MM.

  2. 2)

    Strategy sets: for prosumer ii, it is 𝒳i(λi)={(bi,di)|(3b)(3c)are satisfied.}\mathcal{X}_{i}(\lambda_{i})=\{(b_{i},d_{i})~{}|~{}\eqref{eq:eachnode.2}-\eqref{eq:eachnode.3}~{}\text{are satisfied.}\}, and for market operator MM, it is 𝒳M(b)={λ|(1b)is satisfied.}\mathcal{X}_{M}(b)=\{\lambda~{}|~{}\eqref{eq:market.2}~{}\text{is satisfied.}\}.

  3. 3)

    Payoff functions: for prosumer ii, it is Γi(λi,bi,di)\Gamma_{i}(\lambda_{i},b_{i},d_{i}) and for the market operator, it is ΓM(λ)\Gamma_{M}(\lambda).

To be concise, denote the energy sharing game by 𝒢1={(N,M),(𝒳i,𝒳M),(Γi,ΓM)}\mathcal{G}_{1}=\{(\mathcal{E}_{N},M),(\mathcal{X}_{i},\mathcal{X}_{M}),(\Gamma_{i},\Gamma_{M})\}.

Definition 1.

(Energy Sharing Equilibrium) A profile (b,d,λ)(b^{*},d^{*},\lambda^{*}) is a generalized Nash equilibrium (GNE) of the energy sharing game (1) and (3) if and only if

λ=\displaystyle\lambda^{*}=~{} argminλ𝒳M(b)ΓM(λ)\displaystyle\mbox{argmin}_{\lambda\in\mathcal{X}_{M}(b^{*})}\Gamma_{M}(\lambda)
(b,d)=\displaystyle(b^{*},d^{*})=~{} argminbi,di𝒳i(λi)Γi(λi,bi,di),iN\displaystyle\mbox{argmin}_{b_{i},d_{i}\in\mathcal{X}_{i}(\lambda_{i}^{*})}\Gamma_{i}(\lambda^{*}_{i},b_{i},d_{i}),\forall i\in\mathcal{E}_{N} (4)

In general, generalized Nash games are difficult to analyze, and there is no theoretical guarantee for the existence and uniqueness of an equilibrium. Moreover, as part of the power demand DiTD_{i}^{T} comes from the transportation system, the interaction among the two systems constitutes another Nash game described later in Section II-C. This makes the problem even more sophisticated. In Section III, we will derive an equivalent optimization model in Proposition 1 for computing the generalized Nash equilibrium efficiently.

Remark: With the proliferation of distributed energy resources (DERs), passive consumers turn into proactive prosumers, calling for innovative market mechanisms to coordinate their flexibility and reduce their overall operational costs [34, 5]. Energy sharing market has emerged as one of the potential solutions to this challenge [35]. In an energy sharing market, prosumer makes decisions based on their own interests, thus giving rise to competition and forming a game. Usually, the equilibrium of such a game is not socially optimal because of the conflicts of interest. In this paper, we propose an energy sharing market mechanism with the market clearing rule in (1). In particular, (1a) is designed as minimizing the sum of squares of prices. We prove that under the proposed mechanism, the energy sharing equilibrium can attain social optimum, as Proposition 1 in Section III states.

II-B Wardrop User Equilibrium in Transportation System

The transportation system can be modeled as a connected graph 𝒢T=[𝒯N,𝒯A]\mathcal{G}_{T}=[\mathcal{T}_{N},\mathcal{T}_{A}], where 𝒯N\mathcal{T}_{N} and 𝒯A\mathcal{T}_{A} represent the set of nodes and roads (links), respectively. Each road (link) is denoted by a𝒯Aa\in\mathcal{T}_{A} and its traffic flow by xax_{a}. Each driver needs to travel from an origin node rr to a destination node ss. Each origin-destination (OD) pair rsrs is connected by a set of paths. We consider two kinds of vehicles in the transportation system: GVs and EVs. The GV traffic flow of a path k𝒦grsk\in\mathcal{K}^{rs}_{g} is fkgrsf_{kg}^{rs} and the given total GV traffic flow from rr to ss is qgrs=k𝒦grsfkgrsq^{rs}_{g}=\sum_{k\in\mathcal{K}^{rs}_{g}}f_{kg}^{rs}. Similarly, for EV traffic flow, qers=k𝒦ersfkersq^{rs}_{e}=\sum_{k\in\mathcal{K}^{rs}_{e}}f_{ke}^{rs}. To characterize the relationship between fkgrs,fkers,k,(rs)f_{kg}^{rs},f_{ke}^{rs},\forall k,\forall(rs) and xax_{a}, we introduce the indicator variable δakgrs\delta_{akg}^{rs} (δakers\delta_{ake}^{rs}) for GVs (EVs). δakgrs=1\delta_{akg}^{rs}=1 (δakers=1\delta_{ake}^{rs}=1) if road a𝒯Aa\in\mathcal{T}_{A} is part of the path k𝒦grsk\in\mathcal{K}^{rs}_{g} (k𝒦ersk\in\mathcal{K}^{rs}_{e}); otherwise, δakgrs=0\delta_{akg}^{rs}=0 (δakers=0\delta_{ake}^{rs}=0). Therefore,

xa=rsk𝒦grsδakgrsfkgrsxag+rsk𝒦ersδakersfkersxae,a𝒯A\displaystyle x_{a}=~{}\underbrace{\sum_{rs}\sum_{k\in\mathcal{K}^{rs}_{g}}\delta_{akg}^{rs}f_{kg}^{rs}}_{x_{ag}}+\underbrace{\sum_{rs}\sum_{k\in\mathcal{K}^{rs}_{e}}\delta_{ake}^{rs}f_{ke}^{rs}}_{x_{ae}},~{}\forall a\in\mathcal{T}_{A} (5)

where rs\sum_{rs} is used to abbreviate rs\sum_{r}\sum_{s}. The travel time tat_{a} on a link a𝒯Aa\in\mathcal{T}_{A} depends on its aggregate traffic flow xax_{a}.

There are two types of links: the regular link without a CS aTARa\in T^{R}_{A} and the charging link with a CS. When an EV travels on the charging link, it can choose to get charged at the CS or bypass the CS. To facilitate the modeling and analysis, the original network is modified by adding a bypass link in parallel to the charging link, as shown in Fig. 2. The charging link is denoted by aTACa\in T^{C}_{A} while the bypass link by aTABa\in T^{B}_{A}. 𝒯A=TARTACTAB\mathcal{T}_{A}=T_{A}^{R}\cup T_{A}^{C}\cup T_{A}^{B}.

Refer to caption
Figure 2: Illustration of three types of links.

For the regular link aTARa\in T^{R}_{A}, we adopt the Bureau of Public Roads (BPR) function (6) to describe the travel time, which increases with the traffic flow [36].

ta(xa)=ta0[1+0.15(xaha)4]\displaystyle t_{a}(x_{a})=t_{a}^{0}[1+0.15(\frac{x_{a}}{h_{a}})^{4}] (6)

where ta0t^{0}_{a} and hah_{a} are the free travel time and the capacity of link aa. For a charging link (aTACa\in T_{A}^{C}), the time spent on it is

ta(xa)=ta,μc+ta,wc(xahac)3,xahac\displaystyle t_{a}(x_{a})=t^{c}_{a,\mu}+t^{c}_{a,w}(\frac{x_{a}}{h_{a}^{c}})^{3},~{}x_{a}\leq h_{a}^{c} (7)

where ta,μc,ta,wc,hact^{c}_{a,\mu},t^{c}_{a,w},h^{c}_{a} denote the average service time, the maximum waiting time, and the maximum allowable EV flow of the CS cc on link aa. The travel time on a bypass link aTABa\in T_{A}^{B} is so short that is assumed to be zero, i.e., ta(xa)=0,aTABt_{a}(x_{a})=0,~{}\forall a\in T_{A}^{B}.

For a GV owner, its travel cost ckgrsc^{rs}_{kg} on path kKgrsk\in K_{g}^{rs} between OD pair rsrs is only influenced by the travel time:

ckgrs=a𝒯Aωta(xa)δakgrs\displaystyle c_{kg}^{rs}=\sum\nolimits_{a\in\mathcal{T}_{A}}\omega t_{a}(x_{a})\delta_{akg}^{rs} (8)

where ω\omega is the monetary cost of travel time.

For an EV owner, when deciding its route, it cares about two factors: the travel time and the charging price. Denote the charging price of the charging link aa with CS cc by γac\gamma^{c}_{a}, and we have γac=λi\gamma^{c}_{a}=\lambda_{i} if CS cC(i)c\in C(i). The EV travel cost of a path k𝒦ersk\in\mathcal{K}^{rs}_{e} is

ckers=a𝒯Aωta(xa)δakers+aTACγacEbδakers\displaystyle c_{ke}^{rs}=\sum\nolimits_{a\in\mathcal{T}_{A}}\omega t_{a}(x_{a})\delta_{ake}^{rs}+\sum\nolimits_{a\in T_{A}^{C}}\gamma^{c}_{a}E_{b}\delta_{ake}^{rs} (9)

where EbE_{b} represents an EV’s charging demand, which is a constant, e.g., 20kWh.

Given the total traffic flows qrsq_{rs} of all OD pairs rsrs, each driver will choose the route that can minimize its own travel cost. Meanwhile, the decisions of all drivers will affect the aggregate traffic flow xa,a𝒯Ax_{a},\forall a\in\mathcal{T}_{A} and thus the travel time ta(xa)t_{a}(x_{a}). An equilibrium is reached when no driver can reduce its travel cost by changing its route unilaterally.

Definition 2.

(Wardrop User Equilibrium [37]) A flow ff^{*} is called a Wardrop user equilibrium if and only if for each OD pair, all paths used by GVs (EVs) have the same travel cost that is no greater than the cost of any unused paths, i.e.

0fkgrs(ckgrsugrs)0,k𝒦grs,rs\displaystyle 0\leq f_{kg}^{rs*}\perp(c_{kg}^{rs*}-u^{rs*}_{g})\geq 0,\forall k\in\mathcal{K}^{rs}_{g},\forall rs (10)
0fkers(ckersuers)0,k𝒦ers,rs\displaystyle 0\leq f_{ke}^{rs*}\perp(c_{ke}^{rs*}-u^{rs*}_{e})\geq 0,\forall k\in\mathcal{K}^{rs}_{e},\forall rs (11)

Take (10) as an example. For any used path k𝒦grsk\in\mathcal{K}^{rs}_{g}, we have fkgrs>0f_{kg}^{rs*}>0 and that ckgrsc_{kg}^{rs*} equals ugrsu^{rs*}_{g}. For any unused path, we have fkgrs=0f_{kg}^{rs*}=0 and that the travel cost ckgrsc_{kg}^{rs*} is larger than or equal to ugrsu^{rs*}_{g}. The value of ugrsu^{rs*}_{g} represents the minimum travel cost that is the same across all used paths from rr to ss. As one driver’s driving behavior may influence other drivers’ travel time and travel cost, all drivers constitute a Nash game. The game consists of the following elements:

  1. 1)

    The set of players, including EV owners 𝒮e={1,2,,Ie}\mathcal{S}_{e}=\{1,2,\ldots,I_{e}\} and GV owners 𝒮g={1,2,,Ig}\mathcal{S}_{g}=\{1,2,\ldots,I_{g}\}.

  2. 2)

    Strategy sets: for EV owner i𝒮ei\in\mathcal{S}_{e} driving from rr to ss, it is 𝒴e={fkers,k𝒦ers|k𝒦ersfkers=qers}\mathcal{Y}_{e}=\{f_{ke}^{rs},\forall k\in\mathcal{K}_{e}^{rs}|\sum_{k\in\mathcal{K}_{e}^{rs}}f_{ke}^{rs}=q_{e}^{rs}\}; and for GV owner i𝒮gi\in\mathcal{S}_{g} driving from rr to ss, it is 𝒴g={fkgrs,k𝒦grs|k𝒦grsfkgrs=qgrs}\mathcal{Y}_{g}=\{f_{kg}^{rs},\forall k\in\mathcal{K}_{g}^{rs}|\sum_{k\in\mathcal{K}_{g}^{rs}}f_{kg}^{rs}=q_{g}^{rs}\}.

  3. 3)

    Payoff functions: for EV owners i𝒮ei\in\mathcal{S}_{e} from rr to ss, it is Γe(xa(fkers,e,k,rs;fkgrs,g,k,rs),a)\Gamma_{e}(x_{a}(f_{ke}^{rs},\forall e,k,rs;f_{kg}^{rs},\forall g,k,rs),\forall a) given by (9); for GV gg from rr to ss, it is Γg(xa(fkers,e,k,rs;fkgrs,g,k,rs),a)\Gamma_{g}(x_{a}(f_{ke}^{rs},\forall e,k,rs;f_{kg}^{rs},\forall g,k,rs),\forall a) given by (8).

To be concise, denote by 𝒢2={(𝒮e,𝒮g),(𝒴e,𝒴g),(Γe,Γg)}\mathcal{G}_{2}=\{(\mathcal{S}_{e},\mathcal{S}_{g}),(\mathcal{Y}_{e},\mathcal{Y}_{g}),(\Gamma_{e},\Gamma_{g})\} the strategic form of this Nash game.

II-C Hierarchical Game of Coupled Systems

In Sections II-A and II-B, we introduced the generalized Nash game in the power system and the Nash game in the transportation system, respectively. Externally, the power and transportation systems couple in two ways:

1) The charging demand in the transportation system is part of the electric load in the power system

DiT=cC(i)xaEb,ais the link where CSclocates\displaystyle D_{i}^{T}=\sum\nolimits_{c\in C(i)}x_{a}E_{b},~{}a~{}\mbox{is the link where CS}~{}c~{}\mbox{locates} (12)

2) The electricity price γac\gamma^{c}_{a} on each CS cc equals the sharing price λi\lambda_{i} at node iNi\in\mathcal{E}_{N} if cC(i)c\in C(i). Since each prosumer node can choose to sell energy in the sharing market or serve the transportation system, to prevent arbitrage, the prices for both options should be equal.

Refer to caption
Figure 3: Hierarchical game of transportation and power systems.

The interactions inside and between the two systems are shown in Fig. 3, which is a hierarchical game. To be specific, in the power system, there is a generalized Nash game among all prosumers participating in the energy sharing market. In the transportation system, all drivers strategically choose their route and play a Nash game. Moreover, the traffic flow in the transportation system will influence the demand in the power system, and the electricity price in the power system will impact the cost of EVs in the transportation system. Therefore, there is a generalized Nash game between two systems. The game consists of the following elements:

  1. 1)

    Players: the power system as a whole, denoted by SpsS_{ps} and the transportation system as a whole, denoted by StsS_{ts}.

  2. 2)

    Strategy sets: for the power system, it is 𝒵ps(DiT,i)={λi,i|λ\mathcal{Z}_{ps}(D_{i}^{T},\forall i)=\{\lambda_{i},\forall i~{}|~{}\lambda is the energy sharing price at the equilibrium (1given DiT,i}D_{i}^{T},\forall i\}; for the transportation system, it is 𝒵ts(λ)={DiT,i|DiT=c𝒞ixaEb,xa\mathcal{Z}_{ts}(\lambda)=\{D_{i}^{T},\forall i~{}|~{}D_{i}^{T}=\sum_{c\in\mathcal{C}_{i}}x_{a}E_{b},~{}x_{a} is given by the Wardrop User Equilibrium with λ\lambda.

  3. 3)

    Payoff functions: for power system, it is the sum of (3a) for all ii at the energy sharing equilibrium (1) given DiT,iD_{i}^{T},\forall i, denoted by Γps(DiT,i)\Gamma_{ps}(D_{i}^{T},\forall i); for transportation system, it is the total travel cost of all EVs and GVs at the Wardrop User Equilibrium given λ\lambda, denoted by Γts\Gamma_{ts}.

To be concise, denote the game above by 𝒢3={(Sps,Sts),(𝒵ps,𝒵ts),(Γps,Γts)}\mathcal{G}_{3}=\{(S_{ps},S_{ts}),(\mathcal{Z}_{ps},\mathcal{Z}_{ts}),(\Gamma_{ps},\Gamma_{ts})\}.

III Solution Methodology

According to the analysis above, there is a hierarchical game between the coupled power and transportation systems. To the best of our knowledge, there is no existing method to analyze the equilibrium of such a hierarchical game due to its high complexity. To tackle this problem, in this section, we first provide two equivalent optimization models for computing the equilibrium of each system, with theoretical proofs. Then we turn the external generalized Nash game between the two systems into a MILP based on optimality conditions and linearization techniques, to solve it efficiently.

III-A Optimization Models For Computing the Equilibrium

We first provide two optimization models for computing the equilibrium inside the power and transportation systems, respectively, as stated in Propositions 1 and 2.

Proposition 1.

The generalized Nash equilibrium (b,d,λ)(b^{*},d^{*},\lambda^{*}) of the energy sharing game (1) and (3) can be obtained by

mindi,iN\displaystyle\mathop{\min}_{d_{i},\forall i\in\mathcal{E}_{N}}~{} iNUi(di)\displaystyle\sum\limits_{i\in\mathcal{E}_{N}}-U_{i}(d_{i}) (13a)
s.t. pi+qi=di+dif+DiT,iN:ξi\displaystyle p_{i}+q_{i}=d_{i}+d_{i}^{f}+D_{i}^{T},i\in\mathcal{E}_{N}~{}:~{}\xi_{i} (13b)
D¯idiD¯i,iN:ψi,d±\displaystyle\underline{D}_{i}\leq d_{i}\leq\overline{D}_{i},\forall i\in\mathcal{E}_{N}~{}:~{}\psi_{i,d}^{\pm} (13c)
qc\displaystyle q\in\mathcal{F}_{c} (13d)

where di,iNd_{i}^{*},\forall i\in\mathcal{E}_{N} is unique with λi=ξi\lambda_{i}^{*}=\xi^{*}_{i}.

Proposition 2.

The traffic flow ff^{*} under Wardrop User Equilibrium can be obtained by

minxa,fkgrs,fkers\displaystyle\mathop{\min}_{x_{a},f_{kg}^{rs},f_{ke}^{rs}}~{} a𝒯A0xaωta(θ)𝑑θ+aTACγacEbxa\displaystyle\sum_{a\in\mathcal{T}_{A}}\int_{0}^{x_{a}}\omega t_{a}(\theta)d\theta+\sum_{a\in T^{C}_{A}}\gamma^{c}_{a}E_{b}x_{a} (14a)
s.t. xa=rsk𝒦grsfkgrsδakgrs+rsk𝒦ersfkersδakers,a\displaystyle x_{a}=\sum_{rs}\sum_{k\in\mathcal{K}_{g}^{rs}}f_{kg}^{rs}\delta_{akg}^{rs}+\sum_{rs}\sum_{k\in\mathcal{K}_{e}^{rs}}f_{ke}^{rs}\delta_{ake}^{rs},\forall a (14b)
fkgrs0,k𝒦grs,rs\displaystyle f_{kg}^{rs}\geq 0,\forall k\in\mathcal{K}^{rs}_{g},\forall rs (14c)
fkers0,k𝒦ers,rs\displaystyle f_{ke}^{rs}\geq 0,\forall k\in\mathcal{K}^{rs}_{e},\forall rs (14d)
k𝒦grsfkgrs=qgrs,rs:ugrs\displaystyle\sum\nolimits_{k\in\mathcal{K}^{rs}_{g}}f_{kg}^{rs}=q^{rs}_{g},\forall rs~{}:~{}u_{g}^{rs} (14e)
k𝒦ersfkers=qers,rs:uers\displaystyle\sum\nolimits_{k\in\mathcal{K}^{rs}_{e}}f_{ke}^{rs}=q^{rs}_{e},\forall rs~{}:~{}u_{e}^{rs} (14f)

where xa,a𝒯Ax_{a}^{*},\forall a\in\mathcal{T}_{A} is unique, and minimum travel cost ugrsu^{rs*}_{g}, uersu^{rs*}_{e} equal the optimal dual variables of (14e), (14f), respectively.

The proofs of Propositions 1 and 2 are in Appendices A and B, respectively. They facilitate our further analysis. It is worth noting that the property given by Proposition 1 is not trivial. In fact, at most of the time, the equilibrium of a generalized Nash game is not socially optimal; moreover, there is no guarantee on its existence and uniqueness [33]. Even in a linear and convex setting, it is challenging to analyze a generalized Nash game due to the variability and interdependency of strategy sets, i.e., each player’s strategy set depends on other players’ strategies. In Proposition 1, we prove that a unique energy sharing equilibrium exists and happens to be the optimal solution of the centralized problem (13). This shows the effectiveness of the proposed energy sharing mechanism and facilitates further analysis of the market equilibrium.

III-B Transformation and Linearization

Two equivalent optimization models (13) and (14) are derived for computing the equilibrium in the power and transportation systems, respectively. As we can see from Fig. 3, there is a Nash game between the two systems since the electricity price affects the travel cost in the transportation system and the traffic flow affects the demand in the power distribution system. In the following, we convert the optimization problems (13)-(14) into a set of mixed-integer linear constraints by optimality conditions and linearizations, based on which we can obtain the hierarchical game equilibrium of the coupled power and transportation systems.

Regarding the energy sharing problem (13), though the second-order cone constraint (2d) is convex, its nonlinearity still presents a challenge for efficient computation. To address this, polyhedral approximation is applied to turn (2d) into a set of linear constraints. Further, we replace the energy sharing problem with its primal-dual optimality condition, which is different from the traditional method that is based on the KKT condition. In contrast, the transportation problem (14) is replaced by its KKT condition. This is because the energy sharing problem comprises mainly of inequality constraints, for which the KKT condition would result in numerous complementary slackness constraints and require a lot of binary variables to turn it into a solvable mixed-integer linear program (MILP). The primal-dual optimality condition can avoid the high computational burden since it requires no binary variable. For the transportation problem with few inequality constraints, we still replace it with its KKT condition.

III-B1 Primal-dual Optimality Condition of Problem (13)

The polyhedral approximation technique in [38] is employed to approximate the nonlinear constraint (2d) with linear constraints. First, constraint (2d) is rewritten as

(2Pni)2+(2Qni)2+(nivn)2ni+vn,(n,i)L,\sqrt{(2P_{ni})^{2}+(2Q_{ni})^{2}+(\ell_{ni}-v_{n})^{2}}\leq\ell_{ni}+v_{n},\forall(n,i)\in\mathcal{E}_{L}, (15)

which is further equivalently split into two second-order cones

(2Pni)2+(2Qni)2Wni,(n,i)L,\displaystyle\sqrt{(2P_{ni})^{2}+(2Q_{ni})^{2}}\leq W_{ni},\forall(n,i)\in\mathcal{E}_{L}, (16a)
Wni2+(nivn)2ni+vn,(n,i)L.\displaystyle\sqrt{W_{ni}^{2}+(\ell_{ni}-v_{n})^{2}}\leq\ell_{ni}+v_{n},\forall(n,i)\in\mathcal{E}_{L}. (16b)

Then, each constraint in the form of x12+x22x3\sqrt{x_{1}^{2}+x_{2}^{2}}\leq x_{3} is approximated by a series of linear equalities and inequalities.

{ξ0|x1|η0|x2|,{ξZx3ηZtan(π2Z+1)ξZ\displaystyle\left\{\begin{aligned} &\xi^{0}\geq|x_{1}|\\ &\eta^{0}\geq|x_{2}|\end{aligned}\right.,~{}~{}\left\{\begin{aligned} &\xi^{Z}\leq x_{3}\\ &\eta^{Z}\leq\tan(\frac{\pi}{2^{Z+1}})\xi^{Z}\end{aligned}\right.
{ξz=cos(π2z+1)ξz1+sin(π2z+1)ηz1ηz|sin(π2z+1)ξz1+cos(π2z+1)ηz1|,z=1,,Z\displaystyle\left\{\begin{aligned} &\xi^{z}=\cos(\frac{\pi}{2^{z+1}})\xi^{z-1}+\sin(\frac{\pi}{2^{z+1}})\eta^{z-1}\\ &\eta^{z}\geq\left|-\sin(\frac{\pi}{2^{z+1}})\xi^{z-1}+\cos(\frac{\pi}{2^{z+1}})\eta^{z-1}\right|\end{aligned},~{}z=1,...,Z\right. (17)

where ξz,ηz,z=0,1,2,,Z,\xi^{z},\eta^{z},\forall z=0,1,2,...,Z, are auxiliary variables. The approximation error of the polyhedral approximation can be quantified by

(2Pni)2+(2Qni)2+(nivn)2[1+ϵ(K)](ni+vn),\sqrt{(2P_{ni})^{2}+(2Q_{ni})^{2}+(\ell_{ni}-v_{n})^{2}}\leq[1+\epsilon(K)](\ell_{ni}+v_{n}), (18)

where

ϵ(K)=1cos2π2K+11.\epsilon(K)=\frac{1}{\cos^{2}{\frac{\pi}{2^{K+1}}}}-1. (19)

The approximation error can be adjusted by parameter ZZ. A larger value of ZZ leads to a smaller error of approximation at the cost of more auxiliary variables and a heavier computational burden. Finally, we use (17) to replace the nonlinear constraint (2d). The convex objective function Ui(di),i-U_{i}(d_{i}),\forall i can also be linearized via a convex combination approach [39]. Then, we get a LP-based energy sharing problem.

So far, the energy sharing game problem (13) can be cast as a compact form

minycmTyv,s.t.A1yv=DTS:λv,A2yvB2:μv\displaystyle\mathop{\min}_{y}~{}c_{m}^{T}y_{v},~{}\mbox{s.t.}~{}A_{1}y_{v}=D_{TS}~{}:\lambda_{v},~{}A_{2}y_{v}\geq B_{2}~{}:\mu_{v} (20)

where vector yvy_{v} includes physical variables such as qiq_{i}, QiQ_{i}, PniP_{ni}, QniQ_{ni}, viv_{i}, ni\ell_{ni}, did_{i} and auxiliary variables ξz,ηz\xi^{z},\eta^{z}, and the matrices cmc_{m}, A1A_{1}, A2A_{2}, DTSD_{TS} and B2B_{2} are constant coefficients. Vector DTSD_{TS} collects the transportation power demand DiTD_{i}^{T} of all prosumers. λv\lambda_{v} is the dual variable associated with A1yv=DTSA_{1}y_{v}=D_{TS} and its j-th entry is the sharing price of prosumer jj. All other equality and inequality constraints are included in A2yvB2A_{2}y_{v}\geq B_{2} with a dual variable vector μv\mu_{v}. Then, we can obtain the primal-dual condition

A1yv=DTS,A2yvB2,\displaystyle A_{1}y_{v}=D_{TS},~{}A_{2}y_{v}\geq B_{2}, (21a)
A1Tλv+A2Tμv=cm,μv0,\displaystyle A_{1}^{T}\lambda_{v}+A_{2}^{T}\mu_{v}=c_{m},~{}\mu_{v}\geq 0, (21b)
cmTyv=λvTDTS+μvTB2.\displaystyle c_{m}^{T}y_{v}=\lambda_{v}^{T}D_{TS}+\mu_{v}^{T}B_{2}. (21c)

The primal and dual constraints are represented by equations (21a) and (21b), respectively. Due to the strong duality that always holds for LP, we have (21c), i.e., the optimal objective values of the primal and dual problems are equal.

III-B2 KKT Condition of Problem (14)

The KKT condition is

(5),(8),(9),(10),(11)\displaystyle\eqref{eq:x-f},\eqref{eq:cost-gv},\eqref{eq:cost-ev},\eqref{eq:wardop-con-gv},\eqref{eq:wardop-con-ev} (22)

For the above KKT condition (22), nonlinearity lies in the complementary slackness condition and the travel time ta(xa)t_{a}(x_{a}). The complementary slackness condition in the form of 0xy00\leq x\perp y\geq 0 can be linearized using the Big-M method.

III-B3 Linearization of the Bilinear Term and Travel Time

When combing the conditions (21) and (22), the presence of the bilinear product term λvTDTS\lambda_{v}^{T}D_{TS} on the right-hand side of (21c), where DTSD_{TS} is a linear expression of xax_{a}, makes the problem nonlinear again. Such a term is approximated and convexified by McCormick envelope [40]. The traditional version approximates the bilinear term by a set of linear functions over the domain between the lower and upper bounds of the variables. However, this may lead to a large approximation error when the domain is large. To address this issue, we adopt the piecewise McCormick envelope to tighten the error bounds. It partitions the variable domain into disjoint grids and obtains tighter linear bounds on each grid, thus improving the accuracy of approximation by engaging more auxiliary variables. The bilinear term is replaced by a new variable σ\sigma. Let λvmin\lambda^{min}_{v} and λvmax\lambda^{max}_{v} represent the lower and upper bounds of variable λv\lambda_{v}. |S||S| is the partition number and ss is partition index. Binary variable ys=1y_{s}=1 means λv,s\lambda_{v,s} belong to this disjunction; otherwise, ys=0y_{s}=0. DTSD_{TS} is also partitioned as DTS,s,sSD_{TS,s},\forall s\in S.

σs=1|S|(DTSminλv,s+λv,sminDTS,sDTSminλv,sminys),sS\displaystyle\sigma\geq\sum\nolimits_{s=1}^{|S|}(D_{TS}^{min}\lambda_{v,s}+\lambda_{v,s}^{min}D_{TS,s}-D_{TS}^{min}\lambda_{v,s}^{min}y_{s}),\forall s\in S (23a)
σs=1|S|(DTSmaxλv,s+λv,smaxDTS,sDTSmaxλv,smaxys),sS\displaystyle\sigma\geq\sum\nolimits_{s=1}^{|S|}(D_{TS}^{max}\lambda_{v,s}+\lambda_{v,s}^{max}D_{TS,s}-D_{TS}^{max}\lambda_{v,s}^{max}y_{s}),\forall s\in S (23b)
σs=1|S|(DTSmaxλv,s+λv,sminDTS,sDTSmaxλv,sminys),sS\displaystyle\sigma\leq\sum\nolimits_{s=1}^{|S|}(D_{TS}^{max}\lambda_{v,s}+\lambda_{v,s}^{min}D_{TS,s}-D_{TS}^{max}\lambda_{v,s}^{min}y_{s}),\forall s\in S (23c)
σs=1|S|(DTSminλv,s+λv,smaxDTS,sDTSminλv,smaxys),sS\displaystyle\sigma\leq\sum\nolimits_{s=1}^{|S|}(D_{TS}^{min}\lambda_{v,s}+\lambda_{v,s}^{max}D_{TS,s}-D_{TS}^{min}\lambda_{v,s}^{max}y_{s}),\forall s\in S (23d)
λv=s=1|S|λv,s,DTS=s=1|S|DTS,s,s=1|S|ys=1,sS\displaystyle\lambda_{v}=\sum\nolimits_{s=1}^{|S|}\lambda_{v,s},~{}D_{TS}=\sum\nolimits_{s=1}^{|S|}D_{TS,s},~{}\sum\nolimits_{s=1}^{|S|}y_{s}=1,\forall s\in S (23e)
λv,smin=λvmin+(λvmaxλvmin)(s1)/|S|,sS\displaystyle\lambda_{v,s}^{min}=\lambda_{v}^{min}+(\lambda_{v}^{max}-\lambda_{v}^{min})(s-1)/|S|,\forall s\in S (23f)
λv,smax=λvmin+(λvmaxλvmin)s/|S|,sS\displaystyle\lambda_{v,s}^{max}=\lambda_{v}^{min}+(\lambda_{v}^{max}-\lambda_{v}^{min})s/|S|,\forall s\in S (23g)
λv,sminysλv,sλv,smaxys,sS\displaystyle\lambda_{v,s}^{min}y_{s}\leq\lambda_{v,s}\leq\lambda_{v,s}^{max}y_{s},\forall s\in S (23h)
DTS,sminysDTS,sDTS,smaxys,sS\displaystyle D_{TS,s}^{min}y_{s}\leq D_{TS,s}\leq D_{TS,s}^{max}y_{s},\forall s\in S (23i)
ys{0,1},sS\displaystyle y_{s}\in\{0,1\},\forall s\in S (23j)

After above transformation, the only nonlinear terms exist in travel time ta(xa)t_{a}(x_{a}), i.e., (6) and (7). In this paper, we perform piecewise linear approximation by using SOS2 variables [41], which is a vector of variables with at most two adjacent elements being able to take nonzero values. The specific processes are omitted for brevity. The potential error grows when the true nonlinear function deviates significantly from the applied linear segments. Generally, the approximation errors can be mitigated by increasing the number of linear segments and/or using adaptive segment placement. After the above transformation based on optimality conditions and the linearization techniques, the equilibrium of the hierarchical game in Fig. 3 can be calculated by solving a MILP.

III-C Discussions on Practical Issues

In the following, We further discuss some practical issues regarding the proposed model and method below:

III-C1 Performance guarantee and real-time issue

We build a game model to characterize the interaction between the power and transportation systems. To compute the equilibrium of the hierarchical game, linearization techniques and optimality conditions are applied to convert the game into a MILP, which is then solved by Gurobi. It is worth noting that “real-time” in this paper is a concept compared to the traditional “day-ahead” scheduling problem in the power system which covers 24 hours. The time interval of “real-time” in this paper refers to 1 hour, i.e., we study the problem with a single time period. This setting is widely adopted in references such as [42] and [32]. In future work, we may take into account the temporal evolution of EV flows by using a multi-period power system model and a dynamic traffic assignment model.

III-C2 Joint ride and energy sharing

Energy sharing occurs among prosumers of the power system, such as charging stations with renewable generation. Ride sharing occurs among vehicles in the transportation system. Generally, ride sharing can reduce the traffic flow and congestion, leading to lower travel time and costs. Meanwhile, the decreased EV traffic flow will reduce the charging demand and further affect the energy sharing strategies of prosumers as well as the (locational) electricity prices. In contrast, the electricity prices may affect the distribution of EV charging demands, and thus the traffic flows and the ride sharing patterns. Therefore, it is promising to take into account joint energy sharing and ride sharing in the future work.

III-C3 Utility function design

The utility function represents the level of satisfaction of the user as a function of its total power consumption. According to reference [43], the utility function Ui(di)U_{i}(d_{i}) of prosumer ii should satisfy the following properties:

Property 1: Utility functions are nondecreasing. This implies that the marginal utility is nonnegative:

Uidi0.\frac{\partial U_{i}}{\partial d_{i}}\geq 0. (24)

Property 2: The marginal utility is a nonincreasing function of consumption, which implies the utility function is concave, or (when twice differentiable):

2Uidi20.\frac{\partial^{2}U_{i}}{\partial d_{i}^{2}}\leq 0. (25)

Property 3: When the consumption di=0d_{i}=0,

Ui(0)=0.U_{i}(0)=0. (26)

A common simple example of Ui(di)U_{i}(d_{i}) satisfying the conditions above is just a linear function [44], which is used in this paper.

III-C4 Energy sharing equilibrium seeking

The energy sharing equilibrium between prosumers and the market operator can be reached via a bidding algorithm in a distributed iterative manner. It includes two steps: operator update and prosumer update. In the step of operator update, given the energy-sharing bids sent by prosumers, the market operator solves the problem (1) to minimize the variation of the sharing prices across prosumers and clears the market. In the step of prosumer update, each prosumer decides on its shared energy bid to minimize its net cost by solving the problem (3) using the up-to-date sharing price determined by the market operator. The above procedures are repeated until convergence, which is illustrated in Algorithm 1 as follows. The effectiveness of the algorithm is also verified in the simulation of Section IV-C.

Algorithm 1 Energy Sharing Equilibrium Seeking Algorithm
1:  Input the parameters of prosumer iNi\in\mathcal{E}_{N}
2:  Set iteration index k=1k=1, convergence tolerances δ>0\delta>0, sharing price λik>0\lambda_{i}^{k}>0.
3:  repeat
3:     
4:     for each prosumer iNi\in\mathcal{E}_{N} do
5:        solve the problem (3) to obtain the bid bikb_{i}^{k} and scheduled demand dikd_{i}^{k}.
6:     end for
6:     
7:     Market operator solves the problem (1) to obtain the sharing prices λi\lambda_{i}.
8:     kk+1k\leftarrow k+1
9:  until bk+1bkδ\|b^{k+1}-b^{k}\|\leq\delta.

IV Case Studies

Numerical experiments are carried out to validate the proposed method and propositions. All simulations are implemented in MATLAB, solved by Gurobi, and run on a laptop with an Intel Core i7 1.80 GHz CPU and 16 GB RAM.

IV-A System Setup

A modified IEEE 33-bus system is adopted as the power network as shown in Fig. 4. We first consider the case with four prosumers located at buses 10, 18, 23, and 30, respectively. Each prosumer possesses renewable generation (p1/p2/p3/p4p_{1}/p_{2}/p_{3}/p_{4}=3/1/4/2MW), fixed load (d1/d2/d3/d4d_{1}/d_{2}/d_{3}/d_{4}=0.1/0.2/0.15/0.1MW), adjustable load, and powers one or multiple charging stations (CSs). The upper and lower limits of voltage magnitudes for each bus are 1.06 p.u. and 0.94 p.u., respectively. Fig. 5 (left) shows the transportation network (TN) with 12 nodes and 20 links. The parameters of each link can be found in [40]. The OD pairs and trip rates are listed in TABLE II. The base value of traffic flow is 100 vehicles/hour and we assume that EVs account for 5% of the trip rate of each OD pair. As discussed in Section II-B, bypass links are added to facilitate the analysis. As a result, it is expanded to a 28-node and 44-link network, as shown in Fig. 5 (right). Based on the expanded transportation network, we then build its node-link incidence matrix and enumerate the paths for GVs and EVs between OD pair (r,s)(r,s) using the method in [32]. Regarding the coupling between power and transportation networks, we assume CS1 and CS2 are powered by prosumer 1, CS3 and CS4 by prosumer 2, CS5 and CS6 by prosumer 3, and CS7 and CS8 by prosumer 4. Each EV’s charging demand is assumed to be Eb=20E_{b}=20kWh and charging time is ta,μc=20t^{c}_{a,\mu}=20min. The monetary cost of travel time is ω=10\omega=10$/hr.

Refer to caption
Figure 4: Modified IEEE 33-bus test system with 4 prosumers.
Refer to caption
Figure 5: Left: Original transportation network with 12 nodes and 20 links. Right: Expanded transportation network with 28 nodes and 44 links.
TABLE II: OD pairs and their trip rates (in p.u., 1p.u.=100 vehicles/h).
OD pair qrsq_{rs} OD pair qrsq_{rs} OD pair qrsq_{rs} OD pair qrsq_{rs}
T1-T6 5 T1-T10 15 T1-T12 10 T1-T11 5
T3-T6 5 T3-T10 15 T3-T12 15 T3-T11 5
T4-T9 10 T4-T10 10 T4-T12 5

IV-B Equilibrium Results

The equilibrium of the external generalized Nash game between the power and transportation systems is characterized by the sharing/charging price λi\lambda_{i}^{*} and traffic flow xax_{a}^{*}. Moreover, they are the results of the two internal (generalized) Nash equilibria. At the equilibrium, we compute the difference between the left-hand side and the right-hand side of (15) under Z=6Z=6. The errors associated with all lines fall within the range of 0.85×103-0.85\times 10^{-3} to 2.18×1032.18\times 10^{-3}, indicating that the proposed polyhedral approximation can achieve desirable accuracy. The computation takes 120 seconds.

We first discuss the energy sharing equilibrium in the power network. At the equilibrium point, the power distribution within each prosumer is shown in Fig. 6. All sharing quantity qi<0,iq_{i}<0,\forall i, indicating that the four prosumers 1-4 are all sellers in the energy market. The sum of |q1||q_{1}| to |q4||q_{4}| corresponds to the injected power into the power network for serving the loads located at other buses and compensating for the power loss in the AC distribution network. The energy sharing price of each prosumer is λ1=0.4336\lambda_{1}=0.4336$/kWh, λ2=0.4402\lambda_{2}=0.4402$/kWh, λ3=0.4342\lambda_{3}=0.4342$/kWh, and λ4=0.4400\lambda_{4}=0.4400$/kWh. The prices determined by energy sharing are also used as the EV charging prices in the transportation system. Owing to the difference in charging prices, it can be seen that prosumers with lower prices will serve a larger EV charging load and vice versa. For instance, prosumer 1 serves the largest EV charging load of 4.5975 MWh because it offers the lowest charging price of 0.4336 $/kWh.

Refer to caption
Figure 6: Power distribution within each prosumer.

As for the Nash game in the transportation system, the equilibrium is reached when (14) is solved. Fig. 7 depicts the traffic flows of GVs and EVs across each expanded TN link. As seen, GVs solely utilize regular and bypass links while the traffic flow of EVs is distributed across all three types of links. To demonstrate the reached equilibrium, we take OD pair T1-T12 for example. Under the UE, for OD pair T1-T12, all EVs select the most cost-effective path (E2-E3-E5-E6-E27-E29-E30-E40), with a travel cost of $19.45, including a travel time cost of $10.78 and a charging cost of $8.67. On the contrary, if an EV selects the path (E7-E10-E11-E13-E23-E25-E26-E39), the corresponding travel cost would be $25.57. This cost comprises a travel time cost of $16.9 and a charging cost of $8.67. The two paths have the same charging cost because both CS1 and CS2 are powered by the same prosumer 1, but different travel cost. The second path is more expensive than the first one that is the optimal. However, for GVs traveling between the OD pair T1-T12, there are two optimal paths. The first path is (E2-E4-E5-E6-E27-E29-E30-E40) and the second is (E1-E15-E17-E18-E37-E41-E43-E44). Both of them have the same travel cost of $7.41. Notably, this cost is less than those associated with the non-selected paths, such as (E7-E10-E12-E13-E23-E25-E26-E39) that costs $13.43. These results align with the definition of Wardrop UE.

Refer to caption
Figure 7: GV and EV traffic flow assignment in each expanded TN link.

IV-C Distributed Energy Sharing Mechanism Verification

Proposition 1 states that the GNE of energy sharing game (1) and (3) can be obtained by solving the centralized problem (13). To verify Proposition 1, we first fix the transportation power demand DiTD_{i}^{T} of each prosumer and solely solve the corresponding centralized problem (13). Under this setting, we can obtain prosumers’ elastic loads: d1=0.93d_{1}=0.93MW, d2=0.75d_{2}=0.75MW, d3=3.47d_{3}=3.47MW, d4=3.23d_{4}=3.23MW, and their sharing prices by retrieving the dual variables of (13a) with Gurobi: λ1=0.41\lambda_{1}=0.41$/kWh, λ2=0.42\lambda_{2}=0.42$/kWh, λ3=0.43\lambda_{3}=0.43$/kWh, λ4=0.44\lambda_{4}=0.44$/kWh. The prices are slightly different from those mentioned previously because of the linearization and approximation errors. Then, we let the market operator and prosumers play the generalized Nash game according to the distributed Algorithm 1. The changes in energy sharing prices and elastic demands are illustrated in Fig. 8. As the iteration proceeds, we can see that both the energy sharing prices and prosumers’ strategies of load adjustment amount gradually converge. At GNE, we have d1=0.91d_{1}=0.91MW, d2=0.77d_{2}=0.77MW, d3=3.49d_{3}=3.49MW, d4=3.22d_{4}=3.22MW, and λ1=0.41\lambda_{1}=0.41$/kWh, λ2=0.42\lambda_{2}=0.42$/kWh, λ3=0.43\lambda_{3}=0.43$/kWh, λ4=0.44\lambda_{4}=0.44$/kWh. They are almost the same as the centralized solution. Therefore, Proposition 1 and Algorithm 1 are verified.

Refer to caption
Figure 8: Energy sharing prices and optimal strategies of four prosumers. “P” is the abbreviation of prosumer.

IV-D Performance Comparison

To demonstrate the advantage of the proposed approach, three benchmarks used in the literature are conducted and compared with the proposed method.

  • Benchmark 1 (B1): Best response decomposition method [32]. Iteratively and alternatively, it solves the energy sharing of the power network by fixing the charging demand as given by the traffic, and then fixes the energy-sharing prices to solve the traffic flow assignment. However, this method may not converge.

  • Benchmark 2 (B2): Traditional KKT conditions method. Both energy sharing equilibrium and the Wardrop user equilibrium are replaced with their KKT conditions.

  • Benchmark 3 (B3): Partial energy sharing. We assume some prosumers do not participate in energy sharing but operate in a self-sufficiency mode, i.e., qi=0q_{i}=0. Other settings are the same as the proposed method.

  • Proposed method: All prosumers participate in energy sharing and we solve the hierarchical game via the derived MILP without iteration.

For B1, in our test, if we keep the power network constraints (e.g., bus voltage limits and line flow limits) the same as those used in the proposed method, B1 stops after 1 iteration because infeasibility occurs when solving the power system problem. Then, we enlarge the feasible intervals of bus voltages and line flows. However, B1 still fails to converge, and oscillation occurs in the charging power demands DiTD_{i}^{T} and energy-sharing prices λi\lambda_{i}, as shown in Fig. 9. For example, based on the outcomes of DiTD_{i}^{T} at iteration 2 where D1T>D2T>D3T>D4TD_{1}^{T}>D_{2}^{T}>D_{3}^{T}>D_{4}^{T}, iteration 3 first clears the power market with λ1=1.76\lambda_{1}=1.76$/kWh, λ2=4.56\lambda_{2}=4.56$/kWh, λ3\lambda_{3}=0.43$/kWh, λ4\lambda_{4}=0.44$/kWh. The resulting price changes cause the change of EVs’ routing in the transportation system, which gives D3T>D4T>D1T=D2TD_{3}^{T}>D_{4}^{T}>D_{1}^{T}=D_{2}^{T}. As a result, at iteration 4, the sharing prices return to its previous values, leading to oscillation. For B2, the computational complexity becomes a challenge as the KKT conditions of the energy sharing problem produce numerous complementary slackness constraints and require a lot of binary variables to yield a solvable form. It fails to return a result in 1 hour, the target time interval of this studied problem. Our proposed method solves the MILP without iterations and does not have a convergence problem. TABLE III summarizes the utility/cost of power system (PS) and transportation system (TS) under B3 and the proposed method. In B3, prosumer 4 does not participate in energy sharing. From the table, we can find that the proposed method has a better utility (cost) of PS (TS) than B3. It indicates the positive influence of energy sharing on the joint operation of power and transportation system.

Refer to caption
Figure 9: The oscillation of DiTD_{i}^{T} and λi\lambda_{i} under B1.
TABLE III: Cost comparison between different methods (Unit:$).
Utility of PS Cost of TS
iUi(di)\sum_{i}U_{i}(d_{i}) aTA[ωtaxag+(γacEb+ωta)xae]\sum_{a\in T_{A}}[\omega t_{a}x_{ag}+(\gamma^{c}_{a}E_{b}+\omega t_{a})x_{ae}]
B3 3561.86 124743.91
Proposed 3613.77 124619.38

We further compare the λi\lambda_{i} and DiTD_{i}^{T} under B3 and the proposed method because the EVs’ choice of CS is closely related to their offered charging prices. Compared with B3, the sharing price difference between prosumer 3 and 4 under the proposed method is larger. This difference incentivizes some EVs to change their original routes determined by B3, and more EVs select charging stations operated by prosumer 3 that offers a relatively lower price, as shown in Fig. 10. For example, for OD pair T4-T10, the proposed method’s solution allocates all trip rate (0.5p.u.) to pass through E10-E12-E13-E14-E27-E28(prosumer 3)-E30. On the contrary, B3 dispatches a smaller EV trip rate (0.375p.u.) to go through that path and dispatch the remaining EV trip rate (0.125p.u.) to go through path E19-E21-E22-E32-E33(prosumer 4)-E35-E36 because of the close prices of prosumers 3 and 4. This comparison suggests that energy sharing affects the EV traffic flow on the transportation system through pricing.

TABLE IV: Sharing prices of B3 and proposed method (Unit: $/kWh).
Prosumer 1 2 3 4
B3 0.4392 0.4442 0.4431 0.4432
Proposed 0.4336 0.4402 0.4342 0.4400
Refer to caption
Figure 10: Illustration of the traffic flow of OD pair T1-T12 in B3 and the proposed method.

IV-E 8-Prosumer System

The case studies and analyses above have demonstrated the effectiveness of the proposed method. Here, we increase the number of prosumers in the distribution network to 8 (Fig. 4), with each prosumer serving one CS in the transportation system (Fig. 5). Fig. 11 shows the renewable generation and energy sharing amounts of each prosumer. In this energy sharing market, prosumers 1 and 6 become buyers and others are sellers, the roles of which are more diverse than the 4-prosumer system.

Refer to caption
Figure 11: Energy production and sharing amount outcome of 8 prosumers.

The determined sharing prices are illustrated in Fig. 12. As shown, the sharing prices vary from 0.41 to 0.46$/kWh. The lower prices appear in prosumers 1 and 7, which operate charging stations 1 and 7, respectively. Correspondingly, we can see in Fig. 13 that the charging load of charging stations 1 and 7 are the highest. It reflects the impact of the sharing price on the EV routing. In addition, the computation time to solve this 8-prosumer case is 710s under the piecewise McCormick envelop of |S|=3|S|=3, which is higher than the 4-prosumer system but is still acceptable.

Refer to caption
Figure 12: Sharing prices outcome of 8 prosumers.
Refer to caption
Figure 13: Traffic flow distribution of 4-prosumer and 8-prosumer system.

IV-F Impact of Parameters

IV-F1 Partition Number of Piecewise McCormick Envelope

In this paper, the piecewise McCormick envelope technique is used to approximate the bilinear term. To investigate the impact of partition number |S||S| on the accuracy, we change |S||S| from 55 to 2020. We calculate the error between the approximation value σ\sigma in (23) and the actual product of the values DiTD_{i}^{T} and λi\lambda_{i}, as shown in TABLE V. Generally, a larger number of partitions used in the piecewise McCormick envelope generates a more accurate result. When |S|=10|S|=10, the error has fallen within 5%. As |S||S| increases, the solving time increases significantly due to using more binary variables. Therefore, the choice of partition number depends on the trade-off between solution accuracy and computational efficiency.

TABLE V: The approximation error and solving time under different partitions.
Prosumer No. 1 2 3 4
|S||S|=5 error 4% 18.18% 0.83% 18.18%
solver time 80s
|S||S|=8 error 1% 16.14% 16.28% 2.45%
solver time 104s
|S||S|=10 error 1.49% 0.20% 1.33% 0%
solver time 120s
|S||S|=20 error 0.38% 2.91% 2.33% 2.08%
solver time 1644s

IV-F2 EV Charging Demand

Fig. 14 shows the impact of EV charging demand per car EbE_{b} on the utility/cost of PS and TS. As the EV charging demand increases, the utility of PS decreases. This is because more electricity is required by the charging load, so less flexible load can be supplied and their utility decreases. In addition, as the EV charging demand increases, the cost of TS is not significantly affected. This indicates that EV charging demand has a major impact on the power system, while its influence on the transportation system is relatively small.

Refer to caption
Figure 14: Impact of EbE_{b} on the utility/cost of PS and TS.

IV-F3 Time Monetary Value

Fig. 15 depicts the impact of the time monetary value ω\omega on the utility/cost of PS and TS. As ω\omega increases, the cost of TS significantly rises from 1.02×1051.02\times 10^{5} to 1.36×1051.36\times 10^{5}, representing an increase of 33%. In contrast, the utility of PS varies within a relatively narrow range of 3564$ and 3614$. This implies that the parameter ω\omega mainly affects the transportation system and has little effect on power system.

Refer to caption
Figure 15: Utility/cost of PS and TS under different ω\omega.

IV-F4 EV Owner Preference

In the transportation model, we assume EV users treat the travel cost and charging cost equally, denoted by Case0. In fact, different EV owners may have different preferences. To investigate this issue, we divide EV users into two groups: Group 1 comprises EV owners traveling between OD pairs T1-T6 and T1-T10, and Group 2 comprises others. We assume that the EV owners in Group 2 place more emphasis on the charging cost than the travel cost. By that, we multiply a coefficient 0.8 to the travel cost term, as denoted by Case1. The simulation results show that the EV routing and charging choices differ between Case0 and Case1. For example, in OD pair T1-T12, all EVs in Case0 select the path (E2-E3(CS1)-E5-E6-E27-E29-E30-E40), but in Case1 only 26% of the EVs select this path while 74% select the path (E1-E15-E16(CS3)-E18-E37-E41-E43-E44). This comparison demonstrates that the EV owner’s preference can affect the routing and charging choices.

IV-G Test Case with IEEE 123-bus System

To further validate the effectiveness of the proposed model and algorithm, the 33-bus power system is replaced with a larger one, a modified IEEE 123-bus system [45]. As shown in Fig. 16, there are 16 prosumers (P1-P16) located at different buses. Specifically, prosumers P1-P8, which are located at buses 14, 43, 73, 102, 26, 61, 97, and 115, respectively, operate charging stations CS1-CS8. The partition number is set to 5 in the piecewise McCormick envelope. Due to the larger scale of the coupled system, it takes a longer time, 464 seconds, to compute the game equilibrium of the coupled power-transportation system. At the equilibrium, the settled energy sharing prices and shared energy quantities of prosumers are shown in Fig. 17. We can find that P2, P5, and P7 are buyers while the other prosumers are sellers.

Meanwhile, the traffic flow and optimal EV routing and charging decisions are determined in the transportation system. Taking OD pair T1-T12 as an example, all EVs select the most cost-effective path (E1-E15-E16(CS3)-E18-E37-E41-E43-E44), and charge at CS3 in road E16. The incurred cost is 17.97$. If EVs select other paths, such as E7-E10-E11-E13-E23-E25-E26-E39, a higher cost of 25.19$ will be incurred. Overall, the results validate that the proposed model and algorithm are applicable to the larger IEEE 123-bus system.

Refer to caption
Figure 16: Modified IEEE 123-bus test system with 16 prosumers marked in green.
Refer to caption
Figure 17: Sharing prices λi\lambda_{i} and shared energy quantities qiq_{i} of prosumers P1-P8.

IV-H Computation Time

For the 4-prosumer case in the IEEE 33-bus power grid, the computing time is 120 seconds, much shorter than the time interval of 1 hour. In the 8-prosumer system case, computing the equilibrium takes 710 seconds. For the 16-prosumer case in the IEEE 123-bus power grid, computing the equilibrium takes 464 seconds. Generally, the computation time grows when the system becomes larger and more complex, while also being affected by the network topology and the load distribution across nodes. Overall, the proposed method is still viable for the real-time (single period: 1 hour) management of the coupled power and transportation system.

V Conclusion

This paper presents a novel hierarchical game model to characterize the complex interaction between transportation and power system. In the power system, we propose an energy sharing mechanism for prosumers, which casts down to a generalized Nash game. In the transportation system, all drivers strategically choose their routes with the goal of minimizing their travel costs, resulting in a Nash game. Externally, the two systems constitute a Nash game. To analyze the equilibrium of this hierarchical game, two equivalent models are provided. Then optimality conditions and linearization techniques are employed to convert the hierarchical game model into a MILP, enabling efficient computation. Case studies demonstrate the effectiveness and benefits of the proposed method. We have the following findings: 1) The EV routing to charging stations is closely related to their offering prices. 2) Prosumers engaging in energy sharing can reduce the operation costs of both systems. 3) The proposed method can greatly reduce the computational time and avoid the non-convergence issue of the traditional best response decomposition method.

Future research may consider the temporal evolution of EV flows and power demands and extend the scheduling of coupled power and transportation systems to a multi-period scenario. Moreover, in addition to energy sharing in the power system, ride sharing in the transportation system will also be considered.

References

  • [1] L. Kong, H. Zhang, W. Li, H. Bai, and N. Dai, “Spatial–temporal scheduling of electric bus fleet in power-transportation coupled network,” IEEE Trans. Transport. Electrific., vol. 9, no. 2, pp. 2969–2982, 2023.
  • [2] J. Hamilton, B. Walton, J. Ringrow, G. Alberts, S. Fullerton-Smith, and E. Day, “Electric vehicles: Setting a course for 2030,” Deloitte Insights, 2020.
  • [3] “2017 distributed wind market report,” Office of Energy Efficiency & Renewable Energy, Tech. Rep., 2017.
  • [4] S. Agnew and P. Dargusch, “Effect of residential solar and storage on centralized electricity supply systems,” Nature Climate Change, vol. 5, no. 4, p. 315, 2015.
  • [5] Y. Parag and B. K. Sovacool, “Electricity market design for the prosumer era,” Nature Energy, vol. 1, no. 4, pp. 1–6, 2016.
  • [6] W. Tushar, T. K. Saha, C. Yuen, D. Smith, and H. V. Poor, “Peer-to-peer trading in electricity networks: An overview,” IEEE Trans. Smart Grid, vol. 11, no. 4, pp. 3185–3200, 2020.
  • [7] C. Lyu, Y. Jia, and Z. Xu, “Fully decentralized peer-to-peer energy sharing framework for smart buildings with local battery system and aggregated electric vehicles,” Appl. Energy, vol. 299, p. 117243, 2021.
  • [8] C. Long, Y. Zhou, and J. Wu, “A game theoretic approach for peer to peer energy trading,” Energy Procedia, vol. 159, pp. 454–459, 2019.
  • [9] L. Han, T. Morstyn, and M. McCulloch, “Incentivizing prosumer coalitions with energy management using cooperative game theory,” IEEE Trans. Power Syst., vol. 34, no. 1, pp. 303–313, 2018.
  • [10] S. Cui, Y.-W. Wang, Y. Shi, and J.-W. Xiao, “Community energy cooperation with the presence of cheating behaviors,” IEEE Trans. Smart Grid, vol. 12, no. 1, pp. 561–573, 2020.
  • [11] N. Liu, X. Yu, C. Wang, and J. Wang, “Energy sharing management for microgrids with PV prosumers: A Stackelberg game approach,” IEEE Trans. Ind. Informat., vol. 13, no. 3, pp. 1088–1098, 2017.
  • [12] N. Liu, X. Yu, C. Wang, C. Li, L. Ma, and J. Lei, “Energy-sharing model with price-based demand response for microgrids of peer-to-peer prosumers,” IEEE Trans. Power Syst., vol. 32, no. 5, pp. 3569–3583, 2017.
  • [13] X. Xu, Y. Xu, M.-H. Wang, J. Li, Z. Xu, S. Chai, and Y. He, “Data-driven game-based pricing for sharing rooftop photovoltaic generation and energy storage in the residential building cluster under uncertainties,” IEEE Trans. Ind. Informat., vol. 17, no. 7, pp. 4480–4491, 2020.
  • [14] Y. Chen, C. Zhao, S. H. Low, and S. Mei, “Approaching prosumer social optimum via energy sharing with proof of convergence,” IEEE Trans. Smart Grid, vol. 12, no. 3, pp. 2484–2495, 2020.
  • [15] H. Le Cadre, P. Jacquot, C. Wan, and C. Alasseur, “Peer-to-peer electricity market analysis: From variational to generalized nash equilibrium,” European J. Operational Research, vol. 282, no. 2, pp. 753–771, 2020.
  • [16] Y. Chen, C. Zhao, S. H. Low, and A. Wierman, “An energy sharing mechanism considering network constraints and market power limitation,” IEEE Trans. Smart Grid, 2023.
  • [17] Y. Yang, Y. Chen, G. Hu, and C. J. Spanos, “Optimal network charge for peer-to-peer energy trading: A grid perspective,” IEEE Trans. Power Syst., vol. 38, no. 3, pp. 2398–2410, 2023.
  • [18] J. Li, C. Zhang, Z. Xu, J. Wang, J. Zhao, and Y.-J. A. Zhang, “Distributed transactive energy trading framework in distribution networks,” IEEE Trans. Power Syst., vol. 33, no. 6, pp. 7215–7227, 2018.
  • [19] H. Kim, J. Lee, S. Bahrami, and V. W. Wong, “Direct energy trading of microgrids in distribution energy market,” IEEE Trans. Power Syst., vol. 35, no. 1, pp. 639–651, 2019.
  • [20] H. Zhang, Z. Hu, and Y. Song, “Power and transport nexus: Routing electric vehicles to promote renewable power integration,” IEEE Trans. Smart Grid, vol. 11, no. 4, pp. 3291–3301, 2020.
  • [21] W. Tang and Y. J. Zhang, “A model predictive control approach for low-complexity electric vehicle charging scheduling: Optimality and scalability,” IEEE Trans. Power Syst., vol. 32, no. 2, pp. 1050–1063, 2016.
  • [22] H. Zhang, S. J. Moura, Z. Hu, W. Qi, and Y. Song, “Joint pev charging network and distributed pv generation planning based on accelerated generalized benders decomposition,” IEEE Trans. Transport. Electrific., vol. 4, no. 3, pp. 789–803, 2018.
  • [23] W. Wei, S. Mei, L. Wu, M. Shahidehpour, and Y. Fang, “Optimal traffic-power flow in urban electrified transportation networks,” IEEE Trans. Smart Grid, vol. 8, no. 1, pp. 84–95, 2017.
  • [24] S. Lv, Z. Wei, G. Sun, S. Chen, and H. Zang, “Optimal power and semi-dynamic traffic flow in urban electrified transportation networks,” IEEE Trans. Smart Grid, vol. 11, no. 3, pp. 1854–1865, 2020.
  • [25] Y. Sun, Z. Chen, Z. Li, W. Tian, and M. Shahidehpour, “Ev charging schedule in coupled constrained networks of transportation and power system,” IEEE Trans. Smart Grid, vol. 10, no. 5, pp. 4706–4716, 2018.
  • [26] W. Wei, L. Wu, J. Wang, and S. Mei, “Expansion planning of urban electrified transportation networks: A mixed-integer convex programming approach,” IEEE Trans. Transport. Electrific., vol. 3, no. 1, pp. 210–224, 2017.
  • [27] X. Wang, M. Shahidehpour, C. Jiang, and Z. Li, “Resilience enhancement strategies for power distribution network coupled with urban transportation system,” IEEE Trans. Smart Grid, vol. 10, no. 4, pp. 4068–4079, 2018.
  • [28] W. Liu, X. Wang, and Y. Xu, “Bilevel planning of wireless charging lanes in coupled transportation and power distribution networks,” IEEE Trans. Transport. Electrific., pp. 1–1, 2023.
  • [29] Q. Yuan, Y. Ye, Y. Tang, X. Liu, and Q. Tian, “Low carbon electric vehicle charging coordination in coupled transportation and power networks,” IEEE Trans. Industry Applications, vol. 59, no. 2, pp. 2162–2172, 2023.
  • [30] K. Li, C. Shao, H. Zhang, and X. Wang, “Strategic pricing of electric vehicle charging service providers in coupled power-transportation networks,” IEEE Trans. Smart Grid, 2022.
  • [31] Y. Ye, H. Wang, T. Cui, X. Yang, S. Yang, and M.-L. Zhang, “Identifying generalizable equilibrium pricing strategies for charging service providers in coupled power and transportation networks,” Advances in Applied Energy, vol. 12, p. 100151, 2023.
  • [32] W. Wei, L. Wu, J. Wang, and S. Mei, “Network equilibrium of coupled transportation and power distribution systems,” IEEE Trans. Smart Grid, vol. 9, no. 6, pp. 6764–6779, 2018.
  • [33] F. Facchinei and C. Kanzow, “Generalized Nash equilibrium problems,” Annals of Operations Research, vol. 175, no. 1, pp. 177–211, 2010.
  • [34] A. Dimeas, S. Drenkard, N. Hatziargyriou, S. Karnouskos, K. Kok, J. Ringelstein, and A. Weidlich, “Smart houses in the smart grid: Developing an interactive network,” IEEE Electrific. Mag., vol. 2, no. 1, pp. 81–93, 2014.
  • [35] Z. Wang, F. Liu, Z. Ma, Y. Chen, M. Jia, W. Wei, and Q. Wu, “Distributed generalized nash equilibrium seeking for energy sharing games in prosumers,” IEEE Trans. Power Syst., vol. 36, no. 5, pp. 3973–3986, 2021.
  • [36] U. S. B. of Public Roads, Traffic assignment manual for application with a large, high speed computer.   US Department of Commerce, Bureau of Public Roads, Office of Planning, Urban Planning Division, 1964.
  • [37] J. G. Wardrop, “Road paper. some theoretical aspects of road traffic research.” Proceedings of the Institution of Civil Engineers, vol. 1, no. 3, pp. 325–362, 1952.
  • [38] A. Ben-Tal and A. Nemirovski, “On polyhedral approximations of the second-order cone,” Mathematics of Operations Research, vol. 26, no. 2, pp. 193–205, 2001.
  • [39] L. Wu, “A tighter piecewise linear approximation of quadratic cost curves for unit commitment problems,” IEEE Trans. Power Syst., vol. 26, no. 4, pp. 2581–2583, 2011.
  • [40] S. Lv, S. Chen, Z. Wei, and H. Zhang, “Power–transportation coordination: Toward a hybrid economic-emission dispatch model,” IEEE Trans. Power Syst., vol. 37, no. 5, pp. 3969–3981, 2022.
  • [41] E. Beale and J. J. Forrest, “Global optimization using special ordered sets,” Mathematical Programming, vol. 10, no. 1, pp. 52–69, 1976.
  • [42] Y. Cui, Z. Hu, and X. Duan, “Optimal pricing of public electric vehicle charging stations considering operations of coupled transportation and power systems,” IEEE Trans. Smart Grid, vol. 12, no. 4, pp. 3278–3288, 2021.
  • [43] P. Samadi, H. Mohsenian-Rad, R. Schober, and V. W. S. Wong, “Advanced demand side management for the future smart grid using mechanism design,” IEEE Trans. Smart Grid, vol. 3, no. 3, pp. 1170–1180, 2012.
  • [44] Y. Chen, S. Mei, F. Zhou, S. H. Low, W. Wei, and F. Liu, “An energy sharing game with generalized demand bidding: Model and properties,” IEEE Trans. Smart Grid, vol. 11, no. 3, pp. 2055–2066, 2019.
  • [45] W. Huang and C. Zhao, “Improved successive branch reduction for stochastic distribution network reconfiguration,” arXiv preprint arXiv:2206.00327, 2022.

Appendix A Proof of Proposition 1

Denote qi=maλi+bi,iNq_{i}=-m_{a}\lambda_{i}+b_{i},\forall i\in\mathcal{E}_{N}. Then problem (1) can be equivalently written as

minqi,i\displaystyle\mathop{\min}_{q_{i},\forall i}~{} iN(qibi)2\displaystyle\sum_{i\in\mathcal{E}_{N}}(q_{i}-b_{i})^{2} (A.1a)
s.t. qc\displaystyle q\in\mathcal{F}_{c} (A.1b)

Suppose (b,d,λ)(b^{*},d^{*},\lambda^{*}) is the GNE of the energy sharing game (1) and (3), then for problem (1) we have

iN(qiqi)(qibi)0,qc\displaystyle\sum\limits_{i\in\mathcal{E}_{N}}(q_{i}-q_{i}^{*})(q_{i}^{*}-b_{i}^{*})\geq 0,\forall q\in\mathcal{F}_{c} (A.2)

Let 𝒟i:={di|D¯idiD¯i}\mathcal{D}_{i}:=\{d_{i}~{}|~{}\underline{D}_{i}\leq d_{i}\leq\overline{D}_{i}\}. For problem (3), first we substitute (3b) into the objective function (3a) to eliminate bib_{i}, then for all iNi\in\mathcal{E}_{N} its optimality condition is

Ui(di)+Ui(di)+(didi)λi0,d𝒟i\displaystyle-U_{i}(d_{i})+U_{i}(d_{i}^{*})+(d_{i}-d_{i}^{*})\lambda_{i}^{*}\geq 0,\forall d\in\mathcal{D}_{i} (A.3)

For problem (13), its Lagrangian function defined on Ω:=iN𝒟i×c×|N|\Omega:=\prod_{i\in\mathcal{E}_{N}}\mathcal{D}_{i}\times\mathcal{F}_{c}\times\mathbb{R}^{|\mathcal{E}_{N}|} is

L(d,q,ξ)=\displaystyle L(d,q,\xi)=~{} iNUi(di)+iNξi(di+dif+DiTpiqi)\displaystyle\sum\limits_{i\in\mathcal{E}_{N}}-U_{i}(d_{i})+\sum\limits_{i\in\mathcal{E}_{N}}\xi_{i}(d_{i}+d_{i}^{f}+D_{i}^{T}-p_{i}-q_{i}) (A.4)

Let (d^,q^,ξ^)(\hat{d},\hat{q},\hat{\xi}) be a saddle point of the Lagrangian function, then (d^,q^,ξ^)Ω(\hat{d},\hat{q},\hat{\xi})\in\Omega and it satisfies (d,q,ξ)Ω\forall(d,q,\xi)\in\Omega:

[Ui(di)+Ui(d^i)+(did^i)ξ^i]\displaystyle\left[-U_{i}(d_{i})+U_{i}(\hat{d}_{i})+(d_{i}-\hat{d}_{i})\hat{\xi}_{i}\right] 0,iN\displaystyle~{}\geq 0,\forall i\in\mathcal{E}_{N} (A.5a)
iN(qiq^i)(ξ^i)\displaystyle-\sum\limits_{i\in\mathcal{E}_{N}}(q_{i}-\hat{q}_{i})(\hat{\xi}_{i}) 0\displaystyle~{}\geq 0 (A.5b)
iN(ξiξ^i)(d^i+dif+DiTpiq^i)\displaystyle\sum\limits_{i\in\mathcal{E}_{N}}(\xi_{i}-\hat{\xi}_{i})(\hat{d}_{i}+d_{i}^{f}+D_{i}^{T}-p_{i}-\hat{q}_{i}) 0\displaystyle~{}\leq 0 (A.5c)

Existence. If problem (13) is feasible, suppose d^\hat{d} is its optimal solution and ξ^\hat{\xi} is the corresponding dual variable. Let d=d^d^{*}=\hat{d}, λ=ξ^\lambda^{*}=\hat{\xi}, qi=d^i+dif+DiTpiq_{i}^{*}=\hat{d}_{i}+d_{i}^{f}+D_{i}^{T}-p_{i} for all iNi\in\mathcal{E}_{N}, and bi=maξ^i+qi,iNb_{i}^{*}=m_{a}\hat{\xi}_{i}+q^{*}_{i},\forall i\in\mathcal{E}_{N}, then it is easy to check that (A.3) and (A.2) are met. Thus, we have constructed a GNE (d,b,λ)(d^{*},b^{*},\lambda^{*}).

Uniqueness. Given a GNE (d,b,λ)(d^{*},b^{*},\lambda^{*}), we have bi=di+dif+DiTpi+maλib_{i}^{*}=d_{i}^{*}+d_{i}^{f}+D_{i}^{T}-p_{i}+m_{a}\lambda_{i}^{*} for all iNi\in\mathcal{E}_{N}. Let d^=d\hat{d}=d^{*}, ξ^=λ\hat{\xi}=\lambda^{*}, and q^=maλ+b\hat{q}=-m_{a}\lambda^{*}+b^{*}, then it is easy to check that (d^,q^,ξ^)(\hat{d},\hat{q},\hat{\xi}) satisfies (A.5), so d^\hat{d} is the optimal solution of (13) and ξ^\hat{\xi} is the corresponding dual optimum. Since the objective function is strictly convex, and the constraint sets 𝒟i,iN\mathcal{D}_{i},\forall i\in\mathcal{E}_{N} and c\mathcal{F}_{c} are all compact convex sets, problem (13) attains a unique solution, so d^\hat{d} is unique and problem (13) is feasible.

Appendix B Proof of Proposition 2

The Lagrangian of the equivalent optimization problem (14) with respect to the equality constraints (14e) and (14f) is

(fkgrs,fkers,ugrs,uers)=ωa𝒯A0xata(θ)𝑑θ+aTACγacEbxa1\displaystyle\mathcal{L}(f_{kg}^{rs},f_{ke}^{rs},u_{g}^{rs},u_{e}^{rs})=\underbrace{\omega\sum_{a\in\mathcal{T}_{A}}\int_{0}^{x_{a}}t_{a}(\theta)d\theta+\sum_{a\in T_{A}^{C}}\gamma_{a}^{c}E_{b}x_{a}}_{\mathcal{L}_{1}}
+rsugrs(qgrsk𝒦grsfkgrs)2+rsuers(qersk𝒦ersfkers)3\displaystyle+\underbrace{\sum_{rs}u^{rs}_{g}\left(q^{rs}_{g}-\sum_{k\in\mathcal{K}_{g}^{rs}}f_{kg}^{rs}\right)}_{\mathcal{L}_{2}}+\underbrace{\sum_{rs}u^{rs}_{e}\left(q^{rs}_{e}-\sum_{k\in\mathcal{K}_{e}^{rs}}f_{ke}^{rs}\right)}_{\mathcal{L}_{3}} (B.1)

Therefore, the KKT condition is

fkgrs0,k𝒦grs,rs\displaystyle f_{kg}^{rs}\geq 0,\forall k\in\mathcal{K}_{g}^{rs},\forall rs (B.2a)
fkgrsfkgrs=0,k𝒦grs,rs\displaystyle f_{kg}^{rs}\frac{\partial\mathcal{L}}{\partial f_{kg}^{rs}}=0,\forall k\in\mathcal{K}_{g}^{rs},\forall rs (B.2b)
fkgrs0,k𝒦grs,rs\displaystyle\frac{\partial\mathcal{L}}{\partial f_{kg}^{rs}}\geq 0,\forall k\in\mathcal{K}_{g}^{rs},\forall rs (B.2c)
k𝒦grsfkgrs=qgrs,rs\displaystyle\sum_{k\in\mathcal{K}_{g}^{rs}}f_{kg}^{rs}=q_{g}^{rs},\forall rs (B.2d)
fkers0,k𝒦ers,rs\displaystyle f_{ke}^{rs}\geq 0,\forall k\in\mathcal{K}_{e}^{rs},\forall rs (B.2e)
fkersfkers=0,k𝒦ers,rs\displaystyle f_{ke}^{rs}\frac{\partial\mathcal{L}}{\partial f_{ke}^{rs}}=0,\forall k\in\mathcal{K}_{e}^{rs},\forall rs (B.2f)
fkers0,k𝒦ers,rs\displaystyle\frac{\partial\mathcal{L}}{\partial f_{ke}^{rs}}\geq 0,\forall k\in\mathcal{K}_{e}^{rs},\forall rs (B.2g)
k𝒦ersfkers=qers,rs\displaystyle\sum_{k\in\mathcal{K}_{e}^{rs}}f_{ke}^{rs}=q_{e}^{rs},\forall rs (B.2h)

The value of fkgrs\frac{\partial\mathcal{L}}{\partial f_{kg}^{rs}} can be calculated as follows:

1fkgrs=\displaystyle\frac{\partial\mathcal{L}_{1}}{\partial f_{kg}^{rs}}=~{} (ωa𝒯A0xata(θ)𝑑θ)xaxafkgrs\displaystyle\frac{\partial\left(\omega\sum_{a\in\mathcal{T}_{A}}\int_{0}^{x_{a}}t_{a}(\theta)d\theta\right)}{\partial x_{a}}\frac{\partial x_{a}}{\partial f_{kg}^{rs}}
=\displaystyle=~{} a𝒯Aωta(xa)δakgrs=ckgrs\displaystyle\sum_{a\in\mathcal{T}_{A}}\omega t_{a}(x_{a})\delta_{akg}^{rs}=c_{kg}^{rs} (B.3)

Moreover,

2fkgrs=\displaystyle\frac{\partial\mathcal{L}_{2}}{\partial f_{kg}^{rs}}=~{} rsugrs(qgrsk𝒦grsfkgrs)fkgrs=ugrs\displaystyle\frac{\partial\sum_{rs}u_{g}^{rs}\left(q_{g}^{rs}-\sum_{k\in\mathcal{K}_{g}^{rs}}f_{kg}^{rs}\right)}{\partial f_{kg}^{rs}}=-u_{g}^{rs} (B.4)

Thus, the KKT conditions (B.2a)-(B.2d) are equivalent to

fkgrs0,k𝒦grs,rs\displaystyle f_{kg}^{rs}\geq 0,\forall k\in\mathcal{K}_{g}^{rs},\forall rs (B.5a)
fkgrs(ckgrsugrs)=0,k𝒦grs,rs\displaystyle f_{kg}^{rs}(c_{kg}^{rs}-u_{g}^{rs})=0,\forall k\in\mathcal{K}_{g}^{rs},\forall rs (B.5b)
ckgrsugrs0,k𝒦grs,rs\displaystyle c_{kg}^{rs}-u_{g}^{rs}\geq 0,\forall k\in\mathcal{K}_{g}^{rs},\forall rs (B.5c)
k𝒦grsfkgrs=qgrs,rs\displaystyle\sum_{k\in\mathcal{K}_{g}^{rs}}f_{kg}^{rs}=q_{g}^{rs},\forall rs (B.5d)

Similarly, the value of fkers\frac{\partial\mathcal{L}}{\partial f_{ke}^{rs}} can be calculated as follows:

1fkers=\displaystyle\frac{\partial\mathcal{L}_{1}}{\partial f_{ke}^{rs}}=~{} (ωa𝒯A0xata(θ)𝑑θ+aTACγaxaEb)xaxafkers\displaystyle\frac{\partial\left(\omega\sum_{a\in\mathcal{T}_{A}}\int_{0}^{x_{a}}t_{a}(\theta)d\theta+\sum_{a\in T_{A}^{C}}\gamma_{a}x_{a}E_{b}\right)}{\partial x_{a}}\frac{\partial x_{a}}{\partial f_{ke}^{rs}}
=\displaystyle=~{} a𝒯Aωta(xa)δakers+aTACγacEbδakers=ckers\displaystyle\sum_{a\in\mathcal{T}_{A}}\omega t_{a}(x_{a})\delta_{ake}^{rs}+\sum_{a\in T_{A}^{C}}\gamma_{a}^{c}E_{b}\delta_{ake}^{rs}=c_{ke}^{rs} (B.6)

where the second equation is due to (5), and the last equation is according to the definition of ckersc_{ke}^{rs}. Moreover,

3fkers=\displaystyle\frac{\partial\mathcal{L}_{3}}{\partial f_{ke}^{rs}}=~{} rsuers(qersk𝒦ersfkers)fkers=uers\displaystyle\frac{\partial\sum_{rs}u_{e}^{rs}\left(q_{e}^{rs}-\sum_{k\in\mathcal{K}_{e}^{rs}}f_{ke}^{rs}\right)}{\partial f_{ke}^{rs}}=-u_{e}^{rs} (B.7)

Thus, the KKT conditions (B.2e)-(B.2h) are equivalent to

fkers0,k𝒦ers,rs\displaystyle f_{ke}^{rs}\geq 0,\forall k\in\mathcal{K}_{e}^{rs},\forall rs (B.8a)
fkers(ckersuers)=0,k𝒦ers,rs\displaystyle f_{ke}^{rs}(c_{ke}^{rs}-u_{e}^{rs})=0,\forall k\in\mathcal{K}_{e}^{rs},\forall rs (B.8b)
ckersuers0,k𝒦ers,rs\displaystyle c_{ke}^{rs}-u_{e}^{rs}\geq 0,\forall k\in\mathcal{K}_{e}^{rs},\forall rs (B.8c)
k𝒦ersfkers=qers,rs.\displaystyle\sum_{k\in\mathcal{K}_{e}^{rs}}f_{ke}^{rs}=q_{e}^{rs},\forall rs. (B.8d)

The (B.5) and (B.8) are exactly the condition for Wardrop User Equilibrium. Furthermore, since dta(xa)/dxa>0dt_{a}(x_{a})/d{x_{a}}>0 and dta(xa)/dxb=0dt_{a}(x_{a})/dx_{b}=0, then 21xa2=ωta(xa)xa>0\frac{\partial^{2}\mathcal{L}_{1}}{\partial x_{a}^{2}}=\frac{\omega\partial t_{a}(x_{a})}{\partial x_{a}}>0, 21xaxb=ωta(xa)xb=0\frac{\partial^{2}\mathcal{L}_{1}}{\partial x_{a}\partial x_{b}}=\frac{\omega\partial t_{a}(x_{a})}{\partial x_{b}}=0. So the Hessian Matrix of 1\mathcal{L}_{1} is a diagonal matrix with the diagonal elements all greater than 0, and is positive definite. The objective function of (14) is strictly convex and its feasible region (14b)-(14f) is also convex. Consequently, problem (14) has an optimal solution, where xa,a𝒯Ax_{a},\forall a\in\mathcal{T}_{A} is unique.