Opened 10 years ago

Closed 10 years ago

Last modified 6 years ago

#2806 closed defect (fixed)

Instantial Model should show only top level inputs and outputs as inputs and outputs

Reported by: vitalij Owned by: perost
Priority: normal Milestone: 1.9.4
Component: Frontend Version: trunk
Keywords: Cc: adeas31

Description

Consider this example

package test

 block blockA
  input Real in_x;
  output Real out_x = in_x;
 end blockA;

  model B
   blockA A(in_x = time);
   Real x;
  equation
   A.out_x = x;
  end B;

end test;

Instantial Model create

class test.B
  input Real A.in_x = time;
  output Real A.out_x = A.in_x;
  Real x;
equation
  A.out_x = x;
end test.B;

with some inputs and outputs. But the model B don't have any inputs and outputs

Change History (5)

comment:1 Changed 10 years ago by adrpo

  • Component changed from OMEdit to Frontend
  • Owner changed from adeas31 to somebody

comment:2 Changed 10 years ago by perost

  • Owner changed from somebody to perost
  • Status changed from new to accepted

Partially fixed in r22170, but still needs to be fixed for record components also.

Last edited 10 years ago by perost (previous) (diff)

comment:3 Changed 10 years ago by perost

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed for record components also in r22197. Let me know if I've missed any cases.

comment:4 Changed 8 years ago by dietmarw

  • Milestone changed from Future to pre1.9.4

It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.

comment:5 Changed 6 years ago by sjoelund.se

  • Milestone changed from pre1.9.4 to 1.9.4

Removing the pre1.9.4 milestone in favor of 1.9.4.

Note: See TracTickets for help on using tickets.