MFnwtModel class
- class mfsetup.mfnwtmodel.MFnwtModel(parent=None, cfg=None, modelname='model', exe_name='mfnwt', version='mfnwt', model_ws='.', external_path='external/', **kwargs)[source]
Bases:
MFsetupMixin
,Modflow
Class representing a MODFLOW-NWT model
- property ibound
3D array indicating which cells will be included in the simulation. Made a property so that it can be easily updated when any packages it depends on change.
- property ipakcb
By default write everything to one cell budget file.
- classmethod load(yamlfile, load_only=None, verbose=False, forgive=False, check=False)[source]
Load a model from a config file and set of MODFLOW files.
- property perioddata
DataFrame summarizing stress period information. Columns: ============== ========================================= start_datetime Start date of each model stress period end_datetime End date of each model stress period time MODFLOW elapsed time, in days* per Model stress period number perlen Stress period length (days) nstp Number of timesteps in stress period tsmult Timestep multiplier steady Steady-state or transient oc Output control setting for MODFLOW parent_sp Corresponding parent model stress period ============== =========================================
TODO: the code here might still need to be adapted to parallel the code in MF6model.perioddata, to work with parent models that are already loaded but have no configuration.