EnergyStreamGetPropertyUnit Method

Returns the unit string for the specified property in the given unit system.

Definition

Namespace: DWSIM.UnitOperations.Streams
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
public override string GetPropertyUnit(
	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; defaults to SI if not provided.

Return Value

String
A string representing the unit of the property.

See Also