Appendix 1: ModelMonitor |
ModelMonitor is a program that monitors MODFLOW-2005 as it is running. It reads the listing file generated by MODFLOW and displays any error or warning messages. It also plots the percent discrepancy in the water budget. Based on this information the user can decide whether or not to allow a particular model to run to completion.
ModelMonitor has a tree control with several items. Selecting one of the terminal items will cause the related pane.
1.On the Configuration pane, the user selects the path for the MODFLOW executable and the name file of the model. If the model is a MODFLOW 6 model, the user specifies that here.
2.The Monitor pane displays the information that would normally be displayed on the screen by MODFLOW.
3.The Listing pane displays error and warning messages printed by MODFLOW in the Listing file. Error messages will be highlighted in red. Warning messages will be highlighted in yellow.
4.The Results pane displays a graph of the percent discrepancy in each stress period. If any of the percent discrepancies exceed, one percent, that value will be plotted in red on the graph.
5.The About pane gives version information and contact information regarding ModelMonitor.
The Listing and Results panes are not available until after the model has been started. In models with local grid refinement, a separate Listing and Resultspane will be available for each model grid.
After the user has entered the path for the MODFLOW executable and the name or LGR file in the Configuration tab, pressing the Start model button will start the MODFLOW simulation.
It is possible to start ModelMonitor from the command line using the following syntax.
ModelMonitor.exe [[-m] <MODFLOW path> [-n][<Name or LGR file path>]]
Square brackets indicate optional arguments.
Angle brackets indicate that the text inside the brackets is to be replaced by the required information.
-m indicates that the following argument is the path for MODFLOW.
-n indicates that the following argument is the path for the name or LGR file.
If the optional arguments -m and -n are not used, the first argument is assumed to be the path for MODFLOW and the second is assumed to be the path for the name file. If any of the arguments contain spaces, the arguments must be enclosed by double quotes.
Example:
ModelMonitor.exe -m "C:\WRDAPP\MF2005.1_8\bin\mf2005.exe" -n "C:\WRDAPP\MF2005.1_8\test-run\twri.nam"