Preprint
Concept Paper

This version is not peer-reviewed.

Safe Reinforcement Learning for Energy Management of EV-Integrated Renewable Microgrids in Sub-Saharan Africa: A Methodology Proposal

Submitted:

16 October 2026

Posted:

19 October 2026

You are already at the latest version

Abstract
Energy management in solar-based microgrids that also serve electric vehicles (EVs) in sub-Saharan Africa must cope with scarce measurement data, unreliable grid supply, volatile demand and tight battery and generator limits. Reinforcement learning (RL) can adapt to this uncertainty, but unconstrained RL policies give no assurance that operating limits are respected, and most published methods are validated on data-rich systems outside the region. This paper proposes a methodology, not a set of results, for a safe and data-efficient RL energy management system called SCOPE-EM (Shielded Constrained Policy Optimisation for EV-integrated Microgrids). It combines (i) probabilistic forecasting of photovoltaic (PV) output, load and EV demand with conformal calibration and transfer from data-rich sites; (ii) a constrained Markov decision process solved by a forecast-conditioned Lagrangian actor critic; (iii) a model-predictive shield that projects every action onto a chance-constrained feasible set; and (iv) an operator-facing explanation layer that records shield interventions. We specify the problem formulation, the data strategy, three archetypal case studies, the baselines and ablations, a pre-specified statistical protocol, and evaluation metrics covering cost, reliability, safety, EV service quality and equity. The hypotheses are stated so that the planned studies can refute them.
Keywords: 
;  ;  ;  ;  ;  ;  ;  

1. Introduction

Solar mini-grids are central to closing the electricity access gap in sub-Saharan Africa. IRENA reports that 565 million people in the region lacked electricity in 2023, 451 million of them in rural areas [14], and a World Bank outlook identifies solar mini-grids as a least-cost option for nearly half a billion people in unpowered or underserved communities [15]. Their commercial case is fragile, however, and new anchor loads that raise revenue also raise operational complexity. A project consortium in Ghana, Kenya and Rwanda, for example, is studying how mini-grids integrated with EV charging can serve agriculture and community needs [18].
Electric mobility is arriving first through two-wheelers. A recent funding announcement reports that one operator has deployed 100,000 electric vehicles and 2,500 swap stations across several African markets [16], and an investor commentary estimates about 30 million motorcycle taxis operate across the continent [17]. Battery swapping removes the rider’s wait for charging, and it turns a swap station into a schedulable load and a distributed store of energy. Simulation work for Nairobi shows that strained grids and frequent outages shape the design of such stations [12]. Field and simulation studies of solar-charged EVs, such as the Gambian Solar Taxi pilot [11] and PV charging of electric minibus taxis in South Africa [13], show that the energy–transport link is technically and commercially plausible in the region.
Reinforcement learning is a natural candidate for managing these systems. Reviews of RL for microgrid energy management document its adaptability to stochastic renewables, storage limits and market interactions [3,4,5,6], and reviews of safe RL for power systems document methods that add constraint handling to the learning loop [1,2]. Three gaps remain for the setting studied here.
1.
Safety. Operating limits (state of charge, generator minimum loading, power balance, voltage and frequency bounds) must hold at every step, not on average. Constraint-aware RL and shielding have been demonstrated on remote diesel–wind–battery microgrids [7,8] and on low-voltage grids with PV, storage and EV charging [9], and RL has been combined with model predictive control (MPC) for microgrid dispatch [10]. These works do not address the data and demand conditions below.
2.
Data scarcity. Ground-measured irradiance is sparse in the region, and satellite and reanalysis products show uneven accuracy: an evaluation in Côte d’Ivoire found large relative errors for hourly global horizontal irradiance across four widely used products [19], and long-term West African satellite records need regional validation before use in design [20]. Forecasts and simulators must therefore carry calibrated uncertainty.
3.
Operator trust. A mini-grid operator who cannot see why the controller acted, or when a safety layer overrode it, will not hand it control of capital-intensive assets.
In the sources we reviewed we did not find a framework that treats these three gaps together for EV-integrated microgrids under regional data conditions. A systematic review to test that observation is part of the planned work (Section 8).

1.0.0.1. Contributions.

