Next Article in Journal
Robust Secondary Controller for Islanded Microgrids with Unexpected Electrical Partitions under Fault Conditions
Previous Article in Journal
Experimental Study of Thermal Performance of Pulsating-Heat-Pipe Heat Exchanger with Asymmetric Structure at Different Filling Rates
Previous Article in Special Issue
Efficient Framework to Manipulate Data Compression and Classification of Power Quality Disturbances for Distributed Power System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Stochastic Optimal Strategies and Management of Electric Vehicles and Microgrids

1
Department of Electrical Engineering, National Central University, Taoyuan 320, Taiwan
2
Research Division 1, Taiwan Institute of Economic Research, Taipei 104, Taiwan
3
Department of Bioenvironmental Systems Engineering, National Taiwan University, Taipei 106, Taiwan
*
Author to whom correspondence should be addressed.
Energies 2024, 17(15), 3726; https://doi.org/10.3390/en17153726
Submission received: 14 June 2024 / Revised: 15 July 2024 / Accepted: 26 July 2024 / Published: 28 July 2024
(This article belongs to the Special Issue Research on Power System Control and Optimization)

Abstract

:
This study combines the Nash–Cournot competition model and the stochastic optimization model to examine the impact of electric vehicle (EV) quantity fluctuations on microgrid operations, aiming to optimize energy usage in a competitive electricity market. Integrating distributed energy resources and bidirectional charging, microgrids offer a novel approach for energy optimization, aiding in renewable energy generation, peak demand management, and emission reduction. Empirical evidence highlights benefits in Taiwan’s electricity market and net-zero emissions target by 2050, with a case study demonstrating enhanced local renewable energy generation due to EVs and microgrid integration. As the number of EVs increases, electricity sales from microgrids decline, but electricity purchases remain stable. The degree of electricity liberalization also influences the supply and demand dynamics of the electricity market. Microgrids selling electricity only to the main grid increases total power consumption by 65.55 million MWh, reducing the market share of the state-owned utility (Taipower). Conversely, allowing retailers to purchase from microgrids increases total consumption by 30.87 million MWh with a slight market share decrease for Taipower. This study contributes to providing an adaptable and flexible general model for future studies to modify and expand based on different scenarios and variables to shape energy and environmental policies.

1. Introduction

The integration of electric vehicles (EVs) and microgrids stands as a pivotal solution to current issues, harnessing local renewable energy resources to generate power while facilitating the charging of EVs [1,2,3,4]. Subsequently, surplus power derived from this process is directed back to the main grid. Distributed energy resource-based microgrids can effectively integrate renewable energy sources, EVs, and energy storage systems to improve the reliability and resilience of the main grid [5]. Notably, EVs also serve a dual purpose. Besides functioning as consumers in the power system, EVs can also act as energy storage units by injecting power back into the microgrid during periods of peak load. This capability helps mitigate power transmission losses and reduce greenhouse gas emissions [1,6,7]. This study endeavors to conduct simulations and measurements to assess the impact of EVs and microgrids in the electricity market, aiming to contribute novel insights to the scientific discourse in this domain.
In 2017, the Taiwanese government passed the Electricity Act Amendment, initiating the liberalization of the electricity market. Unlike the previous situation where the Taiwan Power Company (Taipower) held a monopoly on power generation, transmission, distribution, and retail, the amendment allows the private sector to participate in renewable energy generation and retail markets, while retaining state ownership of the transmission and distribution networks. Further legislative amendments are planned to open up traditional power wheeling and direct supply businesses, aiming to achieve full liberalization of the energy sector [8]. On 22 April 2021, Earth Day, the Taiwanese government declared its goal of achieving net-zero emissions by 2050, and in March 2022, it officially announced the “Taiwan’s Pathway to Net-Zero Emissions in 2050”, outlining the trajectory and action plan towards achieving net-zero emissions by 2050 [9]. With 90% of carbon emissions in Taiwan attributed to power consumption, it is crucial to ensure a stable power supply while achieving net-zero emissions in the energy sector.
In alignment with Taiwan’s 2050 net-zero transition goal, the Ministry of Transportation has introduced key strategic action plans for “Electrification and Decarbonization of Transportation”, aiming to achieve full electrification of bus transportation by 2030 and comprehensive electrification of new passenger cars and scooters by 2040 [10]. EVs represent a promising advancement in transportation technology, utilizing external energy sources to power vehicles equipped with rechargeable batteries for energy storage. This innovative electrical drive system effectively reduces reliance on petroleum combustion, thereby contributing to a reduction in air pollution emissions [11,12]. However, challenges such as high costs and insufficient public or private Electric Vehicle Supply Equipment (EVSE) persist, hindering the widespread adoption of EVs [12,13,14,15]. According to research findings, EVs are not anticipated to precipitate an energy demand boost, but they have the potential to reshape the load curve. A Monte Carlo analysis revealed that a 25 percent EV penetration in a typical residential feeder of 150 households would increase the peak load by around 30 percent. Operating public fast charging stations, which exhibit highly volatile and spiky load profiles, will necessitate additional efforts to maintain system balance. It is noteworthy that a single fast charging station may quickly surpass the peak-load capacity of a standard feeder-circuit transformer. While the investment required for EVSE may be minimal at low EV adoption rates, it will escalate rapidly as the number of EVs increases, eventually stabilizing at higher levels of adoption [16]. Managing the charging/discharging of distributed batteries has become a critical aspect for the successful integration of EVs and hybrid electric vehicles (HEVs) into power grids [16,17,18,19].
On a parallel front, by utilizing energy management technology and integrating energy storage systems, microgrids emerge as a notable solution to revolutionize renewable energy sources’ power generation dynamics [20,21,22,23,24], bolstering local renewable energy generation, mitigating power transmission losses, and curtailing greenhouse gas emissions within the energy sector [25,26,27,28].
The impact of EVs and microgrids on the competitive electricity market in this study is assessed through the application of Nash–Cournot and stochastic optimization models. Initially, the Nash–Cournot model is employed to analyze the interactive behavior of microgrids within the competitive electricity market. The solution to this model involves deriving the Karush–Kuhn–Tucker (KKT) optimality conditions, which are then combined to form a linear complementarity problem (LCP) model. The LCP model incorporates both complementarity and non-negativity conditions, aiming to ensure the optimal solution satisfies these constraints. Specifically, it seeks a real n-tuple vector variable, x, which must satisfy a perpendicular condition, xT(Ax + B) = 0, along with two non-negativity conditions, (Ax + B) ≥ 0 and x ≥ 0. These conditions are represented as follows: [0 ≤ (Ax + B)] ⊥ [x ≥ 0], where A is a real n × n matrix, B is a real n-tuple vector, and the perpendicular relationship is denoted by the operator “⊥”. Furthermore, the LCP model imposes constraints on the multiplication of the ith element of (Ax + B) and the ith element of x equal to zero, as well as ensuring non-negativity for both (Ax + B)i and xi, ∀ i = 1, 2, …, n. This results in n complementarity conditions and 2n non-negativity constraints being combined into n equality equations, forming a system of equations with n variables and n equations. This square system of equations can then be solved.
To solve the LCP, the General Algebraic Modeling System (GAMS) with the PATH solver is utilized, leveraging the GAMS’s capability to handle complex optimization problems. The GAMS serves as an algebraic language proficient in optimizing various problem types, including linear, nonlinear, integer, and complementarity problems [29]. Meanwhile, the PATH solver employs a Newton-based optimization algorithm, iterating towards an optimal solution until convergence is achieved [30].
Secondly, an optimization model is proposed for a multi-energy microgrid, aiming to minimize annual expenses to reach an optimal operation and performance under uncertainty. This mixed-integer linear optimization model determines an optimal mix of energy sources (battery, combined heat and power units, thermal energy storage, gas boiler, and photovoltaic systems), scale, and associated dispatch strategies. The energy management system optimizes total annual expenses while enhancing system resilience, considering hourly electrical and thermal load profiles [31]. Additionally, a stochastic programming model incorporating profit maximization is developed to simulate the behavior of EVs and microgrids [32,33,34,35,36,37]. This model enables the determination of stochastic optimal operating strategies, accounting for uncertain decision-making processes. Stochastic optimization involves multiple stages characterized by uncertainty, with each stage encompassing stochastic events and decision-making procedures. The objective function at each stage represents the expected profit over uncertain scenarios, and the summation of objective values across all stages constitutes the overall objective function. Subject to inequality, equality, and non-negativity constraints, this approach offers a robust framework for analyzing the dynamic interactions between EVs and microgrids within the competitive electricity market.
This study makes a significant contribution by proposing a general model for examining market equilibrium and conducting a stochastic optimization analysis of EVs and microgrids within a competitive electricity market, distinguishing it from related studies. The main aim of this study is to simulate the impact of fluctuations in EV numbers on the optimal stochastic operation decisions of the microgrid and the electricity market under the uncertainty of grid supply and demand with the development of Taiwan’s electricity market liberalization. This includes changes in electricity sales from the microgrids and overall electricity market supply and demand, providing policy and market management recommendations.
The paper is structured as follows: Section 2 introduces and discusses the methods employed, while Section 3 presents and discusses case studies involving EVs and microgrids in the Taiwanese electricity market. Finally, Section 4 presents the conclusions drawn from the study.

