Next Article in Journal
Solar Irradiance Ramp Classification Using the IBEDI (Irradiance-Based Extreme Day Identification) Method
Previous Article in Journal
Lifecycle Management of Hydrogen Pipelines: Design, Maintenance, and Rehabilitation Strategies for Canada’s Clean Energy Transition
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Multi-Timescale Battery-Charging Optimization for Electric Heavy-Duty Truck Battery-Swapping Stations, Considering Source–Load–Storage Uncertainty

1
Datang Beijing Tianjin Hebei Energy Marketing Co., Ltd., Beijing 100031, China
2
School of Electrical and Electronic Engineering, North China Electric Power University, Beijing 102206, China
3
China Datang Corporation Science and Technology General Research Institute North China Electric Power Test and Research Institute, Beijing 100043, China
4
Datang Henan Power Generation Co., Ltd., Zhengzhou 450000, China
*
Author to whom correspondence should be addressed.
Energies 2025, 18(2), 241; https://doi.org/10.3390/en18020241
Submission received: 28 November 2024 / Revised: 23 December 2024 / Accepted: 2 January 2025 / Published: 8 January 2025
(This article belongs to the Section D: Energy Storage and Application)

Abstract

:
With the widespread adoption of renewable energy sources like wind power and photovoltaic (PV) power, uncertainties in the renewable energy output and the battery-swapping demand for electric heavy-duty trucks make it challenging for battery-swapping stations to optimize battery-charging management centrally. Uncoordinated large-scale charging behavior can increase operation costs for battery-swapping stations and even affect the stability of the power grid. To mitigate this, this paper proposes a multi-timescale battery-charging optimization for electric heavy-duty truck battery-swapping stations, taking into account the source–load–storage uncertainty. First, a model incorporating uncertainties in renewable energy output, time-of-use pricing, and grid load fluctuations is developed for the battery-swapping station. Second, based on day-ahead and intra-day timescales, the optimization problem for battery-charging strategies at battery-swapping stations is decomposed into day-ahead and intra-day optimization problems. We propose a day-ahead charging strategy optimization algorithm based on intra-day optimization feedback information-gap decision theory (IGDT) and an improved grasshopper algorithm for intra-day charging strategy optimization. The key contributions include the following: (1) the development of a battery-charging model for electric heavy-duty truck battery-swapping stations that accounts for the uncertainty in the power output of energy sources, loads, and storage; (2) the proposal of a day-ahead battery-charging optimization algorithm based on intra-day-optimization feedback information-gap decision theory (IGDT), which allows for dynamic adjustment of risk preferences; (3) the proposal of an intra-day battery-charging optimization algorithm based on an improved grasshopper optimization algorithm, which enhances algorithm convergence speed and stability, avoiding local optima. Finally, simulation comparisons confirm the success of the proposed approach. The simulation results demonstrate that the proposed method reduces charging costs by 4.26% and 6.03% compared with the two baseline algorithms, respectively, and improves grid stability, highlighting its effectiveness for managing battery-swapping stations under uncertainty.

1. Introduction

Due to advantages such as energy savings, environmental protection, and high efficiency, electric heavy-duty trucks, as a type of vehicle utilizing clean energy, have attracted widespread attention [1,2]. However, the large battery capacity of electric heavy-duty trucks results in long recharging times, affecting operational efficiency [3]. Battery swapping offers a solution by providing quick and safe energy replenishment, enhancing truck operation efficiency by replacing depleted batteries with fully charged ones without waiting for recharging. This process significantly improves the operation efficiency of electric heavy-duty trucks [4]. With the widespread deployment of renewable energy sources like wind power and photovoltaic (PV) power, uncertainty in the power output and fluctuating battery-swapping demand complicate optimal battery-charging management at swapping stations [5]. Uncoordinated large-scale charging behaviors can increase operation costs for battery-swapping stations and even affect grid stability. Therefore, optimizing battery-charging scheduling for electric heavy-duty truck battery-swapping stations is crucial.
Currently, numerous scholars have conducted studies on battery-charging behavior modeling for battery-swapping stations. In [6], Wu et al. proposed a constant voltage/current battery-charging model for battery-swapping stations. The optimization objectives were to maximize the swapping frequency and to minimize the swapping costs. As a result, the stations’ efficiency and economic viability were enhanced. In [7], Ko et al. considered real-time electricity prices and swapping demand in battery-swapping stations, aiming to maximize the station’s profit while ensuring battery replacement efficiency. A linear programming approach was employed to determine the optimal battery-charging approach. In [8], Esmaeili et al. introduced a joint optimization model for the management of battery-swapping stations and microgrids, which was solved using the alternating direction method of multipliers. In [9], Jin et al. proposed an optimal operation model for battery-swapping stations that accounts for factors such as user arrival times, grid power constraints, electricity price fluctuations, user waiting times, and battery degradation costs. However, the aforementioned models for battery-charging behavior in battery-swapping stations largely overlook the uncertainties in renewable energy output and fluctuations in the grid load, which creates a gap between the models and the real operation environment of the grid.
Due to the highly random and unpredictable nature of electric heavy-duty truck operations, battery-swapping stations find it difficult to accurately forecast swapping demands. These forecasting deviations have a significant negative impact on battery-charging optimization. Currently, methods to address uncertainty primarily rely on a multi-timescale optimization framework, where day-ahead optimization provides scheduling references for intra-day optimization, while the latter adjusts the day-ahead strategies based on updated forecasting information. Regarding day-ahead optimization, Davari et al. proposed a day-ahead energy management system that considers forecasting deviations [10]. Information-gap decision theory (IGDT) is employed to quantify system uncertainty in the absence of known probability distributions, with both robustness and economic efficiency being ensured. In [11], Gazijahani et al. introduced a two-level decision model that addresses renewable energy output uncertainty using IGDT, resulting in a decision-making model with enhanced robustness. However, these methods treat uncertainty as a negative factor, overlooking its potential beneficial effects on optimizing battery charging in electric heavy-duty truck battery-swapping stations.
In terms of intra-day optimization, the increasing demand for battery swapping in electric heavy-duty trucks has made the battery-charging model for battery-swapping stations increasingly complex. The solution process often encounters challenges such as high-dimensional variables, large variable quantities, and closely interrelated variables. As swarm intelligence algorithms have shown certain advantages in solving complex high-dimensional functions, they have been widely applied to optimize battery-charging strategies for battery-swapping stations. In [12], Jamian et al. used an artificial bee colony algorithm to address the battery-charging optimization problem, taking into account the impact of various DC charging facilities on battery-charging performance. In [13], Fang et al. applied a hybrid particle swarm and genetic algorithm to minimize battery-charging costs. However, uncertainties in the renewable energy output, time-of-use pricing, and fluctuations in the grid load add complexity to the dimensions of the charging strategy optimization. As a result, these works suffer from problems such as low convergence speed and accuracy, making them prone to becoming trapped in local optima.
Despite the progress made in optimizing battery-charging strategies for electric heavy-duty truck battery-swapping stations, several challenges remain. First, existing research has not fully integrated the uncertainties of renewable energy output, time-of-use pricing mechanisms, and grid-load fluctuations. This gap between theoretical models and the actual operation environment of the grid leads to poor accuracy. Second, current day-ahead battery-charging strategies for electric truck charging stations typically rely on robust planning methods, which often treat the uncertainties in energy sources, loads, and storage as negative factors. The potential beneficial effects of these uncertainties are overlooked, leading to overly conservative charging strategies and a degradation in economic performance. Finally, existing optimization methods struggle to achieve intra-day optimization of battery-charging strategies under uncertain conditions. The increased dimensionality caused by uncertainties in the renewable energy output, time-of-use pricing, and grid-load fluctuations lead to slow convergence speeds, low accuracy, and a tendency to get stuck in local optima.
To address the aforementioned challenges, we propose a multi-timescale battery-charging optimization algorithm for electric heavy-duty truck battery-swapping stations, considering source–load–storage uncertainty. First, a model of the electric heavy-duty truck battery-swapping station is constructed, incorporating the uncertainties of energy sources, loads, and storage. Second, based on two optimization timescales, i.e., day-ahead and intra-day, the optimization problem is decomposed into day-ahead and intra-day battery-charging strategies. Next, a day-ahead battery-charging strategy optimization algorithm based on intra-day optimization feedback IGDT is proposed, along with an intra-day battery-charging strategy optimization algorithm based on an improved grasshopper optimization algorithm. Finally, simulations are conducted to evaluate and compare the effectiveness of the proposed algorithm. The key contributions of this paper are outlined below:
(1)
A battery-charging model for electric heavy-duty truck battery-swapping stations is developed, accounting for the variability in the power output of energy sources, loads, and storage. Under the time-of-use pricing mechanism, the model comprehensively accounts for the uncertainties of renewable energy sources like PV and wind power, as well as the impact of grid-load fluctuations on battery-charging behaviors. It simulates the complexity of the battery-swapping station’s operation under real-world conditions, such as seasonal climate changes and variations in user electricity consumption behavior, enhancing the modeling accuracy.
(2)
A day-ahead battery-charging optimization algorithm for electric heavy-duty truck battery-swapping stations based on intra-day optimization feedback IGDT is proposed. The algorithm solves the day-ahead charging strategy optimization problem with the uncertainties in energy sources, loads, and storage, using both robust optimization and opportunistic optimization models. The former treats uncertainty as a negative factor and provides risk-averse strategies, while the latter views uncertainty as a favorable condition, optimizing decisions to pursue higher returns. This allows decision-makers to create different day-ahead scheduling strategies based on varying risk preferences. Additionally, the algorithm adjusts the day-ahead robust and opportunistic factors dynamically based on feedback from intra-day optimization results, allowing the day-ahead optimization risk attitude to be fine-tuned in response to real-time conditions.
(3)
An intra-day battery-charging optimization algorithm based on an improved grasshopper optimization algorithm is proposed. The algorithm uses chaotic sequences for population initialization, ensuring a more even spread of the population across the search space, thus improving the population quality, accelerating the iteration speed, and enhancing stability. Moreover, an elite opposition-based learning strategy is employed to select elite grasshoppers and to assign appropriate influence weights to the individuals, enabling them to collaboratively identify an elite leader. This leader guides the population’s position updates, helping avoid local optima when solving high-dimensional optimization problems.
In conclusion, this study aims to optimize battery-charging management at electric heavy-duty truck battery-swapping stations amidst uncertainties in renewable energy output and battery-swapping demand. We employ a multi-timescale optimization approach, leveraging IGDT for day-ahead strategies and an enhanced grasshopper optimization algorithm for intra-day adjustments. Our results show significant reductions in charging costs and improvements in grid stability, validating the effectiveness of our proposed methods. The key discussions in this paper focus on the practical implications of these findings, offering a robust strategy for managing battery-swapping stations under varying operational conditions.