This paper makes five methodological proposals:
  • a constrained-MDP formulation of EV-integrated microgrid dispatch that includes outage-aware grid availability, battery degradation, EV (or swap-station) service levels and an equity-weighted unserved-energy term;
  • a four-layer architecture (calibrated forecasting, constrained RL, MPC shield, explanation layer) with a defined interface between layers;
  • a data-scarcity protocol that combines transfer learning, bias-corrected satellite data and domain randomisation;
  • a pre-specified evaluation design with named baselines, ablations, hypotheses and statistical tests;
  • a reproducibility plan for an open simulator, code and de-identified data.
Section 2 reviews related work, Section 3 formalises the problem, Section 4 presents the method, Section 5, Section 6 and Section 7 give the data, experimental design and metrics, and Section 8 and Section 9 discuss expected outcomes, limitations and conclusions.

3. Problem Formulation

We formulate dispatch as a constrained Markov decision process (CMDP) on a discrete horizon t = 0 , … , T − 1 with step length Δ t (a configurable 5 to 60 minutes; 15 minutes is the default design choice).

3.1. System Model

The microgrid has PV, a battery energy storage system (BESS), an optional diesel generator, an optional but intermittent grid connection, prioritised electrical loads, and an EV service point. The EV service point is modelled as a battery-swap station (primary case) or as plug-in chargers with departure deadlines (variant). Let L t be demand, S t shed load, C t curtailed PV, g t grid exchange (positive for import), and a t ∈ { 0 , 1 } grid availability. Power balance and grid limits are
P t p v − C t + P t d g + g t + P t d i s = P t c h + P t e v + L t − S t , − a t G e x p ≤ g t ≤ a t G i m p .
BESS energy evolves with charge and discharge efficiencies η c and η d :
E t + 1 = E t + η c P t c h − 1 η d P t d i s Δ t , E m i n ≤ E t ≤ E m a x .
The generator has on/off state u t , minimum loading ρ and minimum up and down times, with an affine fuel curve F t = ( b 0 u t P r a t e d + b 1 P t d g ) Δ t . For the swap station, N t is the number of fully charged batteries, A t the swap arrivals, s t = min ( A t , N t ) the swaps served, U t = A t − s t the unmet swaps, and c t the batteries completing charge:
N t + 1 = N t − s t + c t , P t e v ≤ k t P s l o t , k t ≤ K .
Here k t is the number of charging slots activated and K the number installed. The grid availability a t follows an outage process (for example a two-state Markov chain) fitted to local outage logs.

3.2. States, Actions and Uncertainty

The state s t holds BESS energy, generator status and timers, swap inventory and queue, grid availability, time-of-day features, prices, and quantile forecasts of PV, load, swap arrivals and outage probability over a lookahead of H steps. The action a t is the vector of continuous setpoints (net BESS power, generator power and commitment, grid exchange, active charging slots, shed and curtailment requests). The exogenous uncertainty is ξ t = ( PV , L , A , a ) , observed only through forecasts and past measurements, so the problem is partially observable and the forecast quantiles are part of the observation.

3.3. Reward and Constraints

The per-step reward is the negative operating cost, with equity-weighted shedding:
r t = − c f F t + c t i m p g t + Δ t − c t e x p g t − Δ t + c d D t + c s ∑ j w j S j , t Δ t + c u U t ,
where D t is a degradation proxy, D t = κ ( P t c h + P t d i s ) Δ t / ( 2 E n o m ) , measured in equivalent full cycles and to be replaced in the experiments by a semi-empirical cycle and calendar ageing model. The weights w j rank load classes (for example clinic, water pumping, households, commercial) and are set through stakeholder consultation and reported with a sensitivity analysis.
Constraints fall into two groups. Hard constraints (BESS bounds, power limits, generator operating rules, power balance) must hold at every step with probability at least 1 − ϵ under forecast uncertainty; the shield enforces them. Soft constraints bound expected cumulative costs: unserved-energy ratio, generator hours, unmet-swap rate and battery ageing. The CMDP is
max π J R ( π ) = E π ∑ t = 0 T − 1 γ t r t s . t . J C k ( π ) = E π ∑ t = 0 T − 1 c k , t ≤ d k ( k = 1 , … , K ) , s . t . Pr x t + 1 ∈ X ∣ x t , a t ≥ 1 − ϵ .
Here x t is the physical state and X the set of states satisfying the hard constraints. Separating the two groups keeps the learning problem tractable while giving the safety guarantee a clear scope: it covers the modelled constraints under the calibrated forecast distribution, not unmodelled faults.

4. Proposed Methodology: SCOPE-EM

4.1. Overview

