Particle Tracking Simulation in MODFLOW 6 with ModelMuse: A PRT Package Tutorial

This tutorial demonstrates how to set up and run a particle tracking simulation using the new Particle Tracking (PRT) package in MODFLOW 6 within ModelMuse 5.5. Using an existing river-aquifer groundwater flow model built on a Voronoi grid, the walkthrough covers configuring the PRT and Particle Release Point (PRP) packages, adjusting stress period durations, updating the MODFLOW 6 executable, and defining release objects along the river. Finally, viewers will learn how to visualize and interpret the resulting particle track lines to analyze groundwater flow paths and discharge zones across different aquifer layers.

Read More

Infrastructure Tunnel Impact Modeling on Groundwater with MODFLOW6 and mf6Voronoi Studio – Tutorial

This tutorial demonstrates how to model the hydrogeological impact of an infrastructure tunnel on a local groundwater flow system using MODFLOW 6 and mf6Voronoi Studio. The exercise simulates a four-year tunnel excavation process through a mountainous terrain bounded by two creeks, evaluating how gradual underground construction affects local water table levels and surrounding flow dynamics. The model utilizes an unstructured Voronoi mesh generated in mf6Voronoi Studio to achieve precise local grid refinement and seamless geometry representation along the tunnel alignment and stream network. Additionally, the model incorporates local geology, dynamic drain boundaries, and transient stress periods to capture the groundwater system's temporal response to underground construction.

Read More

Integration of HEC-RAS with MODFLOW using mf6Voronoi Studio and Model Muse - Tutorial

In this tutorial on the integration of HEC-RAS with MODFLOW using mf6Voronoi Studio and Model Muse, we will develop a complete step-by-step practical example, starting from an already built unsteady model in HEC-RAS from which we will export key depth and hydraulic elevation data for a specific datetime, information from which we will generate the optimized simulation voronoi mesh that we will later import into ModelMuse to structure our groundwater model incorporating River and General Head Boundary (GHB) boundary conditions, concluding with a detailed analysis of the distribution of hydraulic heads and the evaluation of the dynamic interaction between the different sections of the river and the aquifer system.

Read More

Smart analysis of online temperature sensor data with SensorThingsAPI and Python - Tutorial

This tutorial demonstrates how to connect to a SensorThings API FROST server using Python to retrieve, inspect, and visualize IoT sensor datastreams. After setting up the server connection and querying datastream details such as units and observation counts, the notebook extracts time-series observations using paginated REST requests and loads them into a Pandas DataFrame. Following the data preparation phase, the script produces a series of continuous time-series line charts using Matplotlib and Seaborn, displaying the chronological trend of air temperature measurements recorded over time.

Read More

River Aquifer Groundwater Flow Model with mf6Voronoi Studio and Model Muse - Tutorial

This tutorial demonstrates how to build and simulate a groundwater model focused on river-aquifer interactions using open-source software. The workflow begins in mf6Voronoi Studio, where a Voronoi grid mesh is generated to capture complex spatial geometries efficiently. The mesh is then imported into ModelMuse, where key aquifer properties and essential boundary conditions—including general head, river, well, recharge, and evapotranspiration—are configured. After running the model, the simulated results are evaluated through an analysis of the water balance and head distribution.

Read More

Mesh Generation of Regional MODFLOW 6 Groundwater Flow Models with mf6Voronoi - Tutorial

In this tutorial we introduce mf6Voronoi, a specialized tool for generating optimized Voronoi meshes for regional groundwater models capable of spanning thousand of square kilometers. The video demonstrates how to set up and run a Python script using Anaconda Prompt, leveraging Dask parallel processing to refine mesh resolution along key rivers and riparian ecosystems while maintaining a coarse discretization elsewhere. By utilizing multi-core computing, the workflow reduces total mesh generation time by approximately 40–45%, delivering a high-resolution, multi-scale MODFLOW 6 mesh consisting of over 150,000 cells in just a few minutes.

Read More

Introduction to Online Sensor Analysis with SensorThings API and Python - Tutorial

In this Hatarilabs tutorial, viewers learn how to access and query live environmental sensor data using Python and the OGC SensorThings API standard. The video walks through setting up a Jupyter Notebook environment to interact with a FROST-Server, explaining key SensorThings API concepts—including Things, Sensors, Observed Properties, and DataStreams. Using packages such as requests, pandas, and datetime, the session demonstrates how to apply API parameters like $top, $skip, $orderby, and $expand to efficiently filter and retrieve time-series observations, culminating in a data frame visualization of temperature readings from a live outdoor sensor.

Read More

How to Interpolate Over 2 Million Points Quickly and Without Freezing - Tutorial