2. Electric Heavy-Duty Truck Battery-Swapping Station Model, Considering Source–Load–Storage Uncertainty

As illustrated in Figure 1, the electric heavy-duty truck battery-swapping station model developed in this paper includes wind turbines, PVs, energy-storage equipment, loads, and battery charging/discharging equipment. The outputs from wind turbines and PVs are assumed to be fully utilized by the battery-swapping station. The energy-storage systems mitigate the impact of renewable energy fluctuations on the station, while the battery charging/discharging equipment is responsible for recharging the depleted batteries removed during the swapping process [14]. Additionally, the battery-swapping station can interact with the power grid to purchase supplementary electricity as needed [15]. The station replaces the depleted batteries of arriving electric heavy-duty trucks with fully charged ones and manages the charging of the depleted batteries. It also supplies power to internal loads such as lighting, monitoring, control, and cooling equipment. This paper divides the overall optimization period into T time slots, denoted as set T = { 1 , 2 , , t , , T } , with each slot having a consistent length of τ .

2.1. Uncertainty Model of Renewable Energy Output and Load Demand

Renewable energy can supply clean and efficient energy to battery-exchange stations for electric heavy-duty trucks while also providing peak shaving, inertia control, and other services, thus ensuring the safe and stable operation of the distribution network [16]. However, wind power and PV power are significantly affected by weather conditions and environmental factors, leading to their intermittent and variable nature [17]. The load within the battery-swapping station is uncertain due to variations in the climate and the different electricity consumption behaviors of users. During slot t, the actual output values of wind and PV power, as well as the load power supplied by the battery-swapping station, are equal to the predicted values plus the prediction error, which can be expressed as
P ^ pv ( t ) = P ¯ pv ( t ) + ε pv ( t ) P ^ wind ( t ) = P ¯ wind ( t ) + ε wind ( t ) P ^ load ( t ) = P ¯ load ( t ) + ε load ( t ) P ^ pv min ( t ) P ^ pv ( t ) P ^ pv max ( t ) P ^ wind min ( t ) P ^ wind ( t ) P ^ wind max ( t )
where P ^ pv ( t ) and P ^ wind ( t ) represent the actual output of PV and wind power during slot t . P ¯ pv ( t ) and P ¯ wind ( t ) represent the predicted output values for PV power, wind power, and load during slot t . ε pv ( t ) and ε wind ( t ) represent the forecast errors for the output of PV and wind power during slot t . P ^ load ( t ) , P ¯ load ( t ) , and ε load ( t ) represent the actual power, the predicted power, and the power forecast error supplied to the load by the battery-swapping station during slot t , respectively. P ^ pv max ( t ) and P ^ pv min ( t ) represent the upper and lower limits of photovoltaic power generation, respectively; P ^ wind max ( t ) and P ^ wind min ( t ) represent the upper and lower limits of wind power generation during slot t , respectively.

2.1.1. Energy-Storage Model

Energy-storage equipment is crucial for regulating the output of renewable energy in electric heavy-duty truck battery-swapping stations [18]. Specifically, the output from renewable sources like wind power and PV power exhibits uncertainty and variability, leading to situations where the load and depleted batteries of the electric heavy-duty truck battery-swapping station cannot fully consume the renewable energy output during certain time periods. Energy-storage equipment can store the excess energy that the battery-swapping station is unable to consume and to release it during periods of high electricity prices or increased energy demand, thereby supplying energy to the station. When storing and releasing energy, energy-storage equipment experiences energy losses due to factors such as internal resistance, energy conversion, and operation losses in the equipment. If the energy-storage equipment is charged during time slot t , the additional energy stored in the equipment can be expressed as
E charge ( t ) = η charge ( t ) P sto , charge ( t ) τ
where η charge ( t ) represents the charging efficiency of the energy-storage equipment. P sto , charge ( t ) represents the charging power of the energy-storage equipment.
If the energy-storage equipment discharges during slot t , the amount of energy lost by the energy-storage equipment can be expressed as
E dis ( t ) = P sto , dis ( t ) η dis ( t ) τ
where η dis ( t ) represents the discharge efficiency of the energy-storage equipment. P sto , dis ( t ) represents the discharge power of the equipment.
The amount of energy stored by the energy-storage equipment during slot t can be expressed as
E sto ( t ) = E sto ( t 1 ) + κ charge ( t ) E charge ( t ) κ dis ( t ) E dis ( t )
where E sto ( t ) represents the energy stored by the energy-storage equipment during slot t . κ charge ( t ) and κ dis ( t ) represent the charging and discharging indicators, respectively. When the energy-storage equipment is in charging mode, κ charge ( t ) = 1 and κ dis ( t ) = 0 ; when the equipment is in discharging mode, κ charge ( t ) = 0 and κ dis ( t ) = 1 .

