You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The gwf.modeltime.steady_state attribute appears to be returning True for every period entered in the steady_state argument to ModflowGwfsto, regardless of whether the entry for that period is True or False. The actual STO input file written by Flopy does not seem to be affected by this.
More broadly, since a stress period can't be both steady-state and transient, maybe it would be better to refactor the Flopy input to a single steady_state dictionary of True/False values. Is there any reason why we wouldn't want to do this?
The text was updated successfully, but these errors were encountered:
A related issue with loading a model: If the STO package isn't included in the load, gwf.modeltime.steady_state returns all True for each stress period.
* fix(get_package and model_time): #2117, #2118
get_package now allows you to get package only by name or type, instead of always searching for a package both by name and type
model_time displays the correct steady state array and no longer gets confused if packages are named similar to the package type it is searching for
* fix(resolve merge conflict)
---------
Co-authored-by: scottrp <45947939+scottrp@users.noreply.github.com>
Regarding your second comment, the MF6 documentation states, "If the STO Package is not included for a model, then storage changes will not be calculated, and thus, the model will be steady state.". Given this, I think it is reasonable for flopy's modeltime.steady_state to be true when the STO package does not exist.
Describe the bug
The
gwf.modeltime.steady_state
attribute appears to be returningTrue
for every period entered in thesteady_state
argument toModflowGwfsto
, regardless of whether the entry for that period isTrue
orFalse
. The actual STO input file written by Flopy does not seem to be affected by this.To Reproduce
Expected behavior
More broadly, since a stress period can't be both steady-state and transient, maybe it would be better to refactor the Flopy input to a single
steady_state
dictionary ofTrue/False
values. Is there any reason why we wouldn't want to do this?The text was updated successfully, but these errors were encountered: