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

DynamicGaussianDecayPuff

Extends:

GaussianPlumeGaussianPuffDynamicGaussianPuff → DynamicGaussianDecayPuff

Adds half life decay to the Dynamic Puff

Constructor Summary

Public Constructor
public

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

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 get
public get
public get
public

Adds a single source to the plume

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

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

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 get
public

The center at x meters downstream after t seconds

public
From class DynamicGaussianPuff
public get
public get
public get
public get

path: *

public get
public get

stdY: number: *

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

public get

stdZ: number: *

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

public get

time: number: *

public get

vertDist: number | *: *

public get

virtHoriz: number | *: *

public
public

Moves the puff along by t seconds

protected

A helper function for the StdZ calculation

Public Constructors

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

Override:

DynamicGaussianPuff#constructor

Params:

NameTypeAttributeDescription
atmosphere Atmosphere
source Source
massReleased number
halfLife number

seconds

center array
  • optional

Manually set the center, defaults to (0,0,0)

Public Methods

public getHalfLife(): number source

Return:

number