2.1.2. Interaction Model Between Electric Heavy-Duty Truck Battery-Swapping Stations and Power Grids

The power generated by PV and wind power is characterized by uncertainty and significant fluctuations over time. During certain periods, the combined output from PV power, wind power, and energy storage is insufficient to meet the demands of the battery-swapping station. As a result, these battery-swapping stations must purchase electricity from the power grid. Under the time-of-use pricing mechanism, the optimization periods are categorized into valley, flat, and peak periods. The electricity purchasing cost of the battery-swapping station during time slot t can be expressed as
C pur ( t ) = σ ( t ) P pur ( t ) τ
where P pur ( t ) represents the power purchased by the battery-swapping station during slot t . σ ( t ) represents the time-of-use pricing during slot t , which can be expressed as
σ ( t ) = σ v = σ f δ v ,   t T v σ f ,   t T f σ p = σ f + δ p ,   t T p
where σ v , σ f , and σ p represent the electricity prices during valley, flat, and peak periods, respectively. δ v and δ p denote the fluctuations in electricity prices during valley and peak periods, respectively. T v , T f , and T p represent sets of the valley, flat, and peak periods, respectively.

2.1.3. Battery-Charging Model

The battery charging and discharging equipment is responsible for recharging depleted batteries swapped from electric heavy-duty trucks, with the capability to charge up to N max batteries simultaneously. In the battery-swapping station, there are a total of N total batteries, which include those that are either being charged or already fully charged. At the beginning of slot t , the state of charge (SoC) of the i -th battery is denoted as S O C i ( t ) , where S O C i ( t ) ( 0 , 1 ] . The SoC of the batteries is categorized into K levels, with batteries at the K -th level considered to be fully charged. The SoC corresponding to the i -th level battery is represented as S O C i ( t ) ( H k 1 , H k ] ,   k { 1 , 2 , , K } . H 0 and H k are given by
H 0 = 0 H k = k K ,   k { 1 , 2 , , K }
N k all ( t ) and N k charge ( t ) ,   k { 1 , 2 , , K 1 } , respectively, represent the number of batteries at the k -th energy level at the start of slot t and those at the k -th energy level in a charging state at the same time. The big M method is a widely used mathematical approach in linear programming that introduces additional constraints to ensure that certain logical relationships or priorities are satisfied within the model. To ensure that the battery-swapping station meets its demand during peak swapping periods, we construct constraints based on the SoC of the batteries. This allows batteries with higher charging levels to be prioritized for charging, thereby accelerating the process of having more fully charged batteries. The constraints developed using the big M method can be expressed as
0 α l ( t ) b l ( t ) M N l + 1 all ( t 1 ) ( 1 b l ( t ) ) M N K l charge ( t ) 0 α l ( t ) ( k = 1 K N k charge ( t ) k = 1 l N K k all ( t ) ) ( 1 b l ( t ) ) M N K l 1 charge ( t ) b l ( t ) M b l + 1 ( t ) b l ( t ) ,   l { 1 , 2 , . K 2 }
where α l ( t ) represents the introduced continuous variable, b l ( t ) denotes the introduced binary variable, and M is a large constant.
As the battery charging and discharging equipment can provide charging services for up to N max batteries simultaneously, we have
k = 1 K 1 N k charge ( t ) N max

2.1.4. Uncertainty Model of Battery-Swapping Demand

By forecasting the battery-swapping demand at stations, we can effectively optimize battery-charging schedules to ensure that the battery supply aligns with the swapping demands. Based on the actual operation conditions faced by battery-swapping stations, we selected relevant historical data within a reasonable range to calculate the number of battery swaps during each slot, allowing us to predict the number of battery swaps N ¯ ( t ) . During slot t , the actual number of battery swaps for electric heavy-duty trucks is equivalent to the predicted value plus the prediction error, which can be expressed as
N ^ ( t ) = N ¯ ( t ) + μ ( t )
where N ^ ( t ) represents the actual number of battery swaps. μ ( t ) represents the forecasting error.

2.1.5. Constraints

Due to limitations in the interaction power between electric heavy-duty truck battery-swapping stations and the grid, along with limitations on the charging and discharging power of energy-storage equipment, it is crucial to account for various constraints when optimizing the battery-charging strategy.
(1)
Electricity Purchase Constraints
The electricity purchase constraint of the battery-swapping station can be expressed as
0 P pur ( t ) P pur max
where P pur max represents the maximum purchasing power during slot t .
(2)
Charging Power Constraints
The charging power of a single battery should satisfy
0 P k , j ( t ) P charge max
where P k , j ( t ) represents the charging power of the j -th battery at level k during slot t . P charge max denotes the maximum charging power for each battery.
The total charging power of all batteries should satisfy
k = 1 K 1 j = 1 N k charge ( t ) P k , j ( t ) P charge max , total
where P charge max , total represents the maximum allowable charging power.
(3)
Battery-swapping Demand Constraints
At the beginning of slot t , the number of fully charged batteries N K all ( t ) at the battery-swapping station should be greater than or equal to the swapping demand during that period, which can be expressed as
N K all ( t ) N ¯ ( t )
(4)
Energy-storage Charging and Discharging Constraints
The charging and discharging power of the energy-storage equipment should satisfy
0 P sto , charge ( t ) P sto , charge max ( t ) 0 P sto , dis ( t ) P sto , dis max ( t )
where P sto , charge max ( t ) and P sto , dis max ( t ) represent the maximum charging and discharging power of the energy-storage equipment, respectively.
The energy stored in the energy-storage equipment should satisfy [19]
SoC min E sto max E sto ( t ) SoC max E sto max
where E sto max represents the maximum capacity of the energy-storage equipment. SoC min and SoC max represent the maximum and minimum values of the SoC of the energy-storage equipment, respectively.
(5)
Power Balance Constraints
The charging and discharging power of the battery-swapping station during each slot should be balanced to satisfy
κ charge ( t ) P sto , charge ( t ) + P ^ load ( t ) + k = 1 K 1 j = 1 N k charge ( t ) P k , j ( t ) = κ dis ( t ) P sto , dis ( t ) + P ^ pv ( t ) + P ^ wind ( t ) + P pur ( t )

2.1.6. Problem Formulation of Multi-Timescale Battery-Charging Optimization

