from_mbar function
Requirements.Units.Conversions.from_mbar
ยท source
Convert from millibar to pascal
Extends Modelica.Units.Icons.Conversion
Convert from millibar to pascal: Pa := mbar*100. The input mbar is the value in millibar (type NonSI.Pressure_mbar), the output Pa the value in pascal (type Modelica.Units.SI.Pressure). The inverse is to_mbar.
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_mbar(<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_mbar(from_mbar(7)).
Copyright © 2026 Model Based Innovation LLC. All rights reserved.
Inputs
| Name | Type | Description |
|---|---|---|
mbar input | NonSI.Pressure_mbar | Value in millibar |
Outputs
| Name | Type | Description |
|---|---|---|
Pa output | SI.Pressure | Value in pascal |