Related content
Previous snippet
The following Modelica code corresponds to Figure 20. It has a model A with component c1 indicated as replaceable, and a model B extending A with a component of the same name redeclaring it to alter the type (compare
to Subclause 10.4.3).
model A
replaceable C c1;
end A;
model B
extends A;
redeclare D c1;
end B;