Click or drag to resize

MaterialStreamGetOverallProp Method

Retrieves non-constant Physical Property values for the overall mixture.

Namespace: DWSIM.Thermodynamics.Streams
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax
public void GetOverallProp(
	string property,
	string basis,
	ref Object results
)
Request Example View Source

Parameters

property  String
The identifier of the Physical Property for which values are requested. This must be one of the single-phase Physical Properties or derivatives that can be stored for the overall mixture. The standard identifiers are listed in sections 7.5.5 and 7.6.
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. See section 7.5.5 for details.
results  Object
Results vector containing Physical Property value(s) in SI units.

Implements

ICapeThermoMaterial.GetOverallProp(String, String, Object)
Remarks
The Physical Property values returned by GetOverallProp refer to the overall mixture. These values are set by calling the SetOverallProp method. Overall mixture Physical 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. It is expected that this method will normally be able to provide Physical Property values on any basis, i.e. it should be able to convert values from the basis on which they are stored to the basis requested. This operation will not always be possible. For example, if the molecular weight is not known for one or more Compounds, it is not possible to convert between a mass basis and a molar basis. Although the result of some calls to GetOverallProp will be a single value, the return type is CapeArrayDouble and the method must always return an array even if it contains only a single element.
See Also