Gaussian atmospheric dispersion model with Human Respiratory Tract Model deposition
Project description
DGM-HRTM
Gaussian atmospheric dispersion model coupled with a simplified Human Respiratory Tract Model (HRTM) for radiological exposure assessment.
Description
This project implements:
- A Gaussian plume dispersion model for atmospheric transport of radionuclides
- Integration with meteorological data (Open-Meteo API)
- A Human Respiratory Tract Model (HRTM) for inhalation dose estimation
- Support for:
- Worker and public exposure
- Age-dependent dose coefficients (ICRP-based)
- Particle properties (density, shape factor)
- Optional Mapbox-based geospatial visualization
Installation
Clone the repository and install in editable mode:
pip install dgm-hrtm
Usage
Run the interactive CLI:
dgm-run
You will be prompted to enter:
- Domain parameters
- Source/emission parameters
- Dispersion model settings
- Radionuclide and dose parameters
- HRTM parameters
- Meteorological configuration
Outputs
The simulation generates:
- 2D concentration maps
- Dose maps (Sv)
- HRTM deposition results
- Figures and plots
- parameters.txt with full configuration
All outputs are stored in a RESULTS/ directory.
Optional: Mapbox Visualization
This project includes optional support for Mapbox to display real-scale geographic backgrounds in the 2D plume plots.
To use this feature, you must provide your own Mapbox access token.
How to get a Mapbox token
- Create an account at https://www.mapbox.com
- Go to your account dashboard → Access Tokens
- Click Create a token
- Use a public token (starts with pk.)
- Copy the generated token
How to configure it
You can provide your token in two ways:
Option 1 (recommended): Environment variable
Linux / macOS:
export MAPBOX_TOKEN="your_token_here"
Windows PowerShell:
$env:MAPBOX_TOKEN="your_token_here"
Option 2: Direct configuration
If your installation includes a configuration file or constant, replace:
MAPBOX_TOKEN = "YOUR_TOKEN_HERE"
with your token.
Enable Mapbox in the simulation
Make sure the Mapbox option is enabled in your configuration:
use_mapbox = True
Notes
- The Mapbox feature is optional — the simulation works without it
- Do not share your token publicly
- If maps do not load, verify that:
- The token is correct
- Mapbox is enabled
Authors
- Óscar Olmo Torrecillas
- Jorge Berenguer Antequera
- José Francisco Benavente Cuevas
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dgm_hrtm-0.1.0.tar.gz.
File metadata
- Download URL: dgm_hrtm-0.1.0.tar.gz
- Upload date:
- Size: 125.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fffc3e06f21d6133585c695fdb911035e53dc5b3d24b964aa4918f15a70e4190
|
|
| MD5 |
1fc13c83dc506f1890bad45268802fd1
|
|
| BLAKE2b-256 |
dfafc99486e7186f3602f777a1bf35a60a12f8b640a7e452978462b9ae3dfd30
|
File details
Details for the file dgm_hrtm-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dgm_hrtm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 136.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b14e59e6cdea6e1c7d9e8e67c988229f63cf49beb0d2b1129574666c9e028113
|
|
| MD5 |
e40434889595dc16ce67100f2ed2dc5c
|
|
| BLAKE2b-256 |
7a5dce36cde0df2b33e9c138cf70a5522587841e611f9d873959575813441245
|