to_degps function

Requirements.Units.Conversions.to_degps  ยท source

Icon of to_degps

Convert from radian per second to degree per second

Extends Modelica.Units.Icons.Conversion

Convert from radian per second to degree per second: degps := (180/Modelica.Constants.pi)*radps. The input radps is the value in radian per second (type Modelica.Units.SI.AngularVelocity), the output degps the value in degree per second (type NonSI.AngularVelocity_degps). The inverse is from_degps.

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_degps(from_degps(7)).

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

Inputs

NameTypeDescription
radps inputSI.AngularVelocityValue in radian per second

Outputs

NameTypeDescription
degps outputNonSI.AngularVelocity_degpsValue in degree per second