Photovoltaic_Plugin#
Classes:
|
Simulation of hydrogen production using PV + electrolysis. |
- class pyH2A.Plugins.Photovoltaic_Plugin.Photovoltaic_Plugin(dcf, print_info)[source]#
Simulation of hydrogen production using PV + electrolysis.
- Parameters
- Financial Input Values > construction time > Valueint
Construction time of hydrogen production plant in years.
- Irradiation Used > Data > Valuestr or ndarray
Hourly power ratio data for electricity production calculation. Either a path to a text file containing the data or ndarray. A suitable array can be retrieved from “Hourly Irradiation > type of tracking > Value”.
- CAPEX Multiplier > Multiplier > Valuefloat
Multiplier to describe cost reduction of PV and electrolysis CAPEX for every ten-fold increase of power relative to CAPEX reference power. Based on the multiplier the CAPEX scaling factor is calculated as: multiplier ^ (number of ten-fold increases). A value of 1 leads to no CAPEX reduction, a value < 1 enables cost reduction.
- Electrolyzer > Nominal Power (kW) > Valuefloat
Nominal power of electrolyzer in kW.
- Electrolyzer > CAPEX Reference Power (kW) > Valuefloat
Reference power of electrolyzer in kW for cost reduction calculation.
- Electrolyzer > Power requirement increase per year > Valuefloat
Electrolyzer power requirement increase per year due to stack degradation. Percentage or value > 0. Increase calculated as: (1 + increase per year) ^ year.
- Electrolyzer > Minimum capacity > Valuefloat
Minimum capacity required for electrolyzer operation. Percentage or value between 0 and 1.
- Electrolyzer > Conversion efficiency (kg H2/kWh) > Valuefloat
Electrical conversion efficiency of electrolyzer in (kg H2)/kWh.
- Electrolyzer > Replacement time (h) > Valuefloat
Operating time in hours before stack replacement of electrolyzer is required.
- Photovoltaic > Nominal Power (kW) > Valuefloat
Nominal power of PV array in kW.
- Photovoltaic > CAPEX Reference Power (kW) > Valuefloat
Reference power of PV array for cost reduction calculations.
- Photovoltaic > Power loss per year > Valuefloat
Reduction in power produced by PV array per year due to degradation. Percentage or value > 0. Reduction calculated as: (1 - loss per year) ^ year.
- Photovoltaic > Efficiency > Valuefloat
Power conversion efficiency of used solar cells. Percentage or value between 0 and 1.
- Returns
- Technical Operating Parameters and Specifications > Plant Design Capacity (kg of H2/day) > Valuefloat
Plant design capacity in (kg of H2)/day calculated from installed PV + electrolysis power capacity and hourly irradiation data.
- Technical Operating Parameters and Specifications > Operating Capacity Factor (%) > Valuefloat
Operating capacity factor is set to 1 (100%).
- Planned Replacement > Electrolyzer Stack Replacement > Frequency (years)float
Frequency of electrolyzer stack replacements in years, calculated from replacement time and hourly irradiation data.
- Electrolyzer > Scaling Factor > Valuefloat
CAPEX scaling factor for electrolyzer calculated based on CAPEX multiplier, reference and nominal power.
- Photovoltaic > Scaling Factor > Valuefloat
CAPEX scaling factor for PV array calculated based on CAPEX multiplier, reference and nominal power.
- Non-Depreciable Capital Costs > Land required (acres) > Valuefloat
Total land required in acres.
- Non-Depreciable Capital Costs > Solar Collection Area (m2) > Valuefloat
Solar collection area in m2.
Methods:
Using hourly irradiation data and electrolyzer as well as PV array parameters, H2 production is calculated.
calculate_area
(dcf)Area requirement calculation assuming 1000 W/m2 peak power.
calculate_electrolyzer_power_demand
(dcf, year)Calculation of yearly increase in electrolyzer power demand.
calculate_photovoltaic_loss_correction
(dcf, ...)Calculation of yearly reduction in electricity production by PV array.
Calculation of electrolyzer and PV CAPEX scaling factors.
Calculation of stack replacement frequency for electrolyzer.
scaling_factor
(dcf, power, reference)Calculation of CAPEX scaling factor based on nominal and reference power.
- calculate_H2_production(dcf)[source]#
Using hourly irradiation data and electrolyzer as well as PV array parameters, H2 production is calculated.
- calculate_electrolyzer_power_demand(dcf, year)[source]#
Calculation of yearly increase in electrolyzer power demand.
- calculate_photovoltaic_loss_correction(dcf, data, year)[source]#
Calculation of yearly reduction in electricity production by PV array.