| 1 | model test
|
|---|
| 2 | Modelica.Blocks.Math.Sum sum1(nin = 2) annotation(
|
|---|
| 3 | Placement(visible = true, transformation(origin = {-50, 10}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
|---|
| 4 | Modelica.Blocks.Sources.RealExpression realExpression1 annotation(
|
|---|
| 5 | Placement(visible = true, transformation(origin = {-110, 30}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
|---|
| 6 | Modelica.Blocks.Sources.RealExpression realExpression2 annotation(
|
|---|
| 7 | Placement(visible = true, transformation(origin = {-110, -10}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
|
|---|
| 8 | equation
|
|---|
| 9 | connect(realExpression1.y, sum1.u[1]) annotation(
|
|---|
| 10 | Line(points = {{-98, 30}, {-80, 30}, {-80, 10}, {-62, 10}, {-62, 10}}, color = {0, 0, 127}));
|
|---|
| 11 | connect(realExpression2.y, sum1.u[2]) annotation(
|
|---|
| 12 | Line(points = {{-98, -10}, {-80, -10}, {-80, 10}, {-62, 10}, {-62, 10}}, color = {0, 0, 127}));
|
|---|
| 13 | annotation(
|
|---|
| 14 | uses(Modelica(version = "3.2.3")));
|
|---|
| 15 | end test;
|
|---|