Skip to main content

Steady multi-layer AEM Model

Project description

timml Coverage Status PyPI

TimML, A Multi-Layer, Analytic Element Model


TimML is a computer program for the modeling of steady-state multi-layer flow with analytic elements and consists of a library of Python scripts and FORTRAN extensions. TimML may be applied to an arbitrary number of aquifers and leaky layers. The head, flow, and leakage between aquifers may be computed analytically at any point in the aquifer system. The design of TimML is object-oriented and has been kept simple and flexible. New analytic elements may be added to the code without making any changes in the existing part of the code. TimML is coded in Python and uses numba to speed up evaluation of the bessel line elements.


Python versions:

TimML requires Python >= 3.8 and can be installed from PyPI.


TimML requires:

  • numpy
  • scipy
  • matplotlib
  • numba


To install TimML, open a command prompt and type:

pip install timml

To update TimML type:

pip install timml --upgrade

To uninstall TimML type:

pip uninstall timml


  • The documentation is hosted on readthedocs.
  • Example Notebooks are available from the notebooks directory on github, of from here.

Latest release

TimML 0.6.5

  • Improved documentation: new look, better organization, tutorials, how-to guides etc. Check it out here!
  • New elements
    • Building pit elements for 3D (multi-layer single aquifer) models.
    • Large diamater wells (only for radial flow).
  • Enhancements
    • Building pit leaky wall resistance can be set per layer and per side (for modeling leaks or gaps).
    • Return integrated normal flux per layer and per line segment.

TimML Versions

  • TimML version 0.6 has the same functionality as version 5, but doesn't depend on a fortran extension anymore, so installation is easy on all platforms.
  • TimML version 0.5
    • is a total rewrite and is not backwards compatible with previous TimML versions.
    • is intended to be compatible with TTim.
    • has many new features and elements, the code base is Python 3, and the object oriented design is much simpler.
  • TimML version 0.4 remains available through the timml4 branch.


Some of the papers that you may want to cite when using TimML are

  • Bakker, M., and O.D.L. Strack. 2003. Analytic Elements for Multiaquifer Flow. Journal of Hydrology, 271(1-4), 119-129.
  • Bakker, M. 2006. An analytic element approach for modeling polygonal inhomogeneities in multi-aquifer systems. Advances in Water Resources, 29(10), 1546-1555.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

timml-6.4.1.tar.gz (59.9 kB view hashes)

Uploaded source

Built Distribution

timml-6.4.1-py3-none-any.whl (73.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page