SCOPE-EM has four layers that run at every control step, plus an offline training stage (Figure 1). Layer 1 turns data into calibrated probabilistic forecasts. Layer 2 is a constrained RL policy that reads those forecasts and proposes setpoints. Layer 3 is an MPC shield that checks the proposal against a short-horizon, chance-constrained model and returns the closest safe action. Layer 4 records and explains what the policy proposed, what the shield changed and why.

4.2. Layer 1: Calibrated Probabilistic Forecasting

The forecaster predicts PV output, load, swap-station arrivals (or EV energy requests) and grid-outage probability over H steps. It returns quantiles, not point values, and has three design elements:
  • Physics-informed inputs. PV output is modelled through the clear-sky index, with clear-sky irradiance and module temperature effects computed from a PV performance model. Satellite or reanalysis irradiance is bias-corrected against a short local measurement window, because accuracy of these products varies by site [19,20].
  • Transfer learning. A quantile network (a temporal convolutional or attention-based architecture, with gradient-boosted quantile models as a baseline) is pre-trained on regional satellite series and on data-rich sites, then fine-tuned on the target site’s logs. Fine-tuning uses as little local data as the site has; the amount is varied in the experiments (Section 6).
  • Online conformal calibration. Quantile outputs are wrapped with an adaptive conformal procedure so that empirical coverage stays near its nominal level under distribution shift, such as seasonal change or a new customer connecting. Calibration quality is a reported outcome, not an assumption.

4.3. Layer 2: Forecast-Conditioned Constrained RL

The policy is trained on the CMDP of Section 3 with a Lagrangian actor–critic. Soft actor–critic with Lagrange multipliers (SAC-Lag) is the primary algorithm; PPO-Lag and constrained policy optimisation are used in a sensitivity analysis. Each multiplier is updated by projected dual ascent:
λ k ← λ k + α λ ( J ^ C k ( π ) − d k ) + , L ( π , λ ) = J R ( π ) − ∑ k λ k ( J C k ( π ) − d k ) .
The observation contains the forecast quantiles, and a recurrent encoder summarises the history to handle partial observability. The actor outputs normalised setpoints that are mapped to physical ranges. Four training choices address the regional conditions:
  • Domain randomisation over PV bias, load scale, outage frequency and duration, fuel and import prices, battery ageing and swap-demand profiles, so that one policy is robust across a family of plausible sites.
  • Curriculum from outage-free operation to long, frequent outages.
  • Offline pre-training from operator logs, where they exist, with a conservative critic, followed by simulator fine-tuning.
  • Intervention-aware reward. A small penalty on the distance between the proposed and the shield-corrected action, r t ′ = r t − μ ∥ a t − a t s a f e ∥ , teaches the policy to propose actions that need no correction.

4.4. Layer 3: MPC Shield

At each step the shield solves a small optimisation over a short horizon H s that returns the feasible action closest to the policy’s proposal:
a t s a f e = arg min a t , … , a t + H s − 1 ∥ a t − a t π ∥ W 2 s . t . dynamics ( Sec . ) , limits , ξ t + k = ξ ^ t + k ϵ / H s , k = 0 , … , H s − 1 , E t + H s ≥ E t r e s .
Three features make this a chance-constrained shield rather than a plain projection.
1.
Quantile-robust uncertainty. Exogenous inputs are set to the pessimistic forecast quantile for each constraint (low PV, high load, high swap demand, low grid availability), with the risk level split across the horizon by a Bonferroni rule so that the joint horizon risk is bounded by ϵ .
2.
Reserve terminal set. The terminal BESS energy must cover critical loads for an outage duration at a chosen quantile of the fitted outage model. This ties safety to the regional reality of unreliable grids and supports recursive feasibility.
3.
Fallback. If the problem is infeasible, for example because a fault has removed assets, a priority-based rule sheds the lowest-weight load classes first and raises an alarm.
The guarantee is stated narrowly. If the realised exogenous inputs fall inside the forecast envelope, the modelled hard constraints hold. If forecast calibration is valid, that happens with probability at least 1 − ϵ per step (a marginal, not conditional, statement), and calibration is monitored online. The guarantee does not cover unmodelled faults, sensor errors or model mismatch beyond tolerances set in the safety margins. When no binary variables are active the shield is a quadratic programme; with generator commitment it is a small mixed-integer programme. The solve time must fit within a stated share of Δ t , and this latency is a reported metric.

4.5. Layer 4: Explanation and Operator Interface