To minimize the costs of electric heavy-duty truck battery-swapping stations, we optimize the battery-charging strategy at both the day-ahead and intra-day timescales. The optimization objectives for both the day-ahead and intra-day optimizations are to minimize the weighted difference between the electricity purchasing cost and the subsidy revenue for PV and wind power consumption. First, the battery-charging power is allocated efficiently by the day-ahead optimization based on long-term forecast information, and these allocations are provided to the intra-day optimization. Second, the day-ahead scheduling strategy is adjusted by the intra-day optimization based on the latest short-term forecast information. Finally, the results of the intra-day optimization are evaluated, and the evaluation outcomes are used to update the day-ahead optimization parameters through real-time feedback.
Based on both the day-ahead and intra-day optimization timescales, we decompose the battery-charging optimization problem for battery-swapping stations into day-ahead and intra-day optimization subproblems.
(1)
Day-Ahead Optimization Objective Function
min x   f 1 ( x , ε ) = t = 1 T C pur ( t ) β Q ( t ) P ^ pv ( t ) + P ^ wind ( t ) τ s . t .   ( 8 ) ,   ( 9 ) ,   ( 11 ) ( 17 )  
x = { P ¯ pv ( t ) ,   P ¯ wind ( t ) ,   P ¯ load ( t ) ,   κ charge ( t ) ,   κ dis ( t ) ,   σ ( t ) ,   N k all ( t ) ,   N k charge ( t ) ,   α l ( t ) ,   b l ( t ) ,   N ¯ ( t ) ,   P pur ( t ) ,   P k , j ( t ) } ε = { ε pv ( t ) ,   ε wind ( t ) ,   ε load ( t ) ,   μ ( t ) }
where β represents the consumption ratio of PV and wind power. Q ( t ) represents the subsidies for PV and wind power consumption. x is the set of day-ahead optimization variables. ε is the set of forecast errors. The equation signifies that the charging power for electric heavy-duty trucks is allocated appropriately based on forecasts of the PV and wind power output. Subsequently, this allocation information is utilized for intra-day optimization.
(2)
Intra-Day Optimization Objective Function
min x ˜   f 2 ( x ˜ ) = t = 1 T k = 1 K 1 j = 1 N ^ ( t ) C pur ( t ) β Q ( t ) P ^ pv ( t ) + P ^ wind ( t ) τ s . t .   ( 8 ) ,   ( 9 ) ,   ( 11 ) ( 17 )
x ˜ = { P ^ pv ( t ) ,   P ^ wind ( t ) ,   P ^ load ( t ) ,   κ charge ( t ) ,   κ dis ( t ) ,   σ ( t ) ,   N k all ( t ) ,   N k charge ( t ) ,   α l ( t ) ,   b l ( t ) ,   N ^ ( t ) ,   P pur ( t ) ,   P k , j ( t ) }
where x ˜ represents the set of intra-day optimization adjustment values. During intra-day optimization, the total optimization period is divided into T slots, denoted as T = { 1 , 2 , , t , , T } , with each slot having a length of τ , τ < τ . In intra-day optimization, based on the latest prediction information prior to the current time slot, the charging strategy of electric heavy-duty trucks can be adaptively adjusted by dividing the day into multiple time slots.

2.2. Multi-Timescale Battery-Charging Optimization Model for Electric Heavy-Duty Truck Battery-Swapping Stations

2.2.1. Day-Ahead Battery-Charging Optimization Algorithm for Electric Heavy-Duty Truck Battery-Swapping Stations Based on Intra-Day Optimization Feedback IGDT

IGDT is a decision-making method designed for situations with high uncertainty. Unlike traditional stochastic programming and robust optimization approaches, IGDT does not require knowledge of the exact probability distribution or uncertainty ranges of the variables, making it ideal for scenarios involving significant uncertainty [20]. IGDT seeks to determine the allowable fluctuation range of uncertain parameters, known as the uncertainty radius, based on the target expectation values established based on the decision-maker’s changing risk preferences. Considering the diverse decision-making styles in practice, IGDT can be classified into robust and opportunistic models. The former regards uncertainty as an unfavorable factor and provides corresponding risk-avoidance strategies, while the latter treats uncertainty as a favorable condition and optimizes decisions to pursue higher returns. To enhance the accuracy of the day-ahead battery-charging strategy for the battery-swapping station, the results of intra-day optimization are used to inform the day-ahead optimization. This feedback is then used to adjust the parameters of the robust and opportunistic models.
Primary methods for establishing uncertain parameter models based on IGDT include energy constraint models, change rate constraint models, and envelope constraint models. The envelope constraint model is adopted to represent the uncertain parameters N ^ t , P ^ pv t , P ^ wind t , and P ^ load t . The uncertainty variable V = N ^ t ,   P ^ pv t ,   P ^ wind t ,   P ^ load t is defined. Fluctuations in the battery-swapping number, the actual output of PV and wind power, and the actual power supplied to the load by the battery-swapping station around their predicted values V ¯ = N ¯ ( t ) ,   P ¯ pv t ,   P ¯ wind t ,   P ¯ load ( t ) can be expressed as
U ρ , V ¯ = V : V V ¯ V ¯ ρ ,   ρ 0
where ρ represents the fluctuation range of the uncertain variable V , i.e., the uncertain radius. U ρ , V ¯ represents all sets of V with deviations no greater than ρ V ¯ .
The decision-making problem of the IGDT model mainly consists of four parts: the objective function, uncertainty modeling, the opportunistic model, and the robust model. The battery-charging model for battery-swapping stations can be expressed in vector form as
max x f V , x s . t . h V , x = 0 g V , x 0
where f V , x represents the objective function. h V , x = 0 represents the equality constraints of the model. g V , x 0 represents the inequality constraints.
Using the aforementioned envelope constraint model, we establish uncertainty models of the PV and wind power outputs, as well as the supply load power of the battery-swapping station, i.e.,
U ρ n , N ¯ t = N ^ t : N ^ t N ¯ t ρ n N ¯ t ,   ρ n 0
U ρ p , P ¯ p v t = P ^ p v t : P ^ p v t P ¯ p v t ρ p P ¯ p v t ,   ρ p 0
U ρ w , P ¯ wind t = P ^ wind t : P ^ wind t P ¯ wind t ρ w P ¯ wind t ,   ρ w 0
U ρ l , P ¯ load t = P ^ load t : P ^ load t P ¯ load t ρ l P ¯ load t ,   ρ l 0
ρ n = ξ n ρ ρ p = ξ p ρ ρ w = ξ w ρ ρ l = ξ l ρ ξ n ,   ξ p ,   ξ w ,   ξ l 0 , 1
ξ n + ξ p + ξ w + ξ l = 1
where ρ n , ρ p , ρ w , and ρ l represent the uncertain radii of the uncertainties of the battery-swapping number, PV and wind power outputs, and the power supplied to the load by the battery-swapping station, respectively. ξ n , ξ p , ξ w , and ξ l are the corresponding weights of ρ n , ρ p , ρ w , and ρ l , which can be assessed using techniques like the analytic hierarchy process (AHP) or the entropy weight method.
Taking into account the risk preferences of the battery-swapping station operators, robust and opportunistic models for battery scheduling in battery-swapping stations are established, respectively. The robust model can be expressed as
max x ρ s . t . max f V , x 1 + δ R f 0 V U ρ , V ¯ , 11 17 ,   24 29
where f 0 represents the determined profit threshold, which is typically the optimal value of the objective function from a deterministic model based on forecasted values. δ R 0 , 1 is the robust factor, representing the extent of deviation from the expected profit target 1 + δ R f 0 above f 0 , indicating the operator’s tolerance for risk in the profit target. Through the robust model, the deterministic model is converted into a problem of maximizing the variability of uncertain parameters under the condition that the target cost does not exceed 1 + δ R f 0 . The goal is to determine the decision value x such that when the uncertain variable V fluctuates within the set U ρ , V ¯ , the target value can be guaranteed to be less than or equal to the preset target expectation f of the decision-maker. A larger ρ indicates that the corresponding decision-making scheme is less sensitive to uncertainties, i.e., the better the robustness.
Correspondingly, the opportunistic model can be expressed as
min x ρ s . t . min f X , x 1 δ O f 0 V U ρ , V ¯ , 11 17 ,   24 29
where δ O 0 , 1 represents the opportunistic factor, which is the degree of deviation of the expected revenue target 1 δ O f 0 below f 0 , indicating the operator’s risk preference for the revenue target. Through the opportunistic model, the deterministic model is converted into a problem of minimizing the variability of uncertain parameters while ensuring that the target cost does not exceed 1 δ O f 0 . The goal is to determine the decision value x in the opportunistic model such that when the uncertain variable V fluctuates within the set U ρ , V ¯ , there is an opportunity for the target value f to be less than or equal to the preset target expectation 1 δ O f 0 of the decision-maker. A smaller ρ value suggests that the corresponding decision-making approach is more likely to yield positive results.
Therefore, we propose an improved IGDT algorithm to make it applicable to the electric heavy-duty truck battery-swapping stations model developed in this paper. The robust factor and the opportunistic factor are adjusted in real time based on the intra-day optimization results, and their values are updated as follows:
δ R = δ R R t Δ δ R δ O = δ O + R t Δ δ O
where R t represents the intra-day real-time optimization evaluation result, which will be further introduced in Section 2.2. When the real-time battery-swapping station cost obtained from intra-day optimization is lower than the predicted cost from day-ahead optimization, R t is positive; otherwise, it is negative. Δ δ R and Δ δ O are the adjustment steps for the robust factor and the opportunistic factor, respectively. When the real-time battery-swapping station cost is lower than the predicted cost, the opportunistic factor is increased and the robust factor is decreased to seek greater revenue. Conversely, when the real-time cost is higher than the predicted cost, the opportunistic factor is decreased and the robust factor is increased to avoid revenue deterioration.
Based on the above model, the bi-level structure is challenging to solve directly. In the lower-level model, ρ can be treated as a constant. The battery-charging cost at the battery-swapping station is positively associated with the number of battery swaps and the power supplied, while negatively correlates with the outputs of PV and wind power. Therefore, the optimal outcome of the lower-level model in the robust model must be obtained at the upper bounds of the information-gap region for the battery-swapping number and the power supplied by the battery-swapping station, as well as by the lower bounds of the information-gap region for PV and wind power outputs, to ensure acceptable performance even in the worst-case scenario. By equivalent transformation of the bi-level model, Equation (30) is converted into
max x ρ s . t . f V , x 1 + δ R f 0 N ^ t = 1 + ρ n N ¯ t P ^ pv t = 1 ρ p P ¯ pv t P ^ wind t = 1 ρ w P ¯ wind t P ^ load t = 1 + ρ l P ¯ load t 11 17 ,   24 29
Similarly, in the opportunistic model, the optimal solution of the lower-level model is determined at specific bounds of the information-gap regions. It is obtained at the lower bounds for the battery-swapping number and the power supplied by the battery-swapping station. For the PV and wind power outputs, it is obtained at the upper bounds of their respective information-gap regions. This ensures better performance under the most optimistic scenario. Equation (31) is converted into
min x ρ s . t . f V , x 1 δ R f 0 N ^ t = 1 ρ n N ¯ t P ^ pv t = 1 + ρ p P ¯ pv t P ^ wind t = 1 + ρ w P ¯ wind t P ^ load t = 1 ρ l P ¯ load t 11 17 ,   24 29
Due to the presence of nonlinear terms in the battery scheduling model for battery-swapping stations based on IGDT, represented by Equations (33) and (34), the big M method is employed to introduce auxiliary constraints for equivalent linearization of the product terms between the continuous variables and the Boolean variables. Subsequently, a mathematical programming solver is used to solve the problem.

