Skip to Content
EnergiesEnergies
  • Article
  • Open Access

21 November 2026

42 Pages

Industry 5.0-Driven Design and Predictive Energy Management of Electric Bus Charging Stations: Battery Degradation, Carbon-Aware Scheduling, and Renewable Energy Integration

,
,
and
1
Laboratory of Automation, Electrical Systems and Environment (LASEE), University of Monastir, Monastir 5035, Tunisia
2
Control & Energy Management Laboratory, Sfax Engineering School, University of Sfax, Sfax 3038, Tunisia
3
Center for Research on Microgrids (CROM), Huanjiang Laboratory, Shaoxing 311800, China
4
Department of Electrical and Electronic Engineering Technology, University of Johannesburg, Johannesburg 2006, South Africa

Abstract

Electric bus depots are becoming megawatt scale loads whose design and operation determine the cost, emissions and battery life of urban fleets. This paper proposes an Industry 5.0-driven framework that jointly sizes the photovoltaic canopy, stationary battery, charging power and grid connection, and operates the depot with a model predictive controller pricing the aging of onboard and stationary lithium iron phosphate batteries and the grid marginal emission factor. Shared linear models serve sizing and operation; their dual variables explain decisions and price operator overrides. Eight scenarios simulated in closed loop over a year with ERA5-Land weather isolate each ingredient for a 40-bus depot in Sousse, Tunisia. Compared with immediate charging, the codesigned predictive depot cuts cost and emissions by 45% (26% and 43% against immediate charging with shared cabinets) and peak import by 80% and extends projected battery life from 8.5 to 13.3 years. Aging awareness and joint sizing create most of the value; carbon awareness adds little while the emission factor tracks the tariff but cuts operational emissions by 5.5% in a solar-rich 2030 grid. Explanations match reoptimized costs within 1% in 90% of tests, robust margins keep 99.7% of departures ready under forecast errors, and results transfer to four other Tunisian cities.

1. Introduction

Urban bus fleets are among the first segments of road transport to electrify at scale, because their routes are predictable, their vehicles return every day to a depot and their high annual mileage shortens the payback of a higher purchase price [1,2,3]. The consequence for the power system is less visible but just as important. A depot that charges a few tens of battery electric buses becomes a load of several megawatts whose timing, peak and carbon content are decided every night by a charging schedule, while its infrastructure (chargers, grid connection, photovoltaic (PV) canopy and stationary storage) is decided once for two or three decades [4,5,6]. Hydrogen fuel cell buses remain an option for long or demanding duties, but total cost of ownership comparisons and multicriteria assessments indicate that battery buses are currently the lower cost choice for most urban duty cycles and that the cost and carbon content of the energy supply weigh heavily in both technologies [7,8,9,10]. For a country such as Tunisia, which combines excellent solar resources, a power system dominated by natural gas, a national target of 30% renewable electricity by 2030 [11] and an emerging green hydrogen strategy [12], the question is therefore not only whether buses should be electrified but how the depot should be designed and operated so that the electricity it draws is cheap, low in carbon and gentle on the batteries, which are the most expensive single component of an electric fleet.
The starting point of any depot study is the energy that each bus needs for its daily blocks. Measurement campaigns, physics-based models and statistical models have shown that the consumption of a 12 m bus depends on the duty cycle, the passenger load and, to a large extent, on the heating, ventilation and air conditioning (HVAC) load, which is the main source of seasonal variability [13,14,15,16]. Most charging and sizing studies nevertheless assume a constant consumption per kilometer or a few seasonal values and seldom rely on multiyear weather records. In hot climates, this simplification hides those days that size the infrastructure and the temperatures that drive battery aging.
Depot charging has mainly been studied as a scheduling problem, from optimal overnight schedules under time of use (TOU) tariffs [17,18], whose economics can be dominated by demand charges [19], to the deployment of buses and charging stations [20], equipment and schedule decisions in a single depot [21], spatiotemporal scheduling [22], battery swapping across depots [23] and interactive optimization steered by planners [24]. These models are mostly deterministic mixed-integer programs solved day-ahead, with the energy price as the only grid signal and a fixed degradation cost or none, so they cannot react to forecast errors, exploit onsite generation or tell the operator why a schedule is preferred.
A second stream integrates PV generation and battery energy storage systems (BESSs) into bus charging, from the storage of a fast charging station [25], the impact of a depot with PV and storage on a low-voltage feeder [26] and the effect of the charging routine on a solar-powered depot [27], to optimal control and scheduling with onsite renewables for bus networks [28], a university campus [29], the adoption of PV and storage [30], the location of solar-powered chargers [31], fleets supplied by PV, storage and the grid [32,33,34], shared charging hubs [35] and depots limited by their connection capacity [36]. Codesign studies remain rare: Verbrugge et al. [37] jointly optimized a depot microgrid and its total cost of ownership, and Basma et al. [38] studied bus battery size and the charging strategy of a fleet. In most of these works, the infrastructure is sized first and then operated by a rule or a deterministic schedule, the grid connection is an input rather than a decision, and battery aging and the carbon intensity of the grid are ignored or treated separately.
The emissions of an electric bus depend on the electricity mix and on the charging time [39], and charging can be optimized jointly for cost and time, varying carbon intensity [40]. The relevant signal for smart charging is the marginal emission factor (MEF) of the units that respond to an additional load, which can differ strongly from the average intensity [41] and may become misleading as the grid evolves over the lifetime of the assets [42]; coordinating buses with stationary storage can even achieve carbon-free operation around the clock, at a cost [43]. Two questions are seldom addressed in bus studies: whether a carbon signal adds information to the tariff when both peak at the same hours, and how the embodied emissions of PV, storage and chargers [44,45] and of the battery capacity consumed by aging should be counted within operational emissions without double counting.
Battery degradation is, as shown later, economically the largest cost item. Following the review of degradation models for transport optimization in [46], degradation-aware formulations were developed for fleet scheduling with nonlinear charging profiles [47,48], en route charging [49], multistage transit planning [50], heterogeneous fleets with opportunity charging [51], robust charging under TOU tariffs and consumption uncertainty [52] and charging with environmental factors under TOU pricing [53]. Most of these describe aging through cycling, by the depth of discharge, the C rate or the energy throughput. For lithium iron phosphate (LFP) cells, which equip most electric buses, calendar aging is, however, strongly accelerated by a high state of charge (SOC) and by temperature [54], whereas cycle aging depends on the C rate and the depth of discharge [55], and holistic frameworks combine both mechanisms [56]. A bus charged as soon as it returns and parked full on a summer afternoon therefore ages mostly while it is parked, an effect that cycle-based models cannot capture and that a scheduler can influence at no cost to the service.
Finally, depot energy management is not a purely algorithmic task. Dispatchers are accountable for every departure, react to breakdowns, delays and requests from the distribution system operator (DSO), and must trust a plan before they execute it. Industry 5.0 formalizes this requirement by complementing the efficiency objectives of Industry 4.0 with three values, namely human centricity, sustainability and resilience [57,58,59], and the energy community expresses the same concern as a need for explainable decision support [60]. In the bus-charging literature, these values are rarely translated into mechanisms whose effect can be measured: the optimizer usually acts as a black box, human interaction is limited to setting inputs, with interactive planning [24] as a notable exception, and resilience to disruptions is seldom tested.
Table 1 summarizes this critical analysis. Four gaps emerge. First, sizing and operation are optimized separately, so the infrastructure is chosen without knowing how a predictive controller will use it, and the controller is evaluated on infrastructure that it did not shape. Second, calendar aging at high SOC, which dominates for depot-charged LFP buses in warm climates, is missing from most cost models, and the aging of the stationary storage is treated apart from that of the buses. Third, carbon is either ignored or counted with average intensities, without separating operational and embodied emissions and without asking when a carbon signal adds information to a price signal. Fourth, the benefits reported for smart charging usually mix several mechanisms (tariff shifting, onsite PV, storage, aging, carbon and sizing), which makes it impossible to know which one creates the value, while uncertainty, disruptions and human interventions are rarely evaluated in closed loop over a full year.
Table 1. Positioning of this study within the main research streams on electric bus charging (● addressed in most works of the stream; ◐ addressed in some works; ○ rarely or not addressed).
This paper addresses these gaps with an Industry 5.0-driven framework for the design and predictive energy management of an electric bus depot with PV and stationary storage, applied to a 40-bus depot in Sousse, Tunisia, with hourly ERA5-Land weather from 2015 to 2025 [61,62] and transferred to four other Tunisian cities. Its main novelty is that a single set of linear models serves both sizing and operation, so that the design and the controller are consistent by construction and every decision carries an exact economic explanation. The contributions are fourfold. (i) A codesign linear program sizes the PV plant, the BESS, the charging power and the grid connection over representative days of an eleven-year record, prices the calendar and cycle aging of onboard and stationary LFP batteries through state-dependent marginal costs derived from a validated semiempirical model, and separates marginal operational emissions from the embodied emissions of the equipment and of battery wear without double counting. (ii) A model predictive controller (MPC) uses the same models, solves in about 0.1 s, and protects departures against forecast and state estimation errors with chance-constrained margins. (iii) Human-centric mechanisms are made measurable: shadow price explanations whose fidelity is verified, the counterfactual price and feasibility of operator overrides, and operator priorities and safety margins evaluated in closed loop with disruptions, with each Industry 5.0 value being mapped to a design choice of the method and to an indicator (Table 2). (iv) A component isolation design of eight scenarios (S0 to S7) and their benchmarks, simulated over a full year in closed loop with a nonlinear aging plant model, attributes the benefits to hardware sharing, tariff shifting, PV and storage, aging awareness, carbon awareness, joint sizing, uncertainty and human intervention, and tests the approximations of the design stage and the main modeling assumptions against the closed loop. Applied to Sousse, the framework reduces the annualized cost and the emissions by 45% with respect to immediate charging and extends the projected battery life from 8.5 to 13.3 years; more than half of this cost reduction (26.3 of the 45.4 points) is the dividend of a shared power matrix, whereas aging awareness and joint sizing, rather than carbon signals, create most of the remaining value and almost all of the battery and emission benefits under the current grid, and explanations, override pricing and robust margins make the human oversight of the depot measurable.
Table 2. Industry 5.0 values, the characteristics they impose on the framework and the indicators used to measure them.
The remainder of the paper is organized as follows. Section 2 describes the depot and the decision framework. Section 3 presents the models, and Section 4 the codesign and predictive control formulations together with the human-centric mechanisms. Section 5 defines the case study and the scenarios, Section 6 discusses the results, and Section 7 concludes the paper.

2. System Description and Industry 5.0 Decision Framework

2.1. Depot, Fleet and Infrastructure

The case study is a depot of 40 battery electric buses of 12 m operating urban lines in Sousse, on the eastern coast of Tunisia (35.9° N, 10.5° E). Each bus carries an LFP pack of Enom = 450 kWh. The fleet is organized in three groups that reproduce the typical structure of a city timetable: 14 buses in group A perform all day blocks (on weekdays they leave at 05:20 for 15 h and 160 km), 18 buses in group B work split shifts (a morning block of 5.5 h and 72 km and an afternoon block of 5.8 h and 78 km), and eight buses in group C are peak trippers (3.5 h and 44 km in the morning, 3.7 h and 46 km in the evening). Saturdays and Sundays have reduced timetables, civil holidays follow the Sunday timetable, and departures within a group are staggered by 4 min. The fleet covers 1.74 million km per year. A bus must return with at least the reserve sres = 15% of its current capacity, and the SOC is never allowed below 10%.
The charging infrastructure is a DC power matrix in which Nch power cabinets of 150 kW are dynamically allocated to 40 dispensers of 150 kW, one per parking bay; the conventional alternative is a dedicated 100 kW charger per bus. The depot may host a south-facing PV canopy tilted by 10° above the parking area, with a maximum of 1800 kWp limited by the available area, and a containerized LFP BESS. Both are connected to the 0.4 kV AC bus of the depot, which is fed by a medium-voltage (MV) connection of rating P g max . Export to the grid is not allowed, so surplus PV is curtailed; this base case reflects the Tunisian self-production framework, in which the sale of surplus electricity to the national utility is limited to 30% of the production of medium- or high-voltage self-producers and subject to conditions on their subscribed capacity [63], and a variant with export at a low price is analyzed in Section 6.10. The depot base load (workshop, lighting and offices) is 75 kW during the service day and 35 kW at night on weekdays, as well as 50 kW and 30 kW on weekends.

2.2. Industry 5.0 Decision Framework

Figure 1 shows the proposed framework. On the left, the depot is described by the sizing variables of its components; on the right, the decision layer used by an operator who designs the station once and runs it every day links three blocks: the data and forecasts (ERA5-Land weather, timetable and vehicle locations, SOC and state of health (SOH) reported by the battery management systems, tariff and MEF), the codesign and MPC block, which uses the models of Section 3 to produce a Pareto front of designs and the power set points of buses, BESS and grid every one or two hours, and the indicators (cost, operational and embodied emissions, battery life, peak demand, departure readiness and resilience to disruptions).
Figure 1. Proposed framework: electric bus depot with the sizing variables of its components (left) and Industry 5.0 decision layer (right). Grey arrows denote power flows, and blue arrows information flows.
The human operator is not a source of inputs only. Three mechanisms connect the operator to the layers: (i) every plan is accompanied by explanations derived from the shadow prices of the optimization, which state why energy is bought at a given time and what a departure requirement costs; (ii) the operator can impose priorities, margins and overrides, and the controller returns their counterfactual price and their feasibility before execution; (iii) at the design stage, the decision maker chooses the trade-off between cost and emissions on the Pareto front rather than receiving a single design. These mechanisms translate the human centricity, sustainability and resilience values of Industry 5.0 [57,59] into quantities that are evaluated in Section 6.
Industry 5.0 is not used here as a label but shapes three characteristics of the methodology, summarized in Table 2. Human centricity requires that the automation explains and prices its decisions and leaves value judgments and exceptions to people; this is why sizing and operation share a single set of linear models, whose dual variables give exact explanations and counterfactual prices, and why operator requests enter the controller as hard constraints rather than as weights. Sustainability requires that the carbon content of energy and equipment is measured with the same rigor as cost; this is why marginal and embodied emissions and the battery capacity consumed by aging are accounted for separately, and why the design is chosen on a cost and emissions front. Resilience requires that the depot keeps its service when forecasts fail or resources are lost; this is why departures are protected by chance constrained margins and the framework is evaluated in closed loop with forecast errors, outages and grid limits rather than on perfect forecasts only.

