@dnv-plant/typescriptpws 1.0.63 → 1.0.64-alpha.1861876
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 +2 -2
- 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
|
|
|
@@ -167,12 +167,12 @@ class PoolFireCalculationRequest extends CalculationRequestBase {
|
|
|
167
167
|
/**
|
|
168
168
|
* PoolFire calculation request class.
|
|
169
169
|
*
|
|
170
|
-
* @param {Entities.Material} material -
|
|
171
|
-
* @param {Entities.PoolRecord[]} poolRecords -
|
|
172
|
-
* @param {number} poolRecordCount - Number of
|
|
173
|
-
* @param {Entities.Weather} weather -
|
|
174
|
-
* @param {Entities.Substrate} substrate -
|
|
175
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
170
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
171
|
+
* @param {Entities.PoolRecord[]} poolRecords - an array of pool records.
|
|
172
|
+
* @param {number} poolRecordCount - Number of pool records.
|
|
173
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
174
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
175
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
176
176
|
*/
|
|
177
177
|
constructor(
|
|
178
178
|
material: Entities.Material,
|
|
@@ -252,12 +252,12 @@ export class PoolFireCalculation extends CalculationBase {
|
|
|
252
252
|
/**
|
|
253
253
|
* Determines the flame produced from an ignited flammable pool.
|
|
254
254
|
*
|
|
255
|
-
* @param {Entities.Material} material -
|
|
256
|
-
* @param {Entities.PoolRecord[]} poolRecords -
|
|
257
|
-
* @param {number} poolRecordCount - Number of
|
|
258
|
-
* @param {Entities.Weather} weather -
|
|
259
|
-
* @param {Entities.Substrate} substrate -
|
|
260
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
255
|
+
* @param {Entities.Material} material - a material entity with post-discharge composition.
|
|
256
|
+
* @param {Entities.PoolRecord[]} poolRecords - an array of pool records.
|
|
257
|
+
* @param {number} poolRecordCount - Number of pool records.
|
|
258
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
259
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
260
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
261
261
|
*/
|
|
262
262
|
constructor(
|
|
263
263
|
material: Entities.Material,
|
|
@@ -356,7 +356,7 @@ export class PoolFireCalculationResponse extends CalculationResponseBase {
|
|
|
356
356
|
* PoolFire calculation response class.
|
|
357
357
|
*
|
|
358
358
|
* @param {Entities.PoolFireFlameResult} poolFireFlameResult - Scalar flame results.
|
|
359
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
359
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of pool fire flame records.
|
|
360
360
|
*/
|
|
361
361
|
constructor(
|
|
362
362
|
poolFireFlameResult: Entities.PoolFireFlameResult,
|
|
@@ -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
|
|
|
@@ -159,8 +159,8 @@ class FlashCalculationRequest extends CalculationRequestBase {
|
|
|
159
159
|
/**
|
|
160
160
|
* Flash calculation request class.
|
|
161
161
|
*
|
|
162
|
-
* @param {Entities.Material} material -
|
|
163
|
-
* @param {Entities.State} materialState -
|
|
162
|
+
* @param {Entities.Material} material - a material entity.
|
|
163
|
+
* @param {Entities.State} materialState - a state entity.
|
|
164
164
|
*/
|
|
165
165
|
constructor(
|
|
166
166
|
material: Entities.Material,
|
|
@@ -216,8 +216,8 @@ export class FlashCalculation extends CalculationBase {
|
|
|
216
216
|
* Calculates fluid properties for a user-defined material where the user has defined the pressure and temperature or pressure and liquid fraction. The model carries out a flash calculation
|
|
217
217
|
to obtain the fluid properties.
|
|
218
218
|
*
|
|
219
|
-
* @param {Entities.Material} material -
|
|
220
|
-
* @param {Entities.State} materialState -
|
|
219
|
+
* @param {Entities.Material} material - a material entity.
|
|
220
|
+
* @param {Entities.State} materialState - a state entity.
|
|
221
221
|
*/
|
|
222
222
|
constructor(
|
|
223
223
|
material: Entities.Material,
|
|
@@ -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
|
|
|
@@ -170,11 +170,11 @@ class DistancesAndEllipsesToRadiationLevelsCalculationRequest extends Calculatio
|
|
|
170
170
|
* DistancesAndEllipsesToRadiationLevels calculation request class.
|
|
171
171
|
*
|
|
172
172
|
* @param {Entities.FlameResult} flameResult - Scalar flame results.
|
|
173
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
174
|
-
* @param {number} flameRecordCount - Number of
|
|
175
|
-
* @param {Entities.Weather} weather -
|
|
176
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
177
|
-
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs - Array of
|
|
173
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
174
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
175
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
176
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
177
|
+
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs - Array of flammable output configs.
|
|
178
178
|
* @param {number} flammableOutputConfigCount - Number of radiation levels.
|
|
179
179
|
*/
|
|
180
180
|
constructor(
|
|
@@ -264,11 +264,11 @@ export class DistancesAndEllipsesToRadiationLevelsCalculation extends Calculatio
|
|
|
264
264
|
* Calculates the distances and ellipses to specified radiation intensity levels from a flame model. This calculation can be called after fireball and jet fire calculation.
|
|
265
265
|
*
|
|
266
266
|
* @param {Entities.FlameResult} flameResult - Scalar flame results.
|
|
267
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
268
|
-
* @param {number} flameRecordCount - Number of
|
|
269
|
-
* @param {Entities.Weather} weather -
|
|
270
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
271
|
-
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs - Array of
|
|
267
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
268
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
269
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
270
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
271
|
+
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs - Array of flammable output configs.
|
|
272
272
|
* @param {number} flammableOutputConfigCount - Number of radiation levels.
|
|
273
273
|
*/
|
|
274
274
|
constructor(
|
|
@@ -391,10 +391,10 @@ export class DistancesAndEllipsesToRadiationLevelsCalculationResponse extends Ca
|
|
|
391
391
|
/**
|
|
392
392
|
* DistancesAndEllipsesToRadiationLevels calculation response class.
|
|
393
393
|
*
|
|
394
|
-
* @param {number[]} distances -
|
|
394
|
+
* @param {number[]} distances - an array of distances to radiation levels, corresponding to the flammable output configs.
|
|
395
395
|
* @param {Entities.LocalPosition[]} contourPoints - Contour points of radiation ellipses to radiation levels.
|
|
396
|
-
* @param {number[]} nContourPoints -
|
|
397
|
-
* @param {number[]} areas -
|
|
396
|
+
* @param {number[]} nContourPoints - an array of the number of contour points, corresponding to the flammable output configs.
|
|
397
|
+
* @param {number[]} areas - an array of areas of the ellipses to radiation levels, corresponding to the flammable output configs.
|
|
398
398
|
*/
|
|
399
399
|
constructor(
|
|
400
400
|
distances: number[],
|
|
@@ -535,11 +535,11 @@ class DistancesAndEllipsesToRadiationLevelsForPoolFiresCalculationRequest extend
|
|
|
535
535
|
* DistancesAndEllipsesToRadiationLevelsForPoolFires calculation request class.
|
|
536
536
|
*
|
|
537
537
|
* @param {Entities.PoolFireFlameResult} poolFireFlameResult - Scalar pool fire flame results.
|
|
538
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
539
|
-
* @param {number} flameRecordCount - Number of
|
|
540
|
-
* @param {Entities.Weather} weather -
|
|
541
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
542
|
-
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs -
|
|
538
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
539
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
540
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
541
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
542
|
+
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs - an array of flammable output configs.
|
|
543
543
|
* @param {number} flammableOutputConfigCount - Number of radiation levels.
|
|
544
544
|
*/
|
|
545
545
|
constructor(
|
|
@@ -629,11 +629,11 @@ export class DistancesAndEllipsesToRadiationLevelsForPoolFiresCalculation extend
|
|
|
629
629
|
* Calculates the distances and ellipses to specified radiation intensity levels from a flame model. This calculation can be called after pool fire calculation.
|
|
630
630
|
*
|
|
631
631
|
* @param {Entities.PoolFireFlameResult} poolFireFlameResult - Scalar pool fire flame results.
|
|
632
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
633
|
-
* @param {number} flameRecordCount - Number of
|
|
634
|
-
* @param {Entities.Weather} weather -
|
|
635
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
636
|
-
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs -
|
|
632
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
633
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
634
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
635
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
636
|
+
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs - an array of flammable output configs.
|
|
637
637
|
* @param {number} flammableOutputConfigCount - Number of radiation levels.
|
|
638
638
|
*/
|
|
639
639
|
constructor(
|
|
@@ -756,10 +756,10 @@ export class DistancesAndEllipsesToRadiationLevelsForPoolFiresCalculationRespons
|
|
|
756
756
|
/**
|
|
757
757
|
* DistancesAndEllipsesToRadiationLevelsForPoolFires calculation response class.
|
|
758
758
|
*
|
|
759
|
-
* @param {number[]} distances -
|
|
759
|
+
* @param {number[]} distances - an array of distances to radiation levels, corresponding to the flammable output configs.
|
|
760
760
|
* @param {Entities.LocalPosition[]} contourPoints - Contour points of radiation ellipses to radiation levels.
|
|
761
|
-
* @param {number[]} nContourPoints -
|
|
762
|
-
* @param {number[]} areas -
|
|
761
|
+
* @param {number[]} nContourPoints - an array of the number of contour points, corresponding to the flammable output configs.
|
|
762
|
+
* @param {number[]} areas - an array of areas of the ellipses to radiation levels, responding to the flammable output configs.
|
|
763
763
|
*/
|
|
764
764
|
constructor(
|
|
765
765
|
distances: number[],
|
|
@@ -900,12 +900,12 @@ class DistancesToRadiationLevelsCalculationRequest extends CalculationRequestBas
|
|
|
900
900
|
* DistancesToRadiationLevels calculation request class.
|
|
901
901
|
*
|
|
902
902
|
* @param {Entities.FlameResult} flameResult - Scalar flame results.
|
|
903
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
904
|
-
* @param {number} flameRecordCount - Number of
|
|
905
|
-
* @param {Entities.Weather} weather -
|
|
906
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
907
|
-
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs -
|
|
908
|
-
* @param {number} flammableOutputConfigCount - Number of
|
|
903
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
904
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
905
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
906
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
907
|
+
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs - an array of flammable output configs.
|
|
908
|
+
* @param {number} flammableOutputConfigCount - Number of flammable output configs.
|
|
909
909
|
*/
|
|
910
910
|
constructor(
|
|
911
911
|
flameResult: Entities.FlameResult,
|
|
@@ -991,12 +991,12 @@ export class DistancesToRadiationLevelsCalculation extends CalculationBase {
|
|
|
991
991
|
* Calculates the distances to specified radiation intensity levels from a flame model. This calculation can be called after any type of fire calculation (fireball, jet fire, pool fire).
|
|
992
992
|
*
|
|
993
993
|
* @param {Entities.FlameResult} flameResult - Scalar flame results.
|
|
994
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
995
|
-
* @param {number} flameRecordCount - Number of
|
|
996
|
-
* @param {Entities.Weather} weather -
|
|
997
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
998
|
-
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs -
|
|
999
|
-
* @param {number} flammableOutputConfigCount - Number of
|
|
994
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
995
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
996
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
997
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
998
|
+
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs - an array of flammable output configs.
|
|
999
|
+
* @param {number} flammableOutputConfigCount - Number of flammable output configs.
|
|
1000
1000
|
*/
|
|
1001
1001
|
constructor(
|
|
1002
1002
|
flameResult: Entities.FlameResult,
|
|
@@ -1094,7 +1094,7 @@ export class DistancesToRadiationLevelsCalculationResponse extends CalculationRe
|
|
|
1094
1094
|
/**
|
|
1095
1095
|
* DistancesToRadiationLevels calculation response class.
|
|
1096
1096
|
*
|
|
1097
|
-
* @param {number[]} distances -
|
|
1097
|
+
* @param {number[]} distances - an array of distances to radiation levels, corresponding to the flammable output configs.
|
|
1098
1098
|
*/
|
|
1099
1099
|
constructor(
|
|
1100
1100
|
distances: number[],
|
|
@@ -1200,11 +1200,11 @@ class DistanceToRadiationCalculationRequest extends CalculationRequestBase {
|
|
|
1200
1200
|
* DistanceToRadiation calculation request class.
|
|
1201
1201
|
*
|
|
1202
1202
|
* @param {Entities.FlameResult} flameResult - Scalar flame results.
|
|
1203
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
1204
|
-
* @param {number} flameRecordCount - Number of
|
|
1205
|
-
* @param {Entities.Weather} weather -
|
|
1206
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
1207
|
-
* @param {Entities.FlammableOutputConfig} flammableOutputConfig -
|
|
1203
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
1204
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
1205
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
1206
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
1207
|
+
* @param {Entities.FlammableOutputConfig} flammableOutputConfig - a flammable output config entity.
|
|
1208
1208
|
*/
|
|
1209
1209
|
constructor(
|
|
1210
1210
|
flameResult: Entities.FlameResult,
|
|
@@ -1284,11 +1284,11 @@ export class DistanceToRadiationCalculation extends CalculationBase {
|
|
|
1284
1284
|
* Calculates the distance to a specified radiation intensity or lethality level from a flame model. This calculation an be called after any type of fire calculation (fireball, jet fire, pool fire).
|
|
1285
1285
|
*
|
|
1286
1286
|
* @param {Entities.FlameResult} flameResult - Scalar flame results.
|
|
1287
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
1288
|
-
* @param {number} flameRecordCount - Number of
|
|
1289
|
-
* @param {Entities.Weather} weather -
|
|
1290
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
1291
|
-
* @param {Entities.FlammableOutputConfig} flammableOutputConfig -
|
|
1287
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
1288
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
1289
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
1290
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
1291
|
+
* @param {Entities.FlammableOutputConfig} flammableOutputConfig - a flammable output config entity.
|
|
1292
1292
|
*/
|
|
1293
1293
|
constructor(
|
|
1294
1294
|
flameResult: Entities.FlameResult,
|
|
@@ -1484,11 +1484,11 @@ class RadiationAtAPointCalculationRequest extends CalculationRequestBase {
|
|
|
1484
1484
|
* RadiationAtAPoint calculation request class.
|
|
1485
1485
|
*
|
|
1486
1486
|
* @param {Entities.FlameResult} flameResult - Scalar flame results.
|
|
1487
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
1488
|
-
* @param {number} flameRecordCount - Number of
|
|
1489
|
-
* @param {Entities.Weather} weather -
|
|
1490
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
1491
|
-
* @param {Entities.FlammableOutputConfig} flammableOutputConfig -
|
|
1487
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
1488
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
1489
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
1490
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
1491
|
+
* @param {Entities.FlammableOutputConfig} flammableOutputConfig - a flammable output config entity, for setting the point coordinates.
|
|
1492
1492
|
*/
|
|
1493
1493
|
constructor(
|
|
1494
1494
|
flameResult: Entities.FlameResult,
|
|
@@ -1568,11 +1568,11 @@ export class RadiationAtAPointCalculation extends CalculationBase {
|
|
|
1568
1568
|
* Calculates the radiation at coordinates x, y, z from a flammable model.
|
|
1569
1569
|
*
|
|
1570
1570
|
* @param {Entities.FlameResult} flameResult - Scalar flame results.
|
|
1571
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
1572
|
-
* @param {number} flameRecordCount - Number of
|
|
1573
|
-
* @param {Entities.Weather} weather -
|
|
1574
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
1575
|
-
* @param {Entities.FlammableOutputConfig} flammableOutputConfig -
|
|
1571
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
1572
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
1573
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
1574
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
1575
|
+
* @param {Entities.FlammableOutputConfig} flammableOutputConfig - a flammable output config entity, for setting the point coordinates.
|
|
1576
1576
|
*/
|
|
1577
1577
|
constructor(
|
|
1578
1578
|
flameResult: Entities.FlameResult,
|
|
@@ -1768,11 +1768,11 @@ class RadiationAtAPointForPoolFiresCalculationRequest extends CalculationRequest
|
|
|
1768
1768
|
* RadiationAtAPointForPoolFires calculation request class.
|
|
1769
1769
|
*
|
|
1770
1770
|
* @param {Entities.PoolFireFlameResult} poolFireFlameResult - Scalar flame results.
|
|
1771
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
1772
|
-
* @param {number} flameRecordCount - Number of
|
|
1773
|
-
* @param {Entities.Weather} weather -
|
|
1774
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
1775
|
-
* @param {Entities.FlammableOutputConfig} flammableOutputConfig -
|
|
1771
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
1772
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
1773
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
1774
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
1775
|
+
* @param {Entities.FlammableOutputConfig} flammableOutputConfig - a flammable output config entity, for setting the point coordinates.
|
|
1776
1776
|
*/
|
|
1777
1777
|
constructor(
|
|
1778
1778
|
poolFireFlameResult: Entities.PoolFireFlameResult,
|
|
@@ -1852,11 +1852,11 @@ export class RadiationAtAPointForPoolFiresCalculation extends CalculationBase {
|
|
|
1852
1852
|
* Calculates the radiation at coordinates x, y, z from a pool fire model.
|
|
1853
1853
|
*
|
|
1854
1854
|
* @param {Entities.PoolFireFlameResult} poolFireFlameResult - Scalar flame results.
|
|
1855
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
1856
|
-
* @param {number} flameRecordCount - Number of
|
|
1857
|
-
* @param {Entities.Weather} weather -
|
|
1858
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
1859
|
-
* @param {Entities.FlammableOutputConfig} flammableOutputConfig -
|
|
1855
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
1856
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
1857
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
1858
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
1859
|
+
* @param {Entities.FlammableOutputConfig} flammableOutputConfig - a flammable output config entity, for setting the point coordinates.
|
|
1860
1860
|
*/
|
|
1861
1861
|
constructor(
|
|
1862
1862
|
poolFireFlameResult: Entities.PoolFireFlameResult,
|
|
@@ -2054,11 +2054,11 @@ class RadiationAtPointsCalculationRequest extends CalculationRequestBase {
|
|
|
2054
2054
|
* RadiationAtPoints calculation request class.
|
|
2055
2055
|
*
|
|
2056
2056
|
* @param {Entities.FlameResult} flameResult - Scalar flame results.
|
|
2057
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
2058
|
-
* @param {number} flameRecordCount - Number of
|
|
2059
|
-
* @param {Entities.Weather} weather -
|
|
2060
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
2061
|
-
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs -
|
|
2057
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
2058
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
2059
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
2060
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
2061
|
+
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs - a flammable output config entity, for setting the point coordinates.
|
|
2062
2062
|
* @param {number} flammableOutputConfigCount - Number of points.
|
|
2063
2063
|
*/
|
|
2064
2064
|
constructor(
|
|
@@ -2145,11 +2145,11 @@ export class RadiationAtPointsCalculation extends CalculationBase {
|
|
|
2145
2145
|
* Calculates the radiation at an array of coordinates x, y, z from a flammable model.
|
|
2146
2146
|
*
|
|
2147
2147
|
* @param {Entities.FlameResult} flameResult - Scalar flame results.
|
|
2148
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
2149
|
-
* @param {number} flameRecordCount - Number of
|
|
2150
|
-
* @param {Entities.Weather} weather -
|
|
2151
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
2152
|
-
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs -
|
|
2148
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
2149
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
2150
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
2151
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
2152
|
+
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs - a flammable output config entity, for setting the point coordinates.
|
|
2153
2153
|
* @param {number} flammableOutputConfigCount - Number of points.
|
|
2154
2154
|
*/
|
|
2155
2155
|
constructor(
|
|
@@ -2248,7 +2248,7 @@ export class RadiationAtPointsCalculationResponse extends CalculationResponseBas
|
|
|
2248
2248
|
/**
|
|
2249
2249
|
* RadiationAtPoints calculation response class.
|
|
2250
2250
|
*
|
|
2251
|
-
* @param {number[]} radiation -
|
|
2251
|
+
* @param {number[]} radiation - an array of radiation at a point.
|
|
2252
2252
|
*/
|
|
2253
2253
|
constructor(
|
|
2254
2254
|
radiation: number[],
|
|
@@ -2356,11 +2356,11 @@ class RadiationAtPointsForPoolFiresCalculationRequest extends CalculationRequest
|
|
|
2356
2356
|
* RadiationAtPointsForPoolFires calculation request class.
|
|
2357
2357
|
*
|
|
2358
2358
|
* @param {Entities.PoolFireFlameResult} poolFireFlameResult - Scalar flame results.
|
|
2359
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
2360
|
-
* @param {number} flameRecordCount - Number of
|
|
2361
|
-
* @param {Entities.Weather} weather -
|
|
2362
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
2363
|
-
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs -
|
|
2359
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
2360
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
2361
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
2362
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
2363
|
+
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs - a flammable output config entity, for setting the point coordinates.
|
|
2364
2364
|
* @param {number} flammableOutputConfigCount - Number of points.
|
|
2365
2365
|
*/
|
|
2366
2366
|
constructor(
|
|
@@ -2447,11 +2447,11 @@ export class RadiationAtPointsForPoolFiresCalculation extends CalculationBase {
|
|
|
2447
2447
|
* Calculates the radiation at an array of coordinates x, y, z from a pool fire model.
|
|
2448
2448
|
*
|
|
2449
2449
|
* @param {Entities.PoolFireFlameResult} poolFireFlameResult - Scalar flame results.
|
|
2450
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
2451
|
-
* @param {number} flameRecordCount - Number of
|
|
2452
|
-
* @param {Entities.Weather} weather -
|
|
2453
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
2454
|
-
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs -
|
|
2450
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
2451
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
2452
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
2453
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
2454
|
+
* @param {Entities.FlammableOutputConfig[]} flammableOutputConfigs - a flammable output config entity, for setting the point coordinates.
|
|
2455
2455
|
* @param {number} flammableOutputConfigCount - Number of points.
|
|
2456
2456
|
*/
|
|
2457
2457
|
constructor(
|
|
@@ -2550,7 +2550,7 @@ export class RadiationAtPointsForPoolFiresCalculationResponse extends Calculatio
|
|
|
2550
2550
|
/**
|
|
2551
2551
|
* RadiationAtPointsForPoolFires calculation response class.
|
|
2552
2552
|
*
|
|
2553
|
-
* @param {number[]} radiation -
|
|
2553
|
+
* @param {number[]} radiation - an array of radiation at a point.
|
|
2554
2554
|
*/
|
|
2555
2555
|
constructor(
|
|
2556
2556
|
radiation: number[],
|
|
@@ -2656,11 +2656,11 @@ class RadiationContourCalculationRequest extends CalculationRequestBase {
|
|
|
2656
2656
|
* RadiationContour calculation request class.
|
|
2657
2657
|
*
|
|
2658
2658
|
* @param {Entities.FlameResult} flameResult - Scalar flame results.
|
|
2659
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
2659
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
2660
2660
|
* @param {number} flameRecordCount - Number of flame records.
|
|
2661
|
-
* @param {Entities.Weather} weather -
|
|
2662
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
2663
|
-
* @param {Entities.FlammableOutputConfig} flammableOutputConfig -
|
|
2661
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
2662
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
2663
|
+
* @param {Entities.FlammableOutputConfig} flammableOutputConfig - a flammable output config entity.
|
|
2664
2664
|
*/
|
|
2665
2665
|
constructor(
|
|
2666
2666
|
flameResult: Entities.FlameResult,
|
|
@@ -2740,11 +2740,11 @@ export class RadiationContourCalculation extends CalculationBase {
|
|
|
2740
2740
|
* Calculates the radiation contours from a flame model out to a specified intensity or lethality level. This calculation an be called after any type of fire calculation (fireball, jet fire, pool fire). Sideviews and footprints can be requested.
|
|
2741
2741
|
*
|
|
2742
2742
|
* @param {Entities.FlameResult} flameResult - Scalar flame results.
|
|
2743
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
2743
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
2744
2744
|
* @param {number} flameRecordCount - Number of flame records.
|
|
2745
|
-
* @param {Entities.Weather} weather -
|
|
2746
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
2747
|
-
* @param {Entities.FlammableOutputConfig} flammableOutputConfig -
|
|
2745
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
2746
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
2747
|
+
* @param {Entities.FlammableOutputConfig} flammableOutputConfig - a flammable output config entity.
|
|
2748
2748
|
*/
|
|
2749
2749
|
constructor(
|
|
2750
2750
|
flameResult: Entities.FlameResult,
|
|
@@ -2839,7 +2839,7 @@ export class RadiationContourCalculationResponse extends CalculationResponseBase
|
|
|
2839
2839
|
/**
|
|
2840
2840
|
* RadiationContour calculation response class.
|
|
2841
2841
|
*
|
|
2842
|
-
* @param {Entities.LocalPosition[]} contourPoints -
|
|
2842
|
+
* @param {Entities.LocalPosition[]} contourPoints - an array of contour points.
|
|
2843
2843
|
*/
|
|
2844
2844
|
constructor(
|
|
2845
2845
|
contourPoints: Entities.LocalPosition[],
|
|
@@ -2951,11 +2951,11 @@ class RadiationTransectCalculationRequest extends CalculationRequestBase {
|
|
|
2951
2951
|
* RadiationTransect calculation request class.
|
|
2952
2952
|
*
|
|
2953
2953
|
* @param {Entities.FlameResult} flameResult - Scalar flame results.
|
|
2954
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
2955
|
-
* @param {number} flameRecordCount - Number of
|
|
2956
|
-
* @param {Entities.Weather} weather -
|
|
2957
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
2958
|
-
* @param {Entities.FlammableOutputConfig} flammableOutputConfig -
|
|
2954
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
2955
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
2956
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
2957
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
2958
|
+
* @param {Entities.FlammableOutputConfig} flammableOutputConfig - a flammable output config entity.
|
|
2959
2959
|
*/
|
|
2960
2960
|
constructor(
|
|
2961
2961
|
flameResult: Entities.FlameResult,
|
|
@@ -3035,11 +3035,11 @@ export class RadiationTransectCalculation extends CalculationBase {
|
|
|
3035
3035
|
* Calculates the radiation along a specified transect from a flame model down to a specified intensity or lethality level. This calculation an be called after any type of fire calculation (fireball, jet fire, pool fire).
|
|
3036
3036
|
*
|
|
3037
3037
|
* @param {Entities.FlameResult} flameResult - Scalar flame results.
|
|
3038
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
3039
|
-
* @param {number} flameRecordCount - Number of
|
|
3040
|
-
* @param {Entities.Weather} weather -
|
|
3041
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
3042
|
-
* @param {Entities.FlammableOutputConfig} flammableOutputConfig -
|
|
3038
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
3039
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
3040
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
3041
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
3042
|
+
* @param {Entities.FlammableOutputConfig} flammableOutputConfig - a flammable output config entity.
|
|
3043
3043
|
*/
|
|
3044
3044
|
constructor(
|
|
3045
3045
|
flameResult: Entities.FlameResult,
|
|
@@ -3134,7 +3134,7 @@ export class RadiationTransectCalculationResponse extends CalculationResponseBas
|
|
|
3134
3134
|
/**
|
|
3135
3135
|
* RadiationTransect calculation response class.
|
|
3136
3136
|
*
|
|
3137
|
-
* @param {Entities.RadiationRecord[]} radiationRecords -
|
|
3137
|
+
* @param {Entities.RadiationRecord[]} radiationRecords - an array of radiation records along transect.
|
|
3138
3138
|
*/
|
|
3139
3139
|
constructor(
|
|
3140
3140
|
radiationRecords: Entities.RadiationRecord[],
|
|
@@ -3246,11 +3246,11 @@ class RadiationTransectForPoolFiresCalculationRequest extends CalculationRequest
|
|
|
3246
3246
|
* RadiationTransectForPoolFires calculation request class.
|
|
3247
3247
|
*
|
|
3248
3248
|
* @param {Entities.PoolFireFlameResult} poolFireFlameResult - Pool fire flame results.
|
|
3249
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
3250
|
-
* @param {number} flameRecordCount - Number of
|
|
3251
|
-
* @param {Entities.Weather} weather -
|
|
3252
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
3253
|
-
* @param {Entities.FlammableOutputConfig} flammableOutputConfig -
|
|
3249
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
3250
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
3251
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
3252
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
3253
|
+
* @param {Entities.FlammableOutputConfig} flammableOutputConfig - a flammable output config entity.
|
|
3254
3254
|
*/
|
|
3255
3255
|
constructor(
|
|
3256
3256
|
poolFireFlameResult: Entities.PoolFireFlameResult,
|
|
@@ -3330,11 +3330,11 @@ export class RadiationTransectForPoolFiresCalculation extends CalculationBase {
|
|
|
3330
3330
|
* Calculates the radiation along a specified transect from a flame model down to a specified intensity or lethality level. This calculation can be called after pool fire calculation.
|
|
3331
3331
|
*
|
|
3332
3332
|
* @param {Entities.PoolFireFlameResult} poolFireFlameResult - Pool fire flame results.
|
|
3333
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
3334
|
-
* @param {number} flameRecordCount - Number of
|
|
3335
|
-
* @param {Entities.Weather} weather -
|
|
3336
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
3337
|
-
* @param {Entities.FlammableOutputConfig} flammableOutputConfig -
|
|
3333
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of flame records.
|
|
3334
|
+
* @param {number} flameRecordCount - Number of flame records.
|
|
3335
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
3336
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
3337
|
+
* @param {Entities.FlammableOutputConfig} flammableOutputConfig - a flammable output config entity.
|
|
3338
3338
|
*/
|
|
3339
3339
|
constructor(
|
|
3340
3340
|
poolFireFlameResult: Entities.PoolFireFlameResult,
|
|
@@ -3429,7 +3429,7 @@ export class RadiationTransectForPoolFiresCalculationResponse extends Calculatio
|
|
|
3429
3429
|
/**
|
|
3430
3430
|
* RadiationTransectForPoolFires calculation response class.
|
|
3431
3431
|
*
|
|
3432
|
-
* @param {Entities.RadiationRecord[]} radiationRecords -
|
|
3432
|
+
* @param {Entities.RadiationRecord[]} radiationRecords - an array of radiation records along transect.
|
|
3433
3433
|
*/
|
|
3434
3434
|
constructor(
|
|
3435
3435
|
radiationRecords: Entities.RadiationRecord[],
|
|
@@ -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
|
|
|
@@ -163,10 +163,10 @@ class TankFireCalculationRequest extends CalculationRequestBase {
|
|
|
163
163
|
/**
|
|
164
164
|
* TankFire calculation request class.
|
|
165
165
|
*
|
|
166
|
-
* @param {Entities.AtmosphericStorageTank} atmosphericStorageTank -
|
|
167
|
-
* @param {Entities.Weather} weather -
|
|
168
|
-
* @param {Entities.Substrate} substrate -
|
|
169
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
166
|
+
* @param {Entities.AtmosphericStorageTank} atmosphericStorageTank - an atmospheric storage tank entity.
|
|
167
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
168
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
169
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
170
170
|
*/
|
|
171
171
|
constructor(
|
|
172
172
|
atmosphericStorageTank: Entities.AtmosphericStorageTank,
|
|
@@ -234,10 +234,10 @@ export class TankFireCalculation extends CalculationBase {
|
|
|
234
234
|
/**
|
|
235
235
|
* Calculates the flame result and flame coordinates from a pool fire in an open roof tank. The calculations are driven from the atmospheric storage tank entity and are analogous to the standalone pool fire model.
|
|
236
236
|
*
|
|
237
|
-
* @param {Entities.AtmosphericStorageTank} atmosphericStorageTank -
|
|
238
|
-
* @param {Entities.Weather} weather -
|
|
239
|
-
* @param {Entities.Substrate} substrate -
|
|
240
|
-
* @param {Entities.FlammableParameters} flammableParameters -
|
|
237
|
+
* @param {Entities.AtmosphericStorageTank} atmosphericStorageTank - an atmospheric storage tank entity.
|
|
238
|
+
* @param {Entities.Weather} weather - a weather entity.
|
|
239
|
+
* @param {Entities.Substrate} substrate - a substrate entity.
|
|
240
|
+
* @param {Entities.FlammableParameters} flammableParameters - a flammable parameters entity.
|
|
241
241
|
*/
|
|
242
242
|
constructor(
|
|
243
243
|
atmosphericStorageTank: Entities.AtmosphericStorageTank,
|
|
@@ -330,7 +330,7 @@ export class TankFireCalculationResponse extends CalculationResponseBase {
|
|
|
330
330
|
* TankFire calculation response class.
|
|
331
331
|
*
|
|
332
332
|
* @param {Entities.PoolFireFlameResult} poolFireFlameResult - Scalar flame results.
|
|
333
|
-
* @param {Entities.FlameRecord[]} flameRecords -
|
|
333
|
+
* @param {Entities.FlameRecord[]} flameRecords - an array of pool fire flame records.
|
|
334
334
|
*/
|
|
335
335
|
constructor(
|
|
336
336
|
poolFireFlameResult: Entities.PoolFireFlameResult,
|