to_mOhm function

Requirements.Units.Conversions.to_mOhm  ยท source

Icon of to_mOhm

Convert from ohm to milliohm

Extends Modelica.Units.Icons.Conversion

Convert from ohm to milliohm: mOhm := 1000*Ohm. The input Ohm is the value in ohm (type Modelica.Units.SI.Resistance), the output mOhm the value in milliohm (type NonSI.Resistance_mOhm). The inverse is from_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 give a variable of the model in the unit in which the requirement states it; see Conversions. Examples.Elementary.Units.Conversions asserts it through the round trip to_mOhm(from_mOhm(7)).

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

Inputs

NameTypeDescription
Ohm inputSI.ResistanceValue in ohm

Outputs

NameTypeDescription
mOhm outputNonSI.Resistance_mOhmValue in milliohm