Green Hydrogen (Wind & Solar) from Alkaline Electrolysis.

Simscape electrolyzer converting water and electricity (wind/solar renewable sources) into H2 gas. Alkaline technology included.


Updated 5 Jul 2023

View License

This is a conceptual model representing electrolysis, the conversion of electrical energy (wind & solar) and water into hydrogen gas. In this update (4.0.3), a video illustrating the operation of an alkaline electrolyzer is showcased. Related models soon to be available.
The electrolyser consists of a water tank that can be refilled continuously upon need (conductivity increase in the solution may be accounted for). The temperature of the water is regulated by diverted current through a thermal resistor. Hydrogen generated is extracted into a storage tank modelled as a gas chamber with a constant storage temperature..

Cite As

Juan Sagarduy (2023). Green Hydrogen (Wind & Solar) from Alkaline Electrolysis. (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Energy Production in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!





Version Published Release Notes

Update description with latest information.


Adding alkaline electrolyzer video.


Adding green hydrogen production from wind-based micro-grids. Major update.

Upgrade to R2022a.

Editing Correction (Distance anode-cathode).

Output signal for pH of the solution in the electrolyser tank now accessible.

Updated description of the content in the submission.

Upgraded material to 2021b

Adding a DC micro-grid model including solar, energy storage (battery) & electrolyzer.

Updated content - Hydrogen generation through electrolysis.

Upgrading the files to R2020a.