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