DNV.DotNetPWS
4.1.13-alpha33
See the version list below for details.
dotnet add package DNV.DotNetPWS --version 4.1.13-alpha33
NuGet\Install-Package DNV.DotNetPWS -Version 4.1.13-alpha33
<PackageReference Include="DNV.DotNetPWS" Version="4.1.13-alpha33" />
paket add DNV.DotNetPWS --version 4.1.13-alpha33
#r "nuget: DNV.DotNetPWS, 4.1.13-alpha33"
// Install DNV.DotNetPWS as a Cake Addin #addin nuget:?package=DNV.DotNetPWS&version=4.1.13-alpha33&prerelease // Install DNV.DotNetPWS as a Cake Tool #tool nuget:?package=DNV.DotNetPWS&version=4.1.13-alpha33&prerelease
DNV DotNetPWS
Introduction
Welcome to DotNetPWS - the .NET SDK for Phast Web Services. The .NET SDK provides an easy and efficient way of consuming the Phast Cloud APIs in your .NET based solutions.
What is Phast?
Phast is the world's most comprehensive process hazard analysis software which models the progress of a potential incident from the initial release to far-field dispersion including modelling of pool spreading and evaporation and resulting flammable and toxic effects. In Phast Web Services we have taken the same state of the art consequence modelling calculations and made them available as web services so you can use them in your own applications.
Concepts
Phast Web Services have been designed to use "entities" that are easy to grasp conceptually. So you work with physical objects like a vessel or a pipe and associated data objects like leaks, pipe ruptures and weathers. These are used when calling a vessel leak or pipe breach calculation for example.
Getting started
Full documentation and samples can be found here.
Example
The following example shows how to instantiate, populate and run a vessel leak calculation.
var vesselLeakCalculation = new VesselLeakCalculation();
vesselLeakCalculation.Vessel.Diameter = 8.0;
vesselLeakCalculation.Vessel.Length = 20.0;
vesselLeakCalculation.Vessel.Shape = VesselShape.HorizontalCylinder;
vesselLeakCalculation.Vessel.Material = new Material
{
ComponentCount = 1,
Components = new List<MaterialComponent>
{
new MaterialComponent
{
MoleFraction = 1.0,
Name = Material
}
},
PropertyTemplate = PropertyTemplate.PhastMC
};
vesselLeakCalculation.Vessel.State.Temperature = Temperature;
vesselLeakCalculation.Vessel.State.Pressure = Pressure;
vesselLeakCalculation.Vessel.State.FlashFlag = FluidSpec.TP;
vesselLeakCalculation.Vessel.VesselConditions = VesselConditions;
vesselLeakCalculation.Vessel.LiquidFillFractionByVolume = LiquidFillFraction;
vesselLeakCalculation.Leak.HoleDiameter = HoleDiameter;
vesselLeakCalculation.Leak.TimeVaryingOption = TimeVaryingOption.TimeVaryingRate;
var calculationResponse = vesselLeakCalculation.Run();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- System.ComponentModel.Annotations (>= 5.0.0)
- System.IdentityModel.Tokens.Jwt (>= 8.0.1)
- System.Text.Json (>= 8.0.4)
-
net8.0
- System.ComponentModel.Annotations (>= 5.0.0)
- System.IdentityModel.Tokens.Jwt (>= 8.0.1)
- System.Text.Json (>= 8.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.1.13 | 89 | 8/6/2024 |
4.1.13-alpha44 | 74 | 8/29/2024 |
4.1.13-alpha43 | 96 | 8/21/2024 |
4.1.13-alpha42 | 91 | 8/14/2024 |
4.1.13-alpha41 | 85 | 8/14/2024 |
4.1.13-alpha40 | 84 | 8/14/2024 |
4.1.13-alpha39 | 80 | 8/14/2024 |
4.1.13-alpha38 | 85 | 8/14/2024 |
4.1.13-alpha37 | 92 | 8/14/2024 |
4.1.13-alpha36 | 97 | 8/14/2024 |
4.1.13-alpha35 | 89 | 8/14/2024 |
4.1.13-alpha34 | 93 | 8/14/2024 |
4.1.13-alpha33 | 84 | 8/14/2024 |
4.1.13-alpha32 | 66 | 8/6/2024 |
4.1.13-alpha28 | 69 | 8/1/2024 |
4.1.13-alpha27 | 72 | 8/1/2024 |
4.1.13-alpha24 | 76 | 8/1/2024 |
4.1.12-alpha20 | 78 | 8/1/2024 |
4.1.9-alpha18 | 74 | 8/1/2024 |
4.1.9-alpha15 | 74 | 8/1/2024 |
4.1.9-alpha14 | 67 | 8/1/2024 |
4.1.9-alpha11 | 97 | 8/1/2024 |
4.1.9-alpha10 | 72 | 8/1/2024 |
4.1.8-alpha8 | 66 | 7/31/2024 |
4.1.8-alpha7 | 62 | 7/31/2024 |
4.1.8-alpha6 | 64 | 7/31/2024 |
4.1.0-alpha138 | 63 | 7/31/2024 |
1.0.0-alpha94 | 143 | 9/13/2023 |
1.0.0-alpha93 | 115 | 9/13/2023 |
1.0.0-alpha92 | 107 | 9/8/2023 |
1.0.0-alpha91 | 108 | 9/7/2023 |
1.0.0-alpha90 | 127 | 9/7/2023 |
1.0.0-alpha89 | 104 | 9/7/2023 |
1.0.0-alpha88 | 104 | 9/7/2023 |
1.0.0-alpha87 | 103 | 9/7/2023 |
1.0.0-alpha86 | 113 | 9/7/2023 |
1.0.0-alpha82 | 106 | 9/6/2023 |
1.0.0-alpha81 | 103 | 9/6/2023 |
1.0.0-alpha80 | 104 | 9/5/2023 |
1.0.0-alpha79 | 86 | 9/5/2023 |
1.0.0-alpha78 | 99 | 9/5/2023 |
1.0.0-alpha77 | 104 | 9/5/2023 |
1.0.0-alpha76 | 98 | 9/5/2023 |
1.0.0-alpha74 | 109 | 9/5/2023 |
1.0.0-alpha73 | 103 | 9/5/2023 |
1.0.0-alpha72 | 119 | 9/5/2023 |
1.0.0-alpha70 | 124 | 9/5/2023 |
1.0.0-alpha69 | 108 | 9/5/2023 |
1.0.0-alpha68 | 116 | 8/31/2023 |
1.0.0-alpha67 | 100 | 8/31/2023 |
1.0.0-alpha66 | 102 | 8/31/2023 |
1.0.0-alpha64 | 110 | 8/31/2023 |
1.0.0-alpha63 | 98 | 8/31/2023 |
1.0.0-alpha62 | 103 | 8/31/2023 |
1.0.0-alpha61 | 98 | 8/31/2023 |
1.0.0-alpha60 | 105 | 8/24/2023 |
1.0.0-alpha59 | 106 | 8/24/2023 |
1.0.0-alpha58 | 103 | 8/24/2023 |
1.0.0-alpha56 | 103 | 8/24/2023 |
1.0.0-alpha55 | 103 | 8/24/2023 |
1.0.0-alpha54 | 104 | 8/24/2023 |
1.0.0-alpha53 | 98 | 8/24/2023 |
1.0.0-alpha52 | 106 | 8/24/2023 |
1.0.0-alpha51 | 103 | 8/24/2023 |
1.0.0-alpha50 | 106 | 8/24/2023 |
1.0.0-alpha38 | 92 | 8/24/2023 |
1.0.0-alpha37 | 97 | 8/24/2023 |
1.0.0-alpha36 | 99 | 8/24/2023 |
1.0.0-alpha35 | 95 | 8/24/2023 |
1.0.0-alpha34 | 109 | 8/24/2023 |