Trust is treated as an engineering requirement. Every step stores the raw action, the safe action, the set of binding constraints and their shadow prices from the shield’s solution. A shield intervention can then be explained in operator terms, for example that discharge was limited to hold reserve for a forecast outage. At policy level, feature attributions on actor inputs, counterfactual replays of days with large interventions, and a weekly intervention report are provided. The planned operator study (Section 6) evaluates whether these outputs change operators’ willingness to delegate control; this paper makes no claim about the result.

4.6. Deployment Pathway and Connectivity Tolerance

Deployment follows four gated stages: simulation, shadow mode (the policy recommends and the shield checks, with no actuation), advisory mode (an operator approves each plan) and supervisory mode with automatic fallback. A gate is passed only when the pre-specified safety and performance criteria of Section 7 hold over a minimum run on the site’s own data. The inference stack is sized for a low-cost on-site controller and works offline: if the connection that supplies weather inputs fails, the forecaster falls back to a seasonal-persistence model with widened intervals, which makes the shield more conservative automatically.

5. Data and Case Studies

5.1. Case-study Archetypes

Three archetypes cover the main operating regimes. Specific sites will be chosen with partners (candidate settings include Rwanda, Kenya, Ghana and The Gambia, where EV–mini-grid activity has been reported [11,12,18]); site names are not fixed in this proposal.
Table 1. Case-Study Archetypes.
Table 1. Case-Study Archetypes.
Case Archetype Assets EV element Main stress
A Rural solar–diesel–battery mini-grid PV, BESS, diesel generator, no grid Plug-in charging of an e-minibus or two-wheelers with deadlines Fuel use, evening peak, long cloudy spells
B Urban battery-swap station on an unreliable grid Grid, PV, BESS Swap inventory, queueing, slot limits Frequent outages, swap-demand peaks
C Community anchor-load site PV, BESS, generator Shared EV charging beside a clinic, water pump or agro-processing load Critical-load priority, equity weighting

5.2. Data Streams

Public models of PV charging for minibus taxis and of swap-station operation can seed the simulator where they are openly available [12,13].
Table 2. Data streams, known issues and mitigations.
Table 2. Data streams, known issues and mitigations.
Stream Source Known issue Mitigation
Irradiance, weather Satellite and reanalysis products, local pyranometer if any Uneven accuracy, sparse ground truth [19,20] Bias correction on a short local window; per-site calibration report
Load, generation Operator SCADA or smart-meter logs Short records, gaps, metering errors Flagged gap filling; chronological splits; labelled synthetic augmentation
EV and swap demand Swap-station and charger logs Short history, commercial sensitivity De-identified aggregates; arrival models calibrated on available logs
Grid outages Utility or operator outage logs Incomplete recording Two-state outage model with uncertainty; stress scenarios beyond observed outages

5.3. Splits and Validation

All splits are chronological, with at least one full seasonal cycle in the test period wherever the record allows. Transfer is evaluated by leave-one-site-out testing: pre-train on all other sites, fine-tune on a limited window at the held-out site, and test on later data. Synthetic data may be used for training and stress testing but never as the sole basis for a headline result; each synthetic generator is checked against held-out real statistics (for example distributions of daily peaks and of evening energy).

5.4. Data Governance

Data-sharing agreements with operators will state ownership, permitted use and de-identification. Consumer-level records are aggregated before leaving the operator. Findings and trained policies are returned to partner operators and communities, and the release plan in Section 9 keeps commercially sensitive data out of the public record.

6. Experimental Design

6.1. Research Questions and Hypotheses

The hypotheses are stated before any experiment is run, so that the results can contradict them.
Table 3. Pre-specified hypotheses.
Table 3. Pre-specified hypotheses.
ID Hypothesis Primary evidence
H1 The shield removes modelled hard-constraint violations that occur under constrained RL without a shield Violations per 1,000 steps, all test scenarios
H2 SCOPE-EM lowers operating cost (fuel, import, degradation) against rule-based dispatch while keeping unserved energy non-inferior Paired cost difference; non-inferiority test on unserved energy
H3 Calibrated quantile forecasts outperform point forecasts as shield and policy inputs Ablation B7 vs SCOPE-EM
H4 Transfer learning with domain randomisation keeps performance close to site-specific training when local data are limited Regret vs local-data volume, leave-one-site-out
H5 During outages, equity-weighted shedding is lower than under the baselines Weighted unserved energy in outage windows
H6 The explanation layer increases operators’ stated willingness to delegate control Operator study (qualitative, questionnaire)

