pywfm.IWFMModel.get_n_stream_inflows#

IWFMModel.get_n_stream_inflows()#

Return the number of stream boundary inflows specified by the user as timeseries input data

Returns:

number of stream boundary inflows

Return type:

int

See also

IWFMModel.get_stream_inflow_nodes

Return the stream nodes indices that receive boundary inflows specified by the user as timeseries input data

IWFMModel.get_stream_inflow_ids

Return the identification numbers for the stream boundary inflows specified by the user as timeseries input data

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_stream_inflows()
1
>>> model.kill()
>>> model.close_log_file()