OpenModelica


Forgot password? | Forgot username? | Register

A 'inner' component may have an 'outer' declaration to itself

A 'inner' component may have an 'outer' declaration to itself

Please refer to this issue: https://github.com/modelica/VehicleInterfaces/issues/18

The problem is:

model myModel
  inner Road road;
end myModel;

model Road
VisualizeSimpleRoads simpleShape;
end road;

model VisualizeSimpleRoads
outer Road road;
end VisualizeSimpleRoads;

Is this possible?
I cannot find any clear statement into the Modelica Specifications.

In Dymola it seems that this can work!

Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests and 0 other users also viewing this topic
You are here: