Click or drag to resize

PropertyPackagePropCheck1 Method

Checks to see if a given type of flash calculations can be performed and whether the properties can be calculated after the flash calculation.

Namespace: DWSIM.Thermodynamics.PropertyPackages
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 8.8.1.0
Syntax
public virtual void PropCheck1(
	Object materialObject,
	string flashType,
	Object props,
	ref Object valid
)
Request Example View Source

Parameters

materialObject  Object
The Material Object for the calculations.
flashType  String
Type of flash calculation to check
props  Object
List of Properties to check. UNDEFINED for none.
valid  Object
The array of booleans for flash and property. First element is reserved for flashType.

Implements

ICapeThermoEquilibriumServer.PropCheck(Object, String, Object, Object)
Remarks
As it was unclear from the original specification what PropCheck should exactly be checking, and as the argument list does not include a phase specification, implementations vary. It is generally expected that PropCheck at least verifies that the Property is available for calculation in the Material Object. However, this can also be verified with PropList. It is advised not to use PropCheck. DWSIM doesn't implement this interface.
See Also