2.2.2. Intra-Day Battery-Charging Optimization Algorithm for Electric Heavy-Duty Truck Battery-Swapping Stations Based on an Improved Grasshopper Algorithm

In Section 2.1.6 an optimization problem for the intra-day battery-charging strategy for electric heavy-duty truck battery-swapping stations is formulated. By optimizing the intra-day battery-charging power adjustment values, the charging cost of the battery-swapping stations is minimized. This optimization problem can be solved using swarm intelligence algorithms such as the grasshopper algorithm [21]. However, traditional algorithms suffer from issues such as slow convergence speed, being easily trapped in the local optima, and instability in optimization ability. To address these issues, we propose an improved grasshopper algorithm to solve the optimization problem. The intra-day optimization variable x ˜ is abstracted as the position information of the optimal individual of the grasshopper population in each dimension for optimization. The steps to using the improved grasshopper algorithm to solve the battery-charging strategy optimization problem are introduced as follows:
(1)
Initialization
Set the algorithm parameters, including the number of individuals N in the grasshopper population, the dimension D of the grasshopper population, and the number of iterations L of the algorithm. Additionally, set the constraint conditions of the algorithm according to (20).
Initialize the positions of the grasshopper population within the feasible space using a chaotic sequence method. First, generate a D -dimensional vector S 1 = S 1 , i ,   i = 1 , 2 , , D , where each component value is a random number within the interval 0 , 1 . Then, map vector S 1 iteratively through a mapping function into the chaotic space to obtain N vectors: S 1 , S 2 , , S N . We select the commonly used complete logistic chaotic iteration formula, i.e.,
S n + 1 = 4 S n 1 S n ,   n = 1 , 2 , , N 1
Second, transform each component in the chaotic variable S 1 , S 2 , , S N into the search feasible domain to obtain the initialized grasshopper population, i.e.,
X i , j = I d + u d I d S i , d ,   d = 1 , 2 , , D
where X i , j represents the value of the i -th grasshopper individual on the j -th dimension. I d and u d are, respectively, the lower and upper bounds of the d -dimensional search space of the algorithm.
Finally, all the grasshopper individuals transformed into the search feasible domain are combined to form the grasshopper population X .
(2)
Calculate Fitness Values, Nonlinear Convergence Parameters, and Lévy Flight Lengths
Each individual in the current population is substituted into Equation (20), and the result is used as the fitness value of the individual in the current population. We adopt a nonlinear convergence strategy to strike a balance between exploration and exploitation in the algorithm, which accelerates the convergence speed of the algorithm while increasing the precision of the local search. The nonlinear convergence parameter c is calculated as
c = c max e 1 L l × c max c min
where l represents the current iteration number of the grasshopper algorithm. c max and c min are the preset maximum and minimum values of the nonlinear convergence parameter, respectively.
Additionally, we incorporate a random perturbation mechanism based on Lévy flight into the grasshopper position update. The Lévy distribution, a non-Gaussian random process, aptly simulates the ideal state of animals moving over long and short distances during predation. The distribution formula is given by
L é v y w a l k = 0.01 × u v 1 β
where the parameters v , u , and β are defined as
u N 0 , ψ u 2 ,   v N 0 , ψ v 2 ,   β = 1.5 ψ u Γ 1 + β × sin π β 2 Γ 1 + β 2 × β × 2 β 1 2 1 β ,   ψ v = 1
where Γ represents the standard gamma function.
(3)
Elite Opposition-Based Learning Decision-Making Mechanism
Elite decision-making refers to taking the best part of the individuals in the current population according to the ranking order of the fitness value and then guiding the updating of the positions of other individuals in the population through negotiation decision-making. By using the elite opposition-based learning decision-making mechanism to guide the grasshopper population to update, the population can better seek the optimal solution in the search space, which enhances the algorithm’s ability to find the optimal solution. The elite set is defined as
X g = X g , 1 , X g , 2 , , X g , n ,   n = 1 , 2 , , 0.1 × N
where X g is the elite set containing the top n grasshopper individuals selected by sorting the individual fitness values on merit.
Generate an elite set X g of the elite set X g based on the opposing-point mechanism, denoted as
X g = X g , i ,   i = 1 , 2 , , n X g = u d + I d X g , i , d ,   d = 1 , 2 , , D
where X g is the opposing point of the i -th elite grasshopper X g , i . X i , d represents the position of the i -th elite grasshopper in the d -th dimension.
The final elite set X g is identified by comparing X g with X g through a reverse-learning strategy, and a merit selection is performed by comparing the fitness values as
X g = X g , i X g , i = X g , i , f X g , i < f X g , i X g , i , f X g , i > f X g , i ,   i = 1 , 2 , , n
where X g is the set of new elite grasshoppers generated after the reverse-learning strategy. X g , i is the i -th new elite grasshopper.
The weight size of the fitness value for each elite grasshopper is calculated, and new elite grasshoppers are generated to guide the population update. The weights of the elite grasshoppers are defined in terms of the size of the fitness value. Since the elite grasshoppers are sorted from the smallest to the largest fitness values, the smaller the fitness value, the larger the weight of the elite individual. The fitness value of the n i -th elite individual is used as the weight of the i -th elite individual, denoted as
w = w i ,   i = 1 , 2 , , n w i f X g , n i j = 1 n f X g , j ,   j = 1 , 2 , , n
where w is the set of elite grasshopper fitness value weights. w i represents the weight of the i-th grasshopper elite. After each elite grasshopper individual has its own fitness value weight, a new individual is decided by negotiation to be used to guide the grasshopper population position update, i.e.,
X = i = 1 n w i X g , i
where X is the new individual decided by negotiation among n elites.
(4)
Updating the Population Position
The population position is updated according to the nonlinear convergence parameter and the Lévy flight length, which can be expressed as
X i ( l + 1 ) = c j = 1 j 1 N c u u 0 2 S ( | X j X i | ) X j X i d i j + X * + L é v y w a l k
where X i ( l + 1 ) represents the i -th individual after updating. u and u 0 represent the upper and lower bounds of the search space domain, respectively. X i and X j represent the i -th and j -th individuals in the current population, respectively. d i j represents the spatial vectors between the i -th and j -th individuals. X * is the optimal individual in the current population.
Subsequently, fitness values are calculated for the updated populations, which are ranked in order of fitness value superiority.
(5)
For each grasshopper individual, determine whether the constraints of the optimization problem are satisfied. If satisfied, go to step (6); if not, regenerate a grasshopper individual in the search interval instead.
(6)
Determine whether to meet the iteration termination conditions, i.e., to reach the preset maximum number of iterations. If the iteration termination conditions are met, the algorithm outputs the position information of the current optimal individual and its fitness value and then terminates. Otherwise, it proceeds to step (2) to continue the iteration.
(7)
Evaluate the intra-day real-time optimization results.
Based on the intra-day real-time optimization results, an intra-day real-time optimization evaluation is carried out, and the evaluation result R t is fed back to the day-ahead optimization and used to adjust the parameters. R t is denoted as
R t = f 0 c t f c t f c t = k = 1 K 1 j = 1 N ^ ( t ) C pur ( t ) β Q ( t ) P ^ pv ( t ) + P ^ wind ( t ) τ f 0 c t = C pur ( t ) β Q ( t ) P ^ pv ( t ) + P ^ wind ( t ) τ
where R t is the result of the intra-day real-time optimization assessment. f c t is the intra-day real-time charging cost of the station in slot t . f 0 c t is the expected day-ahead charging cost.

