Simulation and Design of Green Hydrogen Production Systems
Simulation and Design of Green Hydrogen Production Systems
Systems
Ramanuja Jagannathan
Application Engineer – Control Design
MathWorks, Bangalore
3
Green hydrogen production – Motivation / Feasibility
Advantages Deltas
4
Green hydrogen production – Microgrid / Solar
Multi-domain simulation
5
Green hydrogen production – Microgrid / Wind
Multi-domain simulation
6
Green hydrogen production – Import field data with MATLAB
7
Green hydrogen production – Fidelity in simulation models
8
Green Hydrogen production – Electrolysis unit (component)
detailed representation
High
capturing thermodynamic behaviour
fidelity in the electrolysis process
(Released in 2022a)
openExample('simscape/PEMElectrolysisSystemExample') 9
Green hydrogen production – Electrolysis unit (system)
system-level representation
Medium enabling agile simulations
fidelity and multi-domain integration
(Release 2022a)
openExample('simscapeelectrical/GreenHydrogenMicrogridExample') 10
Medium
fidelity
https://in.mathworks.com/matlabcentral/fileexchange/53428-green-hydrogen-wind-solar-from-alkaline-electrolysis 11
Green hydrogen production – Energy conversion (wind-to-gas)
Power
– AC-DC converter (electric AC < > DC) Electronics
▪ Three-phase AC generator
▪ Energy storage e.g. flywheel
12
Embedded development
Component analysis
High
fidelity
13
Green hydrogen production – Challenges at physical unit level
14
Green hydrogen production – Energy conversion (electrical machine)
High
fidelity
High (+)
fidelity
15
Green hydrogen production – Energy conversion (DC-DC converter)
High
fidelity
N-channel MOSFET
(thermal option available)
16
Green hydrogen production – Energy conversion (AC-DC converter)
High
fidelity
17
Green hydrogen production – AC wind generation
https://in.mathworks.com/matlabcentral/fileexchange/53428-green-hydrogen-wind-solar-from-alkaline-electrolysis 18
Green hydrogen production – Stand-alone electrolyzer (high fidelity)
19
Green hydrogen production – Stand-alone electrolyzer
PM Generator
Control
20
Green hydrogen production – From concept to code
21
Green hydrogen production – Grid-connected electrolyzer (high fidelity)
22
Green hydrogen production – Grid-connected Electrolyzer
Control Design
& Grid Connection
(Phase Locked Loop) Detected grid
frequency
23
Green hydrogen production – Stand-alone (AC) electrolyzer
FFT
analysis
(currents)
Energy optimization
Prognostics development
24
Key performance
system assessment
Medium
fidelity
25
Green hydrogen production – Challenges at System Level
27
Green hydrogen production – Energy conversion (Electrical machine)
Medium
fidelity
Simscape Language
28
Green hydrogen production – Energy conversion (DC-DC converter)
Medium
fidelity
29
Green hydrogen production – System Assessment
31
Green hydrogen production – System Assessment
32
Green hydrogen production – System Assessment Medium
fidelity
o expected H2 production & water consumption
o suitable control algorithm (conditions, use of physical assets)
o energy storage (dimensioning, expected duty regime)
o planning of operations (collect – replace - maintain)
33
Techno Economic analysis
Low
fidelity
34
Solar Powered DC Microgrid
35
36
System Integration from Verified Components
37
Battery modeling
Start with equivalent circuit model and parametrize using measurement data
Cell Physical Model: Parameter Estimation
𝑅1
𝑅0
𝐸𝑚 𝐶1
Thevenin Model
𝐸𝑚 SOC
1
SOC
0.9
SOC
0.8
…
SOC
0
https://www.mathworks.com/videos/modeling-batteries-using-simulink-and-simscape-1562930245321.html 38
Testing the Solar Array
39
Solar Arrays and MPPT
40
Impedance Matching
I ZS
If ZL = ZS then PL = max P
Source Load
41
Impedance matching
42
Evaluating System Operation
43
Evaluating System Operation
44
Testing the Electrolyzer
45
What does techno-economic mean?
From Wikipedia
46
Considerations for Techno-Economic Analysis
▪ Conducted across long durations of time at regular intervals ranging from 1 minute to 1 hour
47
Quasi-Steady State Simulation using Reduced Order Modeling
48
Reduced Order Modeling
49
Microgrid Example
50
51
Irradiance Data
▪ The irradiance data is 8760 TMY3 data available from NREL. There are 242
locations in the data set.
52
Electricity Price Data
▪ Electricity price data is one day of data from ISO-NE and simply repeated
365 times
53
Run scenarios using parsim
>> parsimScenarios
54
Empowering Collaborative R & D
55
Collaborative R&D - MathWorks’ provides the broadest range of
deployment options
Simulink
Compiler
Simulink
MATLAB
Coder MATLAB
Compiler
Products Compiler
MATLAB SDK
MATLAB
MATLAB Web Production
App Server Server
56
Collaborative R&D - Scenario 1: Standalone Desktop App
Standalone Apps
▪ Runs on PC
57
Collaborative R&D - Scenario 2: (MATLAB) Web App
Web Apps
Cropped picture
suggesting
integration into
custom app
▪ Browser-based access, no
local installation needed
58
Collaborative R&D - Scenario 3: Service API
Service APIs
Cropped picture
suggesting
scaling
production
(JS/HTML-based
app?)
▪ Runs on MATLAB
Production Server*
▪ Supports customer
developed client-server App
and web apps (e.g.
HTML/JavaScript)
Standalone FMUs
▪ V1 has no dependency on
MATLAB Runtime
61
Conclusions – Green hydrogen
Embedded Converter control
(Digital Twin) Generator control
High
fidelity Development Prognosis
Medium
fidelity System Concept evaluation
Performance Energy regulation
Assessment Component sizing
Multi-domain physical
modeling & simulation Low
Long term predictions
fidelity Techno-
platform Commercial feasibility
economic
analyses (RoI calculation)
62
Conclusions – Green hydrogen
Embedded Converter control
(Digital Twin) Generator control
Development Prognosis
Collaborative
Research & Development
64
Enable Your Team For Electrification
https://matlabacademy.mathworks.com/ 65
Additional resources at www.mathworks.com
▪ Solutions
– Battery Systems - MATLAB & Simulink
– Power Conversion Control - MATLAB & Simulink
– Renewable Energy and Energy Storage - MATLAB & Simulink
– Microgrid, Smart Grid, and Charging Infrastructure - MATLAB & Simulink
– Generation, Transmission, and Distribution - MATLAB & Simulink
– Simulink for Fuel Cells and Electrolyzers - MATLAB & Simulink
▪ Community Page
– Power Electronics Control Community - MATLAB & Simulink
▪ User Testimonies
– Fuel Cells
– Batteries
– Power Conversion
– Renewable Energy & Storage
– Microgrid, Smart Grid & Charging Infrastructure
– Generation, Transmission & Disribution
66
Thank you
▪ E-mail:
[email protected]
▪ LinkedIn:
www.linkedin.com/in/jrvinayak
67