from_mOhm function

Requirements.Units.Conversions.from_mOhm  ยท source

Icon of from_mOhm

Convert from milliohm to ohm

Extends Modelica.Units.Icons.Conversion

Convert from milliohm to ohm: Ohm := (1/1000)*mOhm. The input mOhm is the value in milliohm (type NonSI.Resistance_mOhm), the output Ohm the value in ohm (type Modelica.Units.SI.Resistance). The inverse is to_mOhm.

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_mOhm(<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_mOhm(from_mOhm(7)).

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

Inputs

NameTypeDescription
mOhm inputNonSI.Resistance_mOhmValue in milliohm

Outputs

NameTypeDescription
Ohm outputSI.ResistanceValue in ohm