@dnv-plant/typescriptpws 1.0.63 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +2 -2
- package/package.json +1 -1
- package/src/calculations/applicationTools.ts +4 -4
- package/src/calculations/discharge.ts +45 -45
- package/src/calculations/dispersion.ts +16 -16
- package/src/calculations/dispersionView.ts +113 -113
- package/src/calculations/fireball.ts +14 -14
- package/src/calculations/jetFire.ts +13 -13
- package/src/calculations/lateExplosion.ts +48 -48
- package/src/calculations/linkedRunners.ts +245 -245
- package/src/calculations/poolFire.ts +15 -15
- package/src/calculations/properties.ts +6 -6
- package/src/calculations/radiation.ts +124 -124
- package/src/calculations/standalones.ts +11 -11
- package/src/calculations/toxics.ts +17 -17
- package/src/calculations/utilities.ts +36 -36
- package/src/constants.ts +26 -5
- package/src/entities.ts +212 -82
- package/src/entity-schemas.ts +160 -64
- package/src/enums.ts +25 -14
- package/src/materials.ts +2 -2
- package/src/utilities.ts +4 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time:
|
|
3
|
+
* Version: 1.0.64
|
|
4
|
+
* Date/time: 04 Apr 2025 15:02:06
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -172,13 +172,13 @@ class ConcentrationAtPointCalculationRequest extends CalculationRequestBase {
|
|
|
172
172
|
* ConcentrationAtPoint calculation request class.
|
|
173
173
|
*
|
|
174
174
|
* @param {Entities.ScalarUdmOutputs} scalarUdmOutputs - Scalar dispersion results.
|
|
175
|
-
* @param {Entities.Weather} weather -
|
|
176
|
-
* @param {Entities.DispersionRecord[]} dispersionRecords - Array of
|
|
177
|
-
* @param {number} dispersionRecordCount - Number of
|
|
178
|
-
* @param {Entities.Substrate} substrate -
|
|
179
|
-
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig -
|
|
180
|
-
* @param {Entities.Material} material -
|
|
181
|
-
* @param {Entities.DispersionParameters} dispersionParameters -
|
|
175
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
176
|
+
* @param {Entities.DispersionRecord[]} dispersionRecords - Array of dispersion record.
|
|
177
|
+
* @param {number} dispersionRecordCount - Number of dispersion records.
|
|
178
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
179
|
+
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig - a dispersion output config entity.
|
|
180
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
181
|
+
* @param {Entities.DispersionParameters} dispersionParameters - a dispersion parameters entity.
|
|
182
182
|
*/
|
|
183
183
|
constructor(
|
|
184
184
|
scalarUdmOutputs: Entities.ScalarUdmOutputs,
|
|
@@ -270,13 +270,13 @@ export class ConcentrationAtPointCalculation extends CalculationBase {
|
|
|
270
270
|
* Calculates the concentration at a particular distance downwind and crosswind position at the current effect height and averaging time.
|
|
271
271
|
*
|
|
272
272
|
* @param {Entities.ScalarUdmOutputs} scalarUdmOutputs - Scalar dispersion results.
|
|
273
|
-
* @param {Entities.Weather} weather -
|
|
274
|
-
* @param {Entities.DispersionRecord[]} dispersionRecords - Array of
|
|
275
|
-
* @param {number} dispersionRecordCount - Number of
|
|
276
|
-
* @param {Entities.Substrate} substrate -
|
|
277
|
-
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig -
|
|
278
|
-
* @param {Entities.Material} material -
|
|
279
|
-
* @param {Entities.DispersionParameters} dispersionParameters -
|
|
273
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
274
|
+
* @param {Entities.DispersionRecord[]} dispersionRecords - Array of dispersion record.
|
|
275
|
+
* @param {number} dispersionRecordCount - Number of dispersion records.
|
|
276
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
277
|
+
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig - a dispersion output config entity.
|
|
278
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
279
|
+
* @param {Entities.DispersionParameters} dispersionParameters - a dispersion parameters entity.
|
|
280
280
|
*/
|
|
281
281
|
constructor(
|
|
282
282
|
scalarUdmOutputs: Entities.ScalarUdmOutputs,
|
|
@@ -484,14 +484,14 @@ class DistancesAndFootprintsToConcentrationLevelsCalculationRequest extends Calc
|
|
|
484
484
|
* DistancesAndFootprintsToConcentrationLevels calculation request class.
|
|
485
485
|
*
|
|
486
486
|
* @param {Entities.ScalarUdmOutputs} scalarUdmOutputs - Scalar dispersion results.
|
|
487
|
-
* @param {Entities.Weather} weather -
|
|
488
|
-
* @param {Entities.DispersionRecord[]} dispersionRecords -
|
|
489
|
-
* @param {number} dispersionRecordCount - Number of
|
|
490
|
-
* @param {Entities.Substrate} substrate -
|
|
491
|
-
* @param {Entities.DispersionOutputConfig[]} dispersionOutputConfigs -
|
|
492
|
-
* @param {number} dispersionOutputConfigCount - Number of
|
|
493
|
-
* @param {Entities.DispersionParameters} dispersionParameters -
|
|
494
|
-
* @param {Entities.Material} material -
|
|
487
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
488
|
+
* @param {Entities.DispersionRecord[]} dispersionRecords - an array of dispersion records.
|
|
489
|
+
* @param {number} dispersionRecordCount - Number of dispersion records.
|
|
490
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
491
|
+
* @param {Entities.DispersionOutputConfig[]} dispersionOutputConfigs - an array of dispersion output configs.
|
|
492
|
+
* @param {number} dispersionOutputConfigCount - Number of dispersion output configs.
|
|
493
|
+
* @param {Entities.DispersionParameters} dispersionParameters - a dispersion parameters entity.
|
|
494
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
495
495
|
*/
|
|
496
496
|
constructor(
|
|
497
497
|
scalarUdmOutputs: Entities.ScalarUdmOutputs,
|
|
@@ -593,14 +593,14 @@ export class DistancesAndFootprintsToConcentrationLevelsCalculation extends Calc
|
|
|
593
593
|
* Calculates the distances and maximum footprints to specified concentration of interest levels for the dispersion modelling.
|
|
594
594
|
*
|
|
595
595
|
* @param {Entities.ScalarUdmOutputs} scalarUdmOutputs - Scalar dispersion results.
|
|
596
|
-
* @param {Entities.Weather} weather -
|
|
597
|
-
* @param {Entities.DispersionRecord[]} dispersionRecords -
|
|
598
|
-
* @param {number} dispersionRecordCount - Number of
|
|
599
|
-
* @param {Entities.Substrate} substrate -
|
|
600
|
-
* @param {Entities.DispersionOutputConfig[]} dispersionOutputConfigs -
|
|
601
|
-
* @param {number} dispersionOutputConfigCount - Number of
|
|
602
|
-
* @param {Entities.DispersionParameters} dispersionParameters -
|
|
603
|
-
* @param {Entities.Material} material -
|
|
596
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
597
|
+
* @param {Entities.DispersionRecord[]} dispersionRecords - an array of dispersion records.
|
|
598
|
+
* @param {number} dispersionRecordCount - Number of dispersion records.
|
|
599
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
600
|
+
* @param {Entities.DispersionOutputConfig[]} dispersionOutputConfigs - an array of dispersion output configs.
|
|
601
|
+
* @param {number} dispersionOutputConfigCount - Number of dispersion output configs.
|
|
602
|
+
* @param {Entities.DispersionParameters} dispersionParameters - a dispersion parameters entity.
|
|
603
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
604
604
|
*/
|
|
605
605
|
constructor(
|
|
606
606
|
scalarUdmOutputs: Entities.ScalarUdmOutputs,
|
|
@@ -736,10 +736,10 @@ export class DistancesAndFootprintsToConcentrationLevelsCalculationResponse exte
|
|
|
736
736
|
/**
|
|
737
737
|
* DistancesAndFootprintsToConcentrationLevels calculation response class.
|
|
738
738
|
*
|
|
739
|
-
* @param {number[]} concsUsed -
|
|
740
|
-
* @param {number[]} nContourPoints -
|
|
741
|
-
* @param {number[]} areasContour -
|
|
742
|
-
* @param {number[]} distancesConcentration -
|
|
739
|
+
* @param {number[]} concsUsed - an array of concentrations of interest, corresponding to the dispersion output configs.
|
|
740
|
+
* @param {number[]} nContourPoints - an array of the number of contour points, corresponding to the dispersion output configs.
|
|
741
|
+
* @param {number[]} areasContour - an array of areas of footprint contours, corresponding to the dispersion output configs.
|
|
742
|
+
* @param {number[]} distancesConcentration - an array of the maximum distances downwind, corresponding to the dispersion output configs.
|
|
743
743
|
* @param {Entities.LocalPosition[]} contourPoints - Contour points of maximum footprints to concentration level.
|
|
744
744
|
*/
|
|
745
745
|
constructor(
|
|
@@ -894,14 +894,14 @@ class DistancesToConcLevelsCalculationRequest extends CalculationRequestBase {
|
|
|
894
894
|
* DistancesToConcLevels calculation request class.
|
|
895
895
|
*
|
|
896
896
|
* @param {Entities.ScalarUdmOutputs} scalarUdmOutputs - Scalar dispersion results.
|
|
897
|
-
* @param {Entities.Weather} weather -
|
|
898
|
-
* @param {Entities.DispersionRecord[]} dispersionRecords -
|
|
899
|
-
* @param {number} dispersionRecordCount - Number of
|
|
900
|
-
* @param {Entities.Substrate} substrate -
|
|
901
|
-
* @param {Entities.DispersionOutputConfig[]} dispersionOutputConfigs -
|
|
902
|
-
* @param {number} dispersionOutputConfigCount - Number of
|
|
903
|
-
* @param {Entities.Material} material -
|
|
904
|
-
* @param {Entities.DispersionParameters} dispersionParameters -
|
|
897
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
898
|
+
* @param {Entities.DispersionRecord[]} dispersionRecords - an array of dispersion records.
|
|
899
|
+
* @param {number} dispersionRecordCount - Number of dispersion records.
|
|
900
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
901
|
+
* @param {Entities.DispersionOutputConfig[]} dispersionOutputConfigs - an array of dispersion output configs.
|
|
902
|
+
* @param {number} dispersionOutputConfigCount - Number of dispersion output configs.
|
|
903
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
904
|
+
* @param {Entities.DispersionParameters} dispersionParameters - a dispersion parameters entity.
|
|
905
905
|
*/
|
|
906
906
|
constructor(
|
|
907
907
|
scalarUdmOutputs: Entities.ScalarUdmOutputs,
|
|
@@ -1000,14 +1000,14 @@ export class DistancesToConcLevelsCalculation extends CalculationBase {
|
|
|
1000
1000
|
* Calculates the maximum downwind distance to a number of concentration level in the direction of the wind, at the effect height and averaging time.
|
|
1001
1001
|
*
|
|
1002
1002
|
* @param {Entities.ScalarUdmOutputs} scalarUdmOutputs - Scalar dispersion results.
|
|
1003
|
-
* @param {Entities.Weather} weather -
|
|
1004
|
-
* @param {Entities.DispersionRecord[]} dispersionRecords -
|
|
1005
|
-
* @param {number} dispersionRecordCount - Number of
|
|
1006
|
-
* @param {Entities.Substrate} substrate -
|
|
1007
|
-
* @param {Entities.DispersionOutputConfig[]} dispersionOutputConfigs -
|
|
1008
|
-
* @param {number} dispersionOutputConfigCount - Number of
|
|
1009
|
-
* @param {Entities.Material} material -
|
|
1010
|
-
* @param {Entities.DispersionParameters} dispersionParameters -
|
|
1003
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
1004
|
+
* @param {Entities.DispersionRecord[]} dispersionRecords - an array of dispersion records.
|
|
1005
|
+
* @param {number} dispersionRecordCount - Number of dispersion records.
|
|
1006
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
1007
|
+
* @param {Entities.DispersionOutputConfig[]} dispersionOutputConfigs - an array of dispersion output configs.
|
|
1008
|
+
* @param {number} dispersionOutputConfigCount - Number of dispersion output configs.
|
|
1009
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
1010
|
+
* @param {Entities.DispersionParameters} dispersionParameters - a dispersion parameters entity.
|
|
1011
1011
|
*/
|
|
1012
1012
|
constructor(
|
|
1013
1013
|
scalarUdmOutputs: Entities.ScalarUdmOutputs,
|
|
@@ -1119,8 +1119,8 @@ export class DistancesToConcLevelsCalculationResponse extends CalculationRespons
|
|
|
1119
1119
|
/**
|
|
1120
1120
|
* DistancesToConcLevels calculation response class.
|
|
1121
1121
|
*
|
|
1122
|
-
* @param {number[]} concUsed -
|
|
1123
|
-
* @param {number[]} distances -
|
|
1122
|
+
* @param {number[]} concUsed - an array of concentrations of interest, corresponding to the dispersion output configs.
|
|
1123
|
+
* @param {number[]} distances - an array of the distances to concentration of interest, corresponding to the dispersion output configs.
|
|
1124
1124
|
*/
|
|
1125
1125
|
constructor(
|
|
1126
1126
|
concUsed: number[],
|
|
@@ -1239,13 +1239,13 @@ class MaxConcDistanceCalculationRequest extends CalculationRequestBase {
|
|
|
1239
1239
|
* MaxConcDistance calculation request class.
|
|
1240
1240
|
*
|
|
1241
1241
|
* @param {Entities.ScalarUdmOutputs} scalarUdmOutputs - Scalar dispersion results.
|
|
1242
|
-
* @param {Entities.Weather} weather -
|
|
1243
|
-
* @param {Entities.DispersionRecord[]} dispersionRecords -
|
|
1244
|
-
* @param {number} dispersionRecordCount - Number of
|
|
1245
|
-
* @param {Entities.Substrate} substrate -
|
|
1246
|
-
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig -
|
|
1247
|
-
* @param {Entities.Material} material -
|
|
1248
|
-
* @param {Entities.DispersionParameters} dispersionParameters -
|
|
1242
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
1243
|
+
* @param {Entities.DispersionRecord[]} dispersionRecords - an array of dispersion records.
|
|
1244
|
+
* @param {number} dispersionRecordCount - Number of dispersion records.
|
|
1245
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
1246
|
+
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig - a dispersion output config entity.
|
|
1247
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
1248
|
+
* @param {Entities.DispersionParameters} dispersionParameters - a dispersion parameters entity.
|
|
1249
1249
|
*/
|
|
1250
1250
|
constructor(
|
|
1251
1251
|
scalarUdmOutputs: Entities.ScalarUdmOutputs,
|
|
@@ -1338,13 +1338,13 @@ export class MaxConcDistanceCalculation extends CalculationBase {
|
|
|
1338
1338
|
* Calculate the maximum concentration vs distance, i.e. the maximum concentration reached at points downwind out to the minimum concentration of interest. Dispersion results produced from a successful dispersion calculation are required as input. Include the effects of along-wind diffusion (AWD).
|
|
1339
1339
|
*
|
|
1340
1340
|
* @param {Entities.ScalarUdmOutputs} scalarUdmOutputs - Scalar dispersion results.
|
|
1341
|
-
* @param {Entities.Weather} weather -
|
|
1342
|
-
* @param {Entities.DispersionRecord[]} dispersionRecords -
|
|
1343
|
-
* @param {number} dispersionRecordCount - Number of
|
|
1344
|
-
* @param {Entities.Substrate} substrate -
|
|
1345
|
-
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig -
|
|
1346
|
-
* @param {Entities.Material} material -
|
|
1347
|
-
* @param {Entities.DispersionParameters} dispersionParameters -
|
|
1341
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
1342
|
+
* @param {Entities.DispersionRecord[]} dispersionRecords - an array of dispersion records.
|
|
1343
|
+
* @param {number} dispersionRecordCount - Number of dispersion records.
|
|
1344
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
1345
|
+
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig - a dispersion output config entity.
|
|
1346
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
1347
|
+
* @param {Entities.DispersionParameters} dispersionParameters - a dispersion parameters entity.
|
|
1348
1348
|
*/
|
|
1349
1349
|
constructor(
|
|
1350
1350
|
scalarUdmOutputs: Entities.ScalarUdmOutputs,
|
|
@@ -1449,7 +1449,7 @@ export class MaxConcDistanceCalculationResponse extends CalculationResponseBase
|
|
|
1449
1449
|
* MaxConcDistance calculation response class.
|
|
1450
1450
|
*
|
|
1451
1451
|
* @param {number} concUsed - Concentration of interest.
|
|
1452
|
-
* @param {Entities.ConcentrationRecord[]} concentrationRecords -
|
|
1452
|
+
* @param {Entities.ConcentrationRecord[]} concentrationRecords - an array of maximum concentration at x, y, z coordinates.
|
|
1453
1453
|
*/
|
|
1454
1454
|
constructor(
|
|
1455
1455
|
concUsed: number,
|
|
@@ -1574,13 +1574,13 @@ class MaxConcFootprintCalculationRequest extends CalculationRequestBase {
|
|
|
1574
1574
|
* MaxConcFootprint calculation request class.
|
|
1575
1575
|
*
|
|
1576
1576
|
* @param {Entities.ScalarUdmOutputs} scalarUdmOutputs - Scalar dispersion results.
|
|
1577
|
-
* @param {Entities.Weather} weather -
|
|
1578
|
-
* @param {Entities.DispersionRecord[]} dispersionRecords -
|
|
1579
|
-
* @param {number} dispersionRecordCount - Number of
|
|
1580
|
-
* @param {Entities.Substrate} substrate -
|
|
1581
|
-
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig -
|
|
1582
|
-
* @param {Entities.Material} material -
|
|
1583
|
-
* @param {Entities.DispersionParameters} dispersionParameters -
|
|
1577
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
1578
|
+
* @param {Entities.DispersionRecord[]} dispersionRecords - an array of dispersion records.
|
|
1579
|
+
* @param {number} dispersionRecordCount - Number of dispersion records.
|
|
1580
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
1581
|
+
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig - a dispersion output config entity.
|
|
1582
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
1583
|
+
* @param {Entities.DispersionParameters} dispersionParameters - a dispersion parameters entity.
|
|
1584
1584
|
*/
|
|
1585
1585
|
constructor(
|
|
1586
1586
|
scalarUdmOutputs: Entities.ScalarUdmOutputs,
|
|
@@ -1673,13 +1673,13 @@ export class MaxConcFootprintCalculation extends CalculationBase {
|
|
|
1673
1673
|
* Calculate the maximum footprint of the cloud for a given concentration level. The output is a contour line defined by a set of x,y values.
|
|
1674
1674
|
*
|
|
1675
1675
|
* @param {Entities.ScalarUdmOutputs} scalarUdmOutputs - Scalar dispersion results.
|
|
1676
|
-
* @param {Entities.Weather} weather -
|
|
1677
|
-
* @param {Entities.DispersionRecord[]} dispersionRecords -
|
|
1678
|
-
* @param {number} dispersionRecordCount - Number of
|
|
1679
|
-
* @param {Entities.Substrate} substrate -
|
|
1680
|
-
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig -
|
|
1681
|
-
* @param {Entities.Material} material -
|
|
1682
|
-
* @param {Entities.DispersionParameters} dispersionParameters -
|
|
1676
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
1677
|
+
* @param {Entities.DispersionRecord[]} dispersionRecords - an array of dispersion records.
|
|
1678
|
+
* @param {number} dispersionRecordCount - Number of dispersion records.
|
|
1679
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
1680
|
+
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig - a dispersion output config entity.
|
|
1681
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
1682
|
+
* @param {Entities.DispersionParameters} dispersionParameters - a dispersion parameters entity.
|
|
1683
1683
|
*/
|
|
1684
1684
|
constructor(
|
|
1685
1685
|
scalarUdmOutputs: Entities.ScalarUdmOutputs,
|
|
@@ -1784,7 +1784,7 @@ export class MaxConcFootprintCalculationResponse extends CalculationResponseBase
|
|
|
1784
1784
|
* MaxConcFootprint calculation response class.
|
|
1785
1785
|
*
|
|
1786
1786
|
* @param {number} concUsed - Concentration of interest.
|
|
1787
|
-
* @param {Entities.LocalPosition[]} contourPoints -
|
|
1787
|
+
* @param {Entities.LocalPosition[]} contourPoints - an array of points along the footprint contour.
|
|
1788
1788
|
*/
|
|
1789
1789
|
constructor(
|
|
1790
1790
|
concUsed: number,
|
|
@@ -1909,13 +1909,13 @@ class MaxDistanceToConcCalculationRequest extends CalculationRequestBase {
|
|
|
1909
1909
|
* MaxDistanceToConc calculation request class.
|
|
1910
1910
|
*
|
|
1911
1911
|
* @param {Entities.ScalarUdmOutputs} scalarUdmOutputs - Scalar dispersion results.
|
|
1912
|
-
* @param {Entities.Weather} weather -
|
|
1913
|
-
* @param {Entities.DispersionRecord[]} dispersionRecords -
|
|
1914
|
-
* @param {number} dispersionRecordCount - Number of
|
|
1915
|
-
* @param {Entities.Substrate} substrate -
|
|
1916
|
-
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig -
|
|
1917
|
-
* @param {Entities.DispersionParameters} dispersionParameters -
|
|
1918
|
-
* @param {Entities.Material} material -
|
|
1912
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
1913
|
+
* @param {Entities.DispersionRecord[]} dispersionRecords - an array of dispersion records.
|
|
1914
|
+
* @param {number} dispersionRecordCount - Number of dispersion records.
|
|
1915
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
1916
|
+
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig - a dispersion output config entity.
|
|
1917
|
+
* @param {Entities.DispersionParameters} dispersionParameters - a dispersion parameters entity.
|
|
1918
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
1919
1919
|
*/
|
|
1920
1920
|
constructor(
|
|
1921
1921
|
scalarUdmOutputs: Entities.ScalarUdmOutputs,
|
|
@@ -2008,13 +2008,13 @@ export class MaxDistanceToConcCalculation extends CalculationBase {
|
|
|
2008
2008
|
* Calculates the maximum downwind distance to a concentration level in the direction of the wind, at the current effect height and averaging time.
|
|
2009
2009
|
*
|
|
2010
2010
|
* @param {Entities.ScalarUdmOutputs} scalarUdmOutputs - Scalar dispersion results.
|
|
2011
|
-
* @param {Entities.Weather} weather -
|
|
2012
|
-
* @param {Entities.DispersionRecord[]} dispersionRecords -
|
|
2013
|
-
* @param {number} dispersionRecordCount - Number of
|
|
2014
|
-
* @param {Entities.Substrate} substrate -
|
|
2015
|
-
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig -
|
|
2016
|
-
* @param {Entities.DispersionParameters} dispersionParameters -
|
|
2017
|
-
* @param {Entities.Material} material -
|
|
2011
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
2012
|
+
* @param {Entities.DispersionRecord[]} dispersionRecords - an array of dispersion records.
|
|
2013
|
+
* @param {number} dispersionRecordCount - Number of dispersion records.
|
|
2014
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
2015
|
+
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig - a dispersion output config entity.
|
|
2016
|
+
* @param {Entities.DispersionParameters} dispersionParameters - a dispersion parameters entity.
|
|
2017
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
2018
2018
|
*/
|
|
2019
2019
|
constructor(
|
|
2020
2020
|
scalarUdmOutputs: Entities.ScalarUdmOutputs,
|
|
@@ -2233,13 +2233,13 @@ class SideviewAtTimeCalculationRequest extends CalculationRequestBase {
|
|
|
2233
2233
|
* SideviewAtTime calculation request class.
|
|
2234
2234
|
*
|
|
2235
2235
|
* @param {Entities.ScalarUdmOutputs} scalarUdmOutputs - Scalar dispersion outputs.
|
|
2236
|
-
* @param {Entities.Weather} weather -
|
|
2237
|
-
* @param {Entities.DispersionRecord[]} dispersionRecords -
|
|
2238
|
-
* @param {number} dispersionRecordCount - Number of
|
|
2239
|
-
* @param {Entities.Substrate} substrate -
|
|
2240
|
-
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig -
|
|
2241
|
-
* @param {Entities.Material} material -
|
|
2242
|
-
* @param {Entities.DispersionParameters} dispersionParameters -
|
|
2236
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
2237
|
+
* @param {Entities.DispersionRecord[]} dispersionRecords - an array of dispersion records.
|
|
2238
|
+
* @param {number} dispersionRecordCount - Number of dispersion records.
|
|
2239
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
2240
|
+
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig - a dispersion output config entity.
|
|
2241
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
2242
|
+
* @param {Entities.DispersionParameters} dispersionParameters - a dispersion parameters entity.
|
|
2243
2243
|
*/
|
|
2244
2244
|
constructor(
|
|
2245
2245
|
scalarUdmOutputs: Entities.ScalarUdmOutputs,
|
|
@@ -2332,13 +2332,13 @@ export class SideviewAtTimeCalculation extends CalculationBase {
|
|
|
2332
2332
|
* Calculates the sideview of the cloud downwind from the release point and at the current averaging time.
|
|
2333
2333
|
*
|
|
2334
2334
|
* @param {Entities.ScalarUdmOutputs} scalarUdmOutputs - Scalar dispersion outputs.
|
|
2335
|
-
* @param {Entities.Weather} weather -
|
|
2336
|
-
* @param {Entities.DispersionRecord[]} dispersionRecords -
|
|
2337
|
-
* @param {number} dispersionRecordCount - Number of
|
|
2338
|
-
* @param {Entities.Substrate} substrate -
|
|
2339
|
-
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig -
|
|
2340
|
-
* @param {Entities.Material} material -
|
|
2341
|
-
* @param {Entities.DispersionParameters} dispersionParameters -
|
|
2335
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
2336
|
+
* @param {Entities.DispersionRecord[]} dispersionRecords - an array of dispersion records.
|
|
2337
|
+
* @param {number} dispersionRecordCount - Number of dispersion records.
|
|
2338
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
2339
|
+
* @param {Entities.DispersionOutputConfig} dispersionOutputConfig - a dispersion output config entity.
|
|
2340
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
2341
|
+
* @param {Entities.DispersionParameters} dispersionParameters - a dispersion parameters entity.
|
|
2342
2342
|
*/
|
|
2343
2343
|
constructor(
|
|
2344
2344
|
scalarUdmOutputs: Entities.ScalarUdmOutputs,
|
|
@@ -2443,7 +2443,7 @@ export class SideviewAtTimeCalculationResponse extends CalculationResponseBase {
|
|
|
2443
2443
|
* SideviewAtTime calculation response class.
|
|
2444
2444
|
*
|
|
2445
2445
|
* @param {number} concUsed - Concentration of interest.
|
|
2446
|
-
* @param {Entities.LocalPosition[]} contourPoints -
|
|
2446
|
+
* @param {Entities.LocalPosition[]} contourPoints - an array of points along the sideview contour.
|
|
2447
2447
|
*/
|
|
2448
2448
|
constructor(
|
|
2449
2449
|
concUsed: number,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time:
|
|
3
|
+
* Version: 1.0.64
|
|
4
|
+
* Date/time: 04 Apr 2025 15:02:06
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -167,12 +167,12 @@ class FireballCalculationRequest extends CalculationRequestBase {
|
|
|
167
167
|
/**
|
|
168
168
|
* Fireball calculation request class.
|
|
169
169
|
*
|
|
170
|
-
* @param {Entities.Material} material -
|
|
171
|
-
* @param {Entities.State} state -
|
|
172
|
-
* @param {Entities.DischargeRecord[]} dischargeRecords -
|
|
173
|
-
* @param {number} dischargeRecordCount - Number of
|
|
170
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
171
|
+
* @param {Entities.State} state - a state entity.
|
|
172
|
+
* @param {Entities.DischargeRecord[]} dischargeRecords - an array of discharge records.
|
|
173
|
+
* @param {number} dischargeRecordCount - Number of discharge records.
|
|
174
174
|
* @param {Entities.DischargeResult} dischargeResult - Discharge / source term definition.
|
|
175
|
-
* @param {Entities.Weather} weather -
|
|
175
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
176
176
|
*/
|
|
177
177
|
constructor(
|
|
178
178
|
material: Entities.Material,
|
|
@@ -250,14 +250,14 @@ export class FireballCalculation extends CalculationBase {
|
|
|
250
250
|
flameRecords?: Entities.FlameRecord[];
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
|
-
* Calculates a fireball produced from an instantaneous or (short duration) time-varying source term. The
|
|
253
|
+
* Calculates a fireball produced from an instantaneous or (short duration) time-varying source term. The output can be used can be used to run radiation models for prediction of thermal effects.
|
|
254
254
|
*
|
|
255
|
-
* @param {Entities.Material} material -
|
|
256
|
-
* @param {Entities.State} state -
|
|
257
|
-
* @param {Entities.DischargeRecord[]} dischargeRecords -
|
|
258
|
-
* @param {number} dischargeRecordCount - Number of
|
|
255
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
256
|
+
* @param {Entities.State} state - a state entity.
|
|
257
|
+
* @param {Entities.DischargeRecord[]} dischargeRecords - an array of discharge records.
|
|
258
|
+
* @param {number} dischargeRecordCount - Number of discharge records.
|
|
259
259
|
* @param {Entities.DischargeResult} dischargeResult - Discharge / source term definition.
|
|
260
|
-
* @param {Entities.Weather} weather -
|
|
260
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
261
261
|
*/
|
|
262
262
|
constructor(
|
|
263
263
|
material: Entities.Material,
|
|
@@ -356,7 +356,7 @@ export class FireballCalculationResponse extends CalculationResponseBase {
|
|
|
356
356
|
* Fireball calculation response class.
|
|
357
357
|
*
|
|
358
358
|
* @param {Entities.FlameResult} flameResult - Flame scalar result.
|
|
359
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
359
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of fireball flame records.
|
|
360
360
|
*/
|
|
361
361
|
constructor(
|
|
362
362
|
flameResult: Entities.FlameResult,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/***********************************************************************
|
|
2
2
|
* This file has been auto-generated by a code generation tool.
|
|
3
|
-
* Version: 1.0.
|
|
4
|
-
* Date/time:
|
|
3
|
+
* Version: 1.0.64
|
|
4
|
+
* Date/time: 04 Apr 2025 15:02:06
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -169,13 +169,13 @@ class JetFireCalculationRequest extends CalculationRequestBase {
|
|
|
169
169
|
/**
|
|
170
170
|
* JetFire calculation request class.
|
|
171
171
|
*
|
|
172
|
-
* @param {Entities.Material} material -
|
|
172
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
173
173
|
* @param {Entities.DischargeRecord[]} dischargeRecords - Discharge / source term definition.
|
|
174
|
-
* @param {number} dischargeRecordCount - Number of
|
|
174
|
+
* @param {number} dischargeRecordCount - Number of discharge records.
|
|
175
175
|
* @param {Entities.DischargeResult} dischargeResult - Discharge / source term definition.
|
|
176
|
-
* @param {Entities.Weather} weather -
|
|
177
|
-
* @param {Entities.Substrate} substrate -
|
|
178
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
176
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
177
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
178
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
179
179
|
*/
|
|
180
180
|
constructor(
|
|
181
181
|
material: Entities.Material,
|
|
@@ -263,13 +263,13 @@ export class JetFireCalculation extends CalculationBase {
|
|
|
263
263
|
use average discharge data based on the averaging time for jet fires of 20 s. For continuous releases the model will use the
|
|
264
264
|
initial constant discharge data provided.
|
|
265
265
|
*
|
|
266
|
-
* @param {Entities.Material} material -
|
|
266
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
267
267
|
* @param {Entities.DischargeRecord[]} dischargeRecords - Discharge / source term definition.
|
|
268
|
-
* @param {number} dischargeRecordCount - Number of
|
|
268
|
+
* @param {number} dischargeRecordCount - Number of discharge records.
|
|
269
269
|
* @param {Entities.DischargeResult} dischargeResult - Discharge / source term definition.
|
|
270
|
-
* @param {Entities.Weather} weather -
|
|
271
|
-
* @param {Entities.Substrate} substrate -
|
|
272
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
270
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
271
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
272
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
273
273
|
*/
|
|
274
274
|
constructor(
|
|
275
275
|
material: Entities.Material,
|
|
@@ -371,7 +371,7 @@ export class JetFireCalculationResponse extends CalculationResponseBase {
|
|
|
371
371
|
* JetFire calculation response class.
|
|
372
372
|
*
|
|
373
373
|
* @param {Entities.FlameResult} flameResult - Flame scalar results.
|
|
374
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
374
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of jet fire flame records.
|
|
375
375
|
*/
|
|
376
376
|
constructor(
|
|
377
377
|
flameResult: Entities.FlameResult,
|