Opened 4 years ago

Last modified 3 years ago

#6142 new enhancement

Allow to set parameter values in redeclared elements in OMEdit

Reported by: Francesco Casella Owned by: Adrian Pop
Priority: blocker Milestone: 1.19.0
Component: OMEdit Version:
Keywords: Cc: ahaumer@…

Description

After #2079 was closed, OMEdit can handle replaceable classes and redeclare statements without modifiers.

It should also be possible to set modifiers on parameters (and possibly replaceable classes) of the redeclared class.

The attached package provides a non-trivial test case involving multiple inheritance.

Attachments (2)

TestReplaceablePar.mo (750 bytes ) - added by Francesco Casella 4 years ago.
DC_Drive.2.mo (107.5 KB ) - added by Francesco Casella 4 years ago.

Download all attachments as: .zip

Change History (5)

by Francesco Casella, 4 years ago

Attachment: TestReplaceablePar.mo added

comment:1 by Francesco Casella, 4 years ago

Cc: ahaumer@… added
Milestone: 1.17.01.18.0

Added test case courtesy of @ahaumer. One should be able to locally modify the values of the individual parameter record elements.

Set the target to 1.18.0 as agreed upon with @adrpo.

by Francesco Casella, 4 years ago

Attachment: DC_Drive.2.mo added

comment:2 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

comment:3 by Francesco Casella, 3 years ago

Milestone: 1.19.0

1.18.0 blocker tickets moved to 1.19.0

Note: See TracTickets for help on using tickets.