Opened 12 years ago

Closed 7 years ago

#1783 closed defect (fixed)

Inner/outer handling fails for some cases

Reported by: Per Östlund Owned by: Per Östlund
Priority: normal Milestone: 2.0.0
Component: New Instantiation Version: trunk
Keywords: Cc:

Description

The following model generates two stateGraphRoot.activeStepsDummy = 0.0 equations, but one of them should be prefixed with tankController.makeProduct.

model TankController 
  parameter Real limit = 0.98;
  MakeProduct makeProduct(limit = limit);
  Real lt = makeProduct.limit;
end TankController;

model MakeProduct 
  inner outer StateGraphRoot stateGraphRoot;
  parameter Real limit = 0.98;
end MakeProduct;

model StateGraphRoot 
  Real activeStepsDummy;
equation
  activeStepsDummy = 0;
end StateGraphRoot;

model ControlledTanks 
  TankController tankController;
  inner StateGraphRoot stateGraphRoot;
end ControlledTanks;

I don't really expect this ticket to be resolved with the current instantiation, so this ticket is mostly just a reminder to make sure this works in the new instantiation.

Change History (2)

comment:1 by Francesco Casella, 7 years ago

Component: FrontendNew Instantiation
Milestone: Future2.0.0
Owner: changed from somebody to Per Östlund

comment:2 by Per Östlund, 7 years ago

Resolution: fixed
Status: newclosed

This works fine in the new instantiation now.

Note: See TracTickets for help on using tickets.