PropertyPackageCalcProp Method |
This method is responsible for doing all calculations on behalf of the Calculation Routine component.
Namespace: DWSIM.Thermodynamics.PropertyPackagesAssembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax public virtual void CalcProp(
Object materialObject,
Object props,
Object phases,
string calcType
)
Public Overridable Sub CalcProp (
materialObject As Object,
props As Object,
phases As Object,
calcType As String
)
Request Example
View SourceParameters
- 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.
Implements
ICapeThermoPropertyPackage.CalcProp(Object, Object, Object, String)See Also