Echo.mo 704 B

123456789101112
  1. model Echo
  2. Modelica.Blocks.Interfaces.RealInput u annotation(
  3. Placement(visible = true, transformation(origin = {-100, 0}, extent = {{-20, -20}, {20, 20}}, rotation = 0), iconTransformation(origin = {-80, 0}, extent = {{-20, -20}, {20, 20}}, rotation = 0)));
  4. Modelica.Blocks.Interfaces.RealOutput y annotation(
  5. 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)));
  6. equation
  7. connect(u, y) annotation(
  8. Line(points = {{-100, 0}, {104, 0}, {104, 0}, {110, 0}}, color = {0, 0, 127}));
  9. annotation(
  10. uses(Modelica(version = "3.2.2")));
  11. end Echo;