Material StreamSet Overall Prop Method
Sets non-constant property values for the overall mixture.
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 SetOverallProp(
string property,
string basis,
Object values
)VB
Public Sub SetOverallProp (
property As String,
basis As String,
values As Object
)Parameters
- property String
- The identifier of the property for which values are set.
- basis String
- Basis of the results. Valid settings are: “Mass” for Physical Properties per unit mass or “Mole” for molar properties. Use UNDEFINED as a place holder for a Physical Property for which basis does not apply.
- values Object
- Values to set for the property.s
Implements
ICapeThermoMaterialSetOverallProp(String, String, Object)Remarks
The property values set by SetOverallProp refer to the overall mixture. These values are
retrieved by calling the GetOverallProp method. Overall mixture properties are not
calculated by components that implement the ICapeThermoMaterial interface. The property
values are only used as input specifications for the CalcEquilibrium method of a component
that implements the ICapeThermoEquilibriumRoutine interface.
Although some properties set by calls to SetOverallProp will have a single value, the type of
argument values is CapeArrayDouble and the method must always be called with values as
an array even if it contains only a single element.