Skip to main content

TITAN Agent Based Model

Project description

TITAN Simulation

DOI GitHub release (latest by date) codecov GitHub Stable

TITAN (Treatment of Infectious Transmissions through Agent-based Network) is an agent-based simulation model used to explore contact transmission in complex social networks. Starting with the initializing agent population, TITAN iterates over a series of stochastic interactions where agents can interact with one another, transmit infections through various medium, and enter and exit the care continuum. The purpose of TITAN is to evaluate the impact of prevention and treatment models on incidence and prevalence rates of the targeted disease(s) through the use of data fitting simulated trajectories and rich statistics of primary/sub-population attributable proportions.

Agent populations are defined as graphs (nodes connected by edges). Nodes in the graph are used to represent the attributes (or collection of attributes) of an agent (person), and edges define the type of relationship between agents. In practice, a graph represents a social network of connected people through various relationship types, and provides the medium for which agents can interact.

Getting Started

Install the package

pip install titan-model

This includes the script run_titan which can then be used to run the model.

Prerequisites

  • Python (or pypy) 3.6 or later

Running the Model

run_titan -p my_params.yml

To run the model, execute the run_titan program. See TITAN params for documentation on how to set and use parameters.

Results of the model are generated and aggregated into the /results/ directory by default. If the model is re-run, the existing results will be overwritten.

Built With

  • Python3.x - Programming language

    Van Rossum G, Drake FL. Python 3 Reference Manual. Scotts Valley, CA: CreateSpace; 2009.

  • Networkx - Network structure backend

    Hagberg A, Swart P, S Chult D. Exploring network structure, dynamics, and function using NetworkX. 2008.

  • Numpy - Numerical libraries

    Oliphant TE. A guide to NumPy. Vol. 1. Trelgol Publishing USA; 2006.

Authors

  • Lars Seeman - Initial work
  • Max King - Continued development
  • Sam Bessey - Continued development
  • Mary McGrath - Continued development

License

This project is licensed under the GNU General Public License version 3 - see the LICENSE.md file for details

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

titan-model-3.1.0.tar.gz (81.7 kB view details)

Uploaded Source

Built Distribution

titan_model-3.1.0-py3-none-any.whl (110.9 kB view details)

Uploaded Python 3

File details

Details for the file titan-model-3.1.0.tar.gz.

File metadata

  • Download URL: titan-model-3.1.0.tar.gz
  • Upload date:
  • Size: 81.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.7.13 Linux/5.15.0-1019-azure

File hashes

Hashes for titan-model-3.1.0.tar.gz
Algorithm Hash digest
SHA256 d8e13788cb5d7a0a60322d6f3e9e930918c03c436fd713cfaf71f60bd1db6d17
MD5 d5eb4791f8f8fc9bcd0b213b8cf71feb
BLAKE2b-256 c7b8c1feb96be5171585b29059a530ac47504cfe12b70b4932c50d4357d9047a

See more details on using hashes here.

File details

Details for the file titan_model-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: titan_model-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 110.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.7.13 Linux/5.15.0-1019-azure

File hashes

Hashes for titan_model-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3c96291c16f96fd916900f096e270c12ef306bf568c064d637ca55a87341e5e
MD5 5d9f66f7fff4c65f8f59f04fe5f49d02
BLAKE2b-256 3fe6d89e287cd335c8f43330391e28f5954bcd99ba8de430cb91fc8c3817e7b1

See more details on using hashes here.

Supported by

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