from_degps2 function
Requirements.Units.Conversions.from_degps2
ยท source
Convert from degree per second squared to radian per second squared
Extends Modelica.Units.Icons.Conversion
Convert from degree per second squared to radian per second squared: radps2 := (Modelica.Constants.pi/180)*degps2. The input degps2 is the value in degree per second squared (type NonSI.AngularAcceleration_degps2), the output radps2 the value in radian per second squared (type Modelica.Units.SI.AngularAcceleration). The inverse is to_degps2.
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_degps2(<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_degps2(from_degps2(7)).
Copyright © 2026 Model Based Innovation LLC. All rights reserved.
Inputs
| Name | Type | Description |
|---|---|---|
degps2 input | NonSI.AngularAcceleration_degps2 | Value in degree per second squared |
Outputs
| Name | Type | Description |
|---|---|---|
radps2 output | SI.AngularAcceleration | Value in radian per second squared |