from_barps function

Requirements.Units.Conversions.from_barps  ยท source

Icon of from_barps

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

NameTypeDescription
bar_s inputNonSI.PressureSlope_barpsValue in bar per second

Outputs

NameTypeDescription
Pa_s outputSI.PressureSlopeValue in pascal per second