Academic Jobs - Home of Higher Ed Logo

Research spotlight: Fares Bettahar on solar desalination control that bends with the weather

9 min read14 views

At a glance

Fares Bettahar and colleagues at the University of Biskra designed an Energy-Aware Control framework for a single-stage photovoltaic-battery brackish water reverse osmosis plant. It combines a hawk-inspired MPPT algorithm with model-free DC-link control, holding permeate salinity steady as solar input fluctuates, and was validated in simulation and hardware-in-the-loop.

solar panels on green field
Photo by American Public Power Association on Unsplash

At 10:40 on a clear morning a solar array behaves itself. Then a cumulus deck slides across, the power curve buckles, the DC link sags, and a reverse osmosis pump that was told to deliver a fixed flow rate suddenly cannot. Most small photovoltaic desalination systems cope with that moment badly: they trip, or they push the membrane through pressure swings it was never designed to take.

A team led by Fares Bettahar at the Laboratory of Electrical Engineering (LGEB) at the University of Biskra in Algeria has flipped the priority. Instead of defending a fixed water output, their controller treats flow as the variable and water quality as the fixed point. Across eight operating scenarios, from full midday irradiance to a battery below 15% state of charge, permeate salinity stays pinned at 5.2 grams per cubic metre, the equivalent of 5.2 milligrams per litre, while production is dialled up or down to match whatever energy is actually available.

The design is published in Energy Reports (volume 15, article 109343, 2026) under the title "Intelligent energy-aware control of a single-stage photovoltaic-battery powered brackish water reverse osmosis desalination system." It arrives as Algeria runs one of the largest desalination build-outs in Africa and as inland towns in the Sahara look to brackish groundwater rather than the Mediterranean as their nearest drinkable source. The paper's target is not the giant coastal plant. It's the small, unglamorous, off-grid unit that has to keep working when nobody is there to fix it.

Why a fixed set point is the wrong instruction

Reverse osmosis works by shoving salty water at high pressure against a membrane that lets water through and rejects most of the dissolved salt. The pump is the whole operating cost, and it wants a stable supply. Solar cannot promise one.

The Biskra rig is deliberately stripped down. A photovoltaic array feeds a Quasi-Z-Source Inverter (QZSI), a piece of power electronics that converts direct current to alternating current and boosts the voltage in the same stage, so there is no separate DC-DC boost converter in the chain. That inverter drives a three-phase induction motor under flux-oriented control, which runs a high-pressure pump feeding the membrane. A battery sits behind a bidirectional buck-boost quadratic converter (BBQC) that can charge from the panels or discharge to the pump.

Fewer converters means fewer components that can fail in a place with no electrician. It also means less conversion loss and a smaller enclosure. The authors frame this single-stage architecture as a cost and maintenance argument as much as an efficiency one.

On top sits the framework they call Energy-Aware Control (EAC). It has a source-side energy management system that decides where power goes, and a water-energy coordination layer that decides how much water to make. The two talk to each other constantly.

Hawks, long jumps, and a faster hunt for the peak

A solar panel's power curve has a hump, and the top of that hump is the maximum power point. Track it badly and you throw away energy you already paid for. Track it well under partial shading, where a rooftop array can show several humps at once, and the job gets harder: simple hill-climbing algorithms walk up the first slope they find and stop there, convinced they have arrived.

Bettahar's team built a tracker on Harris Hawk Optimization (HHO), a search method that mimics how hawks cooperatively encircle prey. The innovation, described in the paper and freely available at the published article, is what they call Directionally Adaptive Lévy Flight (DALF). A Lévy flight is a search pattern of many small steps punctuated by occasional long jumps; the classic version uses fixed jump lengths that ignore whether the sky is actually changing. DALF recalibrates the jump from measured rates of change in irradiance and temperature, so the search leaps further when conditions are moving fast and settles when they are steady.

The reported numbers: 99.9% tracking efficiency, convergence times between 0.02 and 0.23 seconds, steady-state power variation of roughly 1%, and residual oscillation under 5 watts. In the paper's comparison, standard HHO reached 97.25% and the Grey Wolf Optimizer (GWO) 96.60%. A four-point gap sounds modest until you multiply it by every daylight hour of a plant's twenty-year life.

