Opened 6 years ago

Last modified 6 years ago

#5021 assigned defect

Wrong handling of selfcreated variables ($) // HideResult

Reported by: Karim Adbdelhak Owned by: Karim Adbdelhak
Priority: normal Milestone: Future
Component: Run-time Version:
Keywords: Selfcreated, HideResult Cc:

Description

The expected behaviour of self created variables should be, that they are not shown in the result file (e.g. $cse variables). Currently they are shown if they have an alias that needs to be shown (due to accessibility i guess) but there are more exceptions to this rule to be made:

  • Optimica expressions (optimization goals should of course be shown)
  • StateSet variables (controllable by a flag?)
  • [...?]

Self created variables are detected by the first character beeing equal to '$', but that is not always the case (e.g. derivatives of StateSet variables).
Possible Fix: Use "HideResult"-property while creating variables instead.

Change History (1)

comment:1 by Willi Braun, 6 years ago

Component: MetaModelicaRun-time
Owner: changed from Martin Sjölund to Karim Adbdelhak
Status: newassigned
Note: See TracTickets for help on using tickets.