Skip to Content
EnergiesEnergies
  • Article
  • Open Access

24 November 2026

23 Pages

AI-Based Energy Management of a Grid-Connected PV–Wind–BESS Electric Vehicle Charging Station Using Tabular Q-Learning: Formulation and 24 h Simulation Assessment

,
,
,
and
1
Faculty of Engineering, Architecture & Interior Design, Amity University Dubai, Dubai 345019, United Arab Emirates
2
College of Engineering and Computing, Liwa University, Saeed Bin Ahmed Al Otaiba Street, Al Danah Area’ Baniyas Tower B, Abu Dhabi P.O. Box 41009, United Arab Emirates
3
Department of Mechanical Engineering, Faculty of Engineering, McMaster University, Hamilton, ON L8S 4L8, Canada
*
Author to whom correspondence should be addressed.

Abstract

Grid-connected electric vehicle charging stations (EVCSs) combining photovoltaic (PV) and wind generation with battery energy storage must coordinate variable renewable supply, charging demand, storage constraints, tariffs, and DC-link regulation. This study formulates a supervisory energy management system using tabular Q-learning and assesses it in a 24 h MATLAB/Simulink (version 26.2) scenario with a 5 min decision interval, a 200 kWh/80 kW battery, and a 750 V DC link. The reported simulation indicates 96.06% renewable-energy utilisation, battery SOC within 20–95%, DC-link voltage between 746.05 and 750 V, and a derived 38.27% reduction in cumulative grid-energy cost relative to an incompletely specified baseline. However, the battery ends the day 70 kWh below its initial energy, the power-balance residual reaches approximately −60 kW, and the exact unserved EV energy cannot be recovered from the available logs. Learning parameters and baseline details are also incomplete. The findings therefore support preliminary model-based feasibility only; they do not establish comparative superiority, SOC-neutral savings, robustness, or experimental validation.

1. Introduction

Electric vehicle charging stations (EVCSs) are becoming large, weakly predictable loads on distribution networks. High-power chargers concentrate demand into short intervals that often coincide with evening peaks, increasing feeder loading and peak-demand charges [1,2]. Local photovoltaic (PV) and wind generation can reduce grid dependence, particularly in high-irradiance regions such as the Gulf Cooperation Council countries [3], but its profile rarely matches EV arrivals. A battery energy storage system (BESS) can bridge this mismatch, absorb surplus renewable energy and support tariff-aware dispatch, provided that it is coordinated with generation, charging demand and the grid within its state-of-charge (SOC) and power limits [2,4,5].
In a station that couples PV, wind, a BESS, chargers and a bidirectional grid interface through a common DC bus, energy management has two layers. Converter controllers regulate the DC-link voltage and grid-interface quantities on sub-second time scales [6,7], whereas a supervisory energy management system (EMS) decides every few minutes how renewable power is shared among EV charging, BESS charging and export, and how deficits are covered. The supervisory layer determines cost, renewable utilisation and battery stress; the converter layer determines whether these decisions can be executed safely [8,9].
Four EMS families have been applied to such stations: rule-based schemes, which are transparent but require manual retuning [2,4]; fuzzy and other intelligent controllers, which tolerate model imprecision but depend on rule bases or training data [6,10]; optimisation-based schemes, including model predictive control (MPC) and robust or stochastic programming, which enforce constraints explicitly but require models, forecasts and online computation [11,12,13]; and reinforcement learning (RL), which moves the computational effort to offline training [14,15,16]. Tabular Q-learning is the simplest model-free RL method [14]. Its learned policy is an inspectable lookup table and requires no online optimisation, but continuous measurements must be discretised, the table grows multiplicatively with the state and action resolution, and a reward penalty does not by itself guarantee constraint satisfaction [15,16].
For this configuration, tabular Q-learning offers a compact and inspectable state–action value table, low computational demand during deployment, and separation between five-minute supervisory decisions and faster converter regulation. These are implementation advantages, not demonstrated performance gains. Rule-based control remains straightforward to audit and tune; MPC and linear programming provide explicit constraint handling and are necessary quantitative benchmarks. Fuzzy control can accommodate imprecise inputs but depends on rule-base design. The current study does not claim that Q-learning is universally preferable.
Most studies in the reference set address subsets of the present problem: PV–BESS–grid stations without wind [7,11,12,17,18], hybrid PV–wind stations treated as sizing or dispatch problems [19,20,21], or charger-level RL scheduling without a DC-link model [22,23,24]. Few report renewable utilisation, SOC trajectory, tariff-aware grid exchange, DC-link voltage and grid frequency within one supervisory assessment. This statement is limited to the cited literature. The study therefore asks: (RQ1) whether a tabular Q-learning supervisor can coordinate PV, wind, BESS, EV charging and grid exchange over a representative day within SOC and power limits; (RQ2) what utilisation, curtailment and grid cost result relative to the reported baseline, and why; (RQ3) whether the dispatch remains compatible with DC-link and frequency regulation at the simulated resolution; and (RQ4) what evidence is still required before claims of superiority or robustness can be made.
The contributions are (i) a layered architecture that separates physical, converter, coordination and learning functions and their time scales (Section 3); (ii) a consolidated formulation with explicit sign conventions, units and a distinction between hard constraints and reward penalties, together with an implementation-oriented algorithm and a reproducibility checklist (Section 4); (iii) a transparent evaluation of the 24 h results that separates reported, derived and figure-read quantities (Section 6); and (iv) a baseline critique, benchmark protocol and validation matrix (Section 7, Section 8 and Section 9). Integrating several subsystems is not in itself an algorithmic novelty, and no new learning algorithm is claimed.
The contribution is methodological transparency rather than a claim of a new Q-learning algorithm: the study makes the supervisory decision structure, physical operating limits, reported outcomes, and unresolved reproducibility items explicit. The present evidence does not establish that tabular Q-learning outperforms rule-based control, model predictive control (MPC), or linear programming.

3. System Architecture

