to_barps function
Requirements.Units.Conversions.to_barps
ยท source
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
| Name | Type | Description |
|---|---|---|
Pa_s input | SI.PressureSlope | Value in pascal per second |
Outputs
| Name | Type | Description |
|---|---|---|
bar_s output | NonSI.PressureSlope_barps | Value in bar per second |