3. Modeling

All models are written on a uniform time grid with step Δt = 15 min, indexed by k, in local time (UTC+1). The parameters are listed in Table 3, and the main symbols in Table A1 of Appendix A.
Table 3. Main parameters of the case study.

3.1. Weather Data and Photovoltaic Generation

The weather inputs are the hourly ERA5-Land reanalysis fields [61], which downscale the ERA5 atmospheric reanalysis [62] to a resolution of about 9 km, extracted for the grid points of Bizerte, Sousse, Sfax, Gabès and Ben Guerdane from 2015 to 2025. ERA5-Land stores the surface solar radiation downwards Rssrd as an energy accumulated over the hour that ends at the time stamp, so the mean global horizontal irradiance (GHI) of the hour is
G h t = R ssrd t 3600
and the solar geometry is evaluated at the middle of the accumulation interval. The cosine of the solar zenith angle θz follows from the latitude ϕ, the declination δ and the hour angle ω, computed from the apparent solar time with the equation of time:
cos θ z = sin ϕ   sin δ + cos ϕ   cos δ   cos ω
The clearness index kt compares the measured irradiance with the extraterrestrial irradiance on a horizontal plane, where Gsc = 1361 W m−2 and n is the day of the year,
k t = G h G sc 1 + 0.033 cos 2 π n / 365 cos θ z
and the diffuse fraction kd is obtained with the correlation of Erbs et al. [64]:
k d = 1 − 0.09   k t , k t ≤ 0.22 , 0.9511 − 0.1604   k t + 4.388   k t 2 − 16.638   k t 3 + 12.336   k t 4 , 0.22 < k t ≤ 0.80 0.165 , k t > 0.80 .
The irradiance on the canopy plane of tilt β is computed with the isotropic sky model and a ground albedo ρg,
G poa = 1 − k d G h R b + k d G h   1 + cos β 2 + ρ g G h   1 − cos β 2 ,               R b = min 5 , max cos θ , 0 cos θ z , cos θ z > 0.065 0 , cos θ z ≤ 0.065
where cos θ = sin (ϕ − β) sin δ + cos (ϕ − β) cos δ cos ω for a south-facing surface. Near sunrise and sunset, the ratio Rb is ill-conditioned because cos θz tends to zero. When cos θz ≤ 0.065, that is, for a solar elevation below 3.7°, the beam component is set to zero and the whole irradiance is treated as diffuse (kt = 0, kd = 1, Rb = 0), and above this threshold Rb is limited to 5, as written in Equation (5); since the solar geometry is evaluated at the middle of each hour, this rule also covers the hours that contain sunrise or sunset. At night Gh = 0, so that all terms vanish. The hours below the threshold carry 0.32% of the annual irradiation in Sousse, so this treatment does not affect the PV yield. The cell temperature follows the nominal operating cell temperature (NOCT) model, and the AC output of the PV plant of rated power PPV includes a linear temperature coefficient γ and the balance of system efficiency ηBOS (inverter, wiring, soiling and mismatch):
T c = T a + T NOCT − 20 800   G poa
P PV , k av = P PV   G poa , k 1000 1 + γ T c , k − 25 η BOS
Hourly means are attached to the middle of their interval and linearly interpolated to the 15 min grid, and instantaneous temperatures are interpolated at their valid times. The resulting monthly yields of the five sites are shown in Figure 2a.
Figure 2. ERA5-Land inputs and demand, 2015 to 2025: (a) PV yield; (b) ambient temperature; (c) specific consumption; (d) weekday fleet energy.

3.2. Temperature-Dependent Energy Consumption of the Buses

The energy drawn from the battery by bus i during block j, of length dj and set of time steps K j , is the sum of a traction term and an auxiliary term:
E j = e tr   d j + ∑ k ∈ K j P aux T a , k , G h , k Δ t
where etr is the traction energy at the battery terminals for an urban cycle with regenerative braking. The auxiliary power combines a base load P0, an air-conditioning load driven by the temperature difference and by the solar gain through the windows, and a heat pump load:
P aux = P 0 + P cool + P heat
P cool = min h c T a − T cool + + h s   G h 1000   1 T a > T cool − 2 ,       P cool max
P heat = min h h T heat − T a + ,       P heat max
with x+ = max(x, 0) and 1[⋅] being the indicator function. This structure reproduces the dominant role of the HVAC load identified in measurement and modeling studies [13,14,15,16]. With the parameters of Table 3, the specific consumption of an all-day block ranges from 1.18 kWh km−1 in mild weather to 2.1 kWh km−1 at 0 °C and about 2.5 kWh km−1 above 40 °C under strong irradiance (Figure 2c); the resulting weekday energy of the fleet is shown in Figure 2d.

3.3. Bus Batteries, Charging and Departure Readiness

The available capacity of bus i decreases with its calendar and cycle capacity losses q i cal and q i cyc (fractions of the nominal capacity):
C i = E nom 1 − q i cal − q i cyc
While the bus is parked, its SOC si,k increases with the AC charging power pi,k and the charging efficiency ηch, and while it drives block j it decreases with the energy ej,k consumed during step k:
s i , k + 1 = s i , k + η ch   p i , k   Δ t / C i , bus   parked s i , k − e j , k / C i , bus   driving   block   j
The constant current and constant voltage (CC/CV) behavior of the charger is represented by a linear taper above sCV, and the dispensers share the capacity of the power cabinets:
0 ≤ p i , k ≤ min P disp ,         P disp   1 − s i , k 1 − s CV
∑ i p i , k ≤ P ch = 150   N ch
The service requirement of the operator is expressed as a departure readiness constraint: before block j leaves at t j dep , the SOC of the assigned bus must cover the forecast block energy E ^ j , the return reserve, and a safety margin:
s i t j dep ≥ s j req = min 1 ,       s res + E ^ j C ^ i + m + z   σ j
where C ^ i is the capacity estimated by the battery management system, m is a fixed margin and z σj is a chance-constrained margin that covers the forecast errors of the block energy and of the capacity estimate, of relative standard deviations σE and σSOH, and the error of the SOC estimate, of standard deviation σSOC:
σ j = E ^ j C ^ i 2 σ E 2 + σ SOH 2 + σ SOC 2
With z = 2.33, Equation (16) is satisfied with a probability of 99% under Gaussian errors. The value σE = 8% is of the order of the residual error of regression predictions of the energy of electric bus trips, which explain about 85% of its variability [16], since the errors of the trips of a block partly cancel, and σSOH = 2% is a usual accuracy of capacity estimates; because neither could be calibrated on measured data of the depot, σE is varied from 4% to 16% in Section 6.7. On the flat open-circuit voltage plateau of LFP cells, the SOC estimate relies mostly on current integration, whose drift is corrected only near full charge [65]; this error is modeled in Section 5 and set to σSOC = 0 in the base case, its effect being evaluated for a σSOC of 3% and 5%. In addition, each pack receives one balancing charge per week to at least 98% SOC, which LFP battery management systems require to recalibrate the SOC estimate because of the flat open-circuit voltage curve.

3.4. Stationary Battery Storage

The BESS of energy capacity EB and power rating PB is described by its stored energy ek, its charging and discharging powers p k c and p k d and its one way efficiency ηB:
e k + 1 = e k + η B   p k c − p k d η B Δ t
s B min E B ≤ e k ≤ s B max E B ,               p k c + p k d ≤ P B ,               0.25   E B ≤ P B ≤ E B
The container is air-conditioned, so its cells are kept at 25 °C. Because its cells still age by calendar aging at this temperature, the predictive controller prices the calendar aging of the BESS together with its cycle aging (Section 4.2), so that the container is not kept at a high SOC when its energy is not needed; the resulting SOC distribution and the projected life of the container are reported in Section 6.4.

3.5. Grid Exchange, Tariff and Marginal Emission Factor

The power imported from the grid closes the balance of the AC bus, with the depot base load Pbase,k, the available PV power and the curtailment ck:
g k = P base , k + ∑ i p i , k + p k c − p k d − P PV , k av − c k
0 ≤ g k ≤ P g max ,               0 ≤ c k ≤ P PV , k av
In the export variant of Section 6.10, an export xk with 0 ≤ x k ≤ P g max is subtracted from the left side of Equation (20), its revenue 10−3πexp xk Δt is deducted from the cost, and the exported energy is credited at the MEF in the emissions, which is the consequential accounting consistent with the use of the MEF for imports; the Tunisian rule is represented by limiting the exported energy to 30% of the PV production. The energy is billed with a TOU tariff πk of three levels (night from 22:00 to 06:00, day, and peak from 18:00 to 22:00 all year and from 11:00 to 15:00 from June to September; Figure 3a), and a demand charge πD applies to the monthly peak
G ^ m = max k ∈ M m   g k ,
where M m is the set of steps of month m. Hourly MEF data are not published for Tunisia, whose electricity is generated mainly by natural gas units. A stylized MEF is therefore constructed from the merit order of the gas fleet: combined cycle units with an emission factor close to EFmin = 0.40 tCO2 MWh−1 are marginal at low national load, and open cycle and steam units close to EFmax = 0.62 tCO2 MWh−1 are marginal near the peak:
MEF k = EF min + EF max − EF min L k − L min L max − L min ,
where Lk is a normalized national load (Figure 3b) that blends winter and summer daily shapes, is reduced by 8% at weekends, and increases with the mean temperature of the five sites above 26 °C. The winter shape peaks in the evening, and its hourly values (Appendix B) range from 0.58 to 1.00; the summer shape has a broad afternoon plateau with values from 0.65 to 1.00 and is scaled by 1.12. The two shapes are blended with a cosine weight equal to 0 in mid-January and to 1 in mid-July, and the temperature term adds 1.5% per kelvin above 26 °C. Lmin = 0.534 and Lmax = 1.401 are the extreme values of Lk in 2023, so that the MEF spans exactly the interval from EFmin to EFmax. Since the TOU periods follow the same national load, the two signals are correlated by construction; this assumption, which conditions the value of carbon awareness, is relaxed in Section 6.8 with a tariff adapted to a solar-rich grid. For the solar-rich grid expected around 2030, a national PV fleet covering a share αPV = 25% of the annual load is added, with the mean normalized production p ~ k of the five sites. The residual load R k = L k − α PV L ¯   p ~ k / p ~ ¯ then defines the MEF, which vanishes when the residual load falls below the must-run level Rmr = 0.35 Lmax, and renewable energy is curtailed at the margin:
MEF k 2030 = 0 , R k ≤ R mr EF min + EF max − EF min min 1 , R k − R mr L max − R mr , R k > R mr
The step from zero to EFmin at Rk = Rmr represents the change of the marginal unit from curtailed PV to a combined cycle unit; a continuous variant, in which the MEF rises linearly from zero to EFmin over a residual load band of 0.05 Lmax, is tested in Section 6.8.

3.6. Calendar and Cycle Aging of LFP Batteries

Both onboard and stationary batteries are modeled with the semiempirical aging laws identified for a commercial LFP/graphite cell by Naumann et al. [54,55], as implemented in the SimSES framework [56]. The calendar capacity loss grows with the square-root of time, with an Arrhenius dependence on the cell temperature T (in kelvin) and a cubic dependence on the SOC:
q cal = k T T   k SOC s t
k T T = k ref exp − E a R 1 T − 1 T ref ,               k SOC s = c 3 s − 0.5 3 + c 0
The cycle capacity loss grows with the square-root of the full equivalent cycles (FECs), with stress factors for the C rate C and the depth of discharge D of each half-cycle:
q cyc = 0.01   k C C   k D D FEC ,               k C C = a   C + b ,               k D D = c D − 0.6 3 + d
Because the stress changes at every step, the losses are integrated with the virtual time (or virtual FEC) method: the state reached so far is converted into the time that the current stress factor κk = kTkSOC would have needed to produce it, and the law is continued from there,
q k + 1 cal = κ k q k cal / κ k 2 + Δ t
and similarly for the cycle loss, whose half-cycles are detected at each reversal of the SOC trajectory together with their depth and mean C rate [56]. A parked bus is assumed to be 1 K warmer than the ambient air, and the thermal management keeps the pack between 15 and 35 °C while driving. This offset neglects the thermal inertia of the pack and the Joule heating during charging: with losses of 1% to 2% of a 150 kW charge, a pack of about 3 t would warm by 2 to 4 K per hour without cooling. Offsets of 3 and 5 K, applied to the plant, the controller and the projections, bound this effect in Section 6.4. The packs of the three groups are 0.5 to 2, 2 to 4.5 and 4.5 to 6 years old, and their initial losses are obtained by integrating Equations (25)–(27) over their age under a representative historical stress; the BESS starts at mid-life (seven years of daily cycling).

Marginal Aging Costs for Optimization

