Variable_Operating_Cost_Plugin#

Classes:

Utility(dictionary, dcf)

Individual utility objects.

Variable_Operating_Cost_Plugin(dcf, print_info)

Calculation of variable operating costs.

class pyH2A.Plugins.Variable_Operating_Cost_Plugin.Utility(dictionary, dcf)[source]#

Individual utility objects.

Methods

calculate_cost_per_kg_H2:

Calculation of utility cost per kg of H2 with inflation correction.

Methods:

calculate_cost_per_kg_H2(dictionary, dcf)

Calculation of utility cost per kg of H2 with inflation correction.

calculate_cost_per_kg_H2(dictionary, dcf)[source]#

Calculation of utility cost per kg of H2 with inflation correction.

class pyH2A.Plugins.Variable_Operating_Cost_Plugin.Variable_Operating_Cost_Plugin(dcf, print_info)[source]#

Calculation of variable operating costs.

Parameters
Technical Operating Parameters and Specifications > Output per Year > Valuefloat

Yearly output taking operating capacity factor into account, in (kg of H2)/year.

Utilities > […] > Costfloat, ndarray or str

Cost of utility (e.g. $/kWh for electricity). May be either a float, a ndarray with the same length as dcf.inflation_correction or a textfile containing cost values (cost values have to be in second column).

Utilities > […] > Usage per kg H2float

Usage of utility per kg H2 (e.g. kWh/(kg of H2) for electricity).

Utilities > […] > Price Conversion Factorfloat

Conversion factor between cost and usage units. Should be set to 1 if no conversion is required.

Utilities > […] > Pathstr, optional

Path for Cost entry.

Utilities > […] > Usage Pathstr, optional

Path for Usage per kg H2 entry.

[…] Other Variable Operating Operating Cost […] >> Valuefloat

sum_all_tables() is used.

Returns
[…] Other Variable Operating Cost […] > Summed Total > Valuefloat

Summed total for each individual table in “Other Variable Operating Cost” group.

Variable Operating Costs > Total > Valuendarray

Sum of inflation corrected utilities costs and other variable operating costs.

Variable Operating Costs > Utilities > Valuendarray

Sum of inflation corrected utilities costs.

Variable Operating Costs > Other > Valuefloat

Sum of Other Variable Operating Cost entries.

Methods:

calculate_utilities_cost(dcf)

Iterating over all utilities and computing summed yearly costs.

other_variable_costs(dcf, print_info)

Applying sum_all_tables() to "Other Variable Operating Cost" group.

calculate_utilities_cost(dcf)[source]#

Iterating over all utilities and computing summed yearly costs.

other_variable_costs(dcf, print_info)[source]#

Applying sum_all_tables() to “Other Variable Operating Cost” group.