Figure 1 shows the station. The PV array feeds the common DC bus through an MPPT-controlled DC–DC boost stage, the wind turbine through an AC–DC rectifier and DC–DC converter, and the 200 kWh BESS through a bidirectional DC–DC converter. The EVCS draws power from the bus, and a grid-connected inverter exchanges power bidirectionally with the utility grid. The EMS receives PV and wind power, SOC, DC-link voltage Vdc, EV demand, grid conditions and the tariff, and sends supervisory references to the converters and the charging interface.
Figure 1. Architecture of the grid-connected PV–wind–BESS EVCS (redrawn from the original drawing without functional changes). Solid arrows: power flow; dashed: measurements; dash-dotted: supervisory commands. MPPT: maximum power point tracking; PEMS: active-power command to the grid-side inverter (positive for import). The arrows distinguish physical power flow from measurement and supervisory-command signals; positive grid power denotes import.
Figure 2 separates four layers. The physical layer (L1) converts and stores energy. Converter control (L2) regulates currents and the DC link on sub-second time scales; the grid-side inverter tracks PEMS with a proportional–integral (PI) DC-link correction. The coordination layer (L3) applies the priority logic and the SOC and power limits and converts the selected action into references P BESS * , P EV * and PEMS. The learning layer (L4) discretises the measured state, selects an action from the Q-table every 5 min, computes the reward and, during training only, updates the table. The AI supervisor therefore never issues switching commands; it shifts the operating point within limits that conventional controllers enforce. Whether infeasible actions are masked before selection or clipped afterwards is not stated in the source.
Figure 2. Hierarchical interpretation of the EMS. L1: physical power layer; L2: converter-level control; L3: supervisory coordination with constraint enforcement; L4: Q-learning decision layer. st: discretised state; at: action; rt: reward; Vg, fg: grid voltage and frequency.
Table 2 lists the operating modes derived from the source flowchart. A grid-disturbance mode is not modelled in the source; under abnormal grid conditions, the converter and protection layers are assumed to take precedence over the supervisor.
Table 2. Operating modes and power-flow priorities of the supervisory EMS.

4. Mathematical Modelling and Q-Learning Formulation

All powers are in kW, energies in kWh and time steps Δt = 5 min = 1/12 h (k = 1, …, 288). The equations consolidate the relationships described in the source; numerical parameters not reported there are flagged rather than assumed. For consistency, the sign convention used in the results is: BESS power is positive on discharge and negative on charge; grid power is positive on import and negative on export; renewable curtailment and unserved EV demand are non-negative quantities.

4.1. Renewable Generation

PV power is modelled as a function of irradiance G and cell temperature Tc:
P PV t = P PV , r   G t G ref 1 + α T T c t − T ref
where PPV,r is the rated power at Gref (W/m2) and Tref (°C), and αT (1/°C) is the power temperature coefficient (negative for crystalline silicon). The model neglects irradiance-dependent efficiency and converter losses; MPPT is assumed ideal at the supervisory time scale. Wind power follows the aerodynamic relationship:
P W t = 1 / 2   ρ   A   C p   v t 3 ,    P RES t = P PV t + P W t
with air density ρ (kg/m3), swept area A (m2), power coefficient Cp and wind speed v (m/s). Cut-in, rated and cut-out speeds and the rated power limit are not reported.

4.2. EV Charging Demand

The requested demand aggregates the connected vehicles N t ; the scheduled (served) demand is bounded by request and charger rating:
P EV , req t = ∑ i ∈ N t P EV , i , req t ,    0 ≤ P EV , i t ≤ min { P EV , i , req t , P EV , i , max }
The difference between requested and served energy defines the unserved energy E EV , uns = ∑ k P EV , req , k − P EV , k Δ t , which must be reported whenever scheduling reduces the served load.

4.3. BESS Model

With charging power Pch, discharging power Pdis, efficiencies ηc, ηd and capacity EBESS = 200 kWh,
SOC k + 1 = SOC k + η c P ch , k   Δ t E BESS − P dis , k   Δ t η d   E BESS
0.20 ≤ SOC k ≤ 0.95 ,    0 ≤ P ch , k ,   P dis , k ≤ 80   kW ,    P ch , k   P dis , k = 0
The net BESS power is PBESS = Pdis − Pch (positive for discharge, as in Figure 4 and Figure 5). The complementarity condition excludes simultaneous charging and discharging. The usable energy window is 150 kWh, and 80 kW corresponds to 0.4 °C.

4.4. Power Balance and Grid Exchange

At each step, the DC-bus power balance and its residual are
P PV + P W + P dis + P imp = P EV + P base + P ch + P exp + P curt ,    ε PB = LHS − RHS
where Pimp, Pexp ≥ 0 with PimpPexp = 0, Pcurt is curtailed renewable power and Pbase is the non-EV load. Converter losses are neglected. The grid command is PEMS = Pimp − Pexp. In surplus, the order is BESS charging before export; in deficit, discharge before import.

4.5. DC-Link and Grid-Side Control

The DC-link capacitor Cdc integrates any power mismatch, 1 / 2 C dc   d V dc 2 / d t = P in − P out , which is why a supervisory imbalance appears as a DC-link voltage deviation. The grid-side inverter tracks
P g , ref t = P EMS t + K p   e v t + K i   ∫ 0 t e v τ   d τ ,    e v = V dc , ref − V dc
with Vdc,ref = 750 V. Q-learning sets PEMS through the selected action; the PI term rejects fast disturbances.

4.6. Q-Learning Formulation

The observed state, its discretisation and the action-value update are
s k = ϕ 1 P RES , k ,   ϕ 2 P EV , k ,   ϕ 3 SOC k ,   ϕ 4 π k ,   ϕ 5 V dc , k
Q s k , a k ← Q s k , a k + α r k + γ max a ∈ A s k + 1 Q s k + 1 , a − Q s k , a k
where ϕj maps a continuous variable to a bin index, πk is the tariff, α the learning rate and γ the discount factor [14,15]. During training, ak is random with probability ε and greedy otherwise; after training, ak = argmaxaQ(sk,a). The action set A combines BESS charge/idle/discharge, EV-schedule adjustment and grid import/export modes; A s denotes the feasible subset. With nj bins per variable and A actions, the table has A ∏ j n j entries; for example, five bins per variable and nine actions would give 28,125 entries, illustrating why resolution must be kept coarse.

