StategraphSampletest.mo 582 B

123456789101112
  1. model StategraphSampletest
  2. StategraphSample stategraphSample1 annotation(
  3. Placement(visible = true, transformation(origin = {-10, 8}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  4. Modelica.Blocks.Sources.Ramp ramp1 annotation(
  5. Placement(visible = true, transformation(origin = {-70, 10}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  6. equation
  7. connect(ramp1.y, stategraphSample1.u) annotation(
  8. Line(points = {{-58, 10}, {-18, 10}, {-18, 13}, {-16, 13}}, color = {0, 0, 127}));
  9. annotation(
  10. uses(Modelica(version = "3.2.2")));
  11. end StategraphSampletest;