Click or drag to resize

Calculator Class

Inheritance Hierarchy
SystemObject
  DWSIM.Thermodynamics.CalculatorInterfaceCalculator

Namespace: DWSIM.Thermodynamics.CalculatorInterface
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax
[SerializableAttribute]
[GuidAttribute("5F2B671E-FA61-401e-8D14-71FB5B328F9B")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[ComClassAttribute("5F2B671E-FA61-401e-8D14-71FB5B328F9B", "0EA44EDE-AD65-435c-B8CC-0D1146BD182B", 
	"0817BD3F-5278-4e49-A7FB-92416A8A7E4E")]
public class Calculator : Calculator_Calculator
Request Example View Source

The Calculator type exposes the following members.

Constructors
 NameDescription
Public methodCalculator 
Top
Properties
 NameDescription
Public propertyAvailableCompounds 
Top
Methods
 NameDescription
Public methodCalcEquilibrium Calculates Phase Equilibria for a given mixture at specified conditions.
Public methodCalcProp(PropertyPackage, String, String, String, String, Double, Double, Double, Object, Object, Object, Object) Calculates properties using the selected Property Package.
Public methodCalcProp(String, String, String, String, String, Double, Double, Double, Object, Object, Object, Object) Calculates properties using the selected Property Package.
Public methodCalcTwoPhaseProp(PropertyPackage, String, String, String, String, String, Double, Double, Double, Double, Object, Object, Object, Object) Calculates two phase properties (K-values, Ln(K-values) or Surface Tension) using the selected Property Package.
Public methodCalcTwoPhaseProp(String, String, String, String, String, String, Double, Double, Double, Double, Object, Object, Object, Object) Calculates two phase properties (K-values, Ln(K-values) or Surface Tension) using the selected Property Package.
Public methodCreateMaterialStream Setups a Material Stream with the specified compounds.
Public methodDisableParallelProcessing Disables CPU parallel processing.
Public methodDisableSIMDExtensions Deactivates CPU-accelerated SIMD vector operations.
Public methodEnableParallelProcessing Enables CPU parallel processing for some tasks.
Public methodEnableSIMDExtensions Activates CPU-accelerated SIMD vector operations.
Public methodGetCompoundConstProp Returns a single constant property value for a compound.
Public methodGetCompoundConstPropList Returns a list of the available single compound constant properties.
Public methodGetCompoundList Returns a list of the available compounds.
Public methodGetCompoundPDepProp Returns a single pressure-dependent property value for a compound.
Public methodGetCompoundPDepPropList Returns a list of the available single compound pressure-dependent properties.
Public methodGetCompoundTDepProp Returns a single temperature-dependent property value for a compound.
Public methodGetCompoundTDepPropList Returns a list of the available single compound temperature-dependent properties.
Public methodGetInteractionParameterSet "Returns the interaction parameters stored in DWSIM's database for a given binary/model combination.
Public methodGetModelList Returns a list of the thermodynamic models.
Public methodGetPhaseList Returns a list of the available phases.
Public methodGetPropList Returns a list of the available single-phase properties.
Public methodGetPropPackInstance Returns a Property Package instance that can be reused on multiple function calls.
Public methodGetPropPackList Returns a list of the available Property Packages.
Public methodGetTwoPhasePropList Returns a list of the available two-phase properties.
Public methodInitialize Initializes the calculator and loads the compound databases into memory.
Public methodInitialize(String) Initializes the calculator and loads the compound databases into memory, including the specified user databases.
Public methodLink Links/Associates a Material Stream with a Property Package and vice-versa.
Private methodLoadBDDB 
Public methodLoadCheDLDB 
Private methodLoadCPDB 
Private methodLoadCSDB 
Private methodLoadDWSIMDB 
Private methodLoadEDB 
Private methodLoadUserDB 
Public methodPHFlash(PropertyPackage, Int32, Double, Double, String, Double, Object, Object, Object, Object, Double) Calculates a PH Flash using the referenced Property Package.
Public methodPHFlash(String, Int32, Double, Double, String, Double, Object, Object, Object, Object, Double) Calculates a PH Flash using the selected Property Package.
Public methodPSFlash(PropertyPackage, Int32, Double, Double, String, Double, Object, Object, Object, Object, Double) Calculates a PS Flash using the referenced Property Package.
Public methodPSFlash(String, Int32, Double, Double, String, Double, Object, Object, Object, Object, Double) Calculates a PH Flash using the selected Property Package.
Public methodPTFlash(PropertyPackage, Int32, Double, Double, String, Double, Object, Object, Object, Object) Calculates a PT Flash using the referenced Property Package.
Public methodPTFlash(String, Int32, Double, Double, String, Double, Object, Object, Object, Object) Calculates a PT Flash using the selected Property Package.
Public methodPVFFlash(PropertyPackage, Int32, Double, Double, String, Double, Object, Object, Object, Object, Double) Calculates a PVF Flash using the referenced Property Package.
Public methodPVFFlash(String, Int32, Double, Double, Object, Double, Object, Object, Object, Object, Double) Calculates a PVF Flash using the selected Property Package.
Public methodSetDebugLevel Sets the debug level, which controls the amount of information which is written to the screen.
Public methodSetupPropertyPackage Setups a Material Stream with the specified compounds and associated it with the property package.
Public methodTransferCompounds 
Public methodTVFFlash(PropertyPackage, Int32, Double, Double, String, Double, Object, Object, Object, Object, Double) Calculates a TVF Flash using the referenced Property Package.
Public methodTVFFlash(String, Int32, Double, Double, String, Double, Object, Object, Object, Object, Double) Calculates a TVF Flash using the selected Property Package.
Top
Fields
Extension Methods
 NameDescription
Public Extension MethodGetEnumNames
(Defined by General)
Public Extension MethodIsValidDouble
(Defined by General)
Top
See Also