Opened 5 years ago
Last modified 5 years ago
#5618 closed defect
Erroneous unit of sine phase angle — at Initial Version
Reported by: | massimo ceraolo | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | high | Milestone: | 1.16.0 |
Component: | OMEdit | Version: | v1.14.0-dev-nightly |
Keywords: | Cc: | Andrea Bartolini |
Description
OMedit provides automatic conversion of sine wave phase angle from radians to degrees and vice versa.
this is nice, but in the current implementation has ha tricky side-effects when symbolic parameters are used. Consider the following model:
model Test import Modelica.Constants.pi; Modelica.Blocks.Sources.Sine sine1(phase = pi / 2) annotation( Placement(visible = true, transformation(origin = {0, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); equation annotation( Diagram(coordinateSystem(extent = {{-100, -80}, {100, 80}})), uses(Modelica(version = "3.2.3"))); end Test;
When we souble-click on sine1 the phase is erroneously indicated as being degrees.
Note:
See TracTickets
for help on using tickets.