Tim Hill | [email protected] | December 2021, updated June 2024 |
The code was tested using python 3.11.9 on Ubuntu with packages listed in requirements.txt
. If you can use pip, installing the requirements should be as easy as
pip install matplotlib numpy scipy
To run this code, clone the git repo to your desired location and run the scripts in the python/
directory.
A report describing the model and numerical experiments, including Latex source and compiled PDF, is in the report/
directory.
The model code is in the python/
directory. The numerical models (incompressible and compressible) are in models.py
. The scripts to run experiments are as follows:
test_imposed_discharge.py
: simplest experiment with prescribed lake discharge into the head of the conduit. Compares compressible and incompressible conduit models.test_pressure_coupled.py
: test compressible and incompressible conduit models with lake discharge computed as a function of lake water level.sensitivity_beta.py
: sensitivity to the compressibility value betasensitivity_hypsometry.py
: sensitivity to lake surface area--height relationship