UnitSystem Enumeration

Unit systems available in the MIKE 1D system

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public enum UnitSystem

Members

Default0 Default, metric (SI) unit system, using eum Default Units. For SI base units, use Engine
User1 User defined unit system. If no user unit is provided for a quantity, the default is being used.
UBG2 UBG unit system (Unit Base Group). This is using the GetUBGUnitProvider
US3 US unit system. This is using the GetUSUnitProvider
Automatic-1 Determine unit system automatically.

Use this e.g. when loading a result data object from storage and you want to use the unit system value stored with the result data (the unit system of the simulation)

Engine10 Engine unit system, mostly SI base units
NoConversion-2 Do not apply any unit conversions, but read/write data directly from/to storage

Extension Methods

IsOneOf Returns true if enumeration is one of the listed ones.
(Defined by GenericExtensions)

See Also