h2integrate.converters.tools

h2integrate.converters.tools#

Functions

check_pysam_input_params(user_dict, ...)

Checks for different values provided in two dictionaries that have the general format.

h2integrate.converters.tools.check_pysam_input_params(user_dict, pysam_options)#

Checks for different values provided in two dictionaries that have the general format:

value = input_dict[group][group_param]
Parameters:
  • user_dict (dict) – top-level performance model inputs formatted to align with the corresponding PySAM module.

  • pysam_options (dict) – additional PySAM module options.

Raises:

ValueError – if there are two different values provided for the same key.