h2integrate.simulation.technologies.hydrogen.h2_storage.pressure_vessel.compressed_gas_storage_model_20221021.Compressed_gas_function#

Created on Fri Jan 15 15:06:21 2021

@author: ppeng

Classes

CompressedGasFunction(path_tankinator)

class h2integrate.simulation.technologies.hydrogen.h2_storage.pressure_vessel.compressed_gas_storage_model_20221021.Compressed_gas_function.CompressedGasFunction(path_tankinator)#
exp_log_fit(var_op, capacity_1)#
residual_op(var_op, capacity_1, Op_c_Costs_kg)#
exp_fit(x, a, b)#
calculate_max_storage_capacity(Wind_avai, H2_flow, Release_efficiency)#
calculate_max_storage_duration(Release_efficiency, H2_flow)#
func(Wind_avai, H2_flow, cdratio, Energy_cost, cycle_number, capacity_max_spec=None, t_discharge_hr_max_spec=None)#

Run the compressor and storage container cost models

Wind_avai is only used for calculating the theoretical maximum storage capacity prior to curve fitting

H2_flow is (I think) the rate the H2 is being removed from the tank in metric ton/day

cdratio is the charge/discharge ratio (1 means charge rate equals the discharge rate, 2 means charge is 2x the discharge rate)

Energy_cost is the renewable energy cost in $/kWh, or can be set to 0 to exclude energy costs

cycle number should just be left as 1 (see compressed_all.py)

curve_fit()#
plot()#