FloPy is a Python package to create, run, and post-process MODFLOW-based models
Agent Success
Agent success rate when using this tile
66%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.14x
Baseline
Agent success rate without this tile
58%
Build a Python module that configures flow and storage properties for a MODFLOW 6 groundwater model representing a three-layer confined-to-unconfined aquifer system.
Create a function configure_flow_properties(sim, gwf) that:
Configures the Node Property Flow (NPF) package with:
Configures the Storage (STO) package with:
Create a function setup_model(model_name, nlay, nrow, ncol) that:
@generates
def setup_model(model_name: str, nlay: int, nrow: int, ncol: int) -> tuple:
"""
Create and configure a MODFLOW 6 simulation with basic structure.
Args:
model_name: Name for the model
nlay: Number of layers
nrow: Number of rows
ncol: Number of columns
Returns:
Tuple of (simulation, groundwater_flow_model)
"""
pass
def configure_flow_properties(sim, gwf) -> None:
"""
Configure flow and storage properties for the groundwater model.
Args:
sim: MODFLOW 6 simulation object
gwf: Groundwater flow model object
"""
passProvides MODFLOW 6 model construction and configuration capabilities.
tessl i tessl/pypi-flopy@3.9.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10