blue solar panel

Photo by Chelsea on Unsplash

The battery side, and a controller that refuses to model the plant

Regulating the DC link, the shared voltage bus that all the power electronics sit on, is where solar desalination systems usually show their seams. Voltage dips make the motor stutter; voltage spikes cook capacitors. Bettahar's group used Model-Free Adaptive Control (MFAC) on the battery converter, a method that tunes itself from measured inputs and outputs rather than from a mathematical description of the hardware.

That choice matters in the field. Converter parameters drift with temperature and age, and a controller that assumed a fixed model of the circuit at commissioning is working from a description that stops being true. MFAC simply keeps re-estimating.

The measured ripple was ±0.625%, or ±0.05 volts peak to peak, with voltage overshoot of 0.05% in simulation and 0.08% on hardware. The paper reports it consistently beating fractional-order PID (FOPID) and sliding mode control (SMC) under dynamic conditions, the two strategies most often used in published PV-desalination work.

What happens when the battery runs low

The coordination layer is the part a village would actually notice. It calculates a reference flow rate from a weighted mix of three things: how much power the panels are making, how much charge headroom the battery has left, and the net power flowing into or out of it.

When the sun is strong, the system pushes production toward its ceiling. As conditions sour, it reduces demand in proportion rather than shutting down. The scenario table in the paper tightens the battery's allowed operating band as sunlight falls, from roughly 18–24% state of charge in moderate conditions down through 15–20% bands, until below about 15% the reverse osmosis unit is put on standby and a storage tank carries the load. The battery is never permitted to discharge into a depleted state; the panels then serve only essential demand.

Salinity is the one number that doesn't move. That is the paper's quiet argument: a plant that produces less water is a plant with a problem, but a plant that produces worse water is a public health event.

Where the evidence stops

The framework was built and tested in MATLAB/Simulink, then verified on a dSPACE DS1104 hardware-in-the-loop platform, where the controller runs on real processing hardware against a simulated power plant and membrane. That is a meaningful step beyond simulation and a real step short of a field trial.

The hardware results track the simulation closely but not perfectly. Tracking efficiency was statistically equivalent at 99.90% in simulation and 99.95% on hardware. Convergence was slower on the real-time platform, 0.28 seconds against 0.15, which the authors attribute to sensor sampling at 10 kilohertz, analogue-to-digital conversion and execution overhead. Permeate flow and conductivity deviated by under 5% relative error, traced to inverter dead time and sensor noise rather than to control limitations.

MetricSimulationHardware-in-the-loop
MPPT convergence time0.15 ± 0.08 s0.28 ± 0.09 s
MPPT tracking efficiency99.90 ± 0.05%99.95 ± 0.03%
DC-link voltage overshoot (MFAC)0.05 ± 0.00%0.08 ± 0.01%
DC-link settling time0.01 ± 0.00 s0.05 ± 0.00 s
Voltage Regulation Index0.000290.002
Steady-state PV power oscillation<5 W<5 W

A control engineer will raise two fair objections. The first is that 99.9% tracking efficiency is a benchmark against a simulated irradiance profile, not a water tariff; it tells you nothing yet about cost per cubic metre, which is the number that decides whether a plant gets built. The second is that a hardware-in-the-loop rig contains no real membrane. Fouling, scaling and the slow drift in salt rejection that governs a plant's actual maintenance schedule are absent from the test, so the controller's behaviour over months of Saharan dust and hard feedwater remains unmeasured. The authors are explicit that their next step is full-scale implementation on the LGEB desalination plant, with techno-economic analysis to follow.

Funding came through the LGEB Laboratory, and the author list spans four countries: Algeria, the United Kingdom through Teesside University's School of Science, Engineering and Design, India and Jordan through Mohit Bajaj's affiliations, and the Czech Republic through the ENET Centre at VSB-Technical University of Ostrava.

Why Biskra, and why brackish water

The paper opens with a number that gets used often and still lands: more than two-thirds of the planet is covered in water, and about 1% is readily accessible freshwater. It then points at Algeria, where it says the pressure is acute and investment in desalination has followed. Reverse osmosis, the authors note, dominates the global desalination market.

