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

GaussianPuff

Extends:

GaussianPlume → GaussianPuff

Indirect Subclass:

src/Dispersion/DynamicGaussianDecayPuff.js~DynamicGaussianDecayPuff

Constructor Summary

Public Constructor
public

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

Method Summary

Public Methods
public

The center at x meters downstream after t seconds

public
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

Public Constructors

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

Override:

GaussianPlume#constructor

Params:

NameTypeAttributeDescription
atmosphere Atmosphere
source Source
massReleased number

Public Methods

public getCenterX(t: number): number source

The center at x meters downstream after t seconds

Params:

NameTypeAttributeDescription
t number

seconds after release

Return:

number

meters downwind

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

Override:

GaussianPlume#getConcentration

Params:

NameTypeAttributeDescription
x number

downwind (m)

y number

crosswind (m)

z number

height (m)

t number

seconds from start

Return:

number

See:

public getMassReleased(): number source

Return:

number