Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredthomas68 committed Jul 31, 2023
1 parent 6fdc507 commit 91b9946
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hopp/hydrogen/electrolysis/PEM_electrolyzer_IVcurve.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def external_power_supply(self):
TODO: extend model to accept variable voltage, current, and power
This will replicate direct DC-coupled PV system operating at MPP
"""
power_converter_efficiency = 1.0 #this used to be 0.95 but feel free to change as you'd like
power_converter_efficiency = 1.0 # this used to be 0.95 but feel free to change as you'd like
if self.input_dict['voltage_type'] == 'constant':

self.input_dict['P_input_external_kW'] = \
Expand All @@ -120,6 +120,7 @@ def external_power_supply(self):
(self.electrolyzer_system_size_MW * 1000),
(self.input_dict['P_input_external_kW'] -
(self.electrolyzer_system_size_MW * 1000)), 0)

#Current used to be calculated as Power/Voltage but now it uses the IV curve
# self.output_dict['current_input_external_Amps'] = \
# (self.input_dict['P_input_external_kW'] * 1000 *
Expand Down Expand Up @@ -500,6 +501,8 @@ def water_supply(self):
Calculate water supply rate based system efficiency and H2 production
rate
TODO: Add this capability to the model
The 10x multiple is likely too low. See Lampert, David J., Cai, Hao, Wang, Zhichao, Keisman, Jennifer, Wu, May, Han, Jeongwoo, Dunn, Jennifer, Sullivan, John L., Elgowainy, Amgad, Wang, Michael, & Keisman, Jennifer. Development of a Life Cycle Inventory of Water Consumption Associated with the Production of Transportation Fuels. United States. https://doi.org/10.2172/1224980
"""
# ratio of water_used:h2_kg_produced depends on power source
# h20_kg:h2_kg with PV 22-126:1 or 18-25:1 without PV but considering water deminersalisation
Expand Down
2 changes: 2 additions & 0 deletions hopp/hydrogen/electrolysis/pem_mass_and_footprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ def mass(rating_mw):
(m, b), pcov = curve_fit(_electrolyzer_mass_fit, rating_mw_fit, mass_kg_fit)

mass_kg = _electrolyzer_mass_fit(rating_mw, m, b)

print("m, b :", m, " ", b)

return mass_kg

Expand Down

0 comments on commit 91b9946

Please sign in to comment.