h2integrate.tools.eco.utilities#
Functions
|
Function to perform Life Cycle Assessment (LCA) of the simulated system. |
|
|
|
|
|
|
|
|
|
|
|
- h2integrate.tools.eco.utilities.ceildiv(a, b)#
- h2integrate.tools.eco.utilities.convert_relative_to_absolute_path(config_filepath, resource_filepath)#
- h2integrate.tools.eco.utilities.get_inputs(filename_hopp_config, filename_h2integrate_config, filename_orbit_config, filename_turbine_config, filename_floris_config=None, verbose=False, show_plots=False, save_plots=False)#
- h2integrate.tools.eco.utilities.convert_layout_from_floris_for_orbit(turbine_x, turbine_y, save_config=False)#
- h2integrate.tools.eco.utilities.visualize_plant(hopp_config, h2integrate_config, turbine_config, wind_cost_outputs, hopp_results, platform_results, desal_results, h2_storage_results, electrolyzer_physics_results, design_scenario, colors, plant_design_number, show_plots=False, save_plots=False, output_dir='./output/')#
- h2integrate.tools.eco.utilities.save_energy_flows(hybrid_plant, electrolyzer_physics_results, solver_results, hours, h2_storage_results, simulation_length=8760, output_dir='./output/')#
- Parameters:
hybrid_plant (<property object at 0x7fe5a81b2200>)
- h2integrate.tools.eco.utilities.calculate_lca(wind_annual_energy_kwh, solar_pv_annual_energy_kwh, energy_shortfall_hopp, h2_annual_prod_kg, energy_to_electrolyzer_kwh, hopp_config, h2integrate_config, total_accessory_power_renewable_kw, total_accessory_power_grid_kw, plant_design_scenario_number, incentive_option_number)#
Function to perform Life Cycle Assessment (LCA) of the simulated system. Calculates Scope 1, 2, and 3 average emissions over the lifetime of the plant in kg CO2e per unit mass of product produced. CO2e or carbon dioxide equivalent is a metric for the global warming potential of different greenhouse gases (GHGs) by converting their emissions to the equivalent amount of CO2. Leverages ANL's GREET model to determine emission intensity (EI), efficiency, feedstock consumption, and energy consumption values of various processes Leverages NREL's Cambium API to determine future grid generation mixes and emissions intensities of grid electricity consumption
- Parameters:
wind_annual_energy_kwh (float) -- Annual energy from wind power (kWh)
solar_pv_annual_energy_kwh (float) -- Annual energy from solar pv power (kWh)
energy_shortfall_hopp -- Total electricity to electrolyzer & peripherals from grid power (kWh)
h2_annual_prod_kg -- Lifetime average annual H2 production accounting for electrolyzer degradation (kg H2/year)
energy_to_electrolyzer_kwh -- Total electricity to electrolyzer from grid power (kWh)
hopp_config (dict) -- HOPP configuration inputs based on input files
h2integrate_config (H2IntegrateSimulationConfig) -- all inputs to the h2integrate simulation
total_accessory_power_renewable_kw (numpy.ndarray) -- Total electricity to electrolysis peripherals from renewable power (kWh) with shape = (8760,)
total_accessory_power_grid_kw (numpy.ndarray) -- Total electricity to electrolysis peripherals from grid power (kWh) with shape = (8760,)
plant_design_scenario_number (int) -- plant design scenario number
incentive_option_number (int) -- incentive option number
- Returns:
lca_df (pandas.DataFrame) --
- Pandas DataFrame containing average emissions intensities over
lifetime of plant and other relevant data
- h2integrate.tools.eco.utilities.post_process_simulation(lcoe, lcoh, pf_lcoh, pf_lcoe, hopp_results, electrolyzer_physics_results, hopp_config, h2integrate_config, orbit_config, turbine_config, h2_storage_results, total_accessory_power_renewable_kw, total_accessory_power_grid_kw, capex_breakdown, opex_breakdown, wind_cost_results, platform_results, desal_results, design_scenario, plant_design_number, incentive_option, solver_results=[], show_plots=False, save_plots=False, verbose=False, output_dir='./output/')#