| 1 | package TestPackage
|
|---|
| 2 | model Test
|
|---|
| 3 | Modelica.Blocks.Sources.Step step annotation(
|
|---|
| 4 | Placement(visible = true, transformation(origin = {-38, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
|---|
| 5 | MyModel myModel annotation(
|
|---|
| 6 | Placement(visible = true, transformation(origin = {20, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
|---|
| 7 | equation
|
|---|
| 8 | connect(myModel.u, step.y) annotation(
|
|---|
| 9 | Line(points = {{10, 0}, {-26, 0}}, color = {0, 0, 127}));
|
|---|
| 10 | end Test;
|
|---|
| 11 | equation
|
|---|
| 12 |
|
|---|
| 13 | annotation(
|
|---|
| 14 | uses(Modelica(version = "3.2.3")));
|
|---|
| 15 | end TestPackage;
|
|---|