-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(MVE): adding support for energy mover package
- Loading branch information
1 parent
6d84eda
commit f1b3e23
Showing
17 changed files
with
1,134 additions
and
109 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Mover Energy Transport (MVE) Package information is read from the file that is specified by ``MVE6'' as the file type. Only one MVE Package can be specified for a GWE model. | ||
|
||
The MVE Package is used to route thermal energy according to flows from the GWF Water Mover (MVR) Package. The MVE Package must be activated by the user if the MVR Package is active in the corresponding the GWF Model. Flows from the GWF MVR Package must be available to the GWE model either through activation of a GWF-GWE Exchange or through specification of ``GWFMOVER'' in the PACKAGEDATA block of the GWE FMI Package. | ||
|
||
\vspace{5mm} | ||
\subsubsection{Structure of Blocks} | ||
\lstinputlisting[style=blockdefinition]{./mf6ivar/tex/gwe-mve-options.dat} | ||
|
||
\vspace{5mm} | ||
\subsubsection{Explanation of Variables} | ||
\begin{description} | ||
\input{./mf6ivar/tex/gwe-mve-desc.tex} | ||
\end{description} | ||
|
||
\vspace{5mm} | ||
\subsubsection{Example Input File} | ||
\lstinputlisting[style=inputfile]{./mf6ivar/examples/gwe-mve-example.dat} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
# --------------------- gwe mve options --------------------- | ||
# flopy subpackage mve_filerecord mve perioddata perioddata | ||
# flopy parent_name_type parent_model_or_package MFModel/MFPackage | ||
|
||
block options | ||
name print_input | ||
type keyword | ||
reader urword | ||
optional true | ||
longname print input to listing file | ||
description REPLACE print_input {'{#1}': 'mover'} | ||
|
||
block options | ||
name print_flows | ||
type keyword | ||
reader urword | ||
optional true | ||
longname print calculated flows to listing file | ||
description REPLACE print_flows {'{#1}': 'lake'} | ||
|
||
block options | ||
name save_flows | ||
type keyword | ||
reader urword | ||
optional true | ||
longname save lake flows to budget file | ||
description REPLACE save_flows {'{#1}': 'lake'} | ||
|
||
block options | ||
name budget_filerecord | ||
type record budget fileout budgetfile | ||
shape | ||
reader urword | ||
tagged true | ||
optional true | ||
longname | ||
description | ||
|
||
block options | ||
name budget | ||
type keyword | ||
shape | ||
in_record true | ||
reader urword | ||
tagged true | ||
optional false | ||
longname budget keyword | ||
description keyword to specify that record corresponds to the budget. | ||
|
||
block options | ||
name fileout | ||
type keyword | ||
shape | ||
in_record true | ||
reader urword | ||
tagged true | ||
optional false | ||
longname file keyword | ||
description keyword to specify that an output filename is expected next. | ||
|
||
block options | ||
name budgetfile | ||
type string | ||
preserve_case true | ||
shape | ||
in_record true | ||
reader urword | ||
tagged false | ||
optional false | ||
longname file keyword | ||
description name of the binary output file to write budget information. | ||
|
||
block options | ||
name budgetcsv_filerecord | ||
type record budgetcsv fileout budgetcsvfile | ||
shape | ||
reader urword | ||
tagged true | ||
optional true | ||
longname | ||
description | ||
|
||
block options | ||
name budgetcsv | ||
type keyword | ||
shape | ||
in_record true | ||
reader urword | ||
tagged true | ||
optional false | ||
longname budget keyword | ||
description keyword to specify that record corresponds to the budget CSV. | ||
|
||
block options | ||
name budgetcsvfile | ||
type string | ||
preserve_case true | ||
shape | ||
in_record true | ||
reader urword | ||
tagged false | ||
optional false | ||
longname file keyword | ||
description name of the comma-separated value (CSV) output file to write budget summary information. A budget summary record will be written to this file for each time step of the simulation. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
BEGIN OPTIONS | ||
PRINT_INPUT | ||
PRINT_FLOWS | ||
SAVE_FLOWS | ||
BUDGET FILEOUT mygwemodel.mve.bud | ||
END OPTIONS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
% DO NOT MODIFY THIS FILE DIRECTLY. IT IS CREATED BY mf6ivar.py | ||
|
||
\item \textbf{Block: OPTIONS} | ||
|
||
\begin{description} | ||
\item \texttt{PRINT\_INPUT}---keyword to indicate that the list of mover information will be written to the listing file immediately after it is read. | ||
|
||
\item \texttt{PRINT\_FLOWS}---keyword to indicate that the list of lake flow rates will be printed to the listing file for every stress period time step in which ``BUDGET PRINT'' is specified in Output Control. If there is no Output Control option and ``PRINT\_FLOWS'' is specified, then flow rates are printed for the last time step of each stress period. | ||
|
||
\item \texttt{SAVE\_FLOWS}---keyword to indicate that lake flow terms will be written to the file specified with ``BUDGET FILEOUT'' in Output Control. | ||
|
||
\item \texttt{BUDGET}---keyword to specify that record corresponds to the budget. | ||
|
||
\item \texttt{FILEOUT}---keyword to specify that an output filename is expected next. | ||
|
||
\item \texttt{budgetfile}---name of the binary output file to write budget information. | ||
|
||
\item \texttt{BUDGETCSV}---keyword to specify that record corresponds to the budget CSV. | ||
|
||
\item \texttt{budgetcsvfile}---name of the comma-separated value (CSV) output file to write budget summary information. A budget summary record will be written to this file for each time step of the simulation. | ||
|
||
\end{description} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
BEGIN OPTIONS | ||
[PRINT_INPUT] | ||
[PRINT_FLOWS] | ||
[SAVE_FLOWS] | ||
[BUDGET FILEOUT <budgetfile>] | ||
[BUDGETCSV FILEOUT <budgetcsvfile>] | ||
END OPTIONS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.