tcarion / ATP45.jl

Julia implementation of the NATO ATP-45 hazard prediction procedure for CBRN incidents.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ATP45

Stable Dev Build Status Coverage

ATP45.jl provides a flexible API to run the NATO ATP-45 impact assessment model for CBRN-type incidents.

The results of the model implement the GeoInterface.jl interface so it can easily interoperate with other geospatial softwares.

Installation:

The package is not registered, so you need to install it with:

using Pkg; Pkg.add(url="https://github.com/tcarion/ATP45.jl")

Example:

The following snippet runs the detailed version of ATP-45 for a chemical incident with a persistent agent contained in a spray tank, with a wind of 2m/s:

using ATP45
using Plots
detailed_chem = (ChemicalWeapon(), Detailed(), ReleaseTypeB(), "SPR")
releases = ReleaseLocations([4., 50.], [4.15, 50.03])
wind = WindAzimuth(2., 45.)
result = run_atp(detailed_chem..., releases, wind)
plot(result)

Simplified procedure for chemical release

Documentation:

Please see the Documentation for more detailed examples and description of the package features.

Caveat:

Every ATP-45 have not been implemented yet. You might get an error if you try to run cases that are currently missing.

About

Julia implementation of the NATO ATP-45 hazard prediction procedure for CBRN incidents.

License:MIT License


Languages

Language:Julia 100.0%