MaterialStreamSetOverallProp Method |
Sets non-constant property values for the overall mixture.
Namespace: DWSIM.Thermodynamics.StreamsAssembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax public void SetOverallProp(
string property,
string basis,
Object values
)
Public Sub SetOverallProp (
property As String,
basis As String,
values As Object
)
Request Example
View SourceParameters
- 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
ICapeThermoMaterial.SetOverallProp(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.
See Also