import DynamicGaussianPuff from 'dirtybomb/src/Dispersion/DynamicGaussianPuff.js'DynamicGaussianPuff
Extends:
Direct Subclass:
Allows for atmospheric changes between puff movements
Constructor Summary
| Public Constructor | ||
| public |
constructor(atmosphere: Atmosphere, source: Source, massReleased: number, center: array) |
|
Member Summary
| Public Members | ||
| public get |
|
|
| public get |
|
|
| public get |
|
|
| public get |
path: * |
|
| public get |
|
|
| public get |
Brookhaven sigma The crosswind distance standard deviation for a distance x downwind. |
|
| public get |
Brookhaven sigma The vertical distance standard deviation for a distance x downwind. |
|
| public get |
|
|
| public get |
|
|
| public get |
|
|
Method Summary
| Public Methods | ||
| public |
getConcentration(x: number, y: number, z: number): number |
|
| public |
step(deltaT: number): DynamicGaussianPuff Moves the puff along by t seconds |
|
| Protected Methods | ||
| protected |
A helper function for the StdZ calculation |
|
Inherited Summary
| From class GaussianPlume | ||
| public get |
atmosphere: Atmosphere: * |
|
| public get |
|
|
| public get |
|
|
| public |
addSource(source: Source): GaussianPlume Adds a single source to the plume |
|
| public |
getConcentration(x: number, y: number, z: number): number 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 |
getMaxRise(x: number): number The max rise of the plume at x meters downwind |
|
| public |
getMeanHeight(x: *): number |
|
| public |
getStatsForCoords(coords: Coord[]): Stat[] Same as getStatsForXs, but for 3d coordinates |
|
| public |
getStatsForXs(xs: number[]): Stat[] 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 |
setAtmosphere(atmosphere: Atmosphere): GaussianPlume |
|
| public |
setEffectiveSourceHeight(height: number): GaussianPlume 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 |
massReleased: number: * |
|
| public |
getCenterX(t: number): number The center at x meters downstream after t seconds |
|
| public |
|
|
Public Constructors
public constructor(atmosphere: Atmosphere, source: Source, massReleased: number, center: array) source
Override:
GaussianPuff#constructorParams:
| Name | Type | Attribute | Description |
| atmosphere | Atmosphere | ||
| source | Source | ||
| massReleased | number | ||
| center | array |
|
Manually set the center, defaults to (0,0,0) |
Public Members
public get path: * source
public get stdY: number: * source
Brookhaven sigma The crosswind distance standard deviation for a distance x downwind. To be used in a Gaussian distribution
Public Methods
public getConcentration(x: number, y: number, z: number): number source
Override:
GaussianPuff#getConcentrationpublic step(deltaT: number): DynamicGaussianPuff source
Moves the puff along by t seconds
Params:
| Name | Type | Attribute | Description |
| deltaT | number | seconds to increment by |
Protected Methods
protected _getStdYCoeffs(): STD_Y_COEFF source
A helper function for the StdZ calculation