Wrong unit in ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend examples #3127
Labels
L: ModelicaTest
Issue addresses ModelicaTest, ModelicaTestConversion4 or ModelicaTestOverdetermined
Milestone
In ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW we have this line:
parameter Modelica.SIunits.Conversions.NonSIunits.Angle_deg delta[3] = {30, 45, 90} * Modelica.Constants.pi / 180 "Angle of turning";
and in ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW this line:
parameter Modelica.SIunits.Conversions.NonSIunits.Angle_deg delta[4] = {30, 45, 90, 180} * Modelica.Constants.pi / 180 "Angle of turning";
it seems to me that both right hand sides converts angles from degrees to radians, so the result is in radians. However, the variables on the left hand sides have their units set to degrees.
The text was updated successfully, but these errors were encountered: