Opened 4 years ago

Closed 4 years ago

#6036 closed defect (duplicate)

show/get parameter from submodules

Reported by: lukas.koenemann@… Owned by: Adeel Asghar
Priority: high Milestone: Future
Component: OMEdit Version:
Keywords: parameter inheritance Cc:

Description

Is it possible to load all parameters to a main model from a submodule without explicit declaring them in the main model (no inner/outer; no sumodul m1(par1=par1))?

Example

model submodel
  parameter Real p1 "this is parameter 1";
end submodel;

model mainmodel
  submodel sm2;
end mainmodel;

model test
  mainmodel m1;
  ...
equation
  ...
end test;

Now I want to load the mainmodel into the test environment and get access to the parameter of the submodel via the parameter user interface from OMEdit. The best solution would be if the parameters of the submodules were shown in an tab of the mainmodule.

Change History (1)

comment:1 by Francesco Casella, 4 years ago

Resolution: duplicate
Status: newclosed

If I understand correctly, this is a duplicate of #2891. We are planning to address this issue starting next September and to implement it ASAP.

Feel free to reopen this ticket if I misunderstood your requirement.

Note: See TracTickets for help on using tickets.