PumpGetPropertyUnit Method

Returns the display unit string for the specified property.

Definition

Namespace: DWSIM.UnitOperations.UnitOperations
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_PU_0").
su  IUnitsOfMeasure  (Optional)
The unit system to retrieve units from. Defaults to SI if Nothing.

Return Value

String
A unit string such as "Pa", "kW", or an empty string for dimensionless properties.

See Also