flopy.modflow.mfmnw1 module

class ModflowMnw1(model, mxmnw=0, ipakcb=None, iwelpt=0, nomoiter=0, kspref=1, wel1_bynode_qsum=None, losstype='skin', add=None, stress_period_data=None, dtype=None, mnwname=None, extension='mnw1', unitnumber=None, filenames=None)[source]

Bases: Package

MODFLOW Multi-Node Well 1 Package Class.

Parameters:
  • model (model object) – The model object (of type flopy.modflow.mf.Modflow) to which this package will be added.

  • mxmnw (integer) – maximum number of multi-node wells to be simulated

  • ipakcb (int, optional) – Toggles whether cell-by-cell budget data should be saved. If None or zero, budget data will not be saved (default is None).

  • iwelpt (integer) – verbosity flag

  • nomoiter (integer) – the number of iterations for which flow in MNW wells is calculated

  • kspref (string) – which set of water levels are to be used as reference values for calculating drawdown

  • losstype (string) – head loss type for each well

  • wel1_bynode_qsum (list of lists or None) – nested list containing file names, unit numbers, and ALLTIME flag for auxiliary output, e.g. [[‘test.ByNode’,92,’ALLTIME’]] if None, these optional external filenames and unit numbers are not written out

  • itmp (array) – number of wells to be simulated for each stress period (shape : (NPER))

  • add (bool, list of bool, or None) – flag to indicate whether the number of wells specified in itmp should be added to the number of wells from previous stress periods (True) or if the number of wells specified in itmp is the total number of wells for that stress period (False)

  • lay_row_col_qdes_mn_multi (list of arrays) – lay, row, col, qdes, and MN or MULTI flag for all well nodes (length : NPER)

  • mnwname (string) – prefix name of file for outputting time series data from MNW1

  • extension (string) – Filename extension (default is ‘mnw1’)

  • unitnumber (int) – File unit number (default is 33).

  • filenames (string or list of strings) – File name of the package (with extension) or a list with the filename of the package and the cell-by-cell budget file for ipakcb. Default is None.

Notes

Parameters are not supported in FloPy.

The functionality of the ADD flag in data set 4 is not supported. Also not supported are all water-quality parameters (Qwval Iqwgrp), water-level limitations (Hlim, Href, DD), non-linear well losses, and pumping limitations (QCUT, Q-%CUT, Qfrcmn, Qfrcmx, DEFAULT).

Examples

>>> import flopy
>>> ml = flopy.modflow.Modflow()
>>> mnw1 = flopy.modflow.ModflowMnw1(ml, ...)
static get_default_dtype(structured=True)[source]
static get_empty_stress_period_data(itmp, structured=True, default_value=0)[source]
classmethod load(f, model, nper=None, gwt=False, nsol=1, ext_unit_dict=None)[source]

Default load method for standard boundary packages.

write_file()[source]

Write the package file.

Return type:

None

skipcomments(line, f)[source]