from_barps function
Requirements.Units.Conversions.from_barps
ยท source
Convert from bar per second to pascal per second
Extends Modelica.Units.Icons.Conversion
Convert from bar per second to pascal per second: Pa_s := 100000*bar_s. The input bar_s is the value in bar per second (type NonSI.PressureSlope_barps), the output Pa_s the value in pascal per second (type Modelica.Units.SI.PressureSlope). The inverse is to_barps.
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_barps(<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_barps(from_barps(7)).
Copyright © 2026 Model Based Innovation LLC. All rights reserved.
Inputs
| Name | Type | Description |
|---|---|---|
bar_s input | NonSI.PressureSlope_barps | Value in bar per second |
Outputs
| Name | Type | Description |
|---|---|---|
Pa_s output | SI.PressureSlope | Value in pascal per second |