pywfm.IWFMModel.get_well_ids#
- IWFMModel.get_well_ids()#
Return the pumping well IDs specified in an IWFM model
- Returns:
array of well IDs
- Return type:
np.ndarray
Note
This method is intended to be used when is_for_inquiry=0 when performing a model simulation
See also
IWFMModel.get_n_wells
Return the number of pumping wells in an IWFM model
IWFMModel.get_well_coordinates
Return the x- and y-coordinates of pumping wells in an IWFM model
IWFMModel.get_n_element_pumps
Return the number of element pumping wells in an IWFM model
IWFMModel.get_element_pump_ids
Return the element pump IDs specified in an IWFM model
Example
>>> from pywfm import IWFMModel >>> pp_file = '../Preprocessor/PreProcessor_MAIN.IN' >>> sim_file = 'Simulation_MAIN.IN' >>> model = IWFMModel(dll, pp_file, sim_file, is_for_inquiry=0) >>> model.get_well_ids()
>>> model.kill() >>> model.close_log_file()