h2integrate.tools.profast_reverse_tools#
Functions
|
Convert dictionary of ProFAST objects to dictionary with |
Convert dictionary of ProFAST objects to dictionary with embedded dictionaries. |
|
Convert ProFAST object to a dictionary of objects. |
- h2integrate.tools.profast_reverse_tools.convert_pf_res_to_pf_config(pf_config)#
- Convert dictionary of ProFAST objects to dictionary with
embedded dictionaries.
- Parameters:
pf_config (dict) -- values are profast objects.
- Returns:
dict -- dictionary representation of ProFAST inputs.
- h2integrate.tools.profast_reverse_tools.make_pf_config_from_profast(pf)#
Convert ProFAST object to a dictionary of objects.
- Parameters:
pf (ProFAST.ProFAST) -- ProFAST object.
- Returns:
dict --
- keys are profast top-level inputs such as 'params', 'capital_items',
'fixed_costs', etc. Values are objects of each input type.
- h2integrate.tools.profast_reverse_tools.convert_pf_to_dict(pf)#
Convert dictionary of ProFAST objects to dictionary with embedded dictionaries.
- Parameters:
pf_config (ProFAST object) -- values are ProFAST objects.
- Returns:
dict -- dictionary representation of ProFAST inputs.