Machine Learning Supported Groundwater Model Calibration with Modflow, Flopy, PySal and Scikit Learn - Tutorial

We have done a tutorial on a low-level-complexity model with rivers, lakes, recharge and regional groundwater flow done in Model Muse in a previous tutorial. The model was imported as an object in Python with Flopy. A sensibility analysis was done with SALib to assess the response for the object model groundwater flow to a different sample of parameters and a resulting set of parameters and corresponding heads (parameters -> heads) were recorded. Then a machine learning regression was performed with Scikit-Learn with the inverse set (heads->parameters) to get the predicted parameters for the observed data. Different error measurements were performed for two model cases to assess the overall quality of the neural network regressor.

Read More
Comment

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

How to do a simulated groundwater head difference map in MODFLOW and ModelMuse - Tutorial

This is a tutorial about some functionalities of Model Muse to analyze and process layer heads or parameters. The applied example was done based on a previous tutorial of a model with 3 stress periods, one static and two transient periods of 10 days. The simulated map shows the head difference in the last 10 days.

Read More
2 Comments

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Review of the latest functionalities of the new release of MODFLOW 6 (mf6.2.0)

Modflow6 is the latest version of the USGS code for groundwater modeling MODFLOW. This version has been coupled with another USGS open source software as Model Muse and Flopy and can implement diverse spatial discretization structures on a complete rearrangement of packages and keywords. We feel that there is a gap on the capabilities from a common groundwater modeler to adopt all the new development on Modflow and other open source groundwater software therefore we have prepared a video with the summary of this new release.

Read More
Comment

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

How to set a Multi Aquifer Well (MAW) in MODFLOW 6 and Model Muse - Tutorial

Modeling the dynamic of the groundwater flow related to pumping was a challenge with the traditional Wel package in MODFLOW since wells are screened on the most part of the well depth crossing multiple layers of a groundwater flow model. The Multi Aquifer Well (MAW) package came as a solution for this complex behaviour of layer interaction in Modflow. Model Muse with Modflow6 can implement the MAW package with ease.

This tutorial shows the complete procedure to set up a MAW well on a 3 layer groundwater flow model, gives an overview of the package options and represents the well heads and well rates with scripts in Flopy.

Read More
Comment

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Modeling impermeable walls with MODFLOW 6 and HFB Package - Tutorial

Modeling the performance and effectiveness of flow barriers or impermeable walls on the groundwater flow regime is a challenge due to the wall geometry / orientation and discretization requirements. The package Horizontal Flow Barrier was designed to simulate barriers of defined thickness and conductances that are located in between flow cells, in this way the flow barrier is independent for the model discretization. This package is not new, it dates back to 1993, and it was implemented on many MODFLOW versions.

Read More
Comment

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Tutorial of regional groundwater flow modeling with MODFLOW 6 and Model Muse 4

Modeling groundwater flow on a regional scale has its own challenges because a regional model itself deals with refinement requirements, larger baselines, higher differences in elevations, complex geologies and areas without observation data.

The applied model of this tutorial covers the Angascancha Reservoir basin groundwater flow model in Ayacucho, Peru. This example have been modeled in several courses, tutorials and webinars with Modflow 2005, Flopy and Model Muse, however, this is the first time we port the model (succesfully) to Modflow 6 and Model Muse 4.

Read More
Comment

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

How to install Modflow 6 on Model Muse 4 - Tutorial

Great free and open groundwater flow modeling software are in constant development process, therefore year by year we have newer versions or even new software. This time we have uptated a basic and useful tutorial from 2016 to the new version of Modflow and Model Muse. The tutorial shows the complete procedure to download and install Model Muse 4 and configure Modflow 6.

Read More

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Tutorial of Regional Groundwater Modeling with Local Refinement using MODFLOW 6 - DISV and Model Muse 4

We have explored the new (or not so new) options of Modflow 6 and Model Muse 4 to create local refinements on a regional scale based on hydraulic features. So far, we came up with a decent example of regional groundwater modeling on a andean basin with three boundary conditions and decreasing hydraulic conductivity with depth. The tutorial also explores the complexities to model basins with high difference on elevation and the use of text defined parameters to implement the Newton formulation in Modflow 6.

