iwfm.dll.dll_open¶
- iwfm.dll.dll_open(iwfm_dll, pre_file, sim_file, routed_streams=1, for_inquiry=1)[source]¶
IWFM DLL: instantiate an IWFM_Model object from Preprocessor and Simulation filenames.
- Parameters:
iwfm_dll (IWFM DLL object) – instantiated IWFM DLL object
pre_file (str) – file path and name of the model preprocessor input file
sim_file (str) – file path and name of the model simulation input file
routed_streams (int, default=1) – 1: model has routed streams 0: stream routing in a linked model
for_inquiry (int, default=1) – 1: accessing the model to return input and output data 0: running simulations
- Returns:
iwfm_model (object) – instantiated IWFM model object
status (int) – 0 if everything worked