The national picture has moved fast. Algeria had 19 desalination plants in service in 2025 with a combined capacity of 3.75 million cubic metres per day, covering roughly 42% of drinking water demand, with a 2030 target of about 5 million cubic metres per day and a 60% share. Those coastal plants are seawater plants, big and grid-connected. The Biskra work points at a different market: Algerian officials have described plans for smaller inland units of 2,500 to 5,500 cubic metres per day running on renewable power to treat brackish groundwater in El M'Ghair, Oued Souf, Biskra and Ouargla.

That is the size and setting this controller was designed for. Brackish water needs far less pressure than seawater, so a modest array and a modest battery are enough, and the whole system can live where the grid does not reach.

More of the underlying modelling is documented through the open-access version in Energy Reports and the Teesside University research record.

What to watch next

The paper's future-work list reads like a map of the next three years. Full-scale deployment at the LGEB plant is first. Real-time water demand estimation comes with it, so the system can prioritise essential use when energy is short rather than rationing blindly. Hybrid sourcing follows: adding wind or fuel cells to a solar-battery core, plus water tanks large enough to let the controller schedule production predictively instead of reacting.

Then there is the accounting. A techno-economic analysis that computes the cost of freshwater under energy constraints, and linear parameter-varying control strategies tested on refined dynamic models of the actual membrane unit, would move this from a well-instrumented demonstration to something a utility can underwrite.

Bettahar's contribution is less a single clever algorithm than a change of framing: stop sizing the battery to cover the worst hour, and let the plant's output breathe with the weather while the water quality holds. Whether that idea survives contact with a real membrane, real dust and a real maintenance budget is the question that will decide if it leaves the lab. The number to watch is not 99.9%. It is dinars per cubic metre.

  • solar-desalination
  • photovoltaic-reverse-osmosis
  • brackish-water-treatment
  • energy-aware-control
  • maximum-power-point-tracking
Portrait of Jarrod Kanizay
About the author

Jarrod KanizayView author

Academic Jobs In House Author

Visionary leader transforming academic recruitment with 20+ years in higher education.

Discussion

Sort by:

Be the first to comment on this article!

You

You’ll be asked to sign in before your comment is posted.

Browse by Faculty

Browse by Subject

Frequently Asked Questions

💧What does Fares Bettahar's desalination research actually propose?

Bettahar, with Sabrina Abdeddaim and Achour Betka at the University of Biskra and collaborators in the UK, India and the Czech Republic, built an Energy-Aware Control framework for a small off-grid desalination plant. A photovoltaic array and a battery power a reverse osmosis unit through a single-stage Quasi-Z-Source Inverter. The controller decides how much freshwater to produce based on how much solar energy is available and how much charge the battery has left, while holding the salt content of the product water constant at 5.2 grams per cubic metre.

🏜️What is brackish water reverse osmosis and why does it matter in Algeria?

Brackish water is groundwater with more salt than freshwater but far less than seawater. Reverse osmosis pushes it at pressure through a membrane that rejects most dissolved salts. Because brackish water needs lower pressure than seawater, the equipment can be small enough for an inland village. The paper frames the work around arid and off-grid regions, and Algerian officials have described plans for renewable-powered brackish water units of 2,500 to 5,500 cubic metres per day in areas including Biskra, Oued Souf, El M'Ghair and Ouargla.

☀️What is MPPT and why is it hard under a passing cloud?

Maximum Power Point Tracking (MPPT) is the control loop that keeps a solar array operating at the voltage where it delivers the most power. That optimum shifts continuously with irradiance and temperature. Under partial shading, the power curve can develop several local peaks, and simple perturb-and-observe algorithms climb the first slope they encounter and stop. Bettahar's answer is DALF-HHO, a Harris Hawk Optimization search enhanced with Directionally Adaptive Lévy Flight, which the paper reports reaching 99.9% tracking efficiency against 97.25% for standard HHO and 96.60% for the Grey Wolf Optimizer.

🦅What is Directionally Adaptive Lévy Flight in plain terms?