2. Methods

This section examines the impact of EVs and microgrids in the competitive electricity market. Initially, a Nash–Cournot model integrated with a stochastic Poisson Process to simulate the entry of EVs into microgrids and assess their impact. This framework enables the simulation of market equilibrium. Subsequently, a stochastic optimization model is formulated to analyze the optimal operation and performance of the microgrid. This comprehensive methodology offers a framework for evaluating the impact and optimal management of EVs and microgrids within the competitive electricity market under uncertain scenarios.
In a non-cooperative game, a Nash equilibrium is a strategy combination where each participant maximizes their expected payoff. It is an effective research method that can model uncertainty factors, environmental changes, and the interactions among economic entities, allowing for the detailed analysis of micro-level economic issues [38]. The Nash–Cournot model used in this study is frequently applied in oligopolistic competitive environments [39]. A stochastic Poisson Process is one of the most widely used counting processes. It is commonly applied in situations where it is necessary to count events that occur at a specific rate but entirely randomly (without a defined structure). By obtaining relevant statistical samples, it can be used to consider the occurrences of certain rare events over very short intervals [40]. Additionally, the linear complementarity problem (LCP) model can be adapted to different regions and situations by using key variables to explain the differences in occurrence rates. The stochastic optimization model is a mathematical programming method suitable for solving uncertainty problems, introducing random variables to explore the distribution of different scenario probabilities, making it more apt for solving real-life issues [41]. To solve the stochastic optimization problem, a number of scenarios can be generated based on real-world conditions to account for uncertainties [42]. This study combines these commonly used international theoretical tools to propose a general model for simulating the short-term electricity market in an oligopolistic competitive environment and rare EV charging events. The aim is to analyze and quantify the impact of EVs and microgrids, finding the optimal solution under market equilibrium. The model is designed to be adaptable and flexible, considering uncertainty factors, changing environmental factors, and interactions between economic entities. In the first stage of the model, the input variables include the demand curve of the electricity market, generator parameters, and microgrid uncertainties to simulate market equilibrium. Next, a stochastic optimization model is used to generate the optimal operation of microgrids under uncertainties, considering generator parameters and EV uncertainties. Figure 1 illustrates the flowchart of the methodology used in this study.
The Nash–Cournot competitive model for the electricity market is constructed within a framework where electricity retailer f generates power, fprf,n,t, purchases electricity from microgrids, fbyf,t,s, and sells it, fsef,t, to users. The microgrids also distribute surplus power, selli,s,t, to other electricity retailers. CTf,n represents the power generation cost for electricity retailer f, while CTMf denotes the electricity selling price from the microgrids to electricity retailer, and BLt signifies the number of hours at time block t. The electricity price is computed based on the inverse demand curve, represented as [PIt − (PIt/QIt) × (∑g fseg,t)]; here, PIt and QIt represent the price intercept and the quantity intercept of the demand curve, respectively, and the revenue is calculated as the product of the price and the total sale volume. Equation (1) delineates the total profit for electricity retailer f, calculated as the difference between total revenue and generation costs ∑n,t [(BLt) × (CTf,n) × (fprf,n,t)], along with the purchase cost from microgrids, ∑t,s [(PROBs) × (CTMf) × (fbyf,t,s)]. This study addresses the uncertainty in renewable energy generation, which in turn affects electricity trading facilitated by microgrids to electricity retailers, with PROBs representing the probability of stochastic scenarios. In this study, each case simulates the optimal solution under a combination of three scenarios, low uncertainty, medium uncertainty, and high uncertainty, each with a corresponding probability. Each scenario corresponds to a probability (PROBs) of 0.3333, 0.3334, and 0.3333, respectively, totaling a probability of 1.
To ensure that power generation remains within the installed capacity FCAPf,n, the generation capacity constraint is delineated in Equation (2). Moreover, the total electricity purchased must not exceed the total power provided by the microgrids, leading to the formulation of the microgrid purchase constraint in Equation (3). Furthermore, Equations (4) and (5) articulate the power balance equation and non-negativity constraints, respectively. The related input data are shown in Table A1 and Table A2 of Appendix A. The KKT optimality conditions are derived to solve the Nash–Cournot model for the profit-maximizing problem described in Equations (1)–(5). Decision variables and dual variables includes fsef,t, fprf,n,t, fbyf,t,s, ρf,n,t, σf,t,s, and θf,t; then, the KKT conditions of the decision and dual variables are shown in Equations (6)–(16). Here, the dual variables, ρf,n,t, σf,t,s, and θf,t represent the generation capacity constraint of generator, the electricity sale constraint from the microgrids to electricity retailer, and the power balance constraint of the electricity retailer, respectively. The integration of these KKT conditions leads to the formulation of an LCP model.
Max           ∑t [(BLt) × (PIt − (PIt/QIt) × (∑g fseg,t)) × (fsef,t)]
−∑n,t [(BLt) × (CTf,n) × (fprf,n,t)]
−∑t,s [(PROBs) × (CTMf) × (fbyf,t,s)]
FCAPf,n + fprf,n,t ≤ 0                 (ρf,n,t)     ∀n, t
−∑i selli,s,t + fbyf,t,s ≤ 0                 (σf,t,s)     ∀t, s
−∑n fprf,n,t − fbyf,t,s + fsef,t = 0                 (θf,t)     ∀t
fsef,t, fprf,n,t, fbyf,t,s ≥ 0                 ∀n, t
For fsef,t ≥ 0, KKT optimality conditions are
[−(BLt) × (PIt − (PIt/QIt) × (fsef,t + ∑g fseg,t)) + θf,t] ≥ 0        ∀f, t
(fsef,t) × [−(BLt) × (PIt − (PIt/QIt) × (fsef,t + ∑g fseg,t)) + θf,t] = 0         ∀f, t
For fprf,n,t ≥ 0, KKT optimality conditions are
[(BLt) × (CTf,n) + ρf,n,tθf,t] ≥ 0                 ∀f, n, t
(fprf,n,t) × [(BLt) × (CTf,n) + ρf,n,tθf,t] = 0                 ∀f, n, t
For fbyf,t,s ≥ 0, KKT optimality conditions are
[(PROBs) × (CTMf) + σf,t,sθf,t] ≥ 0                  ∀f, t, s
(fbyf,t,s) × [(PROBs) × (CTMf) + σf,t,sθf,t] = 0                 ∀f, t, s
For ρf,n,t ≥ 0, KKT optimality conditions are
[FCAPf,nfprf,n,t] ≥ 0                 ∀f, n, t
(ρf,n,t) × [FCAPf,tfprf,n,t] = 0                 ∀f, n, t
For σf,t,s ≥ 0, KKT optimality conditions are
[∑i selli,s,tfbyf,t,s] ≥ 0                 ∀f, t, s
(σf,t,s) × [∑I selli,s,t − fbyf,t,s] = 0                 ∀f, t, s
For θf,t, KKT optimality conditions is
[−∑n fprf,n,tfbyf,t,s + fsef,t] = 0                 ∀f, t
EV entry is simulated using a stochastic Poisson Process, where random occurrences follow a defined average rate within a fixed time frame. This distribution quantifies the likelihood of specific events happening over a given period. The average arrival rate of EVs is denoted as λ car/day. For a given number of EVs, denoted as num, the Poisson probability of num vehicles entering in a day is determined by Equation (17). Consequently, this study employs the Poisson Process to simulate the entry of EVs into microgrids. It is important to note that num! represents the factorial of num, denoted as num! = (num) × (num − 1) × (num − 2) × … × (2) × (1).
Prob(num) = (λnum) × exp(−λ)/(num!)
A two-stage stochastic optimization model is developed to assess the optimal management and impact of microgrids integrated with EVs in competitive electricity markets. The model constructed in this study aims to minimize the annual cost of microgrids. The microgrid setup comprises several items of equipment, such as EVs, fuel cells, gas turbines, photovoltaic systems, generators, and batteries. Among the equipment, the battery serves as an existing device with a capacity of 10 kW. Both the fixed costs and charging/discharging costs of the batteries are disregarded in this study.
In the initial stage of decision-making, investment decisions regarding the capacity of power generation are made. This involves determining the number of fuel cells (fcni), gas turbines (gtni), photovoltaic systems (pvni), and wind power generators (wdni). The model takes into account the uncertainty in electricity demand from EVs and the variability in the power supply from the photovoltaic system and wind power generators. Consequently, this study assumes that the EV model is the Nissan Leaf, with a battery capacity of 24 kWh [43]. A lower depth of discharge (DoD) can mitigate degradation [43]. The DoD is set to 80% for the relevant model parameter settings, resulting in an available battery capacity of 20 kWh in this study. The model also assumes the use of DC chargers for bidirectional charging, treating EVs entering the microgrid as batteries capable of bidirectional charging which regulates microgrid power generation and electricity purchase/sale. This study proposes employing the Poisson Process model to simulate the entry of EVs into microgrids. To simplify the related analysis, the average arrival rate of EVs in the microgrid is set to three scenarios (1–3 EVs). Subsequently, in the second stage of stochastic decision-making, the optimal operation of microgrids with EVs is ascertained under conditions of uncertainty. During periods of power shortage, the microgrid purchases electricity (buyi,s,t), whereas it sells excess power (selli,s,t) during instances of power surplus.
In Equation (18), the total cost of the microgrid is computed, with the objective of minimizing this cost. The equation, Σi [(FCFC × fcni) + (GTFC × gtni) + (PVFC × pvni) + (WDFC × wdni)], Σi,s,t [(FCVC × BLt × fcgi,s,t) + (GTVC × BLt × gtgi,s,t)], and Σi,s,t [(FCRC × fcfi,s,t) + (GTRC × gtfi,s,t)], respectively, accounts for fixed costs, variable operating and maintenance costs, and fuel costs for each generator. Specifically, it includes the fixed costs of fuel cells (FCFC), gas turbines (GTFC), photovoltaic systems (PVFC), and wind power generators (WDFC); the variable costs of fuel cells (FCVC) and gas turbines (GTVC); and the fuel costs of fuel cells (FCRC) and gas turbines (GTRC). Here, fcgi,s,t and gtgi,s,t represent the power generation of fuel cells and the power generation of gas turbines, and fcfi,s,t, and gtfi,s,t, represent the fuel demand of fuel cells and fuel demand of gas turbines, respectively. In this study, we have considered the specific operational lifespans of installed equipment. For instance, the estimated operational lifespan of a PV module is around 30–35 years [44], while EV batteries typically have a warranty period of around 8–10 years [43]. Additionally, photovoltaic systems and batteries experience efficiency degradation over time. Photovoltaic systems degrade at a rate of less than 1% per year [45]. Across all vehicles, on average, EV batteries degrade at a rate of 2.3% per year [46]. Factors such as deeper discharge cycles and the use of fast charging can further accelerate battery aging. [43]. To optimize the investment portfolio and operational performance, the investment costs for the relevant equipment are spread over their operational lifespan as fixed costs.
Additionally, the equation includes the cost of electricity trading between the microgrid and the main grid, represented by [ELEPt × BLt × (buyi,s,tselli,s,t)]. Here, ELEPt represents the electricity selling price of the main grid. Equation (19) defines the energy storage equation for EVs, where the energy storage at the next stage, evsh,i,s,tt+1, is determined by the current stage’s energy storage, evsh,i,s,tt, plus the power inflow, evih,i,s,tt, minus the power outflow, evoh,i,s,tt. Equation (20) represents the battery capacity constraint, where EVCP represents the energy storage capacity of the electric vehicle, while Equations (21) and (22) establish boundary conditions for EVs. Similarly, Equation (23) calculates the storage status of the microgrid batteries, where the energy storage at next storage, btsi,s,t+1, is equal to the current storage, btsi,s,t, plus the power inflow, btii,s,t, minus the power outflow, btoi,s,t. Equation (24) imposes a capacity constraint on microgrid batteries, where BTCP represents energy storage capacity of battery. Furthermore, Equations (25) and (26) set constraints on the power generation capacity of fuel cells and gas turbines, where FCCP and GTCP represent power generation capacity of fuel cells and of gas turbines, respectively. Moreover, in this study, microgrids target electricity sales exclusively to electricity retailers. Therefore, the power flow analysis primarily aims to optimize power flow under transmission capacity constraints. Equation (27) indicates that electricity demand, PODMi,s,t, and the power inflow to the transmission system, pini,s,t, are met by the power generation of fuel cells, gas turbines, photovoltaic systems, wind power generators, batteries, and EV battery inflow/outflow, and the difference between electricity purchase and sale. Transmission capacity constraints are defined in Equations (28) and (29), ensuring that the power transmission (Σi [PTDFik × pini,s,t]) of interface k does not exceed the transmission upper bound (TCUPk) or fall below the lower bound (TCLWk). Equations (30) and (31) compute fuel consumption for fuel cells and gas turbines, denoted as (fcfi,s,t) and (gtfi,s,t), respectively, where FRFC and FRGT represent hydrogen for fuel cell consumption per kWh and natural gas for gas turbine consumption per kWh respectively. Greenhouse gas emissions for fuel cells and gas turbines are estimated in Equations (32) and (33) as (fcei,s,t) and (gtei,s,t), respectively, where ERFC and ERGT represent the carbon dioxide emission rate for fuel cells and for gas turbines, respectively. Integer variable constraints and non-negativity constraints are specified in Equations (34) and (35). The stochastic optimization model aims to minimize the objective function of total cost in Equation (18), subject to the constraints outlined in Equations (19)–(35).
Min  z = Σi [(FCFC × fcni) + (GTFC × gtni) + (PVFC × pvni) + (WDFC × wdni)]
s {PROBs × Σi,s,t [(FCVC × BLt × fcgi,s,t)
+ (FCRC × fcfi,s,t) +(GTVC × BLt × gtgi,s,t) + (GTRC × gtfi,s,t)
+ELEPt × BLt × (buyi,s,tselli,s,t)]}
Subjective to
evsh,i,s,tt + evih,i,s,tt − evoh,i,s,tt = evsh,i,s,tt+1                 ∀ h, i, s, tt
EVCPh,ievsh,i,s,tt ≥ 0                 ∀ h, i, s, tt
evsh,i,s,tt = 0                 ∀h, i, s, tt = 1
evsh,i,s,tt = EVCPh,i                 ∀ h, i, s, tt = TT
btsi,s,t + btii,s,t − btoi,s,t = btsi,s,t+1                 ∀ i, s, t
BTCPi × btnibtsi,s,t ≥ 0                 ∀ i, s, t
FCCPi × fcnifcgi,s,t ≥ 0                 ∀ i, s, t
GTCPi × gtnigtgi,s,t ≥ 0                 ∀ i, s, t
pini,s,t + PODMi,s,t = (∑h evoh,i,s,th evih,i,s,t) + (btoi,s,tbtii,s,t)
+(buyi,s,tselli,s,t) + fcgi,s,t + gtgi,s,t + PVGNi,s,t × pvni + WDGNi,s,t × wdni    ∀ i, s, t
Σi [PTDFik × pini,s,t] ≤ TCUPk                 ∀k, s, t
−Σi [PTDFik × pini,s,t] ≤ TCLWk                 ∀k, s, t
fcfi,s,t − FRFC × BLt × fcgi,s,t = 0                 ∀ i, s, t
gtfi,s,tFRGT × BLt × gtgi,s,t = 0                 ∀ i, s, t
fcei,s,tERFC × BLt × fcgi,s,t = 0                 ∀ i, s, t
gtei,s,tERGT × BLt × gtgi,s,t = 0                 ∀ i, s, t
gtni, fcni, pvni, wdni are integer variables
fcgi,s,t, fcfi,s,t, fcei,s,t, gtgi,s,t, gtfi,s,t, gtei,s,t ≥ 0                 ∀ i, s, t
btsi,s,t, btii,s,t, btoi,s,t, evsi,s,t, evii,s,t, evoi,s,t ≥ 0                 ∀ i, s, t
buyi,s,t, selli,s,t, pini,s,t ≥ 0                             ∀ i, s, t
The LCP model outlined in Equations (6)–(16) is formulated and solved using the GAMS, followed by determining the equilibrium solution using the PATH solver [29]. Additionally, the stochastic optimization of microgrid management described in Equations (18)–(35) is analyzed using the GAMS and the Commercial Planning and Linear Programming Expert (CPLEX) solver. The GAMS code of this study is included in Supplementary Materials. Through these computational processes, the impact of EVs and microgrids can be accurately assessed.

3. Results and Discussion

The following section explores the optimal stochastic operation of microgrids and EVs under demand and generation uncertainties. This study conducts the simulation of three case studies of optimal stochastic microgrid operation with 1–3 EV(s) under demand and generation uncertainties. Table 1, Table 2 and Table 3 provide comparisons across different numbers of EVs plugged into the microgrid. Table 1 illustrates the case of a single EV, indicating total electricity sales of 160.43 kWh, 340.85 kWh, and 521.28 kWh for low, medium, and high uncertain scenarios, respectively. Table 2 and Table 3 depict similar analyses for two and three EVs, with total sales ranging from 140.43 kWh to 501.28 kWh and 120.43 kWh to 481.28 kWh, respectively.
These findings indicate that, while other electricity demands remain constant, there is a decrease in electricity sales from the microgrid to the main grid as the number of EVs increases. However, this decrease does not result in an increase in electricity purchases from the main grid. The introduction of EVs primarily affects the timing and frequency of battery charging and discharging to enhance local energy generation. This study simulated three scenarios—low, medium, and high uncertainty—demonstrating optimal stochastic microgrid 24 h operations with one to three EVs. Detailed data on renewable energy generation, electricity demand, and battery charge/discharge are presented in Table A3, Table A4 and Table A5 of Appendix A. Additionally, charge/discharge curves for 24 h microgrid operations under these scenarios with three EVs are depicted in Figure 2, Figure 3 and Figure 4.
To mitigate the decline in electricity sales, first the upper and lower limits of EV charging numbers that can be supported by the microgrid composition while maintaining a certain level of profitability should be evaluated, and sensitivity analyses conducted to examine the impact of various variables. Secondly, this evaluation can be expanded to include a broader range of EV models and diverse charging behaviors. Furthermore, integrating bi-directional charging infrastructures equipped with 4-Quadrant P-Q control methods can enhance both the power quality and financial returns of the microgrid by delivering active and/or reactive power to provide different electricity commodities to trade in different electricity markets. This could bring technical and financial benefits to the microgrid.
Moreover, to examine the impact of electricity sales from the microgrid to the main grid under varying degrees of electricity market liberalization, this study primarily focuses on simulating the Taiwanese electricity market. Table 4 outlines a scenario where Taipower is the sole entity with contracts to purchase electricity from local microgrids. In contrast, Table 5 examines a scenario in which all electricity retailers are allowed to purchase electricity from microgrids.
The simulations encompass scenarios ranging from 0% to 30% of the electricity import ratio from microgrids to electricity retailers. In Table 4, the results indicate that Taipower sells an additional 22.84 million MWh (equivalent to 185.11 million MWh minus 162.27 million MWh) of electricity when it has contracts for purchasing electricity from microgrids. This outcome stems from Taipower’s contractual obligations to purchase electricity from microgrids. However, despite the increase in total power consumption by 65.55 million MWh (from 223.13 million MWh to 288.68 million MWh), the ratio of Taipower’s sales to the total market sales decreases from 72.72% to 64.12%. Similarly, the ratios of Taipower’s sales to the total market sales decrease by 6.68%, 8.77%, and 11.39% for peak, medium, and base loading, respectively.
Table 5 simulates the scenario where every electricity retailer has the opportunity to purchase electricity from microgrids. With electricity trading enabled, each electricity retailer experiences an increase in electricity sales, resulting in a total power consumption rise of 30.87 million MWh (from 223.13 million MWh to 254.00 million MWh). The change in the ratio of Taipower’s sales to the total market sales is calculated as 3.01% (equal to 72.72% minus 69.71%), attributable to every electricity retailer purchasing electricity from the microgrids. Consequently, this also leads to slight reductions in the ratios of Taipower’s sales to the total market for peak, medium, and base loading, decreasing by 0.96%, 4.44%, and 0.86%, respectively.

4. Conclusions

EVs and microgrids represent advanced, energy-efficient, and environmentally friendly energy solutions. This study makes a substantial contribution by presenting a comprehensive framework for analyzing and quantifying the impact of EVs and microgrids. This study formulates Nash–Cournot competitive models to assess their influence in the electricity markets and establishes a stochastic optimization model to effectively manage these systems. The results illustrate a significant shift in power dynamics and market behaviors as EV penetration increases. Furthermore, it analyzes and explores the differences in and impacts of electricity sales from the microgrid to the main grid under varying degrees of electricity market liberalization in Taiwan, shedding light on the future of energy policies and market dynamics in the region. This study found that, with other electricity demands remaining constant, there is a decrease in electricity sales from the microgrid to the main grid as the number of EVs increases. However, this does not lead to an increase in electricity purchases from the main grid. The introduction of EVs only affects the timing and frequency of battery charging and discharging to enhance local energy generation.
The research limitations in this study involve mainly discussing and simulating case studies related to Taiwan’s electricity market and its regulatory framework. Another limitation is that it examines a scenario analysis of the short-term and uncertain charging demand for EVs, as EVs are still not prevalent in Taiwan. Additionally, in this study, microgrids target electricity sales exclusively to electricity retailers, as mandated by Taiwan’s amended electricity law, which requires electricity transmission and distribution enterprises to handle power dispatch operations. They must ensure the security and stability of the grid and provide necessary ancillary services according to dispatch requirements [8]. Therefore, the analysis of power flow and EV charging control in this study focuses solely on active power, without considering the objective of maintaining power quality. Furthermore, the Nash–Cournot equilibrium analysis method used in this study is primarily applicable to oligopoly markets. However, this study still makes the following contributions. The general model and research framework proposed in this study, based on the Nash–Cournot model, stochastic Poisson Process, and two-stage stochastic programming, endow it with adaptability to various uncertainties, changing environmental factors, and interactions between economic entities [38]. Therefore, it can be extended and applied to evaluate investment and subsidy strategies for EVs and microgrids, influencing energy and environmental policies.
Suggestions for future studies include conducting sensitivity analyses to examine the impact of various variables. To mitigate the decline in electricity sales as the number of EVs increases, future studies could first evaluate the upper and lower limits of EV charging numbers that can be supported by the microgrid composition while maintaining a certain level of profitability. Secondly, expanding the evaluation to include how a larger-scale and diverse EV models could help the microgrid enhance profitability by assessing the impact of and changes in electricity purchasing and sales resulting from different combinations of charging behaviors. Furthermore, despite the initial investment in additional converters for 4-quadrant chargers [47], implementing a bi-directional EV charging infrastructure with 4-quadrant P-Q control and integrating it with the microgrid could enable the delivery of bi-directional active and/or reactive power [48]. Future studies could further evaluate the changes in profitability under the aforementioned scenarios. Future studies could also comprehensively simulate various charging and discharging control strategies for EVs to assess the technical and financial impacts and the benefits on microgrids. This includes participation in fully competitive markets or provision of different electricity commodities, such as ancillary services (e.g., reactive power regulation and frequency regulation) for trading in various electricity markets. Additionally, studies could explore accommodating different market regulations, such as whether electricity retailers are permitted to own major generation equipment.
In addition to analyzing the energy technology and financial benefits, this study also examines how decarbonization trends in renewable energy and EVs, driven by challenges in mitigating climate change, impact the energy and transportation sectors. This study utilizes simulation models to explore how integrating and implementing microgrids and energy management systems can mitigate potential impacts and challenges posed by uncertainties in generation and load profiles, proposing optimization analyses. Building on this foundation, further exploration could include multi-objective and uncertain analyses of renewable energy generation, simulation of greenhouse gas emission policies, and demand-side management incorporating EVs and microgrids.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/en17153726/s1, File S1: The GAMS code of Nash–Cournot equilibrium model; File S2: The GAMS code of two-stage stochastic programming.

