Opened 4 years ago
Last modified 4 years ago
#6279 reopened defect
FMU shows parameters that should be hidden — at Initial Version
Reported by: | massimo ceraolo | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | FMI | Version: | v1.17.0-dev |
Keywords: | Cc: | Karim Adbdelhak, Andreas Heuermann, arunkumar palanisamy |
Description
Consider model TestFMU below (annotations dropped)
model TestFMU parameter Real K = 1; Modelica.Blocks.Interfaces.RealInput u; Modelica.Blocks.Interfaces.RealOutput; Modelica.Blocks.Math.Gain gain1(k = K / 2); Modelica.Blocks.Math.Gain gain(k = 1); equation connect(gain1.u, u); connect(gain1.y, gain.u); connect(gain.y, y); end TestFMU;
I exported it as FMU-ME 2.0 and imported into Dymola the parameter window is as in the enclosed file screen.png.
I think the parameter gain1_k shouldn't be visible in the dialog box, since it is internally computed through a binding formula.
Change History (3)
by , 4 years ago
Attachment: | screen.png added |
---|
by , 4 years ago
Attachment: | TestFMU.mo added |
---|
by , 4 years ago
Attachment: | settings.png added |
---|
Note:
See TracTickets
for help on using tickets.