Read More
6 Comments

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

How to insert a 3D Geology into a MODFLOW Model with Python and Flopy - Tutorial

Finite difference method as well as any other discretization method allows the conceptualization of a geological media into cells or other volumes. Geological models come in diverse formats in binary or text format and need to be “translated” to the cell extension of a groundwater model.

This tutorial has a applied example of the implementation of a 3D geological model from a neural network into a groundwater model with determined horizontal discretization and layer thickness. The tutorial covers all the steps for model construction and hydrogeological unit determination with scripts in Python with Flopy and other libraries. Comparisons of the original and translated geological model were done as Matplotlib plots and Vtk files in Paraview.

Read More
3 Comments

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

3D Geological Models using Neural Networks with Python Scikit Learn and Vtk - Tutorial

We have done tutorial in Python and recent and powerful libraries as Scikit Learn to create a geological model based on lithology from drillings on the Treasure Valley (Idaho, USA). The tutorial generates a point cloud of drillings lithologies that are transformed and scaled for the neural network. The selected neural network classifier is Multi-layer Perceptron classifier implemented on the Scikit Learn library as sklearn.neural_network.MLPClassifier. An analysis of the confusion from the neural network is performed. The tutorial also includes a georeferenced 3D visualization from well lithology and interpolated geology as Vtk format in Paraview.

Read More
5 Comments

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

3D Visualization of Well Lithology with Python, Pyvista and VTK - Tutorial

There are standards for the lithology descriptions, but there are no standards about how to store lithological information and relate it to the drilling position. This disorder leads to the use of many formats and data files related to open and proprietary software.

In the search of “one tool that manages all tools”, as a similar concept of the “one ring that rule them all” from the Lord of the Rings (J.R.R Tolkien), we found that Python and its libraries: Pandas, Pyvista and VTK can do a decent job on the compilation, geotransformation, spatial location, and 3d geometry generation.

This tutorial deals with the 3D visualization as Vtk files on Paraview of the lithological information from hundreds of wells located on the Snake River - Idaho. The tutorial covers all steps from the download of the raw information processing to the list and arrays generation for the vtk file. The scripting work was done on a Jupyter Nobebook and the output 3D files were plotted on Paraview.

Read More
4 Comments

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Fault Zone Groundwater Flow Modeling with MODFLOW6 DISV and Model Muse -Tutorial

Conceptualization and simulation of groundwater flow in the area of influence of geological faults is really a challenge for numerical modelers. Besides the complexities and variety of faults there were some limitations of the numerical codes to simulate the mixed behaviour of faults and altered zones. We have developed an example tutorial to represent the main characteristics of groundwater flow in the fault zone for an applied case. The tutorial is developed in Model Muse with the MODFLOW DISV option for unstructured grid generation. Groundwater flow was analyzed on the water balance and a particle tracking simulation was done with MODPATH 7.

Read More
Comment

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

How to define cell / layer confinement in MODFLOW 6 with Model Muse

The process and options to define the cell / layer confinement has changed in MODFLOW 6 with respect to MODFLOW 2005. We have done an explanatory video about the process to setup the confinement for cells in MODFLOW 6 with Model Muse. There is also a discussion on the influence of the confined / convertible option on the aquifer response on an example model.

Read More
Comment

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Basic Example of Stream Flow Routing (SFR) Package with MODFLOW and Model Muse

The disconnexion of surface groundwater flow it is fact very common on highly exploited aquifers or under impacts from climate change. Many rivers are disconnected from the groundwater flow regime decreasing their flow amount due to infiltration losses. For the simulation of this surface flow, unsaturated flow and groundwater flow phenomena the MODFLOW package Streamflow Routing (SFR) was developed.

This tutorial develops an numerical model of disconnected surface groundwater flow with MODFLOW SFR and Model Muse. The study case has regional flow and a river network with monthly flow on transient conditions over 2 years.