Author Contributions

F.-J.L. conceptualized ideas; formulated research goals and aims; reviewed and edited the description of results and conclusions. S.-Y.L. and M.-C.H. developed the main parts of the research work, including method establishment, and conducted simulation scenarios and analyses of the obtained results. M.-C.H. and Y.-H.C. contributed to material support, data curation, and drafted conclusions. All authors have read and agreed to the published version of the manuscript.

Funding

This study received no external funding.

Data Availability Statement

The original contributions presented in the study are included in the article/Supplementary Materials, further inquiries can be directed to the corresponding authors.

Acknowledgments

The authors express their gratitude to the editors and anonymous referees for their thoughtful comments and suggestions. The authors take full responsibility for any opinions expressed and errors made in this work.

Conflicts of Interest

The authors declare no conflicts of interest.

Nomenclature

In this paper, lowercase letters are used to denote indices and unknown decision variables, while uppercase letters represent given coefficients. Below are the definitions and units of the indices, coefficients, and decision variables.
Indices
f, gElectricity retailer, f , g = 1, 2, 3,…, F
hElectric vehicle, h = 1, 2,…, H
iNode of transmission network, i = 1, 2,…, I
kTransmission capacity of interface, k = 1, 2,…, K
nGenerator, n = 1, 2, 3,…, N
sStochastic scenario, s = 1, 2,…, S
tTime period, t = 1, 2,…, T
ttTime period for charging electric vehicle, tt = 1, 2,…, TT
Coefficients
BLtHours of time t
BTCPiEnergy storage capacity of battery in node i (kWh)
CTf,nPower generation cost of generator n of electricity retailer f (NTD/kWh)
CTMfElectricity selling price from the microgrid to electricity retailer f (NTD/kWh)
ELEPtElectricity selling price at time period t from the main grid (NTD/kWh)
ERFCCarbon dioxide emission rate for fuel cell (kg/kWh)
ERGTCarbon dioxide emission rate for gas turbine (kg/kWh)
EVCPh,iEnergy storage capacity of electric vehicle h in node i (kWh)
FCAPf,nInstalled generation capacity of generator n of electricity retailer f (kW)
FCCPiPower generation capacity of fuel cell in node i (kW)
FCFCFixed cost of fuel cell (NTD/kW)
FCRCFuel cost of hydrogen for fuel cell (NTD/m3)
FCVCVariable cost of fuel cell (NTD/kWh)
FRFCHydrogen for fuel cell consumption per kWh (m3/kWh)
FRGTNatural gas for gas turbine consumption per kWh (m3/kWh)
GTCPiPower generation capacity of gas turbine in node i (kW)
GTFCFixed cost of gas turbine (NTD/kW)
GTRCFuel cost of natural gas for gas turbine (NTD/m3)
GTVCVariable cost of gas turbine (NTD/kWh)
PItPrice intercept of demand curve at time period t
PODMi,s,tEnergy demand in node i at time period t for scenario s (kW)
PROBsProbability of scenario s (dimensionless)
PTDFi,kPower transmission distribution factor of node i for transmission interface k (kW)
PVFCFixed cost of photovoltaic system (NTD/kW)
PVGNi,s,tPower generation of solar power in node i at time period t for scenario s (kW)
QItQuantity intercept of demand curve at time period t
TCLWkLower bound of transmission capacity for interface k (kW)
TCUPkUpper bound of transmission capacity for interface k (kW)
WDFCFixed cost of wind power generator (NTD/kW)
WDGNi,s,tPower generation of wind power in node i at time period t for scenario s (kW)
Decision variables
btii,s,tPower inflow of battery in node i at time period t for scenario s (kWh)
btniNumber of batteries installed in node i (dimensionless)
btoi,s,tPower outflow of battery in node i at time period t for scenario s (kWh)
btsi,s,tEnergy stored of battery in node i at time period t for scenario s (kWh)
buyi,s,tElectricity purchase of microgrid in node i at time period t for scenario s (kW)
evih,i,s,tPower inflow of electric vehicle h in node i at time period t for scenario s (kWh)
evsh,i,s,tEnergy stored of electric vehicle h in node i at time period t for scenario s (kWh)
evoh,i,s,tPower outflow of electric vehicle h in node i at time period t for scenario s (kWh)
fbyf,t,sElectricity sale from the microgrids to electricity retailer f at time period t of scenario s (kWh)
fcei,s,tCO2 emission of fuel cell in node i at time period t for scenario s (kg)
fcfi,s,tFuel demand of fuel cell in node i at time period t for scenario s (m3)
fcgi,s,tPower generation of fuel cell in node i at time period t for scenario s (kW)
fcniNumber of fuel cells installed in node i (dimensionless)
fprf,n,tPower generation of generator n of electricity retailer f at time period t (kW)
fsef,tElectricity sale of electricity retailer f at time period t (kW)
gtei,s,tCO2 emission of gas turbine in node i at time period t for scenario s (kg)
gtfi,s,tFuel demand of gas turbine in node i at time period t for scenario s (m3)
gtgi,s,tPower generation of gas turbine in node i at time period t for scenario s (kW)
gtniNumber of gas turbines installed in node i (dimensionless)
numNumber of electric vehicles
pini,s,tPower inflow of transmission system in node i at time period t for scenario s (kW)
pvniNumber of photovoltaic systems installed in node i (dimensionless)
selli,s,tElectricity sale of microgrid in node i at time period t for scenario s (kW)
wdniNumber of wind power generators installed in node i (dimensionless)
θf,tDual variable of the power balance constraint of electricity retailer f at time period t
λPoisson average arrival rate of electric vehicles
ρf,n,tDual variable of the generation capacity constraint of generator n of electricity retailer f at time period t
σf,t,sDual variable of the electricity sale constraint from the microgrids to electricity retailer f at time period t of scenario s

Appendix A