Optimisation algorithms search a space of possible answers. A Lévy flight is a search pattern of many short steps interrupted by occasional long jumps, which helps an algorithm escape a false peak. In conventional versions the jump length is fixed, so the algorithm leaps just as hard when conditions are calm as when a cloud front is arriving. DALF recalculates the jump from measured rates of change in irradiance and temperature, so the search widens when the sky is unstable and tightens when it is not.

🔋What is Model-Free Adaptive Control and why use it on the battery converter?

Model-Free Adaptive Control (MFAC) tunes itself from measured inputs and outputs instead of relying on a mathematical model of the hardware it is controlling. That matters in a field installation, where electrical parameters drift with temperature and component ageing. The paper applied MFAC to a Bidirectional Buck-Boost Quadratic Converter regulating the DC link, achieving ripple of ±0.625% (±0.05 volts peak to peak) and reporting better performance than fractional-order PID and sliding mode control. Full details are in the published paper.

⚡How does the system behave when the battery is nearly empty?

The energy management system computes a reference flow rate from a weighted combination of available PV power, battery state-of-charge headroom and net battery power. In the paper's eight-scenario coordination table, the allowed battery band tightens as sunlight falls. Below roughly 15% state of charge the reverse osmosis unit goes to standby and stored water in a tank covers demand, with the panels serving only essential load. Production is reduced gradually rather than cut off, and salinity remains at 5.2 grams per cubic metre throughout.

🔬Was the system tested on a real desalination plant?

No. It was modelled and simulated in MATLAB/Simulink, then verified through hardware-in-the-loop experiments on a dSPACE DS1104 platform, where the control code runs on real processing hardware against a simulated plant. The authors list full-scale implementation at the LGEB desalination plant in Biskra as the immediate next step. Hardware-in-the-loop validation is a stronger test than simulation alone, but it contains no membrane and therefore no fouling or scaling.

⚠️What are the main limitations of this study?

Three stand out. Validation stopped at hardware-in-the-loop rather than a field deployment. Permeate flow and conductivity showed under 5% relative error on hardware, which the authors attribute to inverter dead time and sensor noise. And no techno-economic analysis has been completed, so the cost of freshwater from such a plant is not yet established; the authors explicitly list that analysis as future work. Membrane ageing and feedwater variability over months were not part of the test programme.

⚙️What is a single-stage architecture and what does dropping a converter achieve?

A conventional solar desalination drive uses a DC-DC boost converter to raise panel voltage, then an inverter to produce alternating current for the motor. The Biskra design uses a Quasi-Z-Source Inverter that performs inversion and voltage boosting in one stage, using shoot-through switching states generated by Simple Boost Control, so there is no separate boost stage. Fewer converters means lower conversion losses, a smaller enclosure and fewer components that can fail at a remote site.

🚰Why is constant salinity more important than constant flow?

Permeate salinity determines whether water is safe to drink. Variable flow under variable power is a production problem; variable salinity is a public health problem. The paper's control strategy fixes the salinity reference at 5.2 grams per cubic metre, equivalent to 5.2 milligrams per litre, and lets the flow rate follow the energy budget. That inversion of priorities is the conceptual core of the Energy-Aware Control framework.

🤝Who funded this research and who is involved?

The acknowledgements credit the LGEB Laboratory at the University of Biskra. Authors span the Laboratory of Electrical Engineering at Biskra in Algeria, Teesside University's School of Science, Engineering and Design in the UK, Graphic Era Deemed to be University in India with adjunct affiliations in Jordan and Saudi Arabia, and the ENET Centre at VSB-Technical University of Ostrava in the Czech Republic. The International Energy Agency's desalination data and national water programmes offer useful background on why the application area is growing.

🔭What happens next for this line of research?

The authors plan to move from hardware-in-the-loop to the LGEB desalination plant, add real-time water demand estimation so essential use is prioritised, extend the architecture to multi-source hybrids including wind and fuel cells, add water storage for predictive scheduling, test linear parameter-varying and other controllers on refined dynamic membrane models, and run techno-economic analyses. Their stated aim is to minimise the cost of freshwater while respecting energy availability and operational constraints. The Teesside research record tracks the publication.

Fares Bettahar: solar desalination control #30273