pywfm.IWFMModel.get_n_wells#
- IWFMModel.get_n_wells()#
Return the number of wells simulated in an IWFM model
- Returns:
number of wells simulated in the IWFM model
- Return type:
int
Note
This method is intended to be used when is_for_inquiry=0 when performing a model simulation
See also
IWFMModel.get_well_ids
Return the well IDs specified 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(pp_file, sim_file) >>> model.get_n_wells() 0 >>> model.kill() >>> model.close_log_file()