Opened 9 years ago

Last modified 7 years ago

#3485 new defect

Parameter records are not displayed and cannot be modified in OMEdit GUI

Reported by: Christian Kral <dr.christian.kral@…> Owned by: somebody
Priority: high Milestone: Future
Component: Frontend Version:
Keywords: Cc:

Description

If a model uses parameter records, these records are displayed in the OMEdit GUI as regular parameter entry fields. I attached a sample model of a DC machine to describe the issue using an example. However, the following behavior occurs when double clicking on the DC machine model:

  • Switch to "Losses" and enter "brushParameters(V=1)" in the field brushParameters. Click OK
  • The following code is then inserted ...dcpm(...,brushParameters = brushParameters(V = 1)): this is syntactically incorrect Modelica code
  • When re-opening the DC machine parameter GUI the brushParameters do no appear
  • Remove ,brushParameters = brushParameters(V = 1) from the code
  • Add syntactically correct in the code ...dcpm(...,brushParameters(V = 1))
  • The model checks fine but again, the no brushParameters appear in the GUI

To summarize my investigations, the GUI seems not to be able to handle and display records properly.

Attachments (1)

DCPM_Start.mo (3.0 KB ) - added by Christian Kral <dr.christian.kral@…> 9 years ago.
DC machine model with loss records

Download all attachments as: .zip

Change History (6)

by Christian Kral <dr.christian.kral@…>, 9 years ago

Attachment: DCPM_Start.mo added

DC machine model with loss records

comment:1 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.5

Milestone pushed to 1.9.5

comment:2 by Martin Sjölund, 9 years ago

Milestone: 1.9.51.10.0

Milestone renamed

comment:3 by Martin Sjölund, 8 years ago

Milestone: 1.10.01.11.0

Ticket retargeted after milestone closed

comment:4 by Martin Sjölund, 8 years ago

Milestone: 1.11.01.12.0

Milestone moved to 1.12.0 due to 1.11.0 already being released.

comment:5 by Francesco Casella, 7 years ago

Milestone: 1.12.0Future

The milestone of this ticket has been reassigned to "Future".

If you think the issue is still valid and relevant for you, please select milestone 1.13.0 for back-end, code generation and run-time issues, or 2.0.0 for front-end issues.

If you are aware that the problem is no longer present, please select the milestone corresponding to the version of OMC you used to check that, and set the status to "worksforme".

In both cases, a short informative comment would be welcome.

Note: See TracTickets for help on using tickets.