4.7. Reward Function and Constraints

The reward combines the objectives named in the source:
A reproducible reward specification would report each term in normalised, dimensionless form, state the normalisation reference, and provide sensitivity analysis for every weight. The source material available for this revision does not provide the numerical weights or the underlying training configuration; consequently, no numerical values are assigned here. The observed depletion from 55% to 20% is consistent with the absence of a terminal-SOC penalty or look-ahead term, but this is an interpretation of the reported trajectory rather than a causal result established by a controlled ablation. A revised controller should include a terminal-energy target or terminal-SOC penalty and evaluate alternative weight sets under identical test profiles.
r k = w 1 U RES , k − w 2   π k P imp , k Δ t − w 3 e v , k − w 4 P curt , k − w 5 Δ SOC k
The terms have different units (fraction, tariff units, V, kW and p.u.), so the weights w1–w5 implicitly set exchange rates between them; normalisation by nominal values (for example, 750 V and 80 kW) makes these rates interpretable. The terms can conflict: penalising |ΔSOC| discourages the cycling that reduces cost, and rewarding utilisation can favour export over storage. The reward contains no terminal-SOC term, so depleting the BESS by the end of the horizon is not penalised. Hard limits [Equation (5)] are enforced by the BESS model and coordination layer; reward penalties only shape preferences and do not guarantee feasibility.

4.8. Algorithm and Reproducibility

Algorithm 1 summarises the implementation-level procedure, and Table 3 lists the information needed for reproduction.
Table 3. Reproducibility information for the Q-learning EMS.
Table 3 deliberately distinguishes verified information from missing implementation details. The numerical state-bin boundaries, complete discrete action mappings, learning rate, discount factor, reward weights, number of training episodes, exploration decay, training profiles, convergence threshold, and random seeds were not supplied in the source simulation record. Supplying plausible values would create a new experiment rather than document the experiment performed; these items must be provided from the original MATLAB/Simulink files before the study can be independently reproduced.
Algorithm 1. Tabular Q-learning supervisory EMS (training and deployment).
Input: profiles of PPV, PW, PEV,req, π; limits SOC ∈ [0.20, 0.95], |PBESS| ≤ 80 kW; α, γ, ε-schedule; episodes Nep
1: initialise Q(s,a); set SOC0 = 0.55
2: for episode = 1 … Nep do (training)
    3:  for k = 1 … 288 do
    4:  measure PRES, PEV,req, SOC, π, Vdc; form sk by Equation (8)
    5:  determine feasible set A s k from SOC and power limits
    6:  select ak ∈ A s k by ε-greedy rule
    7:  map ak to P BESS * , P EV * , PEMS via priority logic; apply to converters
    8:  simulate one interval; observe sk+1; compute rk by Equation (10)
    9:  update Q(sk,ak) by Equation (9)
10: deployment: freeze Q; set ε = 0; run steps 4–8 on the evaluation day without step 9

5. Simulation Methodology and Performance Indicators

The station is simulated in MATLAB/Simulink over 24 h with a 5 min supervisory interval. PV and wind profiles are generated from Equations (1) and (2) using representative, not measured, meteorological inputs; EV demand is a synthetic daily profile; and a time-of-use tariff of 5–12 units/kWh is applied. Table 4 lists the parameters and the provenance of each entry. As shown in Figure 6, the tariff is 5 (0–6 h), 9 (6–10 h), 6 (10–17 h), 12 (17–22 h) and 5 units/kWh (22–24 h). The baseline in Figure 9 is labelled “without EMS” but is not otherwise defined (Section 7). The single day supports a limited operating-scenario evaluation; it does not establish seasonal robustness or field performance. The model has not been calibrated against measured PV, wind, EV-charging, battery or grid data, and no independently validated component model is reported. Agreement of simulated voltage, frequency and SOC trajectories with the model’s own operating limits is an internal consistency check, not external validation against a physical EVCS.
Table 4. Simulation parameters and their provenance.
The meteorological profiles are described only as representative inputs generated from the PV and wind models; no station, measurement campaign, public database, geographic coordinate, date, or preprocessing procedure is identified in the available record. Likewise, the EV profile is synthetic, but arrival-time, dwell-time, charger-rating distribution, and session-energy assumptions are not fully documented. These omissions prevent reconstruction of the input series and preclude statistical uncertainty estimates. Accordingly, the present results are scenario-specific and are not presented as a multi-day, seasonal, or measured-data evaluation.
The indicators are defined in Table 5. Renewable utilisation counts renewable energy consumed, stored or exported as utilised, so it measures avoided curtailment, not self-consumption. Indicators requiring unreported time series are listed so that they can be computed from the simulation logs.
Table 5. Performance indicators ( E x = ∑ k P x , k Δ t ).
Throughout Table 4, Table 5 and Table 6 and the discussion, R denotes a value explicitly reported in the source simulation/manuscript, D denotes a value arithmetically derived from reported quantities, A denotes an approximate value read from a plotted figure, and L denotes a metric that requires unavailable time-series logs. These labels are not interchangeable: approximate figure readings are not treated as measured or independently verified data.
Table 6. Reported and derived performance indicators of the 24 h simulation.

5.1. Model Verification and Validation Status

The evidence available for this study only supports a simulation-based assessment. For this revision, no physical EVCS prototype, lab test record, measured operating dataset, controller-in-the-loop experiment or HIL result were provided. It would therefore be incorrect to describe the proposed EMS as experimentally validated. The checks reported herein are limited to internal consistency checks of the model: (i) the supervisory horizon and sampling interval are consistent with 288 five-minute steps over 24 h; (ii) the reported BESS SOC trajectory is compared against the stated 20–95% operating window and ±80 kW power limit; (iii) the simulated DC-link voltage is compared against its 750 V reference; (iv) grid voltage and frequency are compared against their nominal references; and (v) renewable generation and curtailment are checked against the reported aggregate energy total. These checks verify the consistency of the reported outputs against the stated constraints and accounting quantities of the model. They do not show that the model reproduces the behaviour of a real installation.
Another verification problem is the power-balance residual in Figure 8. The excursions plotted, with values approaching −60 kW, are not insignificant compared to the station load. Energy and cost outcomes must be considered provisional until the residual has been recalculated from synchronised time-series logs with a full sign convention including all modelled loads, converter losses and unserved EV demand. The original time-series data and complete simulation files for the independent reproduction of this calculation were unavailable in the present revision.

