Property PackageCalc Prop Method
This method is responsible for doing all calculations on behalf of the Calculation Routine component.
Definition
Namespace: DWSIM.Thermodynamics.PropertyPackages
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
public virtual void CalcProp(
Object materialObject,
Object props,
Object phases,
string calcType
)VB
Public Overridable Sub CalcProp (
materialObject As Object,
props As Object,
phases As Object,
calcType As String
)Parameters
- materialObject Object
- The Material Object of the calculation.
- props Object
- The list of properties to be calculated.
- phases Object
- List of phases for which the properties are to be calculated.
- calcType String
- Type of calculation: Mixture Property or Pure Compound Property. For partial property, such as fugacity coefficients of compounds in a mixture, use “Mixture” CalcType. For pure compound fugacity coefficients, use “Pure” CalcType.