@dnv-plant/typescriptpws 1.0.62-alpha.1856114 → 1.0.63-alpha.1857334
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 +2 -2
- package/src/calculations/discharge.ts +2 -2
- package/src/calculations/dispersion.ts +2 -2
- package/src/calculations/dispersionView.ts +2 -2
- package/src/calculations/fireball.ts +2 -2
- package/src/calculations/jetFire.ts +2 -2
- package/src/calculations/lateExplosion.ts +2 -2
- package/src/calculations/linkedRunners.ts +2 -2
- package/src/calculations/poolFire.ts +2 -2
- package/src/calculations/properties.ts +2 -2
- package/src/calculations/radiation.ts +2 -2
- package/src/calculations/standalones.ts +2 -2
- package/src/calculations/toxics.ts +2 -2
- package/src/calculations/utilities.ts +2 -2
- package/src/constants.ts +2 -2
- package/src/entities.ts +15 -15
- package/src/entity-schemas.ts +2 -2
- package/src/enums.ts +2 -2
- package/src/materials.ts +2 -2
- package/src/utilities.ts +2 -2
package/index.ts
CHANGED
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/index.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
package/package.json
CHANGED
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:17
|
|
5
5
|
* Template: templates/typescriptpws/calculations.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
package/src/constants.ts
CHANGED
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:15
|
|
5
5
|
* Template: templates/typescriptpws/constants.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
package/src/entities.ts
CHANGED
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:16
|
|
5
5
|
* Template: templates/typescriptpws/entities.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
|
@@ -356,7 +356,7 @@ export class AtmosphericStorageTank extends Asset {
|
|
|
356
356
|
material?: Material;
|
|
357
357
|
liquidFillFractionByVolume?: number;
|
|
358
358
|
}) {
|
|
359
|
-
super(options);
|
|
359
|
+
super(options);
|
|
360
360
|
this.state = options?.state ?? new State();
|
|
361
361
|
this.diameter = options?.diameter;
|
|
362
362
|
this.height = options?.height;
|
|
@@ -490,7 +490,7 @@ export class Instantaneous extends Scenario {
|
|
|
490
490
|
typeId?: string;
|
|
491
491
|
displayName?: string;
|
|
492
492
|
}) {
|
|
493
|
-
super(options);
|
|
493
|
+
super(options);
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
/** Initialise the entity with data from a dictionary. */
|
|
@@ -517,7 +517,7 @@ export class CatastrophicRupture extends Instantaneous {
|
|
|
517
517
|
typeId?: string;
|
|
518
518
|
displayName?: string;
|
|
519
519
|
}) {
|
|
520
|
-
super(options);
|
|
520
|
+
super(options);
|
|
521
521
|
}
|
|
522
522
|
|
|
523
523
|
/** Initialise the entity with data from a dictionary. */
|
|
@@ -2161,7 +2161,7 @@ export class ReleaseOverTime extends Scenario {
|
|
|
2161
2161
|
releaseAngle?: number;
|
|
2162
2162
|
timeVaryingOption?: Enums.TimeVaryingOption;
|
|
2163
2163
|
}) {
|
|
2164
|
-
super(options);
|
|
2164
|
+
super(options);
|
|
2165
2165
|
this.releaseAngle = options?.releaseAngle ?? 0.0;
|
|
2166
2166
|
this.timeVaryingOption = options?.timeVaryingOption ?? Enums.TimeVaryingOption.INITIAL_RATE;
|
|
2167
2167
|
}
|
|
@@ -2221,7 +2221,7 @@ export class Leak extends ReleaseOverTime {
|
|
|
2221
2221
|
holeHeightFraction?: number;
|
|
2222
2222
|
releaseElevation?: number;
|
|
2223
2223
|
}) {
|
|
2224
|
-
super(options);
|
|
2224
|
+
super(options);
|
|
2225
2225
|
this.holeDiameter = options?.holeDiameter;
|
|
2226
2226
|
this.holeHeightFraction = options?.holeHeightFraction ?? 0.5;
|
|
2227
2227
|
this.releaseElevation = options?.releaseElevation ?? 1;
|
|
@@ -2282,7 +2282,7 @@ export class LineRupture extends ReleaseOverTime {
|
|
|
2282
2282
|
pipeRoughness?: number;
|
|
2283
2283
|
pipeHeightFraction?: number;
|
|
2284
2284
|
}) {
|
|
2285
|
-
super(options);
|
|
2285
|
+
super(options);
|
|
2286
2286
|
this.pipeDiameter = options?.pipeDiameter;
|
|
2287
2287
|
this.pipeLength = options?.pipeLength;
|
|
2288
2288
|
this.pipeRoughness = options?.pipeRoughness ?? 0.000045;
|
|
@@ -2678,7 +2678,7 @@ export class Pipe extends Asset {
|
|
|
2678
2678
|
roughness?: number;
|
|
2679
2679
|
pumpedInflow?: number;
|
|
2680
2680
|
}) {
|
|
2681
|
-
super(options);
|
|
2681
|
+
super(options);
|
|
2682
2682
|
this.nodes = options?.nodes ?? [new LocalPosition()];
|
|
2683
2683
|
this.nodeCount = options?.nodeCount;
|
|
2684
2684
|
this.diameter = options?.diameter;
|
|
@@ -2760,7 +2760,7 @@ export class PipeBreach extends ReleaseOverTime {
|
|
|
2760
2760
|
timeVaryingOption?: Enums.TimeVaryingOption;
|
|
2761
2761
|
relativeAperture?: number;
|
|
2762
2762
|
}) {
|
|
2763
|
-
super(options);
|
|
2763
|
+
super(options);
|
|
2764
2764
|
this.distanceDownstream = options?.distanceDownstream;
|
|
2765
2765
|
this.relativeAperture = options?.relativeAperture ?? 1;
|
|
2766
2766
|
}
|
|
@@ -2813,7 +2813,7 @@ export class PoolFireFlameResult extends FlameResult {
|
|
|
2813
2813
|
poolZoneSEP?: number[];
|
|
2814
2814
|
fireType?: Enums.FireType;
|
|
2815
2815
|
}) {
|
|
2816
|
-
super(options);
|
|
2816
|
+
super(options);
|
|
2817
2817
|
this.poolZoneSEP = options?.poolZoneSEP;
|
|
2818
2818
|
}
|
|
2819
2819
|
|
|
@@ -3116,7 +3116,7 @@ export class ReliefValve extends ReleaseOverTime {
|
|
|
3116
3116
|
pipeRoughness?: number;
|
|
3117
3117
|
pipeHeightFraction?: number;
|
|
3118
3118
|
}) {
|
|
3119
|
-
super(options);
|
|
3119
|
+
super(options);
|
|
3120
3120
|
this.reliefValveConstrictionDiameter = options?.reliefValveConstrictionDiameter;
|
|
3121
3121
|
this.pipeDiameter = options?.pipeDiameter;
|
|
3122
3122
|
this.pipeLength = options?.pipeLength;
|
|
@@ -3356,7 +3356,7 @@ export class ShortPipeRupture extends ReleaseOverTime {
|
|
|
3356
3356
|
pipeRoughness?: number;
|
|
3357
3357
|
pipeHeightFraction?: number;
|
|
3358
3358
|
}) {
|
|
3359
|
-
super(options);
|
|
3359
|
+
super(options);
|
|
3360
3360
|
this.pipeLength = options?.pipeLength;
|
|
3361
3361
|
this.pipeDiameter = options?.pipeDiameter;
|
|
3362
3362
|
this.pipeRoughness = options?.pipeRoughness ?? 0.000045;
|
|
@@ -3616,7 +3616,7 @@ export class Vessel extends Asset {
|
|
|
3616
3616
|
vesselConditions?: Enums.VesselConditions;
|
|
3617
3617
|
liquidFillFractionByVolume?: number;
|
|
3618
3618
|
}) {
|
|
3619
|
-
super(options);
|
|
3619
|
+
super(options);
|
|
3620
3620
|
this.state = options?.state ?? new State();
|
|
3621
3621
|
this.material = options?.material ?? new Material();
|
|
3622
3622
|
this.safetySystem = options?.safetySystem ?? new SafetySystem();
|
|
@@ -3803,7 +3803,7 @@ export class VesselSphere extends Asset {
|
|
|
3803
3803
|
material?: Material;
|
|
3804
3804
|
massInventory?: number;
|
|
3805
3805
|
}) {
|
|
3806
|
-
super(options);
|
|
3806
|
+
super(options);
|
|
3807
3807
|
this.state = options?.state ?? new State();
|
|
3808
3808
|
this.material = options?.material ?? new Material();
|
|
3809
3809
|
this.massInventory = options?.massInventory;
|
package/src/entity-schemas.ts
CHANGED
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:16
|
|
5
5
|
* Template: templates/typescriptpws/entityschemas.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
package/src/enums.ts
CHANGED
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:15
|
|
5
5
|
* Template: templates/typescriptpws/enums.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
package/src/materials.ts
CHANGED
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:15
|
|
5
5
|
* Template: templates/typescriptpws/materials.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|
package/src/utilities.ts
CHANGED
|
@@ -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.63
|
|
4
|
+
* Date/time: 01 Apr 2025 10:24:14
|
|
5
5
|
* Template: templates/typescriptpws/utilities.razor.
|
|
6
6
|
***********************************************************************/
|
|
7
7
|
|