6.2. Baselines

All learning-based methods receive the same tuning budget on the validation period only. B3 is included because a well-designed stochastic MPC may be hard to beat; a result in which it matches SCOPE-EM is reported as such.
Table 4. Baselines.
Table 4. Baselines.
ID Method Role
B1 Rule-based priority dispatch Proxy for current operator practice
B2 Deterministic MPC with persistence forecasts Simple model-based reference
B3 Scenario-based robust or stochastic MPC Strong model-based competitor
B4 MPC with perfect foresight Oracle upper bound
B5 SAC with penalty terms only Unconstrained RL
B6 SAC-Lag, no shield Constrained RL without a hard filter
B7 SAC-Lag with action-projection shield and point forecasts Isolates value of calibration and reserve set
SCOPE-EM Full method Proposed

6.3. Ablations

Each component is removed in turn: calibration (point forecasts), the shield, the reserve terminal set, domain randomisation, the intervention penalty and the equity weights. Sensitivity is also reported for the shield horizon H s , the risk level ϵ , the forecast lookahead H and the choice of constrained RL algorithm.

6.4. Statistical Protocol

  • At least 10 independent training seeds per method, evaluated on the same held-out set of scenario-days.
  • Paired comparisons on scenario-days using the Wilcoxon signed-rank test with Holm correction across hypotheses, reported with Cliff’s delta and bootstrap 95% confidence intervals.
  • Reporting of medians, interquartile ranges and the worst 5% of days, not means alone, because rare bad days drive safety and reliability.
  • A non-inferiority margin for unserved energy, proposed as 0.5 percentage points of annual energy demand and to be confirmed with partner operators before experiments begin.
  • Negative and null results reported in full.

6.5. Stress Tests

Test scenarios go beyond the training distribution: a multi-day cloudy spell, an outage longer than any in the logs, PV forecast bias and sensor dropout, EV demand growing by a multiple of the current level, a generator trip, and accelerated battery capacity fade. Each stress test reports whether the shield held the hard constraints and what the fallback cost.

6.6. Hardware-in-the-loop, Field and Operator Study

The controller is first run against a hardware-in-the-loop emulation of the site’s inverter and BESS interfaces. Field trials follow the staged pathway of Section 4.6, starting in shadow mode. The operator study (H6) uses semi-structured interviews and a short trust questionnaire with operators who have seen the explanation layer on replayed days, and it will be submitted for ethical review before recruitment.

6.7. Reproducibility

Random seeds, configuration files and software versions are fixed and published, and the simulator and training code are containerised so that every reported figure can be regenerated from a single command.

7. Evaluation Metrics

7.1. Metric Set

The two reliability ratios are defined as
ENS % = ∑ t S t Δ t ∑ t L t Δ t × 100 , wENS = ∑ t ∑ j w j S j , t Δ t ∑ t ∑ j w j L j , t Δ t .
Table 5. Evaluation metrics.
Table 5. Evaluation metrics.
Domain Metric Better is
Economic Operating cost per kWh served (fuel, net import, degradation) Lower
Economic Diesel litres per kWh served Lower
Reliability Unserved energy ratio (ENS%) and hours with any shed load Lower
Reliability Equity-weighted unserved energy ratio (wENS) Lower
Safety Hard-constraint violations per 1,000 steps Lower (target zero)
Safety Shield intervention rate and size; fallback activations Lower
EV service Unmet-swap rate, mean waiting time; energy delivered by departure Lower; higher
Battery Equivalent full cycles per year; modelled capacity fade Lower
Renewables PV utilisation; curtailment share Higher; lower
Emissions kg CO2 per kWh served, stated emission factors Lower
Forecasting Pinball loss, CRPS, coverage and width of 90% intervals Lower; nominal; narrower
Computation Inference time; shield solve time as share of Δ t Lower

7.2. Gate Criteria for the Deployment Pathway

The stage gates in Section 4.6 use criteria agreed with each operator before the stage begins. Moving from shadow to advisory mode requires zero hard-constraint violations over the agreed minimum run, forecast interval coverage inside an agreed band around its nominal level, and shield solve times within the agreed share of Δ t . Moving from advisory to supervisory mode additionally requires that cost is no worse than the rule-based baseline B1 at non-inferior unserved energy, and that operators have reviewed the intervention reports. Numerical thresholds are set per site because asset size, outage regime and tolerance for risk differ.

