Skip to content

bug: Budget from transport model listing file is not returned #2087

Description

@cneyens

Hi,

I'm recreating the Synthetic Valley problem described in the MODFLOW 6 Examples using flopy v3.5.0. I can access the volumetric budget of the flow model from its listing file using gwf.output.list().get_dataframes(). For the transport model however, this does not work as gwt.output.list().get_dataframes() does not return anything, presumably because the budgetkey is set incorrectly: gwt.output.list().budgetkey gives 'VOLUME BUDGET FOR ENTIRE MODEL' instead of 'MASS BUDGET FOR ENTIRE MODEL'.

I'm not sure if this is a bug or if I'm missing something here... I would expect that the .list() method sets the correct budgetkey based on the model_type of gwt.

As a workaround, I can access the transport mass budget using flopy.utils.Mf6ListBudget("path/to/trans.lst", budgetkey="MASS BUDGET FOR ENTIRE MODEL").

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions