iwfm.get_elem_list

iwfm.get_elem_list(elem_pairs_file)[source]

Read the submodel elements and returns a dictionary of old to new elements and a dictionary of new to old elements.

Parameters:

elem_pairs_file (str) – name of file listing elements of existing nmodel and submodel

Returns:

  • elem_list (list) – list of existing model elements in submodel

  • new_srs (list) – list of existing model subregions in submodel

  • elem_dict (dictionary) – dictionary key = existing model element, value = submodel element

  • rev_elem_dict (dictionary) – dictionary key = submodel element, value = existing model element