3. Numerical Experiment Analysis

3.1. Numerical Experiment Setup

The battery-charging simulation scene of the electric heavy-duty truck battery-swapping station is constructed by using the relevant parameters of the actual battery-swapping station in a certain province, and the simulation verification is carried out by using MATLAB software R2023a. The scene contains 700 batteries, and the charging equipment is used to charge, at most, 300 batteries at the same time. The battery state is divided into seven grades, and the specific simulation parameters are shown in Table 1 [22]. To assess the performance of the proposed algorithm, two algorithms are selected for comparison. Baseline 1 is the battery-charging optimization algorithm based on the integrated algorithm [6], which takes into account the time-of-use pricing model. An integrated approach is proposed to solve the optimization problem, merging genetic algorithms, differential evolution, and particle swarm optimization techniques. Baseline 2 is the dual-timescale battery-charging optimization algorithm based on a genetic algorithm [23]. The algorithm constructs the battery-swapping station model with multi-functions such as charging, discharging, and idleness, and optimizes the scheduling strategy by the genetic algorithm. The optimization objectives of the two comparison algorithms are the same as those of the proposed algorithm. Baseline 2 does not consider the impact of time-of-use pricing, and the two comparison algorithms do not take into account the day-ahead and intra-day two-stage optimization.

3.2. Analysis of Simulation Results

Figure 2 illustrates how the intra-day charging cost varies with the number of iterations. The intra-day charging costs for all three algorithms decrease as the number of iterations increases, with the proposed algorithm having the best convergence effect and the fastest convergence speed. When the number of iterations is 200, the intra-day charging cost of the proposed algorithm is reduced by 4.26% and 6.03% compared with that of Baseline 1 and Baseline 2, respectively. This is because the proposed algorithm uses a chaotic sequence to initialize the population, which generates a better population at the beginning of the iteration of the algorithm and speeds up the convergence speed. In addition, the proposed algorithm adopts an elite opposition-based learning strategy to update the grasshopper position, and it increases the disturbance to the grasshopper population through the Lévy flight disturbance mechanism, which avoids falling into the local optima and increases the accuracy of the solution.
Figure 3 illustrates the variation in the number of batteries at different SoC levels over time. It can be seen that although the battery-swapping station provides a battery-swapping service from 9:00 to 16:00, due to the larger output from PV generation, more batteries are charged to consume excess power. As a result, the number of fully charged batteries continues to increase, corresponding to the SoC level of k = 7 . From 18:00 to 24:00 in the evening, due to the peak of the load demand and replacement demand, more batteries are discharged, and the number of fully charged batteries decreases. In contrast, the number of depleted batteries continues to increase, corresponding to an SoC level of k = 1 .
Figure 4 illustrates the variation in the total charging power of the energy-storage equipment and batteries over time. It can be observed that from 9:00 to 16:00, due to the large PV output, the energy-storage equipment and batteries are charged during this period to absorb the excess power generated by PVs in the battery-swapping station. From 0:00 to 6:00 and 22:00 to 23:00, due to insufficient PV generation, the battery-swapping station experiences a power deficit. During these periods, the energy-storage equipment and batteries are discharged to ensure the smooth operation of the battery-swapping station. From 17:00 to 21:00 in the evening, when load demand reaches its peak, even with the discharging of the energy-storage equipment and batteries, the demand cannot be fully met, requiring the battery-swapping station to purchase electricity from the grid at a premium to cover the shortfall.
Figure 5 illustrates how ρ and the charging cost vary with robust and opportunistic factors. In the robust model, as δ R increases, the expected target value gradually rises, and the total operation cost obtained through model optimization increases, and the radius of uncertainty ρ increases. This is because in the robust model, decision-makers assume that uncertainty will have negative effects. The larger the value of ρ is, the greater the risk of uncertainty, which may lead to additional operation costs and result in greater total operation costs. In the opportunistic model, as δ O increases, the expected target value gradually decreases, and the total operation cost obtained through the model optimization decreases, while the radius of uncertainty ρ increases. This is because in the opportunistic model, decision-makers assume that uncertainty will have positive effects. The larger the value of ρ is, the greater the possible benefits of uncertainty, which may lead to additional benefits and result in lower total operation costs.
Figure 6 illustrates the load curves before and after the battery-charging strategy optimization for the electric heavy-duty truck battery-swapping station from 17:00 to 23:00. After optimization, the peak load of the battery-swapping station decreases from 41.4 kW to 39.2 kW, corresponding to a reduction of 5.31%. The proposed algorithm significantly reduces the total charging power during peak periods, thereby lowering the maximum load of the battery-swapping station and enabling its effective participation in grid peak-shaving.

