@dnv-plant/typescriptpws 1.0.97 → 1.0.98

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/src/constants.ts CHANGED
@@ -1,15 +1,19 @@
1
- /***********************************************************************
2
- * This file has been auto-generated by a code generation tool.
3
- *
4
- * DO NOT MODIFY THIS FILE
5
- * This file is maintained by DNV.
6
- * Editing it may lead to inconsistent results and limit DNV's ability to provide support.
7
- * Please contact DNV if you believe changes are required.
8
- *
9
- * Version: 1.0.97
10
- * Date/time: 13 Apr 2026 17:02:52
11
- * Template: templates/typescriptpws/constants.razor.
12
- ***********************************************************************/
1
+ // ************************************************************************************
2
+ // *
3
+ // * This file has been auto-generated by a code generation tool.
4
+ // *
5
+ // * DO NOT MODIFY THIS FILE
6
+ // * This file is maintained by DNV.
7
+ // * Editing it may lead to inconsistent results and limit DNV's ability to provide support.
8
+ // * Please contact DNV if you believe changes are required.
9
+ // *
10
+ // * API version: 1.0.
11
+ // * MDE version: 9.3.8211.
12
+ // * Package version: 1.0.98
13
+ // * Date/time: 23 Jun 2026 12:11:11.
14
+ // * Template: TYPE_SCRIPT_PWS/constants.sbn.
15
+ // *
16
+ // ************************************************************************************
13
17
 
14
18
  export const ABS_TOL_RAD = 0.0000000001;
15
19
  // Absolute tolerance for radiation calculations.
@@ -59,6 +63,9 @@ export const BESS_MIN_INTERVAL = 0.5;
59
63
  export const BESS_MIN_TEMP = 273.15;
60
64
  // Minimum gas temperature for a BESS event (K).
61
65
 
66
+ export const BLEVE_EXP_DUR = 20;
67
+ // Fireball maximum exposure duration.
68
+
62
69
  export const BUND_AREA_MULTIPLIER_FOR_RUPTURE = 1.5;
63
70
  // Bund area multiplier for catastrophic ruptures.
64
71
 
@@ -83,8 +90,8 @@ export const DROPLET_METHOD = 6;
83
90
  export const EXPL_LOCATION = 0;
84
91
  // Explosion located at the cloud front (LFL fraction).
85
92
 
86
- export const FIREBALL_MODEL = 0;
87
- // Roberts/TNO hybrid fireball model.
93
+ export const FIREBALL_MODEL = 3;
94
+ // Martinsen time varying.
88
95
 
89
96
  export const FLAM_AVR_TIME_PHAST_DEFAULT = 18.75;
90
97
  // Default value for flammable averaging time in Phast.
@@ -245,6 +252,9 @@ export const NUM_X_VIEW = 21;
245
252
  export const OBSERVER_TYPE = 1;
246
253
  // Planar observer type for radiation modelling.
247
254
 
255
+ export const PHAST_ATM_TRANSMISSIVITY_METHOD = -1;
256
+ // Phast atmospheric transmissivity method.
257
+
248
258
  export const PIPE_NODES_COUNT = 2;
249
259
  // Number of nodes on the pipe (start, end + intermediate).
250
260
 
@@ -333,7 +343,7 @@ export const USER_INPUT_POST_EXPANSION_VELOCITY = 0;
333
343
  // Velocity for jet fire calculations must be user supplied.
334
344
 
335
345
  export const WIND_CUTOFF_HEIGHT = 1.0;
336
- // Cut-off height for wind speed calculations.
346
+ // Cut-off height for wind speed calculations .
337
347
 
338
348
  export const PWS_CLIENT_ID = 'eeca6885-127e-4405-aa1f-3a8e69acc451';
339
349
  // Application constants.