5.2. Scope and Limitations of the Simulation Model

The model is a supervisory, averaged or aggregated representation designed to study energy dispatch at a five-minute resolution. It does not offer experimental evidence of converter switching behaviour, semiconductor stresses, electromagnetic transients, protection response, communication failures, or real-time controller execution. Renewable inputs are representative, not measured; EV demand is synthetic; and the provenance and uncertainty distributions of these profiles are not reported. The PV representation assumes an ideal MPPT at the supervisory time scale and neglects irradiance-dependent efficiency and converter losses. The wind model has no reported cut-in, rated and cut-out parameters. Battery ageing, temperature dependence, state-of-health evolution and a validated charge/discharge efficiency map are also missing. In addition, the baseline controller and several Q-learning settings are incompletely specified, limiting the reproducibility and attribution of the reported cost reduction. These omissions limit the conclusions to the stated simulated operating scenario and do not allow for direct generalisation to seasonal operation or field deployment.
Future work will first calibrate the PV, wind, BESS, converter and EV-load models using manufacturer data and synchronised measurements from a representative charging station to progress from model-based feasibility to empirical validation. The calibrated model should then be validated on independent days not used to fit the parameters, including different seasons, irradiance and wind conditions, EV-arrival patterns and tariff schedules. The validation should provide time-aligned traces of measured vs. simulated PV power, wind power, BESS SOC, BESS power, grid import/export, DC-link voltage, EV energy served and quantitative errors (MAE, RMSE and normalised RMSE). The EMS should then be implemented on a real-time controller and tested through controller-in-the-loop or HIL tests with protection limits and communication delays enabled. A final pilot deployment should benchmark the EMS against rule-based and MPC baselines under matched operating conditions and SOC-neutral accounting. This is a proposed validation pathway; none of these experimental stages is claimed to have been completed in the present work.

6. Results and Discussion

Values below are labelled as reported (from the source), derived (calculated here from reported values) or approximate (read from the source figures by digitisation, with an estimated uncertainty of a few percent; they should be replaced by logged values). Table 6 summarises the main indicators.

6.1. Renewable Generation and EV Demand

PV output is zero at night and peaks at 145.20 kW around midday, with a dip near 10 h; wind peaks at 89.62 kW in the morning and declines in the afternoon (Figure 3). Because the individual peaks do not coincide, the combined peak (203.93 kW) is 13% below their sum. Reported generation of 1729.87 kWh corresponds to a mean of 72.1 kW, 35% of the peak; integrating the plotted total gives approximately 1.72 MWh, consistent with the reported value. EV demand peaks near 18.5 h, after PV has fallen, which is the central mismatch the BESS must bridge. The scheduled peak is 1.59% below the requested peak, but the scheduled trace in Figure 3 falls repeatedly below the request between about 14 and 19 h. A coarse digitisation suggests that the served EV energy may be several percent below the requested energy; because any unserved energy also lowers grid purchases, it must be reported before the cost result can be interpreted.
Figure 3. PV, wind and total renewable power, and requested and AI-scheduled EV charging demand over 24 h (original simulation output). Power is expressed in kW over the 24 h horizon; requested and scheduled EV demand are shown as separate traces.
The exact unserved EV energy cannot be calculated from the available manuscript because the 288-point requested and scheduled charging traces were not supplied as machine-readable data. The difference between the two peak powers (2.29 kW) is not a substitute for integrating the interval-by-interval energy deficit. The reported grid-cost comparison may therefore include a contribution from reduced EV service; this contribution cannot be isolated without the original time-series logs. Table 5 accordingly marks the EV energy served ratio and unserved energy as requiring logged data.

6.2. Power Sharing and BESS Operation

Figure 4 and Figure 5 show the coordination. Reading SOC from Figure 5 (approximate), the BESS discharges from 55% to 20% between 0 and about 4.7 h, idles at 20% until about 6.4 h, charges to 95% by about 11.2 h, stays near 95% until about 14 h, discharges to about 54% by 17 h and reaches 20% at about 18.4 h, where it remains until 24 h. The charge/discharge limits of ±80 kW are reached in several intervals, and the SOC limits are respected. These SOC excursions imply at least 370 kWh of throughput, or at least 0.93 equivalent full cycles per day (derived lower bound, excluding small cycles).
Figure 4. Power sharing among PV, wind, BESS (+discharge/−charge), grid (+import/−export) and total load (original simulation output). Power is expressed in kW; positive BESS power denotes discharge and negative BESS power denotes charging, while positive grid power denotes import.
Figure 5. BESS SOC (left axis) and BESS power (right axis, +discharge/−charge) (original simulation output). SOC is expressed as a percentage; BESS power is expressed in kW, with positive values denoting discharge and negative values denoting charging.
The timing reveals a trade-off that the aggregate cost does not show. About 82 kWh is discharged between 14 and 17 h, when the tariff is 6 units/kWh, and only about 68 kWh during the 12-unit period from 17 h, after which the BESS is empty for roughly 3.6 of the 5 high-tariff hours, including the EV demand peak. The night-time discharge (0–4.7 h) also occurs at the lowest tariff. The policy therefore uses storage effectively for renewable shifting but not optimally for tariff arbitrage, consistent with a reward that penalises instantaneous cost but contains no terminal-SOC or look-ahead term. A coarse digitisation further suggests that the time integral of the plotted BESS power exceeds the SOC-implied energy change in both directions, which may reflect efficiency, scaling or plotting conventions.
Because the BESS begins at 55% SOC and ends at 20%, the EMS case consumes a net 70 kWh of initially stored energy. The reported cost difference is not SOC-neutral. The indicative 29–34% range discussed below is a sensitivity estimate based on valuing the 70 kWh depletion at the stated tariff bounds; it is not a replacement for a matched rerun with equal initial and terminal SOC. No SOC-neutral saving is claimed.