The square root laws are concave in time, so the marginal aging rate of a battery depends on the loss it has already accumulated. Differentiating Equation (25) and eliminating t gives
∂ q cal ∂ t = k T k SOC 2 2   q cal ,               ∂ q cyc ∂ FEC = 0.01   k C k D 2 2   q cyc
Multiplying these rates by the value Vi of the capacity of pack i gives the cost of keeping the pack at SOC s during one step and the cost of charging it at power p:
c i , k cal s = V i 2   q i cal   k T T b , k 2 k SOC s 2   Δ t
c i , k cyc p = V i 2   q i cyc 0.01   k D , i 2 a   η ch   p C i + b 2 η ch   p   Δ t 2   C i
V i = π pack + ρ c   ε bat E nom Δ Q EOL
where Tb,k is the pack temperature, πpack is the replacement price of the pack per kWh, εbat is its embodied emission factor, ρc is the carbon price (set to zero in the controllers that are not carbon-aware) and ΔQEOL = 0.2 is the loss that ends the first life of the pack. Equation (31) is convex in p and is represented by two linear segments of width Pdisp/2, whose slopes are the chords of Equation (31) over [0, Pdisp/2] and [Pdisp/2, Pdisp]. The SOC stress kSOC(s)2 is replaced by a convex piecewise linear function obtained by splitting the SOC into three bands,
k SOC s 2 ≈ f 0 + ∑ l = 1 3 κ l   s l ,               s = ∑ l = 1 3 s l ,               0 ≤ s l ≤ w l
with widths w = (0.75, 0.15, 0.10) and increasing slopes κ = (0.373, 1.320, 3.041) (Figure 3d). Because the slopes increase, a cost-minimizing solver fills the bands in order, and the approximation is exact for the piecewise function without integer variables. The aging of a bus during a block is priced with the same function evaluated at the mean SOC of the block, s i t j dep − E ^ j / 2 C ^ i , through an epigraph variable wj bounded below by the three affine pieces of the piecewise function,
w j ≥ f l + κ l s i t j dep − E ^ j 2 C ^ i − b l ,               l = 1 , 2 , 3
where b = (0, 0.75, 0.90) are the breakpoints and fl the values of the piecewise function at these breakpoints, whose cost V i   k T T drv 2   τ j   w j / 2 q i cal uses the duration τj of the block, in seconds, and the mean pack temperature Tdrv while driving. In the optimization, the calendar cost of each parked step is therefore the linear function ∑ l κ l   s i , k l of the band variables multiplied by the coefficient V i   k T T b , k 2 Δ t / 2 q i cal , and the cycle cost is linear in the two power segments. These coefficients depend only on the temperature forecast and on the current aging state, and they are recomputed at every update of the controller, with the states estimated by the battery management systems, which amounts to a successive linearization of the square-root laws around the current state; the plant model of the closed-loop simulation integrates the nonlinear laws (25)–(28) instead. Equations (30)–(33) make the optimizer aware of three physical facts at once: high SOC is expensive when it is hot, young packs age faster than old ones for the same stress, and a pack that is parked full during the afternoon pays a calendar cost that has nothing to do with the energy it delivers. Figure 3c quantifies the first fact: relative to a pack stored at 25 °C and 50% SOC, the marginal calendar fade rate is 2.5 times higher at full charge and 25 °C, and 4.9 times higher at full charge and 40 °C.
Figure 3. Grid signals and aging stress: (a) TOU price; (b) MEF; (c) relative calendar fade rate; (d) SOC stress and its piecewise linear form.

3.7. Objectives and Performance Indicators

The three objectives requested by the operator are evaluated on an annual basis. The annualized cost J1 (EUR yr−1) adds the annuities of the investments Ix in PV, BESS, power cabinets, dispensers and grid connection, with lifetime nx and operation and maintenance share φx, the energy and demand charges, the aging of the bus packs and the cycle wear of the BESS:
J 1 = ∑ x CRF r , n x + φ x I x + 10 − 3 ∑ k π k   g k   Δ t + π D ∑ m G ^ m + ∑ i V i 0   Δ q i + V B 0   Δ q B cyc
CRF r , n = r 1 + r n 1 + r n − 1 ,
where Δqi is the annual capacity loss of pack i, V0 is the value of Equation (32) without carbon price, and V B 0 = π B E B / Δ Q EOL ; the factor 10−3 converts kWh into MWh, because πk is expressed in EUR MWh−1, gk in kW and Δt in h, and the same factor appears in Equations (38) and (45). The calendar aging of the BESS is not added to J1 because it is already represented by its 15-year lifetime in the annuity; only the additional cycle wear is charged. Because this lifetime is an assumption, Section 6.4 projects the life LB that the container reaches under its simulated duty, with the aging laws used for the buses, and a life consistent variant of the cost replaces the lifetime nB of the energy-related investment by LB. Since LB results from calendar and cycle aging together, the separate cycle wear is then no longer charged,
J 1 B = J 1 + CRF r , L B − CRF r , n B π B E B − V B 0   Δ q B cyc ,
and the embodied emissions of the cells are annualized over LB in the same way. The annual emissions J2 (tCO2e yr−1) separate the operational emissions, computed with the MEF, from the embodied emissions of the equipment, annualized over its lifetime, and from the embodied emissions of the bus battery capacity consumed by aging:
J 2 = 10 − 3 ∑ k MEF k   g k   Δ t + ε PV P PV n PV + ε bat E B n B + ε ch P ch n ch + ε bat E nom Δ Q EOL ∑ i Δ q i .
where the factor 10−3 converts kg into t for the embodied terms, whose emission factors are expressed in kgCO2e per unit of capacity. The buses themselves lie outside the boundary of the station, so their packs enter J1 and J2 only through the share of their value and of their embodied emissions consumed by aging, which avoids counting the same battery twice. The third objective J3 (kWh yr−1) is the battery capacity lost by the fleet and by the BESS:
J 3 = E nom ∑ i Δ q i + E B   Δ q B .
These objectives are complemented by indicators that the operator monitors: the cost and emissions per kilometer, the departure readiness (share of departures for which the actual SOC covers the actual block energy and the reserve), the annual peak import, the PV self-consumption, the renewable share of the depot supply, the mean SOC of parked buses and the projected number of years until a pack reaches 80% SOH.

4. Codesign, Predictive Control and Human-Centric Mechanisms

4.1. Codesign of the Charging Station

The design vector gathers the five sizing decisions of the station,
x = P PV ,   E B ,   P B ,   P ch ,   P g max
and is optimized together with the operation of the depot on representative days of the 2015 to 2025 ERA5-Land record. For each month m, the representative day is the medoid of the days of that month in the plane of the daily PV energy EPV,d and the mean auxiliary power of the buses during the service hours P ¯ aux , d , both standardized:
d m ⋆ = arg min d ∈ D m ∥ ( E PV , d − μ m PV σ m PV ,   P ¯ aux , d − μ m aux σ m aux ) ∥ 2
Its PV profile is scaled to the monthly mean energy, and it is operated with the weekday, Saturday and Sunday timetables, with weights wm,τ equal to the mean annual number of days of each type τ in month m. Such selections of representative periods are standard in energy system design [66,67]; their representativeness for the charging demand, the timing of PV generation and the peak demand is assessed in Section 6.9 against the full record and against 36 days selected on hourly profiles. The hottest weekday of the record (24 July 2023, with a fleet energy of 12.2 MWh) is added with a negligible weight to guarantee that the grid connection and the charging power can serve the most demanding day. On this day, as on the others, the power limits of the connection, the cabinets and the dispensers are hard constraints.
The departure requirements carry slack variables penalized in proportion to the weight of the day, so that, strictly, they do not guarantee readiness on the design day; a verification in which these penalties are independent of the weight (5 × 104 EUR per unit of SOC), which makes the requirements hard wherever the charging taper allows them to be met, is reported in Section 6.9. Within each group, buses with consecutive departures are aggregated into cohorts of at most three, which gives 14 cohorts, whose capacity, aging state and departure requirement are the means of those of their members; the closed-loop controller of Section 4.2 and the plant model handle every pack individually. Each representative day is a cyclic operation problem: the SOC trajectories of the cohorts and the BESS energy return to their initial values at the end of the day, departures satisfy Equation (16) with m = 5%, and the weekly balancing charges are distributed over the days. The weighted aggregation of the days gives the annual objectives of Section 3.7, with the aging terms (30) and (31) evaluated at the current state of the fleet. The codesign problem reads
min x ,   y       J 1 x , y + ρ c   J 2 x , y
subject to Equations (12)–(22) and (30)–(34) written for every representative day, where y collects the operational variables of all representative days. The design variables appear in the linking constraints
c d , k ≤ P PV   p PV , d , k ,               ∑ i p i , d , k ≤ P ch ,               g d , k ≤ G ^ m d ≤ P g max ,               P PV ≤ P PV area
in which pPV,d,k is the specific PV output (kW kWp−1) of Equation (7) and P PV area = 1800 kWp. In Equation (42), the carbon price ρc is set to 80 EUR tCO2−1. The Pareto front between cost and emissions is obtained with the ε constraint method [68], by minimizing J1 under the constraint
J 2 x , y ≤ ε ,               ε ∈ J 2 min ,   J 2 x cost
between the emission minimum and the emissions of the cost optimal design. The problem is a linear program with about 124,000 variables, which the HiGHS interior point solver [69] solves in 30 to 100 s. The continuous solution is rounded to commercial sizes: PV and BESS to 10 kWp, 10 kWh and 10 kW, charging power up to the next multiple of a 150 kW cabinet, and grid connection up to the next 50 kVA.

4.2. Model Predictive Control

The controller solves a linear program over a horizon of H = 96 steps (24 h) at each update time t0, every 2 h in the nominal case and every hour when uncertainties are simulated. The forecasts are the timetable, the block energies obtained from the temperature and irradiance forecasts through Equations (8)–(11), the PV forecast, the tariff and the MEF. The current SOC and the estimated capacities and aging states of all packs come from the battery management systems, so that the controller acts on the estimated SOC, whose error is studied in Section 6.7. With the stage cost
ℓ k = 10 − 3 π k + ρ c   MEF k g k   Δ t + ∑ i c i , k cal s i , k + c i , k cyc p i , k + c B , k cal + c B , k cyc
t the optimization problem reads
min       ∑ k = t 0 t 0 + H − 1 ℓ k + π D   G ^ + M ∑ j ξ j − v B   e t 0 + H
subject to Equations (13)–(21), (33) and (34) over the horizon and to
s i t j dep + ξ j ≥ s j req ,               ξ j ≥ 0 ,               G ^ ≥ g k ,               G ^ ≥ G ^ mtd
where G ^ mtd is the peak already reached in the current month, so that the demand charge is paid only for an increase of the monthly peak, ξj is a slack variable penalized by M = 5 × 104 EUR per unit of SOC that keeps the problem feasible when a departure cannot be served and reports the shortfall, and vB is the terminal value of the energy left in the BESS, equal to 90% of the night price of energy including carbon. The terms c B , k cal and c B , k cyc apply Equations (30)–(33) to the BESS with its own state and value. The controller therefore remains a linear program: calendar aging enters through the band variables of Equation (33) with coefficients updated from the temperature forecast and the current aging states, cycle aging through the two power segments of Equation (31), and the aging during the blocks through the epigraph variables of Equation (34) (Section 3). Blocks that start inside the horizon chain the SOC of each bus from one parked interval to the next through the forecast block energy. The plan is applied during the first update period, and a local safety layer clips the set points to the instantaneous limits of the dispensers, of the cabinets and of the grid connection, reducing BESS charging first and bus charging last if a limit is violated. Depending on the hour, the linear program has about 10,000 to 11,000 variables and 4500 constraints; the HiGHS dual simplex solver [69] solves it in about 0.1 s, which leaves ample time for supervision and replanning.

4.3. Human-Centric Mechanisms

4.3.1. Explanations from Shadow Prices

Because the controller is a linear program, its optimal dual variables are available at no extra cost and have an exact economic meaning. Let λk, μk and νj be the multipliers of the power balance (20), of the cabinet capacity (15) and of the departure constraint of block j. By linear programming sensitivity, a small change ΔPk of the load at step k and a small change Δ s j req of a departure requirement change the optimal cost J⋆ of Equation (46) by
Δ J ⋆ ≃ λ k   Δ P k   Δ t ,               Δ J ⋆ ≃ ν j   C ^ i   Δ s j req
The shadow price λk (EUR MWh−1) is the marginal cost of energy at the depot at step k. When the grid is the marginal supply, it equals the composite signal πk + ρcMEFk, it rises above this value when the monthly peak or the connection limit binds, and it falls to the value of storage or to zero when PV is curtailed. The price νj (EUR kWh−1) states what the readiness of departure j costs, and μk reveals the congestion of the power cabinets. These quantities are converted into plain explanations for the dispatcher, for example, “bus 12 is charged at 03:00 because energy costs 99 EUR MWh−1 at that time against 184 EUR MWh−1 at 19:00”. The fidelity of an explanation is measured by comparing the prediction of Equation (48) with the change obtained by solving the perturbed problem again,
e fid = | Δ J pred ⋆ − Δ J act ⋆ | max | Δ J pred ⋆ | , | Δ J act ⋆ |

4.3.2. Counterfactual Price and Feasibility of Overrides

When the operator asks for a different plan, for instance, a higher SOC for a group of buses at their next departure, the controller solves the problem with the requested requirements s j op and reports, before execution, the economic price of the request and the energy that cannot be delivered in time,
Δ J ov = J econ ⋆ s req ← s op − J econ ⋆ s req ,               E short = ∑ j ξ j   C ^ i j ,
where J econ ⋆ is the optimal cost without the slack penalty. The operator keeps the decision and is informed of its consequences, which is the essence of human-centric automation.

4.3.3. Priorities, Margins and Design Choice

The dispatcher can raise the requirement of a departure (for example, when a bus is reassigned to an extra trip), switch a group to a conservative mode with an additional margin during heatwaves, and declare charger outages or limits requested by the DSO. These requests enter Equation (46) as constraints, never as soft preferences that the optimizer could trade away silently. At the design stage, the decision maker selects the design on the Pareto front of Equation (44) with full knowledge of the cost of each tonne of CO2 avoided.

4.3.4. Decisions Reserved for Human Judgment