7.3. Reporting

Every metric is reported per case and per scenario class (typical, stress, outage), with the tails described in Section 6. A single weighted score is avoided; trade-offs are shown as Pareto fronts, for example fuel against unserved energy and cost against battery ageing.

8. Expected Outcomes, Limitations and Work Plan

8.1. What the Studies Can Show

No results are claimed here. If H1 and H2 hold, the evidence would support using learning-based dispatch in settings where hard limits matter and an operator needs assurance. If H2 fails because stochastic MPC (B3) matches SCOPE-EM, the finding is still useful: it would show that the added complexity of learning is not justified for these archetypes. If H3 fails, calibration is not worth its cost in data-poor sites. If H4 fails, site-specific data collection must precede deployment.

8.2. Limitations

  • Simulator fidelity. Results in simulation depend on the quality of the PV, battery, generator, outage and demand models. Hardware-in-the-loop and shadow-mode stages are designed to expose gaps, but they cannot remove them.
  • Scope of the safety guarantee. It covers modelled constraints under calibrated forecasts. Conformal coverage is marginal over time, not guaranteed for every day, and unmodelled faults are outside it.
  • Cost proxies. Degradation, equity weights and emission factors are simplified, and their values affect the learned trade-offs. Sensitivity analyses cannot settle value judgements, which need stakeholder input.
  • Demand uncertainty. EV adoption in the region is changing quickly [16,17]; a policy trained on today’s demand may face very different loads within a few years, so retraining triggers and stress tests are part of the design.
  • Out of scope. Cybersecurity, multi-microgrid coordination and vehicle-to-grid discharge are not treated here, although the first is an open problem for RL-based energy management in general [3].

8.3. Threats to Validity

Internal: unequal tuning effort (controlled by an equal tuning budget on validation data only) and train–test leakage (controlled by chronological splits). External: three archetypes cannot represent every site (partly controlled by domain randomisation and leave-one-site-out tests, and stated as a limit). Construct: cost and equity terms stand in for broader social value. Statistical: too few seeds or scenario-days (controlled by the protocol above).

8.4. Work Plan

1.
Evidence base. Systematic review of RL, safe RL and shielding for microgrids and EV integration in low-data settings, with a protocol registered before searching.
2.
Simulator. Open simulator for the three archetypes, validated against partner data and published models [12,13].
3.
Forecasting layer. Transfer learning, bias correction and conformal calibration; gate: calibration reported per site.
4.
Policy and shield. SAC-Lag with the MPC shield; gate: zero violations on the full simulated test set.
5.
Benchmark. All baselines, ablations and stress tests under the statistical protocol; H1–H5 resolved.
6.
Field stages. Hardware-in-the-loop, shadow mode, advisory mode and the operator study (H6), each subject to ethical review and the gate criteria of Section 7.
7.
Release. Public simulator, code and de-identified data where agreements allow.

9. Conclusions

This paper proposes SCOPE-EM, a four-layer methodology for energy management of EV-integrated solar microgrids under the data, grid and demand conditions of sub-Saharan Africa. Its core ideas are calibrated probabilistic forecasting, constrained RL conditioned on those forecasts, and a chance-constrained MPC shield with an outage-aware reserve, wrapped in an explanation layer and a gated deployment path. The accompanying design fixes the hypotheses, baselines, statistical tests and stop criteria in advance, so the work can be judged on evidence.

Institutional Review Board Statement

The proposed operator study and the use of operator and consumer data will be submitted for institutional ethical review before data collection. No human-subject data were and will be collected for this paper.

Data Availability Statement

No data were generated. The simulator, code, configuration files and de-identified data will be released under open licences on a public repository when the studies are complete, subject to data-sharing agreements.

Conflicts of Interest

The author declares no competing interests.

