from_mPas function

Requirements.Units.Conversions.from_mPas  ยท source

Icon of from_mPas

Convert from millipascal second to pascal second

Extends Modelica.Units.Icons.Conversion

Convert from millipascal second to pascal second: Pas := (1/1000)*mPas. The input mPas is the value in millipascal second (type NonSI.DynamicViscosity_mPas), the output Pas the value in pascal second (type Modelica.Units.SI.DynamicViscosity). The inverse is to_mPas.

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_mPas(<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_mPas(from_mPas(7)).

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

Inputs

NameTypeDescription
mPas inputNonSI.DynamicViscosity_mPasValue in millipascal second

Outputs

NameTypeDescription
Pas outputSI.DynamicViscosityValue in pascal second