The to_deg function converts radian values into degree values.
function to_deg extends Modelica.SIunits.Conversions.ConversionIcon; input Modelica.SIunits.Angle radian "radian value"; output Modelica.SIunits.Conversions.NonSIunits.Angle_deg degree "degree value"; end to_deg;