Table A1. Related parameters regarding electricity demand.
Table A1. Related parameters regarding electricity demand.
tBL(t)PI(t)QI(t)
12260194.2964,764.59
25000173.3457,779.86
31500152.3950,795.14
Table A2. Generator parameters.
Table A2. Generator parameters.
Electricity Retailer (f)Generator (n)CT(f,n)FCAP(f,n)
Taipower187.422000
Taipower227.53600
Taipower380.25300
Taipower480.2452898
Taipower527.535500
Taipower680.25280
Taipower780.251785
Taipower880.251118
Taipower927.532100
Taipower1080.252226
Taipower1127.53600
Taipower1287.42750
Taipower1380.251050
Taipower1480.2587
EverPower180.25900
KuoKuang180.25480
HsinTao180.25600
StarEnergy180.25490
MaiLao127.531800
ChiaHui180.25670
SunBa180.25980
HoPing127.531300
Table A3. Optimal stochastic microgrid operation with a single EV under low-, medium-, and high- uncertainty scenarios.
Table A3. Optimal stochastic microgrid operation with a single EV under low-, medium-, and high- uncertainty scenarios.
SourceScenarioTime (hour)
123456789101112131415161718192021222324
Photovoltaic1 1020304040402010
2 2040608080804020
3 3060901201201206030
Wind power
generator 1
1937.5393645103.597.5105909.75 25.53622.590112.590817299 9
2187578729020719521018019.5 5172451802251801621441818 18
327112.5117108135310.5292.531527029.25 76.510867.5270337.52702432162727 27
Wind power
generator 2
10.51.521.52.53.54.555.50.5 1.521.2556.2554.540.50.5 0.5
2134357910111 342.51012.5109811 1
31.54.564.57.510.513.51516.51.5 4.563.751518.751513.5121.51.5 1.5
Battery storage1 1010
2 10
3
Battery
inflow
1 10
2 10
3
Battery outflow1 10
2
3 10
Electricity sale1 160.4
2 340.9
3 521.3
Electricity purchase1 17.55
2 35.1
3 52.65
Energy
demand
18.411.78.77.15.55.47.529.699.2121.5119.1119.2117.6113.6109.5127.196.830.617.116.816.716.014.714.9
216.723.417.514.111.110.815.059.1198.4243.1238.2238.5235.2227.3219.1254.2193.661.234.133.533.432.029.329.7
325.135.126.221.216.616.122.488.7297.5364.6357.2357.7352.7340.9328.6381.2290.391.751.250.350.048.044.044.6
Table A4. Optimal stochastic microgrid operation with two EVs under low-, medium-, and high- uncertainty scenarios.
Table A4. Optimal stochastic microgrid operation with two EVs under low-, medium-, and high- uncertainty scenarios.
SourceScenarioTime (hour)
123456789101112131415161718192021222324
Photovoltaic1 1020304040402010
2 2040608080804020
3 3060901201201206030
Wind power
generator 1
1937.5393645103.597.5105909.75 25.53622.590112.590817299 9
2187578729020719521018019.5 5172451802251801621441818 18
327112.5117108135310.5292.531527029.25 76.510867.5270337.52702432162727 27
Wind power
generator 2
10.51.521.52.53.54.555.50.5 1.521.2556.2554.540.50.5 0.5
2134357910111 342.51012.5109811 1
31.54.564.57.510.513.51516.51.5 4.563.751518.751513.5121.51.5 1.5
Battery storage1 10101010101010
2 10
3
Battery
inflow
1 10
2 10
3
Battery outflow1 10
2 10
3
Electricity sale1 140.4
2 320.9
3 501.3
Electricity purchase1 17.55
2 35.1
3 52.65
Energy
demand
18.411.78.77.15.55.47.529.699.2121.5119.1119.2117.6113.6109.5127.196.830.617.116.816.716.014.714.9
216.723.417.514.111.110.815.059.1198.4243.1238.2238.5235.2227.3219.1254.2193.661.234.133.533.432.029.329.7
325.135.126.221.216.616.122.488.7297.5364.6357.2357.7352.7340.9328.6381.2290.391.751.250.350.048.044.044.6
Table A5. Optimal stochastic microgrid operation with three EVs under low-, medium-, and high- uncertainty scenarios.
Table A5. Optimal stochastic microgrid operation with three EVs under low-, medium-, and high- uncertainty scenarios.
SourceScenarioTime (hour)
123456789101112131415161718192021222324
Photovoltaic1 1020304040402010
2 2040608080804020
3 3060901201201206030
Wind power
generator 1
1937.5393645103.597.5105909.75 25.53622.590112.590817299 9
2187578729020719521018019.5 5172451802251801621441818 18
327112.5117108135310.5292.531527029.25 76.510867.5270337.52702432162727 27
Wind power
generator 2
10.51.521.52.53.54.555.50.5 1.521.2556.2554.540.50.5 0.5
2134357910111 342.51012.5109811 1
31.54.564.57.510.513.51516.51.5 4.563.751518.751513.5121.51.5 1.5
Battery storage1 10
2 10
3
Battery
inflow
1 10
2 10
3
Battery outflow1 10
2 10
3
Electricity sale1 120.4
2 300.9
3 481.3
Electricity purchase1 17.55
2 35.1
3 52.65
Energy
demand
18.411.78.77.15.55.47.529.699.2121.5119.1119.2117.6113.6109.5127.196.830.617.116.816.716.014.714.9
216.723.417.514.111.110.815.059.1198.4243.1238.2238.5235.2227.3219.1254.2193.661.234.133.533.432.029.329.7
325.135.126.221.216.616.122.488.7297.5364.6357.2357.7352.7340.9328.6381.2290.391.751.250.350.048.044.044.6

