Material StreamSet Prop Method
This method is responsible for setting the values for properties of the Material Object.
Definition
Namespace: DWSIM.Thermodynamics.Streams
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 void SetProp(
string property,
string phase,
Object compIds,
string calcType,
string basis,
Object values
)VB
Public Sub SetProp (
property As String,
phase As String,
compIds As Object,
calcType As String,
basis As String,
values As Object
)Parameters
- property String
- The property for which the values need to be set.
- phase String
- Phase for which the property is to be set.
- compIds Object
- Compounds for which values are to be set. UNDEFINED to specify all compounds in the Material Object. For scalar mixture properties such as liquid enthalpy, this qualifier should not be specified. Use UNDEFINED as place holder.
- calcType String
- The calculation type. (valid Calculation Types: Pure and Mixture)
- basis String
- Qualifies the basis (mole / mass). See also 3.3.2.
- values Object
- Values to set for the property.
Implements
ICapeThermoMaterialObjectSetProp(String, String, Object, String, String, Object)Remarks
DWSIM doesn't implement "Pure" calculation type.