h2integrate.converters.iron.martin_mine_cost_model#
Classes
|
|
|
Configuration class for MartinIronMineCostComponent. |
- class h2integrate.converters.iron.martin_mine_cost_model.MartinIronMineCostConfig(*, max_ore_production_rate_tonnes_per_hr, taconite_pellet_type, mine, cost_year)#
Configuration class for MartinIronMineCostComponent.
- Parameters:
max_ore_production_rate_tonnes_per_hr (float)
taconite_pellet_type (str)
mine (str)
cost_year (int)
- taconite_pellet_type#
type of taconite pellets, options are "std" or "drg".
- Type:
str
- mine#
name of ore mine. Must be "Hibbing", "Northshore", "United", "Minorca" or "Tilden"
- Type:
str
- max_ore_production_rate_tonnes_per_hr#
capacity of the pellet plant in units of metric tonnes of pellets produced per hour.
- Type:
float
- cost_year#
target dollar year to convert costs to. Cannot be input under cost_parameters.
- Type:
int
- max_ore_production_rate_tonnes_per_hr: float#
- taconite_pellet_type: str#
- mine: str#
- cost_year: int#
- class h2integrate.converters.iron.martin_mine_cost_model.MartinIronMineCostComponent(**kwargs)#
- setup()#
Declare inputs and outputs.
- Available attributes:
name pathname comm options
- format_coeff_df(coeff_df, mine)#
- Update the coefficient dataframe such that values are adjusted to standard units
and units are compatible with OpenMDAO units. Also filter the dataframe to include only the data necessary for a given mine and pellet type.
- Parameters:
coeff_df (pd.DataFrame) -- cost coefficient dataframe.
mine (str) -- name of mine that ore is extracted from.
- Returns:
pd.DataFrame -- cost coefficient dataframe
- compute(inputs, outputs, discrete_inputs, discrete_outputs)#
Computation for the OM component.
For a template class this is not implement and raises an error.