References

  1. Kavousi-Fard, A.; Khodaei, A. Efficient integration of plug-in electric vehicles via reconfigurable microgrids. Energy 2016, 111, 653–663. [Google Scholar] [CrossRef]
  2. Lan, T.; Jermsittiparsert, K.; Alrashood, S.; Rezaei, M.; Al-Ghussain, L.; Mohamed, M. An Advanced Machine Learning Based Energy Management of Renewable Microgrids Considering Hybrid Electric Vehicles’ Charging Demand. Energies 2021, 14, 569. [Google Scholar] [CrossRef]
  3. Lee, J.; Park, G. Integrated Coordination of Electric Vehicle Operations and Renewable Energy Generation in a Microgrid. Int. J. Electr. Comput. Eng. 2017, 7, 706–712. [Google Scholar] [CrossRef]
  4. Sayed, K.; Abo-Khalil, A.; Alghamdi, A. Optimum Resilient Operation and Control DC Microgrid Based Electric Vehicles Charging Station Powered by Renewable Energy Sources. Energies 2019, 12, 4240. [Google Scholar] [CrossRef]
  5. Muhtadi, A.; Pandit, D.; Nguyen, N.; Mitra, J. Distributed Energy Resources Based Microgrid: Review of Architecture, Control, and Reliability. IEEE Trans. Ind. Appl. 2021, 57, 2223–2235. [Google Scholar] [CrossRef]
  6. Ahmad, F.; Alam, M.; Asaad, M. Developments in xEVs charging infrastructure and energy management system for smart microgrids including xEVs. Sustain. Cities Soc. 2017, 35, 552–564. [Google Scholar] [CrossRef]
  7. Eid, A.; Ibrahim, M.; Kamel, S. Optimal Planning of Microgrids Including Charging Stations and Renewable Energy Sources. In Proceedings of the 2021 22nd International Middle East Power Systems Conference (MEPCON), Assiut, Egypt, 14–16 December 2021. [Google Scholar] [CrossRef]
  8. The Electricity Act. Available online: https://law.moj.gov.tw/ENG/LawClass/LawAll.aspx?pcode=J0030011 (accessed on 26 May 2024).
  9. Taiwan’s Pathway to Net-Zero Emissions in 2050. Available online: https://www.ndc.gov.tw/en/Content_List.aspx?n=B154724D802DC488 (accessed on 26 May 2024).
  10. Taiwan’s 2050 Net Zero Carbon Emission Path and Strategic Planning—ELECTRIC & CARBON-FREE VEHICLES. Available online: https://service.cca.gov.tw/File/Get/climatetalks/zh-tw/YaujFH6FboOTMDG (accessed on 26 May 2024).
  11. Saber, A.Y.; Venayagamoorthy, G.K. Plug-in vehicles and renewable energy sources for cost and emission reductions. IEEE Trans. Ind. Electron. 2011, 58, 1229–1238. [Google Scholar] [CrossRef]
  12. Ajanovic, A.; Haas, R. Electric vehicles: Solution or new problem? Environ. Dev. Sustain. 2018, 20, 7–22. [Google Scholar] [CrossRef]
  13. Teixeira, A.C.R.; Sodré, J.R. Simulation of the impacts on carbon dioxide emissions from replacement of a conventional Brazilian taxi fleet by electric vehicles. Energy 2016, 115, 1617–1622. [Google Scholar] [CrossRef]
  14. Alanazi, F. Electric Vehicles: Benefits, Challenges, and Potential Solutions for Widespread Adaptation. Appl. Sci. 2023, 13, 6016. [Google Scholar] [CrossRef]
  15. Bryła, P.; Chatterjee, S.; Ciabiada-Bryła, B. Consumer Adoption of Electric Vehicles: A Systematic Literature Review. Energies 2023, 16, 205. [Google Scholar] [CrossRef]
  16. Engel, H.; Hensley, R.; Knupfer, S.; Sahdev, S. The Potential Impact of Electric Vehicles on Global Energy Systems. Available online: https://www.mckinsey.com/industries/automotive-and-assembly/our-insights/the-potential-impact-of-electric-vehicles-on-global-energy-systems (accessed on 26 May 2024).
  17. Faddel, S.; Al-Awami, A.; Mohammed, O.A. Charge Control and Operation of Electric Vehicles in Power Grids: A Review. Energies 2018, 11, 701. [Google Scholar] [CrossRef]
  18. Cai, S.; Jiang, L.; Li, Y.; Zhang, S. Research on Electric Vehicle Charge and Discharge Dispatching Strategy Considering the Demand on Both Sides of Supply and Demand. In Proceedings of the 2020 12th IEEE PES Asia-Pacific Power and Energy Engineering Conference (APPEEC), Nanjing, China, 20–23 September 2020. [Google Scholar] [CrossRef]
  19. Palahalli, H.; Diaz-Londono, C.; Maffezzoni, P.; Gruosso, G. Analyzing the Impact of Coordinated Charging of Electric Vehicles on the Power System. In Proceedings of the 2023 International Conference on Clean Electrical Power (ICCEP), Terrasini, Italy, 27–29 June 2023. [Google Scholar] [CrossRef]
  20. Bayod-Rújula, A.A. Future development of the electricity systems with distributed generation. Energy 2009, 34, 377–383. [Google Scholar] [CrossRef]
  21. El-Hendawi, M.; Gabbar, H.A.; El-Saady, G.; Ibrahim, E.-N.A. Control and EMS of a Grid-Connected Microgrid with Economical Analysis. Energies 2018, 11, 129. [Google Scholar] [CrossRef]
  22. Ferahtia, S.; Djeroui, A.; Rezk, H.; Houari, A.; Zeghlache, S.; Machmoum, M. Optimal control and implementation of energy management strategy for a DC microgrid. Energy 2022, 238, 121777. [Google Scholar] [CrossRef]
  23. Shafiullah, M.; Refat, A.M.; Haque, M.E.; Chowdhury, D.M.H.; Hossain, M.S.; Alharbi, A.G.; Alam, M.S.; Ali, A.; Hossain, S. Review of recent developments in microgrid energy management strategies. Sustainability 2022, 14, 4794. [Google Scholar] [CrossRef]
  24. Jafari, M.; Malekjamshidi, Z.; Zhu, J.; Khooban, M. A Novel Predictive Fuzzy Logic-Based Energy Management System for Grid-Connected and Off-Grid Operation of Residential Smart Microgrids. IEEE J. Emerg. Sel. Top. Power Electron. 2020, 8, 1391–1404. [Google Scholar] [CrossRef]
  25. Kelleher, J.; Ringwood, J.V. A computational tool for evaluating the economics of solar and wind microgeneration of electricity. Energy 2009, 34, 401–409. [Google Scholar] [CrossRef]
  26. Chaurey, A.; Kandpal, T.C. A techno-economic comparison of rural electrification based on solar home systems and PV microgrids. Energy Policy 2010, 38, 3118–3129. [Google Scholar] [CrossRef]
  27. Tooryan, F.; Hassanzadehfard, H.; Collins, E.R.; Jin, S.S.; Ramezani, B. Smart integration of renewable energy resources, electrical, and thermal energy storage in microgrid applications. Energy 2020, 212, 118716. [Google Scholar] [CrossRef]
  28. Nagarajan, K.; Rajagopalan, A.; Angalaeswari, S.; Natrayan, L.; Mammo, W.D. Combined Economic Emission Dispatch of Microgrid with the Incorporation of Renewable Energy Sources Using Improved Mayfly Optimization Algorithm. Comput. Intell. Neurosci. 2022, 2022, 6461690. [Google Scholar] [CrossRef]
  29. Ferris, M.C.; Munson, T.S. GAMS/PATH User Guide, Version 4.3; GAMS Development Corporation: Washington, DC, USA, 2000; p. 3. [Google Scholar]
  30. Rosenthal, R.E. GAMS: A User’s Guide; GAMS Development Corporation: Washington, DC, USA, 2016; pp. 483–484. [Google Scholar]
  31. Masrur, H.; Shafie-khah, M.; Hossain, M.J.; Senjyu, T. Multi-energy Microgrids Incorporating EV Integration: Optimal Design and Resilient Operation. IEEE Trans. Smart Grid 2022, 13, 3508–3518. [Google Scholar] [CrossRef]
  32. Siddiqui, A.S.; Marnay, C. Distributed generation investment by a microgrid under uncertainty. Energy 2008, 33, 1729–1737. [Google Scholar] [CrossRef]
  33. Ghadikolaei, E.R.; Ghafouri, A.; Sedighi, M. Probabilistic Energy Management of DGs and Electric Vehicle Parking Lots in a Smart Grid considering Demand Response. Int. J. Energy Res. 2024, 2024, 5543500. [Google Scholar] [CrossRef]
  34. Azarhooshang, A.; Sedighizadeh, D.; Sedighizadeh, M. Two-stage stochastic operation considering day-ahead and real-time scheduling of microgrids with high renewable energy sources and electric vehicles based on multi-layer energy management system. Electr. Power Syst. Res. 2021, 201, 107527. [Google Scholar] [CrossRef]
  35. Wu, G.L.; Huang, Y.; Yuan, H.; Zheng, W.; Liu, J.Y.; Wang, K.K. Stochastic Optimization of a Microgrid Considering Classification of Electric Vehicles. In Proceedings of the 2023 Panda Forum on Power and Energy (PandaFPE), Chengdu, China, 27–30 April 2023. [Google Scholar] [CrossRef]
  36. Diaz-Cachinero, P.; Muñoz-Hernandez, J.I.; Contreras, J.A. Microgrid Model with EV Demand Uncertainty and Detailed Operation of Storage Systems. IEEE Trans. Ind. Appl. 2022, 58, 2497–2511. [Google Scholar] [CrossRef]
  37. García-Torres, F.; Bordons, C.; Tobajas, J.; Real-Calvo, R.; Santiago, I.; Grieu, S. Stochastic Optimization of Microgrids With Hybrid Energy Storage Systems for Grid Flexibility Services Considering Energy Forecast Uncertainties. IEEE Trans. Power Syst. 2021, 36, 5537–5547. [Google Scholar] [CrossRef]
  38. Xie, S.Y. Nash Equilibrium Theory; Shanghai University of Finance and Economics Press: Shanghai, China, 1999; pp. 106–117. [Google Scholar]
  39. Klein, T. Cournot (Nash) Equilibrium, Global Dictionary of Competition Law, Concurrences, Art. N° 85400. Available online: https://www.concurrences.com/en/dictionary/cournot-nash-equilibrium (accessed on 6 July 2024).
  40. Introduction to Probability, Statistics and Random Processes. Available online: https://www.probabilitycourse.com/chapter11/11_1_1_counting_processes.php (accessed on 6 July 2024).
  41. Kaut, M. Scenario Generation for Stochastic Programming Introduction and Selected Methods; SINTEF Technology and Society: Trondheim, Norway, 2011; pp. 3–10. [Google Scholar]
  42. Rayati, M.; Bozorg, M.; Carpita, M.; Cherkaoui, R. Stochastic Optimization and Markov Chain-Based Scenario Generation for Exploiting the Underlying Flexibilities of An Active Distribution Network. Sustain. Energy Grids Netw. 2023, 34, 100999. [Google Scholar] [CrossRef]
  43. Casals, L.C.; Etxandi-Santolaya, M.; Bibiloni-Mulet, P.A.; Corchero, C.; Trilla, L. Electric Vehicle Battery Health Expected at End of Life in the Upcoming Years Based on UK Data. Batteries 2022, 8, 164. [Google Scholar] [CrossRef]
  44. U.S. Department of Energy Solar Energy Technologies Office (SETO). End-of-Life Management for Solar Photovoltaics. Available online: https://www.energy.gov/eere/solar/end-life-management-solar-photovoltaics (accessed on 6 July 2024).
  45. National Renewable Energy Laboratory. Photovoltaic Lifetime Project. Available online: https://www.nrel.gov/pv/lifetime.html (accessed on 6 July 2024).
  46. Argue, C. How Long Do Electric Car Batteries Last? What 6300 Electric Vehicles Tell Us about EV Battery Life. Available online: https://www.geotab.com/blog/ev-battery-health/ (accessed on 6 July 2024).
  47. Yilmaz, M.; Krein, P.T. Review of the Impact of Vehicle-to-Grid Technologies on Distribution Systems and Utility Interfaces. IEEE Trans. Power Electron. 2013, 28, 5673–5689. [Google Scholar] [CrossRef]
  48. He, T.; Lu, D.D.-C.; Wu, M.; Yang, Q.; Li, T.; Liu, Q. Four-Quadrant Operations of Bidirectional Chargers for Electric Vehicles in Smart Car Parks: G2V, V2G, and V4G. Energies 2021, 14, 181. [Google Scholar] [CrossRef]
