h2integrate.converters.ammonia.simple_ammonia_model#
Classes
|
Configuration inputs for the ammonia cost model, including plant capacity and feedstock details. |
|
Configuration inputs for the ammonia performance model, including plant capacity and capacity factor. |
|
An OpenMDAO component for calculating the costs associated with ammonia production. |
|
An OpenMDAO component for modeling the performance of an ammonia plant. |
- class h2integrate.converters.ammonia.simple_ammonia_model.AmmoniaPerformanceModelConfig(*, plant_capacity_kgpy, plant_capacity_factor)#
Configuration inputs for the ammonia performance model, including plant capacity and capacity factor.
- Parameters:
plant_capacity_kgpy (float)
plant_capacity_factor (float)
- plant_capacity_kgpy#
Annual production capacity of the plant in kg.
- Type:
float
- plant_capacity_factor#
The ratio of actual production to maximum possible production over a year.
- Type:
float
- plant_capacity_kgpy: float#
- plant_capacity_factor: float#
- class h2integrate.converters.ammonia.simple_ammonia_model.SimpleAmmoniaPerformanceModel(**kwargs)#
An OpenMDAO component for modeling the performance of an ammonia plant. Computes annual ammonia production based on plant capacity and capacity factor.
- initialize()#
Perform any one-time initialization run at instantiation.
- setup()#
Declare inputs and outputs.
- Available attributes:
name pathname comm options
- compute(inputs, outputs)#
Compute outputs given inputs. The model is assumed to be in an unscaled state.
An inherited component may choose to either override this function or to define a compute_primal function.
- Parameters:
inputs (Vector) -- Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) -- Unscaled, dimensional output variables read via outputs[key].
discrete_inputs (dict-like or None) -- If not None, dict-like object containing discrete input values.
discrete_outputs (dict-like or None) -- If not None, dict-like object containing discrete output values.
- class h2integrate.converters.ammonia.simple_ammonia_model.AmmoniaCostModelConfig(*, plant_capacity_kgpy, plant_capacity_factor, electricity_cost, cooling_water_cost, iron_based_catalyst_cost, oxygen_cost, electricity_consumption, hydrogen_consumption, cooling_water_consumption, iron_based_catalyst_consumption, oxygen_byproduct, capex_scaling_exponent, cost_year=2022)#
Configuration inputs for the ammonia cost model, including plant capacity and feedstock details.
- Parameters:
plant_capacity_kgpy (float)
plant_capacity_factor (float)
electricity_cost (float)
cooling_water_cost (float)
iron_based_catalyst_cost (float)
oxygen_cost (float)
electricity_consumption (float)
hydrogen_consumption (float)
cooling_water_consumption (float)
iron_based_catalyst_consumption (float)
oxygen_byproduct (float)
capex_scaling_exponent (float)
cost_year (int)
- plant_capacity_kgpy#
Annual production capacity of the plant in kg.
- Type:
float
- plant_capacity_factor#
The ratio of actual production to maximum possible production over a year.
- Type:
float
- electricity_cost#
Cost per MWh of electricity.
- Type:
float
- cooling_water_cost#
Cost per gallon of cooling water.
- Type:
float
- iron_based_catalyst_cost#
Cost per kg of iron-based catalyst.
- Type:
float
- oxygen_cost#
Cost per kg of oxygen.
- Type:
float
- electricity_consumption#
Electricity consumption in MWh per kg of ammonia production.
- Type:
float
- hydrogen_consumption#
Hydrogen consumption in kg per kg of ammonia production.
- Type:
float
- cooling_water_consumption#
Cooling water consumption in gallons per kg of ammonia production.
- Type:
float
- iron_based_catalyst_consumption#
Iron-based catalyst consumption in kg per kg of ammonia production.
- Type:
float
- oxygen_byproduct#
Oxygen byproduct in kg per kg of ammonia production.
- Type:
float
- capex_scaling_exponent#
Power applied to ratio of capacities when calculating CAPEX from a baseline value at a different capacity.
- Type:
float
- cost_year#
dollar year for costs.
- Type:
int
- plant_capacity_kgpy: float#
- plant_capacity_factor: float#
- electricity_cost: float#
- cooling_water_cost: float#
- iron_based_catalyst_cost: float#
- oxygen_cost: float#
- electricity_consumption: float#
- hydrogen_consumption: float#
- cooling_water_consumption: float#
- iron_based_catalyst_consumption: float#
- oxygen_byproduct: float#
- capex_scaling_exponent: float#
- cost_year: int#
- class h2integrate.converters.ammonia.simple_ammonia_model.SimpleAmmoniaCostModel(**kwargs)#
An OpenMDAO component for calculating the costs associated with ammonia production. Includes CapEx, OpEx, and byproduct credits, and exposes all detailed cost outputs.
- setup()#
Declare inputs and outputs.
- Available attributes:
name pathname comm options
- compute(inputs, outputs, discrete_inputs, discrete_outputs)#
Computation for the OM component.
For a template class this is not implement and raises an error.