Home Reference Source Test Repository
import GaussianDecayPuff from 'dirtybomb/src/Dispersion/GaussianDecayPuff.js'
public class | source

GaussianDecayPuff

Extends:

GaussianPlumeGaussianPuff → GaussianDecayPuff

Adds decay to the Simple Gaussian Puff

Constructor Summary

Public Constructor
public

constructor(atmosphere: Atmosphere, source: Source, massReleased: number, halfLife: number)

Method Summary

Public Methods
public

Takes into account the decay term, as seen in URAaTM pg 281

public

getDecayTerm(x: number, windSpeed: number): number

Read URAaTM pg 281 - 285

public

Inherited Summary

From class GaussianPlume
public

Adds a single source to the plume

public
public

Calculates the concentration at a given x,y,z coordinate.

public

Takes into account the wind and other factors into account.

public

Calculates the maximum concentration dispersed

public

Calculates the distance downwind of the maximum concentration

public

The max rise of the plume at x meters downwind

public
public

getSource(): Source | *

public

getStatsForCoords(coords: Coord[]): Stat[]

Same as getStatsForXs, but for 3d coordinates

public

Calculates the stdY, stdZ, and concentrations for a list of x coordinates directly downwind of the _source Useful in creating graphs / processing large amounts of data at once

public

Brookhaven sigma The crosswind distance standard deviation for a distance x downwind.

public

Brookhaven sigma The vertical distance standard deviation for a distance x downwind.

public
public
public

Manually set the Effective Source Height

public
protected

A helper function for the StdZ calculation

protected

A helper function for the StdZ calculation

From class GaussianPuff
public

The center at x meters downstream after t seconds

public
public

Public Constructors

public constructor(atmosphere: Atmosphere, source: Source, massReleased: number, halfLife: number) source

Override:

GaussianPuff#constructor

Params:

NameTypeAttributeDescription
atmosphere Atmosphere
source Source
massReleased number
halfLife number

seconds

Public Methods

public getConcentration(x: number, y: number, z: number, t: number): * source

Takes into account the decay term, as seen in URAaTM pg 281

Override:

GaussianPuff#getConcentration

Params:

NameTypeAttributeDescription
x number

downwind (m)

y number

crosswind (m)

z number

height (m)

t number

seconds from start

Return:

*

See:

public getHalfLife(): number source

Return:

number