| 1 | package P
|
|---|
| 2 | model M
|
|---|
| 3 | P.C c1 annotation (
|
|---|
| 4 | Placement(visible = true, transformation(origin = {110, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {110, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
|---|
| 5 | parameter Real r = 5;
|
|---|
| 6 | equation
|
|---|
| 7 |
|
|---|
| 8 | annotation (Diagram(coordinateSystem(preserveAspectRatio=false)), Icon(
|
|---|
| 9 | coordinateSystem(preserveAspectRatio=false)));
|
|---|
| 10 | end M;
|
|---|
| 11 |
|
|---|
| 12 | model N
|
|---|
| 13 | P.M m1(r(displayUnit="K") = 10, s = 12) annotation (
|
|---|
| 14 | Placement(visible = true, transformation(origin = {-2, 10}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
|---|
| 15 | P.M m2 annotation (
|
|---|
| 16 | Placement(visible = true, transformation(origin={39, 10}, extent={{-10,-11},
|
|---|
| 17 | {10,11}}, rotation = 90)));
|
|---|
| 18 | equation
|
|---|
| 19 |
|
|---|
| 20 | annotation (
|
|---|
| 21 | Diagram(coordinateSystem(initialScale = 0.1, extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, grid = {2, 2})));
|
|---|
| 22 | end N;
|
|---|
| 23 |
|
|---|
| 24 | connector C
|
|---|
| 25 | annotation (
|
|---|
| 26 | Icon(graphics={ Rectangle(fillPattern = FillPattern.Solid, extent = {{-100, 100}, {100, -100}})}));
|
|---|
| 27 | end C;
|
|---|
| 28 | end P;
|
|---|