Interpolating large volumes of spatial data through the QGIS graphical interface is often a headache: the process takes too long or, even worse, the program freezes while consuming all system resources. In this tutorial, we will show you how to interpolate nearly 2 million points in less than two minutes using the OSGeo4W Shell and GDAL commands with the IDW method. By creating a virtual layer file (.vrt), you will learn a highly efficient, reliable, and lightweight workflow that enables you to work with millions of data points without being constrained by the limits of the GUI.

Read More

Plotting Water Surface Elevation from a 2D HEC-RAS Model using Python - Tutorial

This tutorial demonstrates how to accurately and efficiently extract the water surface elevation at a specific point from a HEC-RAS 2D unsteady flow model using Python in Jupyter Lab. Since water levels vary across the mesh and native software tools can limit automation, the author teaches how to open HDF5 output files (.hdf), load a point shapefile using GeoPandas, and apply a geospatial index K-d tree to locate the nearest computational cell. Finally, the time series data is processed to generate a water level hydrograph, which is essential for hydrogeological model calibration.

Read More

Advanced Crop Water Demand Modeling: Simulating ETo, ETc, and ETa with Python and pyfao56 - Tutorial

estimations of crop water requirements. This applied case offers a deep dive into modeling crop evapotranspiration using the standardized FAO-56 Dual Crop Coefficient methodology, implemented programmatically through Python.

Using a real-world case study of olive cultivation (Olea europaea) in the hyper-arid coastal desert of Bella Unión (Arequipa, Peru), we will demonstrate how to build an end-to-end hydrological data pipeline. Participants will learn how to integrate spatial data, process satellite-derived and weather station climate parameters, define soil-water-crop constraints, and simulate complex deficit drip-irrigation schedules.

Read More

Machine learning based interpolation for regional water table w. Python and Scikit Learn - Tutorial

Having a reasonable spatial distribution of the water table with few observation points is a challenge because the water table can't be above the surface. We wanted to develop a method where the computer learns not only about the position but also the surface to calculate the water table.

This is an applied example of water level interpolation based on a machine learning algorithm in Python with Scikit Learn. The code covers all steps from data compilation, regression formulation, accuracy testing and raster generation.

Read More

How to import and simulate a MODFLOW6 with Voronoi mesh model into Model Muse - Tutorial

Did you know that you can import a Voronoi mesh MODFLOW 6 model created with mf6Voronoi into Model Muse. And you can not only import it, but also apply boundary conditions, solver parameters, review datasets, and simulate groundwater flow.

This tutorial shows a complete applied case for the import of the geometry and hydraulic parameters created with mf6Voronoi into Model Muse. The model is set up with boundary conditions, and simulated with different solver parameters.

Read More

Simple example of construction site drainage modeling with MODFLOW6 and mf6Voronoi - Tutorial

In mf6Voronoi horizontal flow barriers can be modeled as low k cells with thickness of 1m without compromising the cell amount and model performance. We have developed an applied case of construction site dewatering using horizontal drains and pumping wells that work in parallel over a period of 8 days. The model shows the performance of the drainage schema and exports the final water table as raster and contours.

Read More

Simple example of seawater intrusion modeling with MODFLOW6 and mf6Voronoi - Tutorial

We wanted to present seawater intrusion modeling in its more primitive form, on a simple aquifer conceptualization and aquifer geometry where the user can focus on the code implementation with MODFLOW6 - Buy package, Flopy and mf6Voronoi. We have also developed a precoded template for seawater intrusion that allows users to reduce time.

Read More

Geological Modeling based on Machine Learning with Python and hatariTools - Tutorial

This tutorial covers an applied case of geological unit modeling done on the Queens Mary Reservoir, London, UK based on 266 drillings. The geological model was done in Python with the machine learning library Scikit Learn to create a geological model based on lithology from drillings. The code generates a point cloud of drilling lithologies that are transformed and scaled for a neural network classifier like the Multi-layer Perceptron classifier. To validate the results of the geological model, an analysis of the confusion matrix from the neural network is performed. The tutorial includes a georeferenced 3D visualization and comparison from well lithology and interpolated geology as Vtk format in Paraview.

Read More

7 tutorials for coupling geological information into groundwater flow models build with Model Muse

Next challenges on groundwater modeling facing scenarios of climate change and sustainable groundwater management require the implementation of fully coupled geological models into groundwater flow models. Even though we have dealt with this topic, we still have a lot to do in providing applied cases / tutorials for the hydrogeological unit conceptualization based on geological information with open source codes such as MODFLOW.

Read More

Groundwater seepage from a water reservoir modeling with Modflow6 and mf6Voronoi - Tutorial

Applied case of local groundwater modeling based on a regional groundwater flow to evaluate the interaction of the water reservoir with the groundwater flow system and the seepage rate from the reservoir. The model runs on steady state and shows the procedure to modify original/final surfaces without error on layer thickness.

Read More