Read More
Comment

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Geochemical Speciation Modeling and Analysis with Phreeqc and Julia - Tutorial

The speciation modeling allows to calculate the distribution of aqueous species in a solution. Phreeqc is capable to simulate this speciation calculation and we are going to demonstrate this capability on a study case of aqueous species in seawater. Modeling was done with a Phreeqc executable and results were analysed on a interactive Julia script. Both parts were done on a Jupyter Lab session.

Read More
Comment

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Temporal discretization impact on MODFLOW Model Heads and Water Budget

For a transient model, a modeler needs to conceptualize a coherent and feasible time discretization approach, nevertheless searching for temporal discretization guidelines the Internet gives you digital noise: nothing relevant, nothing precise, nothing useful. These is the type of situation where you ask yourself: how many stress periods do I need, how many time steps do I require, which should be an appropriate size of the model output, or more important, will the size and number of stress periods and time steps have an effect on the model output?

Read More
4 Comments

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

How to do more Groundwater Modeling (or any modeling) in less amount of time

Because time matters and everybody wants results and solutions now, groundwater modelers (or any water resources modeler) have to think how they can do more with the limited time available. This is a restructuration, a reengineering, a new conceptualization of not only what we do, but how we do, and if in the end we are happy with the main results, and secondary results we get from our modeling work.

Groundwater modelers are water resources specialists with high skills in computing, coding, maths and groundwater flow regime comprehension. The type of work, the complexity of the given areas of study, the limited observation data, the limited budget, the short completion times and the overall low perception and low understanding of groundwater flow and groundwater quality makes the modeling work somehow particular where we have to adopt special techniques to deliver good work while preserving the modeler integrity and wellness.

Read More
2 Comments

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

How to work with Transmissivities in MODFLOW with Model Muse - Tutorial

Hydraulic parameters for an aquifer flow can be expressed on different terms like Hydraulic Conductivity (K) or Transmissivity (T). On the default setup of MODFLOW 2005 with Model Muse there is no option to use directly Transmissivity unless a manual conversion is done to transform into K, this is because the selected flow package is Layer Property Flow (LPF).

When the flow package changes to Block Centered Flow (BCF6) it is possible to insert Transmissivities directly as datasets or as a object property. The BCF package also has more options for the layer type, with unconfined and partial confined aquifer options.

Read More
1 Comment

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Tutorial of Unstructured Grid Groundwater Model with MODFLOW 6 and Model Muse 4

Of the latest devopments in groundwater modeling there are two softwares: Modflow 6 and Model Muse 4. both developed by the USGS. The first software is the latest version of MODFLOW that allows triangular and unstructured grids, and the second is the latest version (from June 23) of the graphical user interface Model Muse that supports Modflow 6.

Unstructured grid it a type of discretization that allows us to have small cells at certain parts of the model while the rest of the model has bigger cells. This optimization of the model grid and cell number decrease the computing time, the size of the output files and the speed of the visualization tools. With unstructured grids we can model a great extension while preserving the right accuracy of the points of interest, we can even insert regional faulting or complex geological setups.

This tutorial shows the complete procedure to create a geospatial model of a alluvial aquifer with the interaction of regional flow, river and wells. The tutorial creates the unstructured grid, boundary conditions, model geometry, simulate flow with MODFLOW 6 and represent results in Model Muse 4.

Read More
Comment

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.

 

Basic Example of Land Subsidence Modeling with MODFLOW SUB and Model Muse 4

Cities under high exploitation of groundwater resources face severe problems of land subsidence due to pumping. This complex problem was addressed from earlier versions of MODFLOW as MODFLOW 2000 and has two packages: MODFLOW SUB and  for its simulation with different options for the conceptualization and numerical modeling of normal aquifers and low conductivity interbeds.

Scientific research and professional consulting on the field of land subsidence modeling is limited; this scarcity might be because the coupled complexity of the appliance of numerical groundwater modeling and consolidation theory.

Read More
Comment

 

Suscribe to our online newsletter

Subscribe for free newsletter, receive news, interesting facts and dates of our courses in water resources.