Related content
Previous snippet
The following Modelica code corresponds to Figure 19. It has a model A with a component c1 of type C, and a model B that extends A. As a result, B inherits the component c1 from A.
model A
C c1;
end A;
model B
extends A;
end B;