4. Conclusions

This study aimed to address the challenges of optimizing battery-charging management in electric heavy-duty truck battery-swapping stations, considering the uncertainties in renewable energy outputs, such as wind and photovoltaic power, and the fluctuations in battery-swapping demand. We proposed a multi-timescale battery-charging optimization algorithm that accounts for source–load–storage uncertainty, with the primary objectives being to enhance the economic efficiency of battery-swapping stations and to improve grid stability.
Methodologically, we developed a comprehensive model for the electric heavy-duty truck battery-swapping station under the time-of-use pricing mechanism, incorporating uncertainties in renewable energy sources, grid-load fluctuations, and battery-swapping demand. Our approach leveraged both day-ahead and intra-day optimization timescales, decomposing the complex optimization problem into manageable subproblems. The day-ahead optimization was formulated using information-gap decision theory (IGDT) to handle uncertainties, while the intra-day optimization was addressed with an improved grasshopper optimization algorithm to fine-tune the charging strategies based on real-time data.
Our findings demonstrated the effectiveness of the proposed approach. Simulation results showed that the algorithm reduced intra-day charging costs by 4.26% and 6.03%compared with the two baseline algorithms, respectively. Moreover, the optimized battery-charging strategy led to a 5.31% decrease in peak load, contributing to grid peak-shaving and stability. The proposed method’s ability to dynamically adjust risk preferences based on intra-day optimization results and its robustness against uncertainties in the renewable energy output and grid-load fluctuations were particularly noteworthy.
In conclusion, the multi-timescale battery-charging optimization algorithm presented in this study not only offers a cost-effective solution for managing battery-swapping stations under uncertainty but also enhances grid stability. Future research should focus on integrating user behavior models into the charging strategy optimization to provide more personalized and efficient battery-swapping services, further improving the resilience and economic viability of electric heavy-duty truck operations.

Author Contributions

Conceptualization, P.S., R.J. and J.W.; Investigation, P.S., G.N., H.W. and G.Q.; Methodology, P.S. and G.N.; Software, P.S., G.N. and J.W.; Visualization, P.S. and Z.S.; Writing—original draft, P.S., G.N. and G.Q.; Formal analysis, G.N. and Z.S.; Validation, G.N. and H.W.; Funding acquisition, R.J.; Project administration, R.J. and J.W.; Supervision, R.J.; Writing—review and editing, R.J., Z.S. and G.Q.; Data curation, H.W.; Resources, H.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to restrictions.

Acknowledgments

We thank Jin Rifeng for providing technical guidance for this research. We thank Zhongwei Sun for building the framework of the paper, proposing innovative points, and making contributions to the writing.

Conflicts of Interest

Authors Peijun Shi and Haibo Wang were employed by the Datang Beijing Tianjin Hebei Energy Marketing Co., Ltd. Author Rifeng Jin was employed by the Datang Henan Power Generation Co., Ltd. Authors Jinsong Wang and Guizhi Qiu were employed by the China Datang Corporation Science and Technology General Research Institute North China Electric Power Test and Research Institute. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interests.

