to_barps function

Requirements.Units.Conversions.to_barps  ยท source

Icon of to_barps

Convert from pascal per second to bar per second

Extends Modelica.Units.Icons.Conversion

Convert from pascal per second to bar per second: bar_s := (1/100000)*Pa_s. The input Pa_s is the value in pascal per second (type Modelica.Units.SI.PressureSlope), the output bar_s the value in bar per second (type NonSI.PressureSlope_barps). The inverse is from_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 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_barps(from_barps(7)).

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

Inputs

NameTypeDescription
Pa_s inputSI.PressureSlopeValue in pascal per second

Outputs

NameTypeDescription
bar_s outputNonSI.PressureSlope_barpsValue in bar per second