The automation computes, explains and prices, but four classes of decisions remain with people because they involve value judgments, information that the model does not contain, or accountability. First, the trade-off between cost and emissions, expressed by the choice of a design on the Pareto front or of a carbon price, is a policy choice rather than an engineering optimum. Second, the acceptance of risk, through the margins m and z of Equation (16), sets the balance between battery wear and departure readiness and must be revised when forecasts degrade or during heatwaves. Third, exceptions that the timetable and the forecasts do not describe, such as reassignments, breakdowns, special events or requests of the DSO, are entered by the dispatcher as constraints after their price and feasibility have been displayed. Fourth, the dispatcher, not the optimizer, is accountable for safety and for every departure. For each class, the framework measures the consequences of the human decision in the units of the depot: the cost of each tonne of CO2 avoided along the Pareto front (Section 6.5), the price of a request and the energy that cannot be delivered (Section 6.6), and the readiness, low SOC arrivals and cost obtained with each choice of margins and with the interventions of a year (Section 6.7). This role is expected to remain relevant as automation progresses, because these decisions are normative or exceptional by nature and because regulation increasingly requires effective human oversight of automated decision systems, as Article 14 of the European Artificial Intelligence Act does for high-risk systems, which include systems used as safety components in the management and operation of critical infrastructure, such as the supply of electricity [70].

5. Case Study, Scenarios and Simulation Setup

5.1. Parameters

Table 3 lists the parameters of the case study. The economic values are assumptions representative of the market conditions of 2025 and 2026 for equipment installed in North Africa, and the embodied emission factors are of the order of magnitude reported by life-cycle assessments of PV systems and LFP batteries [44,45]. The TOU tariff and the demand charge are stylized from the structure of MV tariffs, with a peak period that moves to midday in summer because of the air-conditioning load. All the indicators are computed for the calendar year 2023, which contains the hottest weekday of the eleven-year record.

5.2. Scenarios

Table 4 defines the scenarios. They form a ladder in which each step adds a single ingredient, so that the difference between two consecutive scenarios measures the value of that ingredient. S0 is the conventional practice: each bus is plugged into a dedicated 100 kW charger and charged at full power on arrival, and the grid connection is sized for the resulting peak (3.4 MVA). Because S0 also differs from the codesigned station by its charging hardware, two benchmarks share the six cabinets of 150 kW chosen by the codesign, without PV and storage: S0s charges immediately, the cabinets share their 900 kW among the connected dispensers in proportion to their requests, and S1s schedules the same hardware with the cost-oriented controller of S1; both have a connection sized to their own peak, so that S0s versus S0 measures the hardware dividend of the shared power matrix and S1s versus S0s the value of scheduling on that hardware. S1 keeps the same infrastructure as S0 but schedules charging with a cost-oriented MPC that targets a full battery. S2 adds a conventional PV and storage retrofit: the canopy is filled with 1800 kWp, and a BESS of 1440 kWh and 720 kW is installed, operated by the same controller. S3 replaces the controller by the aging-aware MPC, which charges each bus to its requirement rather than to full, S4 adds the carbon price on the MEF, and S5 operates the codesigned station (Dopt) with the S4 controller. Two ablations complete the ladder: S5c is the sequential benchmark, in which the station is sized by the codesign without aging and carbon terms (Dcost) and operated by the cost-oriented controller, and S5x operates Dopt without the carbon term. S6 subjects S5 to forecast errors with nominal (S6n) and robust (S6r) margins, with S0 under the same errors as a reference, and S7 adds disruptions and operator interventions to S6r.
Table 4. Scenario ladder. Each scenario differs from the previous one by a single ingredient, given in the last column.
The interventions of S7 reproduce the requests that a dispatcher handles during a year: 26 priority requests (every two weeks a bus of group B or C is reassigned to an extra trip and must leave with 95% SOC for a block that needs 40% more energy), six outages of one power cabinet lasting 48 h, eight DSO requests that halve the connection capacity during 3 h in the evening, and a heatwave mode that adds a 5% margin to group A on the days whose maximum temperature exceeds 38 °C.

5.3. Closed-Loop Simulation

Every scenario is simulated in closed loop over the year 2023 at a 15 min resolution, after a warm-up week. In S0 to S5, the forecasts of block energies, arrival times and PV production are perfect, which isolates the value of each ingredient; S6 and S7 then quantify the loss caused by forecast errors. The plant model differs from the controller model in three respects: the aging of every pack follows the nonlinear laws (25)–(28) with half-cycle counting, the true block energies and arrival times include the forecast errors in S6 and S7, and the local safety layer enforces the instantaneous limits.
When the SOC estimation error is simulated, each pack carries an estimation error that is redrawn at each arrival as ei ← 0.8 ei + 0.6 σSOC ζ, with ζ a standard normal variable and the error limited to ±3σSOC, which represents the drift of current integration between recalibrations; the error is reset to zero when the pack reaches 98% SOC, the controller plans with the estimated SOC si,k + ei, and readiness is evaluated with the true SOC.
The annual indicators are computed after the warm-up period, and the change of the energy stored in the buses and in the BESS between the start and the end of the year is valued at the night price and the night emission factor so that no scenario is favored by its final state. The battery life is projected by repeating the SOC, location and temperature profile of 2023 from a new pack until the SOH reaches 80%, with projections censored at 14 years; the life of the BESS is projected in the same way from its SOC profile, with projections censored at 25 years. The codesign is repeated for the five cities with their own weather, and a solar-rich 2030 grid is used to test whether carbon awareness gains value when the MEF decouples from the tariff.

6. Results and Discussion

6.1. Resource, Demand and Grid Signals

The ERA5-Land record reveals two opposite seasonal cycles that the depot must reconcile (Figure 2). The canopy produces 1576 kWh kWp−1 per year in Sousse, from 2.45 kWh kWp−1 per day in December to 5.90 in July, and the yield increases from north to south, from 1524 kWh kWp−1 in Bizerte to 1709 kWh kWp−1 in Ben Guerdane. Its interannual variability is small (capacity factor between 17.6% and 18.4% in Sousse over eleven years), which makes PV a dependable resource for sizing. The ambient temperature follows the same seasonality, but its extremes drive the demand: in Sousse it averages 20.2 °C, its 99th percentile reaches 37.4 °C and its maximum is 46.7 °C. Because the specific consumption doubles between mild and extreme weather, the weekday energy of the fleet ranges from 6.6 to 12.2 MWh, with a mean of 7.8 MWh and a 99th percentile of 10.7 MWh. The day that sizes the infrastructure, 24 July 2023, requires 57% more energy than the mean weekday. On that day, the energy of the all-day blocks of group A plus the 15% reserve exceeds the capacity of their packs by 2% to 7%, so these 14 departures cannot be fully protected by any charging strategy and require a midday top-up or a block swap decided by the dispatcher. They are the only departure failures in the scenarios that use requirement-based targets.
The two grid signals are strongly coupled today. The MEF of 2023 ranges from 0.40 to 0.62 tCO2 MWh−1 (mean 0.48) and its correlation coefficient with the tariff is 0.70, because both follow the national load (Figure 3a,b). In the solar-rich 2030 grid, the MEF vanishes during 25% of the hours, mostly around midday from spring to autumn, and its correlation with the tariff falls to −0.02: the carbon and price signals then carry different information. This contrast is the key to interpreting the value of carbon awareness in Section 6.8.

6.2. Daily Operation

Figure 4 compares the immediate charging of S0 with the codesigned and predictively controlled depot of S5 on a winter and a summer weekday. Under S0, the return of groups B and C in the evening creates charging peaks of 2.6 MW in January and 3.3 MW in July, exactly during the peak tariff and the highest MEF of the day, and the parked buses remain at a mean SOC of 97% and 94% because they are refilled as soon as they arrive.
Figure 4. Operation on 18 January (left) and 19 July 2023 (right): (a,b) S0; (c,d) S5; (e,f) mean SOC of parked buses; (g,h) MEF.
Under S5, the controller holds the import at a constant level during the night, which is the cheapest way to deliver the night energy once the monthly peak has been reached, shifts the charging of the split-shift buses to the middle of the day when the PV canopy covers it, and stores part of the PV surplus in the BESS for the evening. The maximum import falls to 349 kW in January and 637 kW in July, 87% and 80% below S0, and the daily grid energy falls from 8.8 to 6.1 MWh and from 12.9 to 7.2 MWh. The mean SOC of the parked buses drops to about 52%: each bus receives just the energy of its next block plus the reserve and the margin, and it receives it as late as the tariff, the PV production and the cabinet capacity allow. This just-in-time pattern is the operational mechanism behind the aging results discussed below.

6.3. Annual Performance and Component Isolation

Table 5 and Figure 5 report the annual results of the scenario ladder, and Table 6 isolates the contribution of each ingredient.
Table 5. Annual results in Table 5; Eg: grid energy; G ^ : peak import; SC: PV self consumption; s ¯ : mean SOC of parked buses; Life: projected years to 80% SOH; Rdep: departure readiness.
Figure 5. Annual comparison of the scenarios in Table 5, including the shared hardware benchmarks S0s and S1s: (a) annualized cost J1 by component; (b) emissions J2 by component, separating operational (grid) and embodied emissions; (c) fleet capacity fade by mechanism, with the projected years to 80% SOH; (d) cost and emissions per kilometer.
Table 6. Contribution of each ingredient, computed as the relative change between consecutive scenarios of the ladder (negative values are improvements).
Five findings stand out.
First, a large part of the cost reduction is a hardware dividend that requires no optimization. Replacing the 40 dedicated chargers and the 3.4 MVA connection by six shared cabinets and a connection of 1000 kVA while still charging every bus on arrival (S0s) lowers J1 by 26.3%, because the annuity of the charging hardware and of the connection falls from 254 to 101 kEUR yr−1 and the demand charges from 214 to 70 kEUR yr−1, without any loss of readiness. The shared cabinets slow down the evening charging, but the buses are still refilled on arrival and parked almost full, so the emissions and the battery fade barely change (−3.4% and −2.7%). Scheduling the same hardware with the cost-oriented controller (S1s) lowers the cost by a further 13.4% and the peak import from 975 to 837 kW. Hence 26.3 of the 45.4 points of cost reduction of S5 with respect to S0 come from the shared power matrix, whereas the emission reduction and the battery life extension come from the controllers, the PV and storage and the codesign: with respect to S0s, S5 still reduces the cost by 25.9%, the emissions by 42.8% and the battery capacity lost by 30.8%.
Second, scheduling alone is the cheapest lever. With the same chargers and connection, the cost-oriented MPC of S1 cuts the peak import by 70% (from 3393 to 1019 kW), the demand charges from 214 to 55 kEUR yr−1 and the energy bill by 25%, which lowers J1 by 24.9%. Its emissions fall by only 7%, because the night energy that replaces the evening energy is supplied by the same gas fleet at a slightly lower MEF.
Third, a conventional PV and storage retrofit is not automatically worth its investment. Filling the canopy with 1800 kWp and installing 1440 kWh of storage (S2) halves the grid energy and cuts emissions by 39%, but it raises the annualized cost by 8.4% with respect to S1. The annuity of the equipment (199 kEUR yr−1 more than S1) exceeds the savings on energy and demand (148 kEUR yr−1), 45% of the PV production is curtailed, and the bus aging cost even increases because the cost-oriented controller fills the buses with midday PV and keeps them full until the evening (58% of the parked time above 90% SOC against 36% in S1). Allowing the surplus to be exported does not reverse this conclusion: with an export price of 30 EUR MWh−1 and the Tunisian limit of 30% of the production, the curtailment of S2 falls to 17% and its cost to 1052 kEUR yr−1, still 6.1% above S1.
Fourth, aging awareness is the most valuable ingredient after scheduling. On the same infrastructure, the aging-aware controller of S3 reduces the cost by 14.7% and the emissions by 20.9% with respect to S2. The mechanism is visible in the mean SOC of the parked buses, which falls from 87% to 44%: by charging each bus to its requirement instead of to full, the controller cuts the fleet capacity fade from 2.05 to 1.51% per year and the aging cost by 120 kEUR yr−1, and it also uses the PV better, because buses that are not kept full can absorb the midday surplus (self-consumption from 55% to 67%). The projected battery life increases from 9.8 to 13.3 years. Carbon awareness (S4), on the contrary, changes almost nothing under the current grid: the emissions decrease by 0.4% and the cost is unchanged. This is not a weakness of the controller but a property of the signals, since the MEF and the tariff are correlated (Section 6.1) and the cost-oriented schedule already avoids the high-carbon hours.
Fifth, joint sizing creates the largest single gain once the controller is fixed. The codesign of S5 replaces the 1800 kWp, 1440 kWh, 4 MW of chargers and 3.4 MVA of the conventional retrofit by 1050 kWp, 780 kWh and 290 kW of storage, six cabinets (900 kW) and an 850 kVA connection. With the same controller as S4, it lowers the annualized cost by 21.4%, mainly because the investment annuity falls from 453 to 213 kEUR yr−1 while the aging of the buses is unchanged. It does so at the price of 25% more emissions than S4, because the carbon price of 80 EUR tCO2−1 used in the codesign does not justify the large PV plant and storage; Section 6.5 shows how this choice moves along the Pareto front. Compared with the conventional practice, S5 reduces the annualized cost by 45.4% (from 1319 to 721 kEUR yr−1, or from 0.76 to 0.41 EUR km−1), the emissions by 44.7% (from 993 to 549 gCO2e km−1), the battery capacity lost by 32.7% and the peak import by 80.5%, while serving every departure that is physically feasible.
The sequential benchmark S5c confirms that these gains come from the coupling of sizing with aging and carbon rather than from optimization as such. When the station is sized by the same codesign without aging and carbon terms and operated by a cost-oriented controller, the result is 16.7% more expensive, emits 17.2% more and loses 31% more battery capacity than S5; its buses spend half of their parked time above 90% SOC, and their projected life is 9.9 years instead of 13.3. The ablation S5x, which removes the carbon term from the S5 controller, changes cost and emissions by less than 0.3%, consistent with the S3 to S4 comparison.

6.4. Battery Aging