References

  1. Ghandriz, T.; Jacobson, B.; Murgovski, N.; Nilsson, P.; Laine, L. Real-Time Predictive Energy Management of Hybrid Electric Heavy Vehicles by Sequential Programming. IEEE Trans. Veh. Technol. 2021, 70, 4113–4128. [Google Scholar] [CrossRef]
  2. Li, Z.; Xu, Y.; Wang, P.; Xiao, G. Coordinated preparation and recovery of a post-disaster multi-energy distribution system considering thermal inertia and diverse uncertainties. Appl. Energ. 2023, 336, 120736. [Google Scholar] [CrossRef]
  3. Tarar, M.O.; Hassan, N.U.; Naqvi, I.H.; Pecht, M. Techno-Economic Framework for Electric Vehicle Battery Swapping Stations. IEEE Trans. Transp. Electrif. 2023, 9, 4458–4473. [Google Scholar] [CrossRef]
  4. Wang, R.; Ju, Y.; Allybokus, Z.; Zeng, W.; Obrecht, N.; Moura, S. Optimal Sizing, Operation, and Efficiency Evaluation of Battery Swapping Stations for Electric Heavy-Duty Trucks. In Proceedings of the 2024 American Control Conference (ACC), Toronto, ON, Canada, 10–12 July 2024. [Google Scholar]
  5. Li, Z.; Wu, L.; Xu, Y.; Moazeni, S.; Tang, Z. Multi-Stage Real-Time Operation of a Multi-Energy Microgrid With Electrical and Thermal Energy Storage Assets: A Data-Driven MPC-ADP Approach. IEEE Trans. Smart Grid. 2022, 13, 213–226. [Google Scholar] [CrossRef]
  6. Wu, H.; Pang, G.K.H.; Choy, K.L.; Lam, H.Y. An Optimization Model for Electric Vehicle Battery Charging at a Battery Swapping Station. IEEE Trans. Veh. Technol. 2018, 67, 881–895. [Google Scholar] [CrossRef]
  7. Ko, H.; Pack, S. An Optimal Battery Charging Algorithm in Electric Vehicle-Assisted Battery Swapping Environments. IEEE Trans. Intell. Transp. Syst. 2022, 23, 3985–3994. [Google Scholar] [CrossRef]
  8. Esmaeili, S.; Anvari-Moghaddam, A. Optimal Operation Scheduling of a Microgrid Incorporating Battery Swapping Stations. IEEE Trans. Power Syst. 2019, 34, 5063–5072. [Google Scholar] [CrossRef]
  9. Jin, J.; Mao, S. Optimal Priority Rule-Enhanced Deep Reinforcement Learning for Charging Scheduling in an Electric Vehicle Battery Swapping Station. IEEE Trans. Smart Grid. 2023, 14, 4581–4593. [Google Scholar] [CrossRef]
  10. Davari, M.; Nafisi, H.; Nasr, M.-A.; Blaabjerg, F. A Novel IGDT-Based Method to Find the Most Susceptible Points of Cyberattack Impacting Operating Costs of VSC-Based Microgrids. IEEE J. Emerg. Sel. Top. Power Electron. 2021, 9, 3695–3714. [Google Scholar] [CrossRef]
  11. Gazijahani, F.; Salehi, J. IGDT-Based Complementarity Approach for Dealing With Strategic Decision Making of Price-Maker VPP Considering Demand Flexibility. IEEE Trans. Ind. Inf. 2020, 16, 2212–2220. [Google Scholar] [CrossRef]
  12. Jamian, J.J.; Mustafa, M.W.; Mokhlis, H.; Baharudin, M.A. Simulation Study on Optimal Placement and Sizing of Battery Switching Station Units Using Artificial Bee Colony Algorithm. Int. J. Electr. Power Energy Syst. 2014, 55, 592–601. [Google Scholar] [CrossRef]
  13. Fang, S.-C.; Ke, B.-R.; Chung, C.-Y. Minimization of Construction Costs for an All Battery-Swapping Electric-Bus Transportation System: Comparison with an All Plug-In System. Energies 2017, 10, 890. [Google Scholar] [CrossRef]
  14. Singh, S.; More, V.; Batheri, R. Driving Electric Vehicles Into the Future With Battery Management Systems. IEEE Eng. Manag. Rev. 2022, 50, 157–161. [Google Scholar] [CrossRef]
  15. González-Romera, E.; Roncero-Clemente, C.; Barrero-González, F.; Milanés-Montero, M.I.; Romero-Cadaval, E. A Comprehensive Control Strategy for Multibus Nanogrids With Power Exchange Between Prosumers. IEEE Access 2021, 9, 104281–104293. [Google Scholar] [CrossRef]
  16. Zhang, H.; Zhai, X.; Zhang, J.; Bai, X.; Li, Z. Mechanism Analysis of the Effect of the Equivalent Proportional Coefficient of Inertia Control for a Doubly Fed Wind Generator on Frequency Stability in Extreme Environments. Sustainability 2024, 16, 4965. [Google Scholar] [CrossRef]
  17. Ahmed, H.M.A.; Sindi, H.F.; Azzouz, M.A.; Awad, A.S.A. Optimal Sizing and Scheduling of Mobile Energy Storage Toward High Penetration Levels of Renewable Energy and Fast Charging Stations. IEEE Trans. Energy Convers. 2022, 37, 1075–1086. [Google Scholar] [CrossRef]
  18. Wu, C.; Zhou, D.; Ma, Y.; Sui, Q.; Lin, X.; Wei, F. Restoration Enhancement for Distribution Systems Based on Multiple Battery Swapping Stations. IEEE Trans. Ind. Appl. 2024, 60, 2025–2036. [Google Scholar] [CrossRef]
  19. Zhang, H.; Li, Z.; Xue, Y.; Chang, X.; Su, J.; Wang, P. A Stochastic Bi-Level Optimal Allocation Approach of Intelligent Buildings Considering Energy Storage Sharing Services. IEEE Trans. Consum. Electron. 2024, 70, 5142–5153. [Google Scholar] [CrossRef]
  20. Nojavan, S.; Zare, K.; Feyzi, M.R. Optimal Bidding Strategy of Generation Station in Power Market Using Information Gap Decision Theory (IGDT). Electr. Power Syst. Res. 2013, 96, 56–63. [Google Scholar] [CrossRef]
  21. Ghaleb, S. Feature Selection by Multiobjective Optimization: Application to Spam Detection System by Neural Networks and Grasshopper Optimization Algorithm. IEEE Access 2022, 10, 98475–98489. [Google Scholar] [CrossRef]
  22. Zhao, X.; Yang, Y.; Xu, Q. Day-ahead Robust Optimal Dispatch of Integrated Energy Station Considering Battery Exchange Service. J. Energy Storage 2022, 50, 104228. [Google Scholar] [CrossRef]
  23. Yang, J.; Wang, W.; Ma, K.; Yang, B. Optimal Dispatching Strategy for Shared Battery Station of Electric Vehicle by Divisional Battery Control. IEEE Access 2019, 1, 1. [Google Scholar] [CrossRef]
  24. Zhang, W. Multi-Objective Optimization of Charging Dispatching for Electric Vehicle Battery Swapping Station. Master’s thesis, Jilin University, Changchun, China, 2020. [Google Scholar] [CrossRef]
Figure 1. Electric heavy-duty truck battery-swapping station model, considering the source–load–storage uncertainty.
Figure 1. Electric heavy-duty truck battery-swapping station model, considering the source–load–storage uncertainty.
Energies 18 00241 g001
Figure 2. The intra-day charging cost varies with the number of iterations.
Figure 2. The intra-day charging cost varies with the number of iterations.
Energies 18 00241 g002
Figure 3. The variation in the number of batteries at different SoC levels over time.
Figure 3. The variation in the number of batteries at different SoC levels over time.
Energies 18 00241 g003
Figure 4. The variations in total charging power of the energy-storage equipment and batteries over time.
Figure 4. The variations in total charging power of the energy-storage equipment and batteries over time.
Energies 18 00241 g004
Figure 5. Variations in the charging costs due to robust and opportunistic factors.
Figure 5. Variations in the charging costs due to robust and opportunistic factors.
Energies 18 00241 g005
Figure 6. Load curves before and after battery-charging strategy optimization for the electric heavy-duty truck battery-swapping station.
Figure 6. Load curves before and after battery-charging strategy optimization for the electric heavy-duty truck battery-swapping station.
Energies 18 00241 g006
Table 1. Simulation parameters [24].
Table 1. Simulation parameters [24].
Parameter NameParameter ValueParameter NameParameter ValueParameter NameParameter Value
T , T 24, 144 τ , τ 1 h, 10 min N total 700
K 7 P sto , charge max ( t ) 1000 kW P sto , dis max ( t ) 1000 kW
η charge ( t ) 0.93 η dis ( t ) 0.92 σ v 0.062 USD/(kW·h)
σ f 0.089 USD/(kW·h) σ p 0.118 USD/(kW·h) N max 300
P pur max 5000 kW P charge max 5 kW P charge max , total 1000 kW
E sto max 3000 kW·h c max 1 c max 0.00001
ξ n 0.3 ξ p 0.2 ξ w 0.2
ξ l 0.3 SoC max 1 SoC min 0
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

Shi, P.; Ni, G.; Jin, R.; Wang, H.; Wang, J.; Sun, Z.; Qiu, G. Multi-Timescale Battery-Charging Optimization for Electric Heavy-Duty Truck Battery-Swapping Stations, Considering Source–Load–Storage Uncertainty. Energies 2025, 18, 241. https://doi.org/10.3390/en18020241

AMA Style

Shi P, Ni G, Jin R, Wang H, Wang J, Sun Z, Qiu G. Multi-Timescale Battery-Charging Optimization for Electric Heavy-Duty Truck Battery-Swapping Stations, Considering Source–Load–Storage Uncertainty. Energies. 2025; 18(2):241. https://doi.org/10.3390/en18020241

Chicago/Turabian Style

Shi, Peijun, Guojian Ni, Rifeng Jin, Haibo Wang, Jinsong Wang, Zhongwei Sun, and Guizhi Qiu. 2025. "Multi-Timescale Battery-Charging Optimization for Electric Heavy-Duty Truck Battery-Swapping Stations, Considering Source–Load–Storage Uncertainty" Energies 18, no. 2: 241. https://doi.org/10.3390/en18020241

APA Style

Shi, P., Ni, G., Jin, R., Wang, H., Wang, J., Sun, Z., & Qiu, G. (2025). Multi-Timescale Battery-Charging Optimization for Electric Heavy-Duty Truck Battery-Swapping Stations, Considering Source–Load–Storage Uncertainty. Energies, 18(2), 241. https://doi.org/10.3390/en18020241

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