model NewTry Modelica.Blocks.Continuous.Integrator intY1(k = 1, ystart = 4) annotation(…
- User
model NewTry Modelica.Blocks.Continuous.Integrator intY1(k = 1, y_start = 4) annotation( Placement(visible = true, transformation(extent = {{-76, 64}, {-56, 84}}, rotation = 0))); Modelica.Blocks.Continuous.Integrator intY2(k = 1, y_start = 1.1) annotation( Placement(visible = true, transformation(extent = {{-76, -22}, {-56, -2}}, rotation = 0))); Modelica.Blocks.Continuous.Integrator intY3(k = 1, y_start = 4) annotation( Placement(visible = true, transformation(extent = {{-76, -68}, {-56, -48}}, rotation = 0))); Modelica.Blocks.Math.Product y1_y2_product1 annotation( Placement(visible = true, transformation(origin = {-2, 52}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Blocks.Math.Product y1_y1_product annotation( Placement(visible = true, transformation(origin = {-2, 80}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Blocks.Math.Add add(k1 = -1) annotation( Placement(visible = true, transformation(origin = {38, 46}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Blocks.Math.Add add1 annotation( Placement(visible = true, transformation(origin = {68, 52}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Blocks.Math.Add add2(k1 = -8.375e-6) annotation( Placement(visible = true, transformation(origin = {100, 74}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Blocks.Math.Gain gain(k = 77.27) annotation( Placement(visible = true, transformation(origin = {132, 74}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Blocks.Math.Product y1_y2_product2 annotation( Placement(visible = true, transformation(origin = {-28, 4}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Blocks.Math.Add add3(k1 = -1, k2 = -1) annotation( Placement(visible = true, transformation(origin = {12, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Blocks.Math.Add add4 annotation( Placement(visible = true, transformation(origin = {46, -6}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Blocks.Math.Add add5(k2 = -1) annotation( Placement(visible = true, transformation(origin = {0, -76}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Blocks.Math.Gain gain1(k = 0.161) annotation( Placement(visible = true, transformation(origin = {44, -76}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Blocks.Math.Gain gain2(k = 1 / 77.27) annotation( Placement(visible = true, transformation(origin = {80, -6}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); equation connect(intY1.y, y1_y2_product1.u1) annotation( Line(points = {{-54, 74}, {-34, 74}, {-34, 58}, {-14, 58}}, color = {0, 0, 127})); connect(intY2.y, y1_y2_product1.u2) annotation( Line(points = {{-55, -12}, {-14, -12}, {-14, 46}}, color = {0, 0, 127})); connect(intY1.y, y1_y1_product.u1) annotation( Line(points = {{-54, 74}, {-19, 74}, {-19, 86}, {-14, 86}}, color = {0, 0, 127})); connect(intY1.y, y1_y1_product.u2) annotation( Line(points = {{-54, 74}, {-14, 74}}, color = {0, 0, 127})); connect(intY2.y, add.u2) annotation( Line(points = {{-55, -12}, {26, -12}, {26, 40}}, color = {0, 0, 127})); connect(y1_y2_product1.y, add.u1) annotation( Line(points = {{10, 52}, {26, 52}}, color = {0, 0, 127})); connect(add.y, add1.u2) annotation( Line(points = {{50, 46}, {56, 46}}, color = {0, 0, 127})); connect(intY1.y, add1.u1) annotation( Line(points = {{-54, 74}, {56, 74}, {56, 58}}, color = {0, 0, 127})); connect(add1.y, add2.u2) annotation( Line(points = {{80, 52}, {88, 52}, {88, 68}}, color = {0, 0, 127})); connect(y1_y1_product.y, add2.u1) annotation( Line(points = {{10, 80}, {88, 80}}, color = {0, 0, 127})); connect(add2.y, gain.u) annotation( Line(points = {{112, 74}, {120, 74}}, color = {0, 0, 127})); connect(intY1.y, y1_y2_product2.u1) annotation( Line(points = {{-54, 74}, {-40, 74}, {-40, 10}}, color = {0, 0, 127})); connect(intY2.y, y1_y2_product2.u2) annotation( Line(points = {{-54, -12}, {-40, -12}, {-40, -2}}, color = {0, 0, 127})); connect(intY2.y, add3.u1) annotation( Line(points = {{-54, -12}, {-3, -12}, {-3, 6}, {0, 6}}, color = {0, 0, 127})); connect(y1_y2_product2.y, add3.u2) annotation( Line(points = {{-16, 4}, {-16, -6}, {0, -6}}, color = {0, 0, 127})); connect(add3.y, add4.u1) annotation( Line(points = {{24, 0}, {34, 0}}, color = {0, 0, 127})); connect(intY3.y, add4.u2) annotation( Line(points = {{-54, -58}, {34, -58}, {34, -12}}, color = {0, 0, 127})); connect(intY3.y, add5.u2) annotation( Line(points = {{-54, -58}, {-12, -58}, {-12, -82}}, color = {0, 0, 127})); connect(intY1.y, add5.u1) annotation( Line(points = {{-54, 74}, {-12, 74}, {-12, -70}}, color = {0, 0, 127})); connect(add5.y, gain1.u) annotation( Line(points = {{12, -76}, {32, -76}}, color = {0, 0, 127})); connect(add4.y, gain2.u) annotation( Line(points = {{58, -6}, {68, -6}}, color = {0, 0, 127})); annotation( uses(Modelica(version = "3.2.3"))); end NewTry;
- Assistant