6.3. Grid Exchange and Tariff Response

Maximum grid import is 163.71 kW and maximum export is 148.01 kW (reported). Export peaks around 11–12 h, when the BESS reaches 95% and surplus PV can no longer be stored, and curtailment begins in the same period (Figure 10), suggesting an export or absorption limit that is not reported. Import peaks at about 18.4 h, at the moment the BESS reaches its lower SOC limit (Figure 6). This timing explains why the peak-demand reduction is modest (5.81%): the BESS cannot contribute to the evening peak because it is already empty. Retaining energy for that period could reduce the peak by up to the 80 kW BESS rating, subject to the energy available; this is a hypothesis to be tested, not a result.
Figure 6. Grid power (+import/−export, left axis) and time-of-use tariff (right axis, units/kWh) (original simulation output).

6.4. DC-Link Voltage, Grid Voltage and Frequency

The DC-link voltage remains between 746.05 and 750 V (maximum deviation 0.53%), with the largest dips near 1.7 h and 15.6 h, when the BESS changes direction (Figure 7). Grid voltage is 1.000 p.u. for most of the day and reaches 0.9937 p.u. only in the final samples, which may be an end-of-simulation artefact. Frequency remains within 49.956–50.025 Hz (Figure 8). These values show that the supervisory references stayed within the regulation capability of the modelled converters. They do not demonstrate sub-second transient stability, because the 5 min supervisory interval and the converter-model resolution do not capture switching dynamics or faults.
Figure 7. DC-link voltage with 750 V reference (left axis) and grid voltage with 1 p.u. reference (right axis) (original simulation output).
Figure 8. Grid frequency with 50 Hz reference (left axis) and power-balance error (right axis, kW) (original simulation output). Frequency is shown in Hz and power-balance residual in kW on separate axes; the residual is not interpreted as negligible.
The source describes the power-balance error as negligible, but Figure 8 shows one-sided excursions to approximately −60 kW, with many below −20 kW. Relative to the total-load peak of about 180 kW in Figure 4, these are not negligible. They may represent unserved load, transients when references change, or a definitional mismatch (for example, base load or losses missing from the balance), and they must be explained before the energy and cost results can be considered.
The residual is therefore treated as an unresolved model-accounting issue, not as a negligible numerical error. Until synchronised time-series data are available, it is not possible to determine whether the excursions arise from omitted base load, converter losses, sign-convention inconsistency, curtailed or unserved EV demand, or transient/reference mismatch. The residual may affect inferred grid exchange, energy accounting, and cost. For this reason, the cost and energy results are reported as provisional outputs of the original simulation and are not used to claim validated savings. Recalculation requires interval-level logs for every source, load, storage port, grid port, curtailment term, and loss term under one sign convention.

6.5. Energy Cost and Peak Demand

The cumulative grid-energy cost falls from approximately 9210 to 5685 units (Figure 9), a derived reduction of 38.27%. The source abstract gives 5673 units (38.40%), whereas its detailed results and conclusion give 5685; Figure 9 (≈5670 at 24 h) cannot discriminate between them, so the detailed-results value is retained. Table 7 decomposes the saving by tariff period using values read from Figure 9.
Table 7. Approximate decomposition of cumulative grid cost by tariff period (read from Figure 9; ±≈50 units).
Figure 9. Cumulative grid-energy cost (tariff units) for the baseline and the AI-EMS (original simulation output; peak-demand reduction 5.81%).
The 38.27% figure is a descriptive calculation from the two cumulative values reported in the source, not a validated causal saving attributable to Q-learning. The baseline controller is labelled only as “without EMS”; its dispatch logic, use of storage, renewable allocation, EV-service policy, and terminal-SOC condition are not documented. In addition, the EMS ends with 70 kWh less stored energy and may serve less EV energy. These asymmetries prevent a fair economic comparison. The percentage is retained only to document the source result and is explicitly qualified throughout this revision.
Most of the savings accrue in the 12-unit period. Dividing each cost by its tariff gives implied purchases of about 1.0 MWh for the baseline and 0.56 MWh for the EMS, a difference of roughly 440 kWh. This is larger than the energy the BESS could have shifted (about 220 kWh discharged, of which 70 kWh is net depletion), so the baseline probably differs from the EMS case in more than storage dispatch, for example, in renewable use, export or EV service. If the baseline does not use the BESS, valuing the 70 kWh net depletion at 5–12 units/kWh accounts for 350–840 units, or 10–24% of the saving; an SOC-neutral reduction would then lie between about 29% and 34%. The peak-demand reduction (5.81%) is much smaller than the cost reduction because the two depend on different things: cost on energy purchased in expensive periods, peak demand on a single interval at which the BESS is empty.

6.6. Renewable Utilisation, Curtailment and Learning Signal

Utilisation of 96.06% follows directly from the reported energies. Because export counts as utilisation, high utilisation does not imply low cost: exported midday energy earns no reported revenue, whereas stored energy displaces later imports. Curtailment accumulates mainly after 11 h, when the BESS is full. In Figure 10, the moving-average reward falls sharply between 17 and 20 h, when imports are expensive and the BESS is empty, which is consistent with the reward design. Whether this trace was recorded during training or with a frozen policy is not stated, and no convergence curve over episodes is available.
Figure 10. Cumulative renewable utilisation and curtailment (left axis, %) and moving-average learning reward (right axis) (original simulation output; series labelling to be verified). The plotted quantities are distinct: renewable utilisation and curtailment are percentages, whereas the learning reward is a separate dimensionless training signal; the source record does not establish whether the reward trace is from training or frozen-policy evaluation.

6.7. Integrated Assessment and Relation to the Literature

Taken together, the results answer RQ1 and RQ3 positively at the simulated resolution: the supervisor coordinated all resources within SOC and power limits with small DC-link and frequency deviations. For RQ2, utilisation is high and cost is lower than the reported baseline, but the size of the improvement attributable to learning cannot be isolated (Section 7). Reported RL gains for EVCSs, such as the cost reductions in Q-learning over conventional charging [23] or of deep RL over benchmark controllers [22], were obtained under different systems and baselines and are not directly comparable. Explicit and stochastic MPC have shown constrained dispatch with uncertainty, degradation and voltage support [11,13], and these capabilities define the benchmark that a learned supervisor should approach.

7. Baseline and Benchmarking Requirements

A fair comparison requires that all controllers use the same renewable and EV profiles, tariff, BESS, initial SOC, limits and terminal-SOC rule, so that differences arise only from decision-making. The reported baseline does not meet this test on the available information: its use of the BESS, renewables, export and EV scheduling is not specified, and the EMS case ends with 70 kWh less stored energy. A conclusive evaluation should compare, on identical inputs: (i) unmanaged, grid-dominant charging; (ii) a renewable-priority rule-based EMS with the same SOC thresholds [2,4]; (iii) an MPC or linear-programming dispatch with perfect and with imperfect forecasts [11,13]; (iv) the Q-learning EMS; and, optionally, (v) a deep-RL agent [22,24]. Results should be reported as mean and dispersion over several training seeds and test days, with SOC returned to its initial value or the difference value explicitly. These are required author actions; no such results are claimed here.
No new rule-based, MPC, or linear-programming runs are reported in this revision because the original executable model, full interval-level inputs, and controller settings were not available in the materials supplied for revision. The comparison matrix is therefore specified as a required next experiment, not represented as completed work. A fair benchmark should use the same PV and wind inputs, EV requests, tariff, BESS capacity and power limits, initial SOC, terminal-SOC target, converter limits, and forecast information for every controller; report EV service and curtailment alongside cost; and repeat tests across independent days and random seeds.

8. Critical Discussion

Tabular Q-learning suits this supervisory task because the decision is low-dimensional, taken every 5 min and benefits from an inspectable policy; online execution is a table lookup. Its limitations stem from the same simplicity. Discretisation makes the policy piecewise constant, so bins that are too coarse ignore meaningful differences (for example, 25% versus 40% SOC), whereas fine bins multiply the table size and the training data required. The reward weights determine behaviour as much as the algorithm does: the absence of a terminal-SOC or look-ahead term plausibly explains the early BESS depletion observed in Section 6, and a |ΔSOC| penalty trades battery stress against cost without an explicit degradation model. Because the state does not include time or tariff forecasts, the agent cannot anticipate the 17 h tariff step except through learned state–action values.
The 5 min interval matches energy dispatch but not electrical dynamics, so the voltage and frequency results confirm compatibility, not transient stability. Deployment would also face measurement noise, communication latency, forecast errors and weak-grid conditions, none of which is modelled. Scaling to many individually controlled chargers would make the tabular approach impractical and would motivate function approximation or multi-agent schemes with action masking [16,24]. Finally, the evidence comes from one simulated day; no statistical significance or superiority over MPC, mixed-integer programming or deep RL can be inferred.
The two additional 2026 studies recommended by Reviewer 2 are relevant to the broader context of coordinated battery-station optimisation and vehicle energy management, although neither is a direct like-for-like benchmark for the present PV–wind–BESS EVCS. Lin et al. [36] address collaborative optimisation of eVTOL battery charging/swapping stations through a closed-loop supply-chain and space–time-network framework. Yu et al. [37] examine driving-condition-driven collaborative energy conversion and management for electric commercial vehicles with a dual-motor coupled powertrain. Their inclusion broadens the discussion of recent energy-management developments; their distinct system boundaries are retained when interpreting their relevance.

9. Limitations and Future Validation

The main limitations are the single representative day; synthetic EV demand and unreported meteorological provenance; the unspecified baseline and net SOC depletion; missing learning parameters (Table 3); unexplained power-balance excursions; the absence of battery-ageing, efficiency and state-of-health modelling; and the lack of uncertainty, delay and hardware tests. Table 8 sets out the validation plan. All tests are proposed future work. In particular, there is at present no external experimental reference against which to quantify the accuracy of the prediction or of the control. The reported operating-range checks are internal simulation checks only and should not be interpreted as validation of the physical plant or of real-time closed-loop performance.
Table 8. Proposed validation matrix (future work).
The authors agree that a multi-day and seasonal assessment, measured or traceable renewable and EV profiles, battery degradation and state-of-health modelling, uncertainty analysis, and hardware-in-the-loop testing would materially strengthen the evidence. These experiments cannot be reconstructed from the single-day figures and incomplete simulation record available for this revision. They are therefore stated as future validation requirements rather than claimed as completed. The current manuscript should be interpreted as a formulation and preliminary simulation-based feasibility assessment only.

10. Conclusions

This paper formulated and assessed a tabular Q-learning supervisory EMS for a grid-connected PV–wind–BESS EVCS with a 750 V DC link. In a 24 h MATLAB/Simulink simulation with a 5 min interval, 96.06% of the 1729.87 kWh of renewable generation was utilised (68.16 kWh curtailed); the BESS remained within 20–95% SOC; the DC-link voltage remained within 746.05–750 V; and the frequency remained within 49.956–50.025 Hz. Cumulative grid-energy cost fell from about 9210 to 5685 units (a derived 38.27%), while peak grid demand fell by only 5.81%, because the BESS was depleted before the evening demand peak.
The reported numerical outcomes should be interpreted with the following qualifications: the 38.27% grid-cost reduction is derived from an incompletely specified baseline and is not SOC-neutral; unserved EV energy cannot be integrated without the original traces; and the power-balance residual reaches approximately −60 kW in the plotted output and remains unresolved. The study does not include comparative rule-based or MPC/linear-programming simulations, multi-day or seasonal tests, raw time-series data, uncertainty statistics, or HIL/experimental validation. These limitations prevent claims of superiority, statistical robustness, or field readiness.
These results demonstrate that the supervisor is feasible at the simulated resolution, but not that it is superior or robust. The baseline is not fully specified, the BESS ends the day 70 kWh lower than it started, EV service and power-balance excursions require verification, and learning parameters are not reported. The most important next steps are to define and rerun the baseline with SOC-neutral accounting, add rule-based and MPC benchmarks, report the reproducibility information in Table 3, add a terminal-SOC or look-ahead term to the reward, and extend validation to multi-day, uncertain and hardware-in-the-loop conditions. The model has not been experimentally validated: no measured station data, laboratory prototype tests or HIL results were available. Thus, the voltage, frequency and SOC findings indicate consistency within the simulated model and do not demonstrate field reliability, transient stability or generalisation beyond the selected 24 h scenario. The proposed measurement-based calibration, independent-day testing and HIL/pilot evaluation are necessary before deployment claims can be made.

Author Contributions

Conceptualisation, S.K. and R.A.; Methodology, S.K., M.A. and R.H.; Software, R.A., and R.H.; Formal Analysis, S.K.; Investigation, R.A., M.A. and R.H.; Resources, R.A., R.H. and S.A.G.; Data Curation, S.A.G.; Writing—Original Draft, S.K.; Writing—Review and Editing, R.A., M.A. and R.H.; Visualisation, S.A.G.; Supervision, S.A.G.; Funding Acquisition, M.A. and S.A.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The interval-level simulation input and output files, Q-table, training logs, and uncertainty realisations were not included in the materials available for this revision. The numerical summaries and plotted outputs reported in the manuscript are therefore the only simulation evidence that can be documented here.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AIArtificial intelligence
BESSBattery energy storage system
EMSEnergy management system
EVElectric vehicle
EVCSElectric vehicle charging station
HILHardware-in-the-loop
MPCModel predictive control
MPPTMaximum power point tracking
PIProportional–integral
PVPhotovoltaic
RLReinforcement learning
SOCState of charge

References

  1. Cheikh-Mohamad, S.; Sechilariu, M.; Locment, F.; Krim, Y. PV-powered electric vehicle charging stations: Preliminary requirements and feasibility conditions. Appl. Sci. 2021, 11, 1770. [Google Scholar] [CrossRef] [Scilit]
  2. Li, D.; Zouma, A.; Liao, J.T.; Yang, H.T. An energy management strategy with renewable energy and an energy storage system for a large electric vehicle charging station. eTransportation 2020, 6, 100076. [Google Scholar] [CrossRef] [Scilit]
  3. Farag, M.M.; Bansal, R.C. Solar energy development in the GCC region—A review on recent progress and opportunities. Int. J. Model. Simul. 2023, 43, 579–599. [Google Scholar] [CrossRef] [Scilit]
  4. Engelhardt, J.; Zepter, J.M.; Gabderakhmanova, T.; Marinelli, M. Energy management of a multi-battery system for renewable-based high power EV charging. eTransportation 2022, 14, 100198. [Google Scholar] [CrossRef] [Scilit]
  5. Gogoi, D.; Bharatee, A.; Ray, P.K. Implementation of battery storage system in a solar PV-based EV charging station. Electr. Power Syst. Res. 2024, 229, 110113. [Google Scholar] [CrossRef] [Scilit]
  6. Hadero, M.; Khan, B. Development of a DC microgrid integrated electric vehicle charging station with fuzzy logic controller. Front. Energy Res. 2022, 10, 922384. [Google Scholar] [CrossRef] [Scilit]
  7. Elsanabary, A.; Khairullah, K.; Aziz, N.F.A.; Mekhilef, S. Power management and optimized control of hybrid PV-BESS-grid integrated fast EV charging stations. J. Energy Storage 2024, 90, 111802. [Google Scholar] [CrossRef] [Scilit]
  8. Roaid, M.; Ashfaq, T.; Mumtaz, S.; Albogamy, F.R.; Ahmad, S.; Ullah, B. Energy management system and control of plug-in hybrid electric vehicle charging stations in a grid-connected microgrid. Sustainability 2024, 16, 9122. [Google Scholar] [CrossRef] [Scilit]
  9. Dan, Y.; Liu, S.; Zhu, Y.; Xie, H. Tertiary control for energy management of EV charging station integrated with PV and energy storage. Front. Energy Res. 2022, 9, 793553. [Google Scholar] [CrossRef] [Scilit]
  10. Tiwari, V.K.; Kumar, A.; Yadav, S.; Nishad, D.K.; Khalid, S. Explainable AI-enabled adaptive fuzzy MPPT and energy management for bifacial PV and battery-powered electric vehicle charging system. Sci. Rep. 2026, 16, 4813. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  11. Cabrera-Tobar, A.; Massi Pavan, A.; Blasuttigh, N.; Petrone, G.; Spagnuolo, G. Real time energy management system of a photovoltaic based e-vehicle charging station using explicit model predictive control accounting for uncertainties. Sustain. Energy Grids Netw. 2022, 31, 100769. [Google Scholar] [CrossRef] [Scilit]
  12. Tostado-Véliz, M.; Hasanien, H.M.; Jordehi, A.R.; Jurado, F. Robust energy management for multi-mode charging stations equipped with batteries. J. Energy Storage 2024, 84, 110908. [Google Scholar] [CrossRef] [Scilit]
  13. Saleem, M.I.; Saha, S.; Izhar, U.; Ang, L. A stochastic MPC-based energy management system for integrating solar PV, battery storage, and EV charging in residential complexes. Energy Build. 2024, 325, 114993. [Google Scholar] [CrossRef] [Scilit]
  14. Watkins, C.J.C.H.; Dayan, P. Q-learning. Mach. Learn. 1992, 8, 279–292. [Google Scholar] [CrossRef] [Scilit]
  15. Sutton, R.S.; Barto, A.G. Reinforcement Learning: An Introduction, 2nd ed.; MIT Press: Cambridge, MA, USA, 2018. [Google Scholar]
  16. Michailidis, P.; Michailidis, I.; Kosmatopoulos, E. Reinforcement learning for electric vehicle charging management: Theory and applications. Energies 2025, 18, 5225. [Google Scholar] [CrossRef] [Scilit]
  17. Zhang, J.; Hou, L.; Zhang, B.; Yang, X.; Diao, X.; Jiang, L.; Qu, F. Optimal operation of energy storage system in photovoltaic-storage charging station based on intelligent reinforcement learning. Energy Build. 2023, 299, 113570. [Google Scholar] [CrossRef] [Scilit]
  18. Ranjbar, M.A.; Mohammadi, B.; Baghaee, H.R.; Haghifam, M.-R.; Ramezani, A. Cyber-physical data-driven reinforcement learning-based optimal energy management framework in electric vehicle charging stations using photovoltaic integration. Int. J. Electr. Power Energy Syst. 2026, 181, 112133. [Google Scholar] [CrossRef] [Scilit]
  19. Mallikarjun, P.; Thulasiraman, S.R.G.; Balachandran, P.K.; Zainuri, M.A.M. Economic energy optimization in a microgrid with PV/wind/battery integrated wireless electric vehicle battery charging system using improved Harris Hawk optimization. Sci. Rep. 2025, 15, 10028. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  20. He, L.; Wu, Z. Advancing sustainable EV charging infrastructure: A hybrid solar-wind fast charging station with demand response. Renew. Energy 2024, 237, 121843. [Google Scholar] [CrossRef] [Scilit]
  21. Bokopane, L.; Kusakana, K.; Vermaak, H.; Hohne, A. Optimal power dispatching for a grid-connected electric vehicle charging station microgrid with renewable energy, battery storage and peer-to-peer energy sharing. J. Energy Storage 2024, 96, 112435. [Google Scholar] [CrossRef] [Scilit]
  22. Asha Rani, G.S.; Lal Priya, P.S.; Jayan, J.; Satheesh, R.; Kolhe, M.L. Data-driven energy management of an electric vehicle charging station using deep reinforcement learning. IEEE Access 2024, 12, 65956–65966. [Google Scholar] [CrossRef] [Scilit]
  23. Çakıl, F.; Aksoy, N. Reinforcement learning-based multi-objective smart energy management for electric vehicle charging stations with priority scheduling. Energy 2025, 322, 135475. [Google Scholar] [CrossRef] [Scilit]
  24. Li, Y.; Zhang, Z.; Xing, Q. Real-time online charging control of electric vehicle charging station based on a multi-agent deep reinforcement learning. Energy 2025, 319, 135095. [Google Scholar] [CrossRef] [Scilit]
  25. Kouser, S.; Dheep, G.R.; Bansal, R.C. Artificial rabbit optimized neural network control of battery and PV-powered UPQC for micro-grid application. Smart Grids Sustain. Energy 2025, 10, 79. [Google Scholar] [CrossRef] [Scilit]
  26. Singh, A.P.; Kumar, Y.; Sawle, Y.; Alotaibi, M.A.; Malik, H.; Márquez, F.P.G. Development of an artificial intelligence-based adaptive vehicle-to-grid and grid-to-vehicle controller for an electric vehicle charging station. Ain Shams Eng. J. 2024, 15, 102937. [Google Scholar] [CrossRef] [Scilit]
  27. Manohar, M.; Koley, E.; Ghosh, S.; Mohanta, D.K.; Bansal, R.C. Spatio-temporal information-based protection scheme for PV-integrated microgrid under solar irradiance intermittency using deep convolution neural network. Int. J. Electr. Power Energy Syst. 2020, 116, 105576. [Google Scholar] [CrossRef] [Scilit]
  28. Barakat, S.; Osman, A.I.; Tag-Eldin, E.; Telba, A.A.; Abdel Mageed, H.M.; Samy, M.M. Achieving green mobility: Multi-objective optimization for sustainable electric vehicle charging. Energy Strategy Rev. 2024, 53, 101351. [Google Scholar] [CrossRef] [Scilit]
  29. Ray, P.; Bhattacharjee, C.; Dhenuvakonda, K.R. Swarm intelligence-based energy management of electric vehicle charging station integrated with renewable energy sources. Int. J. Energy Res. 2022, 46, 21598–21618. [Google Scholar] [CrossRef] [Scilit]
  30. Ghode, S.D.; Digalwar, M. Deep dyna reinforcement learning based energy management system for solar operated hybrid electric vehicle using load scheduling technique. J. Energy Storage 2024, 102, 114106. [Google Scholar] [CrossRef] [Scilit]
  31. Choudhary, D.; Mahanty, R.N.; Kumar, N. Demand management of plug-in electric vehicle charging station considering bidirectional power flow using deep reinforcement learning. Eng. Appl. Artif. Intell. 2025, 139, 109585. [Google Scholar] [CrossRef] [Scilit]
  32. Sarker, M.T.; Al Qwaid, M.; Shern, S.J.; Ramasamy, G. AI-driven optimization framework for smart EV charging systems integrated with solar PV and BESS in high-density residential environments. World Electr. Veh. J. 2025, 16, 385. [Google Scholar] [CrossRef] [Scilit]
  33. Ye, Y.; Wang, H.; Chen, P.; Tang, Y.; Strbac, G. Safe Deep Reinforcement Learning for Microgrid Energy Management in Distribution Networks with Leveraged Spatial–Temporal Perception. IEEE Trans. Smart Grid 2023, 14, 3759–3775. [Google Scholar] [CrossRef] [Scilit]
  34. Gabbar, H.A.; Elsayed, Y.; Siddique, A.B.; Elshora, A.; Adeleke, A. Design of a fast charging station with energy management for eBuses. Vehicles 2021, 3, 807–820. [Google Scholar] [CrossRef] [Scilit]
  35. Olano, J.; Camblong, H.; López-Ibarra, J.A.; Lie, T.T. Development of energy management systems for electric vehicle charging stations associated with batteries: Application to a real case. Appl. Sci. 2025, 15, 8798. [Google Scholar] [CrossRef] [Scilit]
  36. Lin, P.; Zhu, M.; Sun, J.; Cui, H.; Zhang, C.; Yan, Y. Collaborative optimization framework of battery charging/swapping stations for eVTOLs based on closed-loop supply chain and space-time network. J. Energy Storage 2026, 180, 124069. [Google Scholar] [CrossRef] [Scilit]
  37. Yu, X.; Yan, H.; Li, B.; Xu, J.; Tian, Y.; Lin, C. Driving condition feature driven collaborative energy conversion and management strategy for electric commercial vehicles with the dual-motor coupled powertrain system. Appl. Energy 2026, 426, 128592. [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.