Opened 6 years ago

Last modified 6 years ago

#5021 assigned defect

Wrong handling of selfcreated variables ($) // HideResult

Reported by: Karim.Abdelhak Owned by: Karim.Abdelhak
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 Changed 6 years ago by wbraun

  • Component changed from MetaModelica to Run-time
  • Owner changed from sjoelund.se to Karim.Abdelhak
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.