Battery aging is the largest cost item in every scenario: 523 kEUR yr−1 in S0, 40% of J1, and still 339 kEUR yr−1 in S5, 47% of a much smaller total. Figure 6 explains why. Under immediate charging, the parked buses spend 92% of their time above 90% SOC (Figure 6a), and calendar aging accounts for 87% of the capacity fade. The predictive controllers that price aging spread the parked SOC between 15% and 85% with a mode just above the reserve (Figure 6b), which cuts the calendar fade by 42% (from 2.03 to 1.18% per year) while the cycle fade increases slightly (from 0.29 to 0.33% per year) because the packs are charged at higher C rates during the shorter charging windows. The net effect is a projected life of 13.3 years from a new pack, against 8.5 years under immediate charging (Figure 6c). In other words, a fleet that would need a pack replacement in its ninth year can complete a typical 12-year service life on its original batteries, with an SOH of 80% to 82% after 12 years.
Figure 6. Battery aging: distribution of the SOC of parked buses by hour of the day under (a) immediate charging and (b) the codesigned predictive operation; (c) projected fleet mean SOH from a new pack when the 2023 operation is repeated; (d) capacity fade of 2023 by group.
The benefit is not uniform across the fleet (Figure 6d). The capacity fade of 2023 falls by 23% for group A, whose all-day blocks leave little parking time to exploit, by 42% for the split-shift buses of group B and by 49% for the peak trippers of group C, which are parked most of the day. The state-dependent marginal costs of Equations (30) and (31) also make the controller treat young and old packs differently, because the same stress costs more for a pack that has accumulated less loss. This differentiation is invisible in models that use a constant degradation cost per kWh.
These conclusions do not depend on the assumption that a parked pack is 1 K warmer than the ambient air (Table A3 in Appendix C). With offsets of 3 and 5 K, which bound the thermal inertia of the pack and the Joule heating of fast charging, the calendar share of the fade under immediate charging rises from 87% to 88%, the fade rises from 2.33 to 2.43 and 2.54% per year and the projected life falls from 8.5 to 8.1 and 7.8 years. The aging-aware operation absorbs part of the increase, so that the aging cost it saves with respect to immediate charging grows from 184 to 197 and 210 kEUR yr−1: a warmer pack makes high SOC parking an even larger hidden cost. The codesign is insensitive to the offset (Table 7).
Table 7. Fidelity of the shadow price explanations and counterfactual price of an operator override that requests 95% SOC for the 18 buses of group B at their next departure.
The stationary battery ages at 25 °C but is cycled about once a day (Table A4 in Appendix C). In S5, the controller charges it with the midday surplus shortly before the evening and empties it at night, so that its mean SOC is 53% and it spends only 17% of the time above 80% SOC and 9% above 90%: because the controller prices its calendar aging, the container does not idle at high SOC. From its mid-life state, it loses 0.80% of its capacity per year by calendar aging and 0.53% by cycling (423 full equivalent cycles). Repeated from a new container, however, this duty gives a projected life LB of 8.3 years rather than 15: the square-root laws result in a new cell losing 4.3% of its capacity by calendar aging during its first year even at 25 °C and moderate SOC, and the daily cycling adds 2.6%. The conventional retrofit gives similar projections (8.9 years in S3 and S4, and 11.2 years in S2, whose storage is kept emptier by the cost-oriented controller). The life consistent cost of Equation (37) therefore changes J1 by +0.6% for S5 and by −0.1% to +0.7% for the other configurations with storage, which leaves the ranking of the scenarios and the conclusions unchanged; with this cost, the codesign installs less storage (Section 6.10), whose size has little influence on the cost.

6.5. Pareto Front and Price of Decarbonization

The design that S5 operates is one point of a front, and Figure 7 shows the whole front obtained with the ε constraint method. At the cost-optimal end, the codesign installs 723 kWp of PV, 302 kWh of storage and an 882 kVA connection, for annual emissions of 1009 tCO2e. Moving along the front, the emissions can be reduced by 56%, down to 446 tCO2e, for an increase of the annualized cost of only 14% in the design-stage model; the theoretical minimum of 376 tCO2e requires about 5 MWh of storage and the last tonnes avoided so it does not cost more than 400 EUR tCO2−1.
Figure 7. Pareto analysis: (a) cost and emissions front; (b) optimal sizes; (c) marginal abatement cost; (d) closed-loop evaluation.
The design changes along the front follow a clear sequence (Figure 7b): the PV plant grows first, until it reaches the area limit of 1800 kWp, while the storage grows faster and faster, from 0.3 to 3.7 MWh, and the grid connection shrinks from 882 to 530 kVA because the storage supplies the evening peak. The charging power hardly changes (848 to 954 kW), since it is dictated by the fleet energy and the length of the night window. The aging objective J3 varies by less than 10% along the front and grows towards the low emission end only because the larger BESS loses more capacity, which means that cost and bus battery health are not in conflict once the controller is aging-aware.
The marginal abatement cost along the front (Figure 7c) rises from 14 EUR tCO2−1 for the first 70 t avoided to 233 EUR tCO2−1 near the area limit of the PV plant. The weighted codesign with ρc = 80 EUR tCO2−1 therefore lands where the marginal abatement cost crosses the carbon price, and the designs obtained with carbon prices of 40, 150 and 300 EUR tCO2−1 fall on the same front, which confirms that the carbon price is a transparent way for the decision maker to choose a point on the front.
The closed-loop evaluation confirms the shape of the front (Figure 7d). Operated over 2023 by the predictive controller, the cost-optimal design (ρc = 0), Dopt (ρc = 80 EUR tCO2−1) and the designs obtained with 150 and 300 EUR tCO2−1 form a front that dominates every conventional and sequential configuration. Reducing the emissions from 1135 to 557 tCO2e (−51%) raises the annualized cost from 715 to 796 kEUR yr−1 (+11%), with closed-loop marginal abatement costs of 30, 135 and 213 EUR tCO2−1 for the three successive steps.
The design obtained with 300 EUR tCO2−1 emits 27% less than the conventional PV and storage retrofit operated by a controller of the same type (S4) and costs 13% less, because it replaces 4 MW of dedicated chargers and a 3.4 MVA connection with 1.05 MW of shared cabinets and a 550 kVA connection, and it invests the savings in 1800 kWp of PV and 3.9 MWh of storage. The absolute values of the closed-loop front are higher than those of the design-stage model, mainly because the design stage omits the dispensers and underestimates the bus aging (Section 6.9), but the ranking of the designs and the slope of the front are preserved, and a correction of the aging bias moves the front and the sizes only slightly (Section 6.9).

6.6. Explainability and Human Oversight

Figure 8 shows the explanations that accompany two evening plans of the S5 controller. In both seasons, the shadow price of energy λk departs strongly from the tariff. During the night, it reaches 716 to 745 EUR MWh−1 in January and 702 to 724 EUR MWh−1 in July, seven times the composite signal πk + ρcMEFk of about 100 EUR MWh−1. The decomposition of λk explains why: the import is held at the monthly peak during about 38 steps, so any additional kWh must either raise the peak, which costs πD = 6 EUR kW−1 shared over these steps (6000/(38 × 0.25) ≈ 630 EUR MWh−1), or be moved to another hour. For the dispatcher, the message is that the binding resource of the night is the monthly peak, not the tariff, and that any unplanned night load should be compensated by shifting another charge rather than by importing more. At midday, the price collapses to 0 to 15 EUR MWh−1 because PV is curtailed or about to be, which explains why the parked buses of groups B and C are charged at that time, and in the late afternoon it settles at 90 to 100 EUR MWh−1, the value of the energy stored in the BESS.
Figure 8. Controller explanations: shadow price λk on (a) 18 January and (b) 19 July 2023; (c) readiness prices νj; (d) fidelity.
The readiness prices νj of Figure 8c rank the departures by the effort they require. The morning departures cost between 0.1 and 2 EUR per additional kWh, typically 0.8 to 1.5 EUR kWh−1 for the all-day buses of group A, that is, about ten times the energy price, because their energy must be delivered during the congested night. The afternoon departures cost 0.01 to 0.05 EUR kWh−1 because the midday PV serves them, and the departures whose requirement exceeds 100% on the hottest day are flagged by an active slack. Such a ranking tells the operator, at a glance, which buses should not be reassigned to longer blocks overnight.
The explanations are faithful. Over 192 load perturbations and 128 departure perturbations applied to four plans, the first order prediction of Equation (48) matches the reoptimized cost change within 1% in 90% and 76% of the cases, respectively (Figure 8d and Table 7). In every test, the shadow price lies between the left and right marginal costs obtained by solving the perturbed problems, as linear programming duality requires; the deviations occur only at degenerate points where several limits bind together, typically when the cabinets are saturated before the morning departures. In these cases, the controller reports the interval of marginal costs, at the price of two additional solves of about 0.1 s.
The counterfactual analysis of overrides in Table 7 gives the operator two pieces of information before acting: the price of the request and its feasibility. Requesting 95% SOC for the whole of group B costs 2180 EUR when it is made at 20:00 in January and is fully feasible. The same request made at 02:00 costs 3106 EUR and cannot be satisfied for 14 departures (800 kWh missing), because only 3.7 h remain and the six cabinets are already saturated. In July, the request is partly infeasible even at 20:00, which reveals a tradeoff created by the codesign: the lean charging capacity that minimizes the annual cost leaves little room for exceptional requests on summer nights. An additional 150 kW cabinet would cost about 6.3 kEUR yr−1, which the operator can now compare with the value of such flexibility. This is the practical meaning of human centricity in the proposed framework: the automation does not decide alone, it states the consequences of each human decision in the units that matter to the depot.
The value of the information that only the dispatcher holds can be measured in the same way. When the 26 reassignments of S7 (Section 6.7) are carried out without being entered in the controller, five of the extended blocks leave with less energy than they need plus the reserve, one of which returns below 10% SOC, whereas entering the requests avoids every such failure at an annual cost of 0.1 kEUR. Likewise, the active slacks flag the 14 departures of 24 July that no schedule can protect as soon as they enter the 24 h horizon, which leaves the dispatcher a full day to organize a top-up or a block swap. Human involvement therefore creates value precisely where the information or the authority lies outside the model, and this value remains as automation progresses, because such exceptions are not described by forecasts and because the accountability for each departure stays with the dispatcher (Section 4.3.4).

6.7. Robustness to Uncertainty and Operator Interventions

Perfect forecasts are an idealization, and Figure 9 shows what happens when the controller faces realistic errors on block energies, arrival times, PV production and SOH. With the nominal 5% margin (S6n), the predictive depot remains cheap (1.7% more expensive than S5) but becomes fragile: 761 departures (3.9%) leave with less energy than the block actually requires plus the reserve, 724 of which could have been served, and 108 returns occur below 10% SOC. The fixed margin covers about one standard deviation of the energy error of an all-day block, which explains why 629 of the 724 avoidable failures concern group A. The chance-constrained margin of Equations (16) and (17) (S6r) scales the protection with the energy of each block and restores the readiness to 99.70%: the avoidable failures fall from 724 to 21 (0.11% of the departures, with a median shortfall of 1.6% of capacity), and the arrivals below 10% SOC from 108 to 18, close to the 13 observed under immediate charging, which keeps every bus full at a cost 75% higher. The price of this robustness is small: 1.7% of cost and 0.6% of emissions with respect to S6n. Altogether, forecast errors add 3.4% to the cost and 6.3% to the emissions of the codesigned depot, the latter mainly because PV forecast errors reduce the self-consumption from 83% to 74%.
Figure 9. Robustness: (a) SOC margin at departure; (b) low SOC arrivals; (c) cost and emissions versus S5; (d) charging during a cabinet outage.
Because σE and σSOH could not be calibrated on data from the depot, S6r was repeated with σE from 4% to 16%, the same value being used by the plant and by the margin of Equation (17) (Table 8). The readiness stays between 99.13% and 99.84% over this range, because the margin z σj grows with the error, while the cost of the operation rises from 2.4% to 5.2% above S5 and the mean SOC of the parked buses from 43% to 49%. If the controller keeps σE = 8% while the true error is 16%, the readiness falls to 97.17% (416 avoidable failures), which shows that the margin must follow the forecast accuracy observed at the depot rather than a fixed assumption. The SOC estimation error of LFP packs acts differently, because it is persistent between recalibrations: when it is ignored by the margin, an error of 3% or 5% lowers the readiness to 98.91% and 96.05% (174 and 728 avoidable failures), whereas including σSOC = 5% in Equation (17) restores 99.51% for a 0.7% additional cost with respect to S6r without estimation error. The weekly balancing charge to 98% SOC bounds this drift, and the readiness obtained when σSOC enters the margin shows that the chance constraint protects departures against this error as well, provided that the battery management system provides an estimate of its accuracy.
Table 8. Sensitivity of the robust operation (S6r) to the forecast error of the block energy and to the SOC estimation error (closed loop, 2023; changes with respect to S5 under perfect forecasts).
The operator interventions of S7 are absorbed without loss of service. All 26 buses reassigned to an extra trip left with enough energy for their extended block; 20 of them reached the requested 95% SOC, and the other six left between 94.1% and 95%. During the six cabinet outages, 1014 of the 1016 departures were ready, and the two exceptions were caused by energy forecast errors of 16% and 19%, not by the outage: as shown in Figure 9d, the controller anticipates the missing cabinet by starting the night charging at 22:30 instead of 00:15 and spreading the same night energy (4.84 against 4.86 MWh) under the reduced capacity. The eight DSO requests were respected at every step, and they were absorbed at no cost because the predictive plan already avoids importing during the evening peak (the import never exceeded 75 kW during these windows, against a temporary limit of 425 kW). The heatwave mode was activated on 23 days. The annual cost of all these interventions is 0.01% and their emission impact 0.1%, which shows that the human-centric layer adds flexibility and safety without eroding the economic and environmental gains of the codesign.

6.8. Transferability to Other Cities and to a Solar-Rich Grid

