DNV.DotNetPWS 4.1.14-alpha141

This is a prerelease version of DNV.DotNetPWS.
dotnet add package DNV.DotNetPWS --version 4.1.14-alpha141
                    
NuGet\Install-Package DNV.DotNetPWS -Version 4.1.14-alpha141
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DNV.DotNetPWS" Version="4.1.14-alpha141" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DNV.DotNetPWS" Version="4.1.14-alpha141" />
                    
Directory.Packages.props
<PackageReference Include="DNV.DotNetPWS" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DNV.DotNetPWS --version 4.1.14-alpha141
                    
#r "nuget: DNV.DotNetPWS, 4.1.14-alpha141"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DNV.DotNetPWS@4.1.14-alpha141
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DNV.DotNetPWS&version=4.1.14-alpha141&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DNV.DotNetPWS&version=4.1.14-alpha141&prerelease
                    
Install as a Cake Tool

DNV DotNetPWS

Introduction

Welcome to .Net PWS - 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 a powerful, comprehensive and easy-to-use software tool for process hazard analysis. It is used to identify, understand and manage process hazards in a wide range of industries, including oil and gas, chemical, pharmaceutical, food and beverage, and manufacturing.

Phast is a modular software tool that can be tailored to meet the needs of different industries and applications. It provides a range of tools and techniques for identifying and assessing process hazards, including:

  • Hazard identification and risk assessment
  • Consequence analysis
  • Risk management
  • Safety management

Phast is used by thousands of companies around the world to help them manage process safety and reduce the risk of accidents and incidents. It is a key tool in the field of process safety management, and is used by engineers, safety professionals, regulators and other stakeholders to help ensure the safe operation of process plants and facilities.

Key Concepts

Hazard Identification

Hazard identification is the process of identifying and assessing the hazards associated with a particular process or activity. It involves identifying the potential sources of harm, the likelihood of those sources causing harm, and the consequences of that harm. Hazard identification is a key step in the process of managing process safety, as it helps to identify the risks associated with a particular process or activity, and to develop strategies for managing those risks.

Risk Assessment

Risk assessment is the process of assessing the risks associated with a particular process or activity. It involves identifying the hazards associated with the process or activity, and assessing the likelihood and consequences of those hazards causing harm. Risk assessment is a key tool in the process of managing process safety, as it helps to identify the risks associated with a particular process or activity, and to develop strategies for managing those risks.

Consequence Analysis

Consequence analysis is the process of assessing the consequences of a particular hazard or event. It involves identifying the potential consequences of a hazard or event, and assessing the severity of those consequences. Consequence analysis is a key tool in the process of managing process safety, as it helps to identify the potential consequences of a hazard or event, and to develop strategies for managing those consequences.

Risk Management

Risk management is the process of managing the risks associated with a particular process or activity. It involves identifying the hazards associated with the process or activity, assessing the likelihood and consequences of those hazards causing harm, and developing strategies for managing those risks. Risk management is a key tool in the process of managing process safety, as it helps to identify the risks associated with a particular process or activity, and to develop strategies for managing those risks.

Safety Management

Safety management is the process of managing the safety of a particular process or activity. It involves identifying the hazards associated with the process or activity, assessing the likelihood and consequences of those hazards causing harm, and developing strategies for managing those risks. Safety management is a key tool in the process of managing process safety, as it helps to identify the risks associated with a particular process or activity, and to develop strategies for managing those risks.

Getting started

More detailed information 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 Compatible and additional computed target framework versions.
.NET 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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.14-alpha141 139 8/12/2025
4.1.14-alpha138 166 8/8/2025
4.1.13 144 8/6/2024
4.1.13-alpha51 127 2/10/2025
4.1.13-alpha44 104 8/29/2024
4.1.13-alpha43 126 8/21/2024
4.1.13-alpha42 124 8/14/2024
4.1.13-alpha41 118 8/14/2024
4.1.13-alpha40 122 8/14/2024
4.1.13-alpha39 112 8/14/2024
4.1.13-alpha38 117 8/14/2024
4.1.13-alpha37 123 8/14/2024
4.1.13-alpha36 131 8/14/2024
4.1.13-alpha35 121 8/14/2024
4.1.13-alpha34 129 8/14/2024
4.1.13-alpha33 115 8/14/2024
4.1.13-alpha32 113 8/6/2024
4.1.13-alpha28 99 8/1/2024
4.1.13-alpha27 103 8/1/2024
4.1.13-alpha24 111 8/1/2024
4.1.13-alpha110 115 7/11/2025
4.1.13-alpha104 105 6/6/2025
4.1.13-alpha103 144 6/5/2025
4.1.12-alpha20 107 8/1/2024
4.1.9-alpha18 105 8/1/2024
4.1.9-alpha15 102 8/1/2024
4.1.9-alpha14 100 8/1/2024
4.1.9-alpha11 125 8/1/2024
4.1.9-alpha10 101 8/1/2024
4.1.8-alpha8 91 7/31/2024
4.1.8-alpha7 94 7/31/2024
4.1.8-alpha6 98 7/31/2024
4.1.0-alpha138 92 7/31/2024
1.0.0-alpha94 174 9/13/2023
1.0.0-alpha93 152 9/13/2023
1.0.0-alpha92 151 9/8/2023
1.0.0-alpha91 152 9/7/2023
1.0.0-alpha90 168 9/7/2023
1.0.0-alpha89 146 9/7/2023
1.0.0-alpha88 147 9/7/2023
1.0.0-alpha87 146 9/7/2023
1.0.0-alpha86 154 9/7/2023
1.0.0-alpha82 157 9/6/2023
1.0.0-alpha81 145 9/6/2023
1.0.0-alpha80 147 9/5/2023
1.0.0-alpha79 149 9/5/2023
1.0.0-alpha78 143 9/5/2023
1.0.0-alpha77 146 9/5/2023
1.0.0-alpha76 141 9/5/2023
1.0.0-alpha74 150 9/5/2023
1.0.0-alpha73 147 9/5/2023
1.0.0-alpha72 161 9/5/2023
1.0.0-alpha70 170 9/5/2023
1.0.0-alpha69 160 9/5/2023
1.0.0-alpha68 160 8/31/2023
1.0.0-alpha67 145 8/31/2023
1.0.0-alpha66 149 8/31/2023
1.0.0-alpha64 170 8/31/2023
1.0.0-alpha63 143 8/31/2023
1.0.0-alpha62 151 8/31/2023
1.0.0-alpha61 143 8/31/2023
1.0.0-alpha60 156 8/24/2023
1.0.0-alpha59 150 8/24/2023
1.0.0-alpha58 149 8/24/2023
1.0.0-alpha56 149 8/24/2023
1.0.0-alpha55 157 8/24/2023
1.0.0-alpha54 154 8/24/2023
1.0.0-alpha53 146 8/24/2023
1.0.0-alpha52 154 8/24/2023
1.0.0-alpha51 147 8/24/2023
1.0.0-alpha50 153 8/24/2023
1.0.0-alpha38 139 8/24/2023
1.0.0-alpha37 144 8/24/2023
1.0.0-alpha36 146 8/24/2023
1.0.0-alpha35 142 8/24/2023
1.0.0-alpha34 171 8/24/2023