EnergyStreamGetPropertyValue Method

Returns the value of the specified property converted to the given unit system.

Definition

Namespace: DWSIM.UnitOperations.Streams
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
public override Object GetPropertyValue(
	string prop,
	IUnitsOfMeasure su = null
)

Parameters

prop  String
The property identifier string (e.g., "PROP_ES_0").
su  IUnitsOfMeasure  (Optional)
The unit system to use for conversion; defaults to SI if not provided.

Return Value

Object
The property value as an Object in the requested unit system.

See Also