References

  1. Safe reinforcement learning for power system control: a review. arXiv. 2024. Available online: https://arxiv.org/abs/2407.00681.
  2. A critical review of safe reinforcement learning techniques in smart grid applications. arXiv. 2024. Available online: https://arxiv.org/abs/2409.16256.
  3. Zia, M. F.; Inayat, U.; Anjum, M. J.; Khalid, H. M.; Liaquat, S. Reinforcement learning in microgrid energy management: review, methods and prospects. In IET Smart Grid. [CrossRef]
  4. Arwa, E. O.; Folly, K. A. Reinforcement learning techniques for optimal power control in grid-connected microgrids: a comprehensive review. IEEE Access 2020, 8, 208992–209007. [Google Scholar] [CrossRef]
  5. Mohammadi, P.; Darshi, R.; Shamaghdari, S.; Siano, P. Comparative analysis of control strategies for microgrid energy management with a focus on reinforcement learning. IEEE Access 2024, 12, 171368–171395. [Google Scholar] [CrossRef]
  6. Barbalho, P. I. N.; Moraes, A. L.; Lacerda, V. A.; Barra, P. H. A.; Fernandes, R. A. S.; Coury, D. V. Reinforcement learning solutions for microgrid control and management: a survey. IEEE Access 2025, 13. [Google Scholar] [CrossRef]
  7. Nekoei, H.; Blondin Massé, A.; Hassani, R.; Chandar, S.; Mai, V. Shielded Controller Units for RL with operational constraints applied to remote microgrids. Reinf. Learn. J. (pre-proceedings). 2026, arXiv:2512.010467. [Google Scholar]
  8. Nekoei, H.; Blondin Massé, A.; Hassani, R.; Chandar, S.; Mai, V. Safe reinforcement learning for remote microgrid optimization with industrial constraints. Climate Change AI papers track, NeurIPS, 2024; Available online: https://www.climatechange.ai/papers/neurips2024/58.
  9. Demirel, G.; Grafenhorst, S.; Ohm, J.; Schäfer, B.; Förderer, K.; Hagenmeyer, V. Multi-objective reinforcement learning with shielding for control and safety in power grids (eGridLVGym); Karlsruhe Institute of Technology; Available online: https://publikationen.bibliothek.kit.edu/1000189331.
  10. Integrating reinforcement learning and model predictive control with applications to microgrids. arXiv 2024, arXiv:2409.11267.
  11. Gammon, R.; Sallah, M. Preliminary findings from a pilot study of electric vehicle recharging from a stand-alone solar minigrid. Front. Energy Res. 2021, 8, 563498. [Google Scholar] [CrossRef]
  12. Sheehan, C. S.; Green, T. C.; Daina, N. A simulation approach to analyse the impacts of battery swap stations for e-motorcycles in Africa. IEEE AFRICON 2021. [Google Scholar] [CrossRef]
  13. Abraham, C. J.; et al. Ray of hope for sub-Saharan Africa’s paratransit: solar charging of urban electric minibus taxis in South Africa. Available online: https://nru.uncst.go.ug/items/25397c1d-78a8-4ffd-bfb0-cd9462c2850d/full.
  14. IRENA. Unlocking battery storage potential for sustainable mini-grid electrification in West Africa, as reported in: Solar mini-grids and batteries could expand electricity access in West Africa, IRENA says. Down To Earth. Available online: https://www.downtoearth.org.in/amp/story/africa/solar-mini-grids-and-batteries-could-expand-electricity-access-in-west-africa-irena-says.
  15. World Bank. Mini grids for half a billion people: market outlook and handbook for decision makers. 2022. [Google Scholar] [PubMed]
  16. Spiro raises $215m to expand Africa battery-swap network. Tech.Africa. announcement of 1 June 2026. Available online: https://tech.africa/?p=87839.
  17. Ghana’s Kofa raises seed round for multi-purpose EV batteries. ImpactAlpha. Available online: https://impactalpha.com/ghanas-kofa-raises-seed-round-for-multi-purpose-ev-batteries/.
  18. University of Leeds. Unlocking the power of solar energy in African communities (Moving IMPACT project). Available online: https://environment.leeds.ac.uk/news/article/5880/unlocking-the-power-of-solar-energy-in-african-communities.
  19. Multi-timescale validation of satellite-derived global horizontal irradiance in Côte d’Ivoire. Remote Sens. 2025, 17, 998. [CrossRef]
  20. Photovoltaic power potential in West Africa using long-term satellite data. Atmos. Chem. Phys. 2020, 20, 12871. Available online: https://acp.copernicus.org/articles/20/12871/2020/acp-20-12871-2020.html. [CrossRef]
Figure 1. Data flow of SCOPE-EM. The policy’s proposed action always passes through the shield before reaching the plant, and layer 4 records both versions of the action.
Figure 1. Data flow of SCOPE-EM. The policy’s proposed action always passes through the shield before reaching the plant, and layer 4 records both versions of the action.
Preprints 238773 g001
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.