Figure 1. Flowchart of methodology.
Figure 1. Flowchart of methodology.
Energies 17 03726 g001
Figure 2. The microgrid 24 h optimal stochastic operations of renewable energy generation, electricity demand, and battery charge/discharge with three EVs under the low-uncertainty scenario.
Figure 2. The microgrid 24 h optimal stochastic operations of renewable energy generation, electricity demand, and battery charge/discharge with three EVs under the low-uncertainty scenario.
Energies 17 03726 g002
Figure 3. The microgrid 24 h optimal stochastic operations of renewable energy generation, electricity demand, and battery charge/discharge with three EVs under the medium-uncertainty scenario.
Figure 3. The microgrid 24 h optimal stochastic operations of renewable energy generation, electricity demand, and battery charge/discharge with three EVs under the medium-uncertainty scenario.
Energies 17 03726 g003
Figure 4. The microgrid 24 h optimal stochastic operations of renewable energy generation, electricity demand, and battery charge/discharge with three EVs under the high-uncertainty scenario.
Figure 4. The microgrid 24 h optimal stochastic operations of renewable energy generation, electricity demand, and battery charge/discharge with three EVs under the high-uncertainty scenario.
Energies 17 03726 g004
Table 1. Optimal stochastic microgrid operation with a single EV under demand and generation uncertainties.
Table 1. Optimal stochastic microgrid operation with a single EV under demand and generation uncertainties.
BatteryElectricity Trading
Uncertainty 1Total Storage (kWh)Total
Input (kWh)
Total Output (kWh)Total
Sale
(kWh)
Total Purchase (kWh)Total Demand (kWh)
Low Uncertainty201010160.4317.551233.88
Medium Uncertainty10100340.8535.102467.75
High Uncertainty0010521.2852.653701.63
1 Total cost of the microgrid is New Taiwan Dollar (NTD) 4,998,283.
Table 2. Optimal stochastic microgrid operation with two EVs under demand and generation uncertainties.
Table 2. Optimal stochastic microgrid operation with two EVs under demand and generation uncertainties.
BatteryElectricity Trading
Uncertainty 1Total Storage (kWh)Total
Input (kWh)
Total Output (kWh)Total
Sale
(kWh)
Total Purchase (kWh)Total Demand (kWh)
Low Uncertainty701010140.4317.551233.88
Medium Uncertainty101010320.8535.102467.75
High Uncertainty000501.2852.653701.63
1 Total cost of the microgrid is NTD 5,020,183.
Table 3. Optimal stochastic microgrid operation with three EVs under demand and generation uncertainties.
Table 3. Optimal stochastic microgrid operation with three EVs under demand and generation uncertainties.
BatteryElectricity Trading
Uncertainty 1Total Storage (kWh)Total
Input (kWh)
Total Output (kWh)Total
Sale
(kWh)
Total Purchase (kWh)Total Demand (kWh)
Low Uncertainty101010120.4317.551233.88
Medium Uncertainty101010300.8535.102467.75
High Uncertainty000481.2852.653701.63
1 Total cost of the microgrid is NTD 5,042,083.
Table 4. Simulation of electricity trading from microgrids to Taipower in the Taiwanese electricity market.
Table 4. Simulation of electricity trading from microgrids to Taipower in the Taiwanese electricity market.
ScenariosElectricity
Retailer
Peak
Load
(MWh)
Medium
Load
(MWh)
Base
Load
(MWh)
Total
Load
(MWh)
0% scenarioTaipower42,110,58093,165,00026,991,671162,267,251
Total58,427,780129,265,00035,436,452223,129,232
5% scenarioTaipower44,216,10997,823,25026,991,671169,031,030
Total60,533,309133,923,25035,436,452229,893,011
10% scenarioTaipower46,321,638102,481,50026,991,671175,794,809
Total62,638,838138,581,50035,436,452236,656,790
15% scenarioTaipower48,427,167103,458,03926,991,671178,876,877
Total64,744,367139,558,03935,436,452239,738,858
20% scenarioTaipower50,532,696103,458,03926,991,671180,982,406
Total75,272,012156,801,04539,935,064272,008,122
30% scenarioTaipower54,655,552103,458,03926,991,671185,105,262
Total83,585,572163,432,97141,665,300288,683,843
Table 5. Simulation of electricity trading from microgrids to all electricity retailers in the Taiwanese electricity market.
Table 5. Simulation of electricity trading from microgrids to all electricity retailers in the Taiwanese electricity market.
ScenariosElectricity
Retailer
Peak
Load
(MWh)
Medium
Load
(MWh)
Base
Load
(MWh)
Total
Load
(MWh)
0% scenarioTaipower42,110,58093,165,00026,991,671162,267,251
Total58,427,780129,265,00035,436,452223,129,232
5% scenarioTaipower44,216,10997,823,25026,962,609169,001,968
Total61,349,169135,728,25035,465,515232,542,934
10% scenarioTaipower46,321,638101,653,03926,933,546174,908,223
Total64,270,558141,363,03935,494,577241,128,174
15% scenarioTaipower48,427,167100,750,53926,904,484176,082,190
Total67,191,947142,265,53935,523,640244,981,126
20% scenarioTaipower50,532,69699,848,03926,875,421177,256,156
Total70,113,336143,168,03935,552,702248,834,077
30% scenarioTaipower52,207,97298,043,03926,817,296177,068,307
Total73,420,332144,973,03935,610,827254,004,199
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Lin, F.-J.; Lu, S.-Y.; Hu, M.-C.; Chen, Y.-H. Stochastic Optimal Strategies and Management of Electric Vehicles and Microgrids. Energies 2024, 17, 3726. https://doi.org/10.3390/en17153726

AMA Style

Lin F-J, Lu S-Y, Hu M-C, Chen Y-H. Stochastic Optimal Strategies and Management of Electric Vehicles and Microgrids. Energies. 2024; 17(15):3726. https://doi.org/10.3390/en17153726

Chicago/Turabian Style

Lin, Faa-Jeng, Su-Ying Lu, Ming-Che Hu, and Yen-Haw Chen. 2024. "Stochastic Optimal Strategies and Management of Electric Vehicles and Microgrids" Energies 17, no. 15: 3726. https://doi.org/10.3390/en17153726

APA Style

Lin, F. -J., Lu, S. -Y., Hu, M. -C., & Chen, Y. -H. (2024). Stochastic Optimal Strategies and Management of Electric Vehicles and Microgrids. Energies, 17(15), 3726. https://doi.org/10.3390/en17153726

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop