from_mH function

Requirements.Units.Conversions.from_mH  ยท source

Icon of from_mH

Convert from millihenry to henry

Extends Modelica.Units.Icons.Conversion

Convert from millihenry to henry: H := (1/1000)*mH. The input mH is the value in millihenry (type NonSI.Inductance_mH), the output H the value in henry (type Modelica.Units.SI.Inductance). The inverse is to_mH.

The conversion is a multiplication by a constant factor, without offset, so it converts differences and rates alike; it is exact up to floating-point rounding and has no limits on the input. The function is inlined. A check model uses it to write a value of a requirement in the unit in which the requirement states it, from_mH(<value as written>), so that the model reads like the statement; see Conversions. Examples.Elementary.Units.Conversions asserts its factor and the round trip to_mH(from_mH(7)).

Copyright © 2026 Model Based Innovation LLC. All rights reserved.

Inputs

NameTypeDescription
mH inputNonSI.Inductance_mHValue in millihenry

Outputs

NameTypeDescription
H outputSI.InductanceValue in henry