﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4801	Possible display unit are handled differently for variables and outputs (and inputs)	Christian Kral <dr.christian.kral@…>	Adeel Asghar	"Please consider the following example, which is triggered by investigations related with https://github.com/modelica/Modelica/issues/2488:

{{{#!mo
package TestAngle
  block AngleBlock
    parameter Modelica.SIunits.Angle phi = 0.1 ""Angle"";
    extends Modelica.Blocks.Interfaces.SO(y(unit=""rad""));
  equation
    y=phi;
  end AngleBlock;
  model TestAngleBlock
    AngleBlock angleBlock 
      annotation (Placement(transformation(extent={{-10,-10},{10,10}})));
  end TestAngleBlock;
  annotation (uses(Modelica(version=""3.2.2"")));
end TestAngle;
}}}

When simulating the example TestAngleBlock two variables can be plotted:
 * {{{angleBlock.phi}}}: when plotted, displayUnit = ""deg"" but can be switched to ""rad"" as well
 * {{{angleBlock.}}}: the only available displayUnit is ""rad""

So when both variables are plotted, only one can be displayed in ""deg"". I think both variables should have the option to be shown in ""deg""."	defect	new	high	Future	OMEdit	v1.13.0-dev-nightly			