The codesign and the predictive operation were repeated for the four other cities with their own ERA5-Land weather (Figure 10). The optimal station is remarkably stable along the Tunisian coast: 970 to 1060 kWp of PV, 610 to 790 kWh of storage, six cabinets and an 800 to 850 kVA connection, that is, about 25 kWp of PV, 15 to 20 kWh of storage, 22 kW of charging power and 21 kVA of connection per bus. This stability is useful for planners, who can start from these ratios before running a site-specific codesign. The benefits are equally stable, with cost reductions of 45% to 46% and emission reductions of 43% to 48% with respect to immediate charging. The differences between cities follow the climate. Bizerte, the mildest site, has the lowest fleet energy and the lowest capacity fade (1.41% per year with S5) and hence the lowest cost per kilometer (0.39 EUR km−1); Gabès and Ben Guerdane, the sunniest and hottest sites, gain most in emissions because their canopy yields 11% to 12% more energy than in Bizerte, but their packs age faster (1.53% per year).
Figure 10. Transferability: (a) codesign per city; (b) cost and (c) emissions per kilometer; (d) carbon awareness today and in 2030.
The solar-rich grid of 2030 changes the value of carbon awareness (Figure 10d). With the same codesigned station, the carbon-aware controller now reduces the operational emissions by 5.5% (from 727 to 687 tCO2 per year) and the total emissions by 4.5%, for a cost increase of 0.1%, whereas the same controller saved only 0.3% of the operational emissions under the current grid. The mechanism is the decoupling of the signals: the controller moves the charging of the split-shift buses and of the BESS towards the midday hours in which national PV drives the MEF to zero, so the MEF weighted average of the imported energy falls from 0.420 to 0.398 tCO2 MWh−1. Repeating the codesign for the 2030 grid gives an almost identical station (1000 kWp and 740 kWh instead of 1050 kWp and 780 kWh) with the same cost and emissions within 1.1%, so the station designed today remains near-optimal as the grid decarbonizes. Carbon awareness is therefore best seen as a low-cost option whose value grows with the share of renewable energy in the grid, which argues for deploying it from the start.
This result rests on two assumptions of the 2030 scenario, which were relaxed (Table A5 in Appendix C). The step of the MEF at the must-run level is not its source: with a MEF that rises continuously from zero to EFmin, carbon awareness reduces the operational emissions by 5.7%. With a tariff adapted to the solar-rich grid, in which the midday hours become the cheapest period and the summer midday peak disappears, the correlation between tariff and MEF rises from −0.02 to 0.54, and the cost-oriented controller already moves part of the charging of buses and storage towards midday, which reduces its operational emissions by 4.9% with respect to the static tariff. Carbon awareness still adds 4.1%. The tariff is constant between 10:00 and 16:00, whereas the MEF vanishes only in 79% of these hours, depending on the season and on the national PV production; the carbon-aware controller concentrates the midday imports in these hours, which lowers their mean MEF from 0.123 to 0.070 tCO2 MWh−1. The adapted tariff and the carbon signal are therefore complementary rather than substitutes: together, they reduce the operational emissions by 8.8%, and the carbon signal keeps most of its value even when tariffs follow the evolution of the grid. Such a tariff also changes the design: grid energy at midday becomes cheaper than PV produced on site, and the codesign installs only 430 kWp of PV and 350 kWh of storage.

6.9. Design-Stage Model Versus Closed Loop

The codesign rests on four approximations: representative days, cohorts of up to three buses, a design day with a small weight and a first order convex model of aging. This section measures their effect against the closed-loop simulation, which represents every day of 2023, every pack and the nonlinear aging laws.
Table 9 decomposes the annualized cost of the configurations in both models. The difference between the design-stage cost of Dopt (550.1 kEUR yr−1, Table 10) and its closed-loop cost (720.7 kEUR yr−1, Table 5) is not a single bias. One-third of it is a matter of boundary: the 40 dispensers (54.3 kEUR yr−1), identical in all designs, are left out of the design-stage objective because they do not influence the optimum. With the same boundary and the rounded sizes, the investment is identical in both models, the energy and demand charges agree within 1.5%, and the remaining difference is the bus aging cost, 227 kEUR yr−1 in the design stage against 339 kEUR yr−1 in closed loop. A part of this difference, 40 kEUR yr−1, is the constant term f0 of the piecewise SOC stress of Equation (33), which does not depend on the decisions and is therefore omitted from the optimization; the rest, 73 kEUR yr−1, is the genuine bias of the first-order model. It comes mostly from cycle aging, which is underestimated by a factor of 1.79 because the model prices only the charging half-cycles while the plant also counts the discharging half-cycles of the blocks, whereas the calendar aging, which dominates, is underestimated by a factor of only 1.18, because of the chord of the SOC stress below 75% SOC and of the marginal rates evaluated at the state of the fleet at the start of the year. The same pattern holds for the other aging-aware configurations (Table 9), so the bias is systematic but its size, a factor of 1.24 to 1.27 on the aging cost, is nearly the same for all designs.
Table 9. Annualized cost of the aging-aware configurations in the design-stage model (DS, representative days and rounded sizes) and in the closed-loop simulation during the full year 2023, in kEUR yr−1: investment (Inv.), energy and demand charges (E&D), bus aging with and without the constant term f0 of the SOC stress, and total; the dispensers (54.3 kEUR yr−1 in all cases) are excluded from both models.
Table 10. Sensitivity of the codesign in Sousse (design-stage model); PV in kWp, BESS in kWh/kW, cabinets in kW, grid in kVA; the changes of the fleet size cases are per bus.
Because the optimal sizes are determined by this biased model, the aging costs of the codesign were multiplied by the factor 1.52, which equalizes the capacity loss of Dopt in both models, and the codesign and the ε constraint front were recomputed (Figure 11). The corrected codesign installs 990 kWp of PV and 710 kWh and 260 kW of storage instead of 1050 kWp, 780 kWh and 290 kW, with the same six cabinets and the same 850 kVA connection; operated in closed loop, it costs 0.2% less and emits 3.1% more with respect to Dopt. The corrected front lies higher, by the additional aging cost, but it spans nearly the same range of emissions, and the sizes along it follow the same sequence: at equal emissions, the PV differs by at most 2% and the storage by at most 130 kWh, that is, by less than 11% where it exceeds 1 MWh (Figure 11c). The bias thus raises the level of the cost much more than its sensitivity to the sizes, because the aging of the buses depends mainly on the controller and on the timetable, which all designs share; the optimal sizes and the choice of a point on the front are robust to it.
Figure 11. Design-stage model versus closed loop: (a) annualized cost by component of the aging-aware configurations in both models; (b) cost and emission fronts without and with the aging bias correction, with the closed-loop evaluation of the two codesigns; (c) optimal PV and storage along the two fronts.
The twelve monthly medoids reproduce the annual fleet energy of the eleven-year record within 0.01%, the annual PV energy exactly, by construction, and the PV energy produced from 10:00 to 16:00, when the split-shift buses are parked, within 0.8%; for individual months, the errors remain below 0.8% for the fleet energy and 6.2% for the midday PV. A selection of three medoids per month on the hourly profiles of PV output and auxiliary power, which captures the temporal coincidence of generation and demand directly, reduces the largest monthly error of the midday PV to 1.0%, and the codesign with these 36 days installs 1060 kWp of PV and 740 kWh of storage, with 900 kW of cabinets and an 850 kVA connection, against 1050 kWp, 780 kWh, 900 kW and 850 kVA with the twelve medoids, for a 0.5% lower design-stage cost. The representative days do not reproduce the tail of the daily energy, whose 90th percentile is 9.3 MWh for the medoids and 9.5 MWh for the record; this is why the peak is checked on the design day and why every design is evaluated over all the days of 2023 in closed loop, where the peak import of Dopt (662 kW) stays 22% below its connection.
The cohorts use the mean capacity and aging state of their members in Equation (16). The members of a cohort have consecutive ages, so their capacities differ by at most 0.47%, and on the design day the requirement of the oldest member exceeds that of its cohort by at most 0.40 points of SOC, far less than the margin m = 5%. A variant in which every cohort takes the capacity of its oldest pack yields the same rounded station (Table 10). In closed loop, where every pack is controlled individually, the oldest packs of the 14 cohorts failed five of their 6763 departures, all of them among the 14 physically infeasible departures of 24 July, so the aggregation causes no violation for the oldest packs.
On the design day, the limits of the connection, the cabinets, the dispensers and the storage are hard constraints, whereas the departure requirements are penalized in proportion to the weight of the day. With a penalty independent of the weight (5 × 104 EUR per unit of SOC), the requirements become hard wherever the charging taper allows them to be met, and the rounded station is unchanged except for 10 kWh of additional storage (Table 10). A single cyclic design day cannot represent the depletion of buses or storage over consecutive hot days, but the year 2023 simulated in closed loop contains the longest heatwave of the eleven-year record, 14 consecutive days with a maximum temperature above 38 °C from 12 to 25 July, together with the most energy-intensive three days of the record (23 to 25 July, 11.9 MWh per day on average). During these 14 days, S5 kept the import at or below 662 kW, its annual peak, against a connection of 850 kVA, used the full 900 kW of cabinets every night, emptied the storage every night and refilled it with PV every day, and served every departure except the 14 infeasible departures of 24 July. Each night restores the energy of the blocks of the next day and each day refills the storage, so the coupling between consecutive days is weak: it is the night charging window, not a state carried over from the previous hot days, that limits the depot.

6.10. Sensitivity Analysis

Table 10 and Figure 12 report the sensitivity of the codesign to eleven parameters varied one at a time around the base case, with the design-stage model. Three behaviors can be distinguished. The price of the bus packs is the most influential parameter for the cost (±16%), because aging is the largest cost item, but it barely changes the optimal station: the design is robust to the most uncertain economic input. The energy price, the demand charge and the carbon price move both the cost and the design. Higher prices of grid energy or grid capacity justify more PV and storage (up to 1181 kWp and 1313 kWh for a demand charge of 12 EUR kW−1), which reduce the emissions by about 8%, so economic and environmental incentives are aligned in the Tunisian context. The carbon price has the strongest effect on the emissions (+21% without carbon price and −42.5% at 200 EUR tCO2−1) and on the design (PV from 723 to 1749 kWp and storage from 0.3 to 3.4 MWh). Finally, the storage price changes the optimal storage by a factor of five (350 to 1691 kWh) and the emissions by −13% to +10%, while the cost changes by less than 0.3%: the cost function is flat with respect to storage, so its size can be chosen for emissions or resilience at almost no cost. The charging power is fixed by the fleet (848 kW for 40 buses before rounding) and scales almost linearly with the fleet size (636 and 1061 kW for 30 and 50 buses), with mild economies of scale: for a 50-bus depot, the cost per bus decreases by 1.3% and the emissions per bus by 3.2%. The emission factor scales the emissions almost proportionally (−14% and +16% for a change of ±20%) with little effect on the design, and the PV price, the cabinet price, the PV area limit and the discount rate change the cost by less than 3.5% without altering the structure of the design.
Figure 12. Sensitivity of the codesign: change of (a) the annualized cost and (b) the emissions per bus for the low and high value of each parameter; (c) optimal PV and storage sizes of all sensitivity cases.
The lower part of Table 10 reports variants of the formulation. Allowing the export of the PV surplus at 30 EUR MWh−1, a price below the cost of PV energy, does not make PV more profitable but removes the curtailment: without a limit, the codesign fills the canopy (1800 kWp), keeps only 180 kWh of storage, enlarges the connection to 1100 kVA to export the midday surplus and lowers the cost by 0.6%, while the emissions, credited with the MEF of the exported energy, fall to 95 t. With the Tunisian limit of 30% of the production, the PV plant grows from 1050 to 1380 kWp, the storage and connection are unchanged and the cost decreases by 1.2%; in closed loop, this station exports 431 MWh per year, costs 719.4 kEUR yr−1 (−0.2% with respect to S5) and emits 659 t with the export credit and 879 t without it, with unchanged battery aging. The no-export assumption therefore shrinks the PV plant, by about a quarter under the current rule, but none of the conclusions on aging, control and sizing of the charging infrastructure depends on it.
With the life consistent cost of Equation (37) and the projected life of 8.3 years obtained under the duty of S5, the codesign reduces the storage from 780 kWh and 290 kW to 480 kWh and 200 kW, with 1000 kWp of PV and an 850 kVA connection; in closed loop, with the same accounting, this station costs 0.7% less than Dopt and emits 4.6% more. As with the storage price, the cost is flat with respect to the size of the storage, which can therefore be chosen for emissions or resilience. Second-life storage, with an energy price of 120 EUR kWh−1, a life of 10 years and an initial loss of 20% [71], leads to a larger storage (1360 kWh) and 8.6% lower emissions at almost the same cost (−0.2%): because the cost function is flat with respect to storage, cheaper second-life packs would change the size of the storage and the emissions rather than the economic viability of the depot. The design is insensitive to the temperature offset of parked packs, to the worst-case capacity of the cohorts, to a hard design day and to the choice of 36 representative days, and the tariff adapted to the 2030 grid reduces the PV plant, as discussed in Section 6.8.

6.11. Limitations

The results should be read with five limitations in mind. First, hourly MEF data are not available for Tunisia, so the MEF is a stylized merit order signal, whose parameters are reported in Section 3.5 and Appendix B; the conclusion that carbon awareness adds little today depends on its correlation with the tariff and should be checked with measured MEF when they become available, as should the finding that a tariff adapted to a solar-rich grid and the carbon signal are complementary. Second, the aging laws were identified on one commercial LFP/graphite cell in the laboratory [54,55]; packs from other manufacturers, cell-to-cell variations and the thermal behavior of a real pack in a hot depot may shift the absolute lifetimes, although the ranking of the strategies rests on the robust physical fact that LFP calendar aging grows with SOC and temperature, and the conclusions hold for parked packs up to 5 K warmer than the air. Third, the codesign relies on a first-order and convex approximation of aging, which underestimates the capacity loss of the closed-loop simulation by about one-third (185 against 282 kWh yr−1 for Dopt); Section 6.9 shows that correcting this bias reduces the optimal PV and storage by 6% and 9% and changes the closed-loop cost by less than 0.5%, and the closed-loop evaluation is used for every reported indicator. Fourth, the assignment of buses to blocks is fixed, whereas jointly optimizing vehicle scheduling and charging [4,20,24] could exploit the readiness prices of Section 6.6 to route old packs to short blocks. Fifth, the operator interventions and the forecast and estimation errors are simulated, with error levels that could not be calibrated on data of the depot and were therefore varied over wide ranges; the human-centric mechanisms should be validated with dispatchers in a pilot depot, where the acceptance of explanations and the frequency of overrides can be measured directly.

7. Conclusions

This study set out to show that the design and the operation of an electric bus depot must be decided together, with the batteries, the carbon content of the grid and the dispatcher in the loop, and to measure what each of these ingredients is worth. A single set of linear models, fed by eleven years of ERA5-Land weather, a temperature-dependent energy model and semi-empirical aging laws of LFP batteries, was used both to codesign the PV canopy, the storage, the charging power and the grid connection and to drive a model predictive controller; a ladder of scenarios simulated in closed loop over a full year attributed the benefits to each ingredient. Four lessons emerge.
First, the largest hidden cost of an electric depot in a warm climate is the calendar aging of buses parked at full charge: charging each bus just in time for its requirement reduced the capacity fade by 26% on the same infrastructure, and the complete framework extended the projected battery life from 8.5 to 13.3 years, which removes a pack replacement within a typical 12-year service life; this lesson becomes stronger if the parked packs are warmer than assumed.
Second, sizing must be coupled with operation, and its value must be separated from the dividend of shared charging hardware. Six shared cabinets instead of 40 dedicated chargers already lower the cost by 26% with immediate charging; on top of this dividend, the predictive operation, the PV and storage and the codesign reduce the cost by a further 26%, the emissions by 43% and the battery wear by 31%, for a total of 45%, 45% and 33% with respect to immediate charging on dedicated chargers. The codesign cut the cost by 21% with respect to a conventional PV and storage retrofit operated by the same controller and by 14% with respect to a sequential cost-based design, with almost identical results in five Tunisian cities. The design-stage model underestimates the bus aging, mostly by ignoring the discharging half-cycles, but a correction of this bias reduces the optimal PV and storage by only 6% and 9% and changes the closed-loop cost by less than 0.5%.
Third, a carbon signal adds little while the marginal emission factor follows the tariff, but it reduces the operational emissions by 5.5% at a negligible cost once a solar-rich grid decouples the two signals, and it keeps most of this value with a tariff adapted to the solar-rich grid, which captures a similar share through the price; deeper decarbonization follows a Pareto front whose marginal abatement cost rises from 30 to 213 EUR tCO2−1 in closed loop.
Fourth, the framework makes Industry 5.0 measurable rather than declarative: shadow price explanations reproduced reoptimized cost changes within 1% in 90% of the load tests and 76% of the departure tests; operator overrides were priced and checked for feasibility before execution; chance-constrained margins kept the departure readiness above 99.1% for energy forecast errors from 4% to 16% and, when they include it, for SOC estimation errors of 5%; and the reassignments known only to the dispatcher, once entered, avoided five failed extra trips in a year. Future work will validate these human-centric mechanisms with dispatchers in a pilot depot, calibrate the forecast and estimation errors on depot data, couple vehicle scheduling with the readiness prices, and replace the stylized emission factor with measured marginal signals as the Tunisian grid moves towards its renewable target.

Author Contributions

Conceptualization, M.E.A., M.A.Z. and C.B.S.; Methodology, M.E.A., and C.B.S.; formal analysis, M.E.A., A.A. and C.B.S.; data curation, M.E.A., and C.B.S.; visualization, M.E.A., A.A. and C.B.S.; writing (original draft preparation), M.E.A. and C.B.S.; writing (review and editing), M.E.A., M.A.Z., A.A. and C.B.S.; investigation, M.E.A. and C.B.S.; software, M.E.A. and C.B.S.; validation, M.E.A., M.A.Z. and C.B.S.; project administration, M.A.Z., A.A. and C.B.S.; supervision, M.E.A., M.A.Z., A.A. and C.B.S.; resources, M.E.A., M.A.Z. and C.B.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The ERA5-Land hourly data are freely available from the Copernicus Climate Change Service Climate Data Store. The simulation code and the processed results supporting the findings of this study are available from the corresponding author upon reasonable request.

Acknowledgments

The authors gratefully acknowledge Baseem Khan (Department of Electrical and Electronic Engineering Technology, University of Johannesburg, South Africa) and Ferdaws Ben Naceur (Laboratory of Advanced Technology and Intelligent Systems (LATIS), University of Sousse, Tunisia) for their constructive discussions, technical advice, and careful review of the manuscript, which significantly improved the quality of this work.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ACAlternating current
BESSBattery energy storage system
CC/CVConstant current and constant voltage charging
CRFCapital recovery factor
DCDirect current
DODDepth of discharge
DSODistribution system operator
EOLEnd of life
ERA5Fifth generation atmospheric reanalysis of the European Centre for Medium-Range Weather Forecasts
FECFull equivalent cycles
GHIGlobal horizontal irradiance
HVACHeating, ventilation and air conditioning
KPIKey performance indicator
LFPLithium iron phosphate
LPLinear program
MEFMarginal emission factor
MILPMixed-integer linear programming
MPCModel predictive control
MVMedium voltage
NOCTNominal operating cell temperature
O&MOperation and maintenance
PVPhotovoltaic
SOCState of charge
SOHState of health
TCOTotal cost of ownership
TOUTime of use
UTCCoordinated universal time

Appendix A. Nomenclature

Table A1 lists the main symbols used in the models and formulations.
Table A1. Main symbols.

Appendix B. Parameters of the Stylized Grid Signals

The normalized national load of Equation (23) is computed at every step k as
L k = 1 − w k L w h k + 1.12   w k   L s h k f k we 1 + 0.015 T ¯ a , k − 26 + ,               w k = 1 − cos 2 π n k − 15 / 365 2 ,
where hk is the local hour, Lw and Ls are the winter and summer shapes of Table A2, linearly interpolated within each hour, nk is the number of days elapsed since 1 January, f k we equals 0.92 on Saturdays and Sundays and 1 otherwise, and T ¯ a , k is the mean ambient temperature of the five sites in °C. Over 2023, and over the whole record, Lk ranges from Lmin = 0.534 to Lmax = 1.401. In the 2030 grid, p ~ k is the mean output per kWp of south-facing PV tilted by 25° at the five sites, αPV = 0.25, Rmr = 0.35 Lmax, and the continuous variant of Section 6.8 replaces the step of Equation (24) by a linear rise from 0 to EFmin for Rk between Rmr and Rmr + 0.05 Lmax. The tariff adapted to the solar-rich grid charges 70 EUR MWh−1 from 22:00 to 06:00, 50 EUR MWh−1 from 10:00 to 16:00, 150 EUR MWh−1 from 18:00 to 22:00 and 90 EUR MWh−1 otherwise, all year.
Table A2. Hourly values of the winter and summer shapes of the normalized national load (local time, hour starting at the value given).

Appendix C. Supplementary Results

Table A3. Effect of the temperature offset of parked packs above the ambient air (closed loop, 2023).
Table A4. Stationary battery in closed loop (2023): mean SOC, shares of time above 80% and 90% SOC, annual calendar and cycle losses from the mid-life state, full equivalent cycles, projected life LB from a new container and annualized cost with the assumed lifetime (J1) and with the life consistent formulation of Equation (37) ( J 1 B ).
Table A5. Value of carbon awareness under alternative assumptions (Dopt, closed loop, 2023): correlation between tariff and MEF, operational emissions J 2 op with the controllers of S3 and S4, and changes obtained by carbon awareness.

References

  1. Manzolli, J.A.; Trovão, J.P.; Antunes, C.H. A review of electric bus vehicles research topics: Methods and trends. Renew. Sustain. Energy Rev. 2022, 159, 112211. [Google Scholar] [CrossRef] [Scilit]
  2. Jagiełło, A. Economic Efficiency of Sustainable Public Transport: A Literature Review on Electric and Diesel Buses. Energies 2025, 18, 1352. [Google Scholar] [CrossRef] [Scilit]
  3. Borne, I.; de Souza, S.A.S.; Silva, E.T.C.; Soares, G.B.; Ledesma, J.J.G.; Ando Junior, O.H. Sustainable Mobility: Analysis of the Implementation of Electric Bus in University Transportation. Energies 2025, 18, 2195. [Google Scholar] [CrossRef] [Scilit]
  4. Perumal, S.S.G.; Lusby, R.M.; Larsen, J. Electric bus planning & scheduling: A review of related problems and methodologies. Eur. J. Oper. Res. 2022, 301, 395–413. [Google Scholar] [CrossRef] [Scilit]
  5. Zhou, Y.; Wang, H.; Wang, Y.; Yu, B.; Tang, T. Charging facility planning and scheduling problems for battery electric bus systems: A comprehensive review. Transp. Res. Part E Logist. Transp. Rev. 2024, 183, 103463. [Google Scholar] [CrossRef] [Scilit]
  6. Lim, L.K.; Muis, Z.A.; Ho, W.S.; Hashim, H.; Bong, C.P.C. Review of the energy forecasting and scheduling model for electric buses. Energy 2023, 263, 125773. [Google Scholar] [CrossRef] [Scilit]
  7. Kim, H.; Hartmann, N.; Zeller, M.; Luise, R.; Soylu, T. Comparative TCO Analysis of Battery Electric and Hydrogen Fuel Cell Buses for Public Transport System in Small to Midsize Cities. Energies 2021, 14, 4384. [Google Scholar] [CrossRef] [Scilit]
  8. Danielis, R.; Scorrano, M.; Masutti, M.; Awan, A.M.; Niazi, A.M.K. Fuel Cell Electric Buses: A Systematic Literature Review. Energies 2024, 17, 5096. [Google Scholar] [CrossRef] [Scilit]
  9. Chen, Z.; Wang, H.; Barry, W.J.; Tuozzolo, M.J. Multi-Criteria Decision-Making of Hybrid Energy Infrastructure for Fuel Cell and Battery Electric Buses. Energies 2025, 18, 2829. [Google Scholar] [CrossRef] [Scilit]
  10. Adekola, K.; Ghafoori, S.; Dechamp, F.; Prada, A. Electricity supply configurations for green hydrogen hubs: A European case study on decarbonizing urban transport. Int. J. Hydrogen Energy 2024, 85, 539–559. [Google Scholar] [CrossRef] [Scilit]
  11. IRENA. Renewables Readiness Assessment: The Republic of Tunisia; International Renewable Energy Agency: Abu Dhabi, United Arab Emirates, 2021. Available online: https://www.irena.org/Publications/2021/Jun/Renewables-Readiness-Assessment-The-Republic-of-Tunisia (accessed on 9 October 2026).
  12. Rekik, S. Optimizing green hydrogen strategies in Tunisia: A combined SWOT-MCDM approach. Sci. Afr. 2024, 26, e02438. [Google Scholar] [CrossRef] [Scilit]
  13. Gallet, M.; Massier, T.; Hamacher, T. Estimation of the energy demand of electric buses based on real-world data for large-scale public transport networks. Appl. Energy 2018, 230, 344–356. [Google Scholar] [CrossRef] [Scilit]
  14. Basma, H.; Mansour, C.; Haddad, M.; Nemer, M.; Stabat, P. Comprehensive energy modeling methodology for battery electric buses. Energy 2020, 207, 118241. [Google Scholar] [CrossRef] [Scilit]
  15. Basma, H.; Mansour, C.; Haddad, M.; Nemer, M.; Stabat, P. Energy consumption and battery sizing for different types of electric bus service. Energy 2022, 239, 122454. [Google Scholar] [CrossRef] [Scilit]
  16. Sennefelder, R.M.; Martín-Clemente, R.; González-Carvajal, R. Energy Consumption Prediction of Electric City Buses Using Multiple Linear Regression. Energies 2023, 16, 4365. [Google Scholar] [CrossRef] [Scilit]
  17. Leou, R.-C.; Hung, J.-J. Optimal Charging Schedule Planning and Economic Analysis for Electric Bus Charging Stations. Energies 2017, 10, 483. [Google Scholar] [CrossRef] [Scilit]
  18. Houbbadi, A.; Trigui, R.; Pelissier, S.; Redondo-Iglesias, E.; Bouton, T. Optimal Scheduling to Manage an Electric Bus Fleet Overnight Charging. Energies 2019, 12, 2727. [Google Scholar] [CrossRef] [Scilit]
  19. Qin, N.; Gusrialdi, A.; Brooker, R.P.; T-Raissi, A. Numerical analysis of electric bus fast charging strategies for demand charge reduction. Transp. Res. Part A Policy Pract. 2016, 94, 386–396. [Google Scholar] [CrossRef] [Scilit]
  20. He, Y.; Liu, Z.; Zhang, Y.; Song, Z. Time-dependent electric bus and charging station deployment problem. Energy 2023, 282, 128227. [Google Scholar] [CrossRef] [Scilit]
  21. Guschinsky, N.; Kovalyov, M.Y.; Pesch, E.; Rozin, B. Cost minimizing decisions on equipment and charging schedule for electric buses in a single depot. Transp. Res. Part E Logist. Transp. Rev. 2023, 180, 103337. [Google Scholar] [CrossRef] [Scilit]
  22. Wang, Z.; Zheng, F.; Hamdan, S.; Jouini, O. On the spatio-temporal optimization for the charging scheduling of battery electric buses. Transp. Res. Part E Logist. Transp. Rev. 2025, 197, 104086. [Google Scholar] [CrossRef] [Scilit]
  23. Yang, S.; An, K.; Rich, J. Electric bus battery swapping and charging management across multiple depots. Omega 2026, 138, 103434. [Google Scholar] [CrossRef] [Scilit]
  24. Dabčević, Z.; Deur, J. Interactive Optimization of Electric Bus Scheduling and Overnight Charging. Energies 2025, 18, 4440. [Google Scholar] [CrossRef] [Scilit]
  25. Ding, X.; Zhang, W.; Wei, S.; Wang, Z. Optimization of an Energy Storage System for Electric Bus Fast-Charging Station. Energies 2021, 14, 4143. [Google Scholar] [CrossRef] [Scilit]
  26. Arif, S.M.; Lie, T.T.; Seet, B.C.; Ahsan, S.M.; Khan, H.A. Plug-In Electric Bus Depot Charging with PV and ESS and Their Impact on LV Feeder. Energies 2020, 13, 2139. [Google Scholar] [CrossRef] [Scilit]
  27. Islam, S.M.M.; Salema, A.A.; Saleheen, M.Z.; Lim, J.M.Y. The influence of shifting the electric bus charging routine on the techno-economic performance of a solar-powered bus depot. Energy 2022, 239, 122316. [Google Scholar] [CrossRef] [Scilit]
  28. Ren, H.; Ma, Z.; Tse, C.F.N.; Sun, Y. Optimal control of solar-powered electric bus networks with improved renewable energy on-site consumption and reduced grid dependence. Appl. Energy 2022, 323, 119643. [Google Scholar] [CrossRef] [Scilit]
  29. Zaneti, L.A.L.; Arias, N.B.; de Almeida, M.C.; Rider, M.J. Sustainable charging schedule of electric buses in a University Campus: A rolling horizon approach. Renew. Sustain. Energy Rev. 2022, 161, 112276. [Google Scholar] [CrossRef] [Scilit]
  30. Liu, X.; Liu, X.C.; Xie, C.; Ma, X. Impacts of photovoltaic and energy storage system adoption on public transport: A simulation-based optimization approach. Renew. Sustain. Energy Rev. 2023, 181, 113319. [Google Scholar] [CrossRef] [Scilit]
  31. Liu, X.; Liu, X.C.; Liu, Z.; Shi, R.; Ma, X. A solar-powered bus charging infrastructure location problem under charging service degradation. Transp. Res. Part D Transp. Environ. 2023, 119, 103770. [Google Scholar] [CrossRef] [Scilit]
  32. Liu, X.; Yeh, S.; Plötz, P.; Ma, W.; Li, F.; Ma, X. Electric bus charging scheduling problem considering charging infrastructure integrated with solar photovoltaic and energy storage systems. Transp. Res. Part E Logist. Transp. Rev. 2024, 187, 103572. [Google Scholar] [CrossRef] [Scilit]
  33. Bie, Y.; Qin, W.; Wu, J. Optimal electric bus scheduling method under hybrid energy supply mode of photovoltaic-energy storage system-power grid. Appl. Energy 2024, 372, 123774. [Google Scholar] [CrossRef] [Scilit]
  34. Hu, X.; Li, H.; Xie, C. Optimal charging scheduling of an electric bus fleet with photovoltaic-storage-charging stations. Appl. Energy 2025, 390, 125714. [Google Scholar] [CrossRef] [Scilit]
  35. Liu, Z.; Ma, X.; Zhuo, S.; Liu, X. Optimizing shared charging services at sustainable bus charging hubs: A queue theory integration approach. Renew. Energy 2024, 237, 121860. [Google Scholar] [CrossRef] [Scilit]
  36. Azim, M.I.; Razzaghi, R. Connection capacity-constrained energy management for solar- and battery-powered electric bus depots. J. Energy Storage 2025, 139, 118895. [Google Scholar] [CrossRef] [Scilit]
  37. Verbrugge, B.; Geury, T.; Hegazy, O. Co-Design Optimization and Total Cost of Ownership Analysis of an Electric Bus Depot Microgrid with Photovoltaics and Energy Storage Systems. Energies 2024, 17, 6233. [Google Scholar] [CrossRef] [Scilit]
  38. Basma, H.; Mansour, C.; Haddad, M.; Nemer, M.; Stabat, P. A novel method for co-optimizing battery sizing and charging strategy of battery electric bus fleets: An application to the city of Paris. Energy 2023, 285, 129459. [Google Scholar] [CrossRef] [Scilit]
  39. Rupp, M.; Handschuh, N.; Rieke, C.; Kuperjans, I. Contribution of country-specific electricity mix and charging time to environmental impact of battery electric vehicles: A case study of electric buses in Germany. Appl. Energy 2019, 237, 618–634. [Google Scholar] [CrossRef] [Scilit]
  40. Rupp, M.; Rieke, C.; Handschuh, N.; Kuperjans, I. Economic and ecological optimization of electric bus charging considering variable electricity prices and CO2eq intensities. Transp. Res. Part D Transp. Environ. 2020, 81, 102293. [Google Scholar] [CrossRef] [Scilit]
  41. Huber, J.; Lohmann, K.; Schmidt, M.; Weinhardt, C. Carbon efficient smart charging using forecasts of marginal emission factors. J. Clean. Prod. 2021, 284, 124766. [Google Scholar] [CrossRef] [Scilit]
  42. Powell, S.; Martin, S.; Rajagopal, R.; Azevedo, I.M.L.; de Chalendar, J. Future-proof rates for controlled electric vehicle charging: Comparing multi-year impacts of different emission factor signals. Energy Policy 2024, 190, 114131. [Google Scholar] [CrossRef] [Scilit]
  43. Luke, J.; Ribeiro, M.G.D.C.; Martin, S.; Balogun, E.; Cezar, G.V.; Pavone, M.; Rajagopal, R. Optimal coordination of electric buses and battery storage for achieving a 24/7 carbon-free electrified fleet. Appl. Energy 2025, 377, 124506. [Google Scholar] [CrossRef] [Scilit]
  44. Schultz, H.S.; Carvalho, M. Design, Greenhouse Emissions, and Environmental Payback of a Photovoltaic Solar Energy System. Energies 2022, 15, 6098. [Google Scholar] [CrossRef] [Scilit]
  45. Degen, F.; Mitterfellner, M.; Kampker, A. Comparative life cycle assessment of lithium-ion, sodium-ion, and solid-state battery cells for electric vehicles. J. Ind. Ecol. 2025, 29, 113–128. [Google Scholar] [CrossRef] [Scilit]
  46. Pelletier, S.; Jabali, O.; Laporte, G.; Veneroni, M. Battery degradation and behaviour for electric vehicles: Review and numerical analyses of several models. Transp. Res. Part B Methodol. 2017, 103, 158–187. [Google Scholar] [CrossRef] [Scilit]
  47. Zhang, L.; Wang, S.; Qu, X. Optimal electric bus fleet scheduling considering battery degradation and non-linear charging profile. Transp. Res. Part E Logist. Transp. Rev. 2021, 154, 102445. [Google Scholar] [CrossRef] [Scilit]
  48. Zhou, Y.; Meng, Q.; Ong, G.P. Electric bus charging scheduling for a single public transport route considering nonlinear charging profile and battery degradation effect. Transp. Res. Part B Methodol. 2022, 159, 49–75. [Google Scholar] [CrossRef] [Scilit]
  49. Zeng, Z.; Wang, S.; Qu, X. On the role of battery degradation in en-route charge scheduling for an electric bus system. Transp. Res. Part E Logist. Transp. Rev. 2022, 161, 102727. [Google Scholar] [CrossRef] [Scilit]
  50. Shehabeldeen, A.; Foda, A.; Mohamed, M. A multi-stage optimization of battery electric bus transit with battery degradation. Energy 2024, 299, 131359. [Google Scholar] [CrossRef] [Scilit]
  51. Wang, Y.; Liao, F.; Bi, J.; Lu, C. Optimal battery electric bus system planning considering heterogeneous vehicles, opportunity charging, and battery degradation. Renew. Energy 2024, 237, 121596. [Google Scholar] [CrossRef] [Scilit]
  52. Manzolli, J.A.; Trovão, J.P.F.; Antunes, C.H. Electric bus fleet charging management: A robust optimisation framework addressing battery ageing, time-of-use tariffs, and energy consumption uncertainty. Appl. Energy 2025, 381, 125137. [Google Scholar] [CrossRef] [Scilit]
  53. Seo, Y.-B.; Park, S.-W.; Son, S.-Y. MILP-Based Optimization of Electric Bus Charging Considering Battery Degradation and Environmental Factors Under TOU Pricing. Energies 2025, 18, 6028. [Google Scholar] [CrossRef] [Scilit]
  54. Naumann, M.; Schimpe, M.; Keil, P.; Hesse, H.C.; Jossen, A. Analysis and modeling of calendar aging of a commercial LiFePO4/graphite cell. J. Energy Storage 2018, 17, 153–169. [Google Scholar] [CrossRef] [Scilit]
  55. Naumann, M.; Spingler, F.B.; Jossen, A. Analysis and modeling of cycle aging of a commercial LiFePO4/graphite cell. J. Power Sources 2020, 451, 227666. [Google Scholar] [CrossRef] [Scilit]
  56. Möller, M.; Kucevic, D.; Collath, N.; Parlikar, A.; Dotzauer, P.; Tepe, B.; Englberger, S.; Jossen, A.; Hesse, H. SimSES: A holistic simulation framework for modeling and analyzing stationary energy storage systems. J. Energy Storage 2022, 49, 103743. [Google Scholar] [CrossRef] [Scilit]
  57. Breque, M.; De Nul, L.; Petridis, A. Industry 5.0: Towards a Sustainable, Human-Centric and Resilient European Industry; European Commission, Directorate General for Research and Innovation: Luxembourg, 2021. [Google Scholar] [CrossRef] [PubMed]
  58. Xu, X.; Lu, Y.; Vogel-Heuser, B.; Wang, L. Industry 4.0 and Industry 5.0: Inception, conception and perception. J. Manuf. Syst. 2021, 61, 530–535. [Google Scholar] [CrossRef] [Scilit]
  59. Leng, J.; Sha, W.; Wang, B.; Zheng, P.; Zhuang, C.; Liu, Q.; Wuest, T.; Mourtzis, D.; Wang, L. Industry 5.0: Prospect and retrospect. J. Manuf. Syst. 2022, 65, 279–295. [Google Scholar] [CrossRef] [Scilit]
  60. Machlev, R.; Heistrene, L.; Perl, M.; Levy, K.Y.; Belikov, J.; Mannor, S.; Levron, Y. Explainable Artificial Intelligence (XAI) techniques for energy and power systems: Review, challenges and opportunities. Energy AI 2022, 9, 100169. [Google Scholar] [CrossRef] [Scilit]
  61. Muñoz-Sabater, J.; Dutra, E.; Agustí-Panareda, A.; Albergel, C.; Arduini, G.; Balsamo, G.; Boussetta, S.; Choulga, M.; Harrigan, S.; Hersbach, H.; et al. ERA5-Land: A state-of-the-art global reanalysis dataset for land applications. Earth Syst. Sci. Data 2021, 13, 4349–4383. [Google Scholar] [CrossRef] [Scilit]
  62. Hersbach, H.; Bell, B.; Berrisford, P.; Hirahara, S.; Horányi, A.; Muñoz-Sabater, J.; Nicolas, J.; Peubey, C.; Radu, R.; Schepers, D.; et al. The ERA5 global reanalysis. Q. J. R. Meteorol. Soc. 2020, 146, 1999–2049. [Google Scholar] [CrossRef] [Scilit]
  63. Knani, B.; Associés. The Legal Regime for Photovoltaic Self Consumption in Tunisia. 18 October 2022. Available online: https://bkassocies.tn/en/the-legal-regime-for-photovoltaic-self-consumption-in-tunisia/ (accessed on 29 October 2026).
  64. Erbs, D.G.; Klein, S.A.; Duffie, J.A. Estimation of the diffuse radiation fraction for hourly, daily and monthly-average global radiation. Sol. Energy 1982, 28, 293–302. [Google Scholar] [CrossRef] [Scilit]
  65. Zhang, R.; Xia, B.; Li, B.; Cao, L.; Lai, Y.; Zheng, W.; Wang, H.; Wang, W. State of the Art of Lithium-Ion Battery SOC Estimation for Electrical Vehicles. Energies 2018, 11, 1820. [Google Scholar] [CrossRef] [Scilit]
  66. Kotzur, L.; Markewitz, P.; Robinius, M.; Stolten, D. Impact of different time series aggregation methods on optimal energy system design. Renew. Energy 2018, 117, 474–487. [Google Scholar] [CrossRef] [Scilit]
  67. Teichgraeber, H.; Brandt, A.R. Clustering methods to find representative periods for the optimization of energy systems: An initial framework and comparison. Appl. Energy 2019, 239, 1283–1293. [Google Scholar] [CrossRef] [Scilit]
  68. Mavrotas, G. Effective implementation of the ε-constraint method in Multi-Objective Mathematical Programming problems. Appl. Math. Comput. 2009, 213, 455–465. [Google Scholar] [CrossRef] [Scilit]
  69. Huangfu, Q.; Hall, J.A.J. Parallelizing the dual revised simplex method. Math. Program. Comput. 2018, 10, 119–142. [Google Scholar] [CrossRef] [Scilit]
  70. European Parliament and Council of the European Union. Regulation (EU) 2024/1689 of 13 June 2024 Laying Down Harmonised Rules on Artificial Intelligence (Artificial Intelligence Act). 2024. Available online: https://eur-lex.europa.eu/eli/reg/2024/1689/oj (accessed on 18 November 2026).
  71. Martinez-Laserna, E.; Gandiaga, I.; Sarasketa-Zabala, E.; Badeda, J.; Stroe, D.-I.; Swierczynski, M.; Goikoetxea, A. Battery second life: Hype, hope or reality? A critical review of the state of the art. Renew. Sustain. Energy Rev. 2018, 93, 701–718. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.