model Sistema_MKC_Grafico "Sistema Massa-Mola-Amortecedor - modelo com componentes da biblioteca gráfica da MSL" Modelica.Mechanics.Translational.Components.Fixed fixed1 annotation( Placement(visible = true, transformation(origin = {80, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 90))); Modelica.Mechanics.Translational.Components.Mass mass1(m = 10) annotation( Placement(visible = true, transformation(origin = {10, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Mechanics.Translational.Components.Spring spring1(c = 1000) annotation( Placement(visible = true, transformation(origin = {52, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Mechanics.Translational.Components.Damper damper1(d = 50) annotation( Placement(visible = true, transformation(origin = {52, -20}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Mechanics.Translational.Sources.Force force1 annotation( Placement(visible = true, transformation(origin = {-28, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Modelica.Blocks.Sources.Step step1(height = 10) annotation( Placement(visible = true, transformation(origin = {-68, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); equation connect(damper1.flange_b, fixed1.flange) annotation( Line(points = {{62, -20}, {80, -20}, {80, 0}, {80, 0}}, color = {0, 127, 0})); connect(spring1.flange_b, fixed1.flange) annotation( Line(points = {{62, 20}, {80, 20}, {80, 0}, {80, 0}}, color = {0, 127, 0})); connect(mass1.flange_b, spring1.flange_a) annotation( Line(points = {{20, 0}, {28, 0}, {28, 20}, {42, 20}}, color = {0, 127, 0})); connect(mass1.flange_b, damper1.flange_a) annotation( Line(points = {{20, 0}, {28, 0}, {28, -20}, {42, -20}, {42, -20}}, color = {0, 127, 0})); connect(force1.flange, mass1.flange_a) annotation( Line(points = {{-18, 0}, {0, 0}, {0, 0}, {0, 0}}, color = {0, 127, 0})); connect(step1.y, force1.f) annotation( Line(points = {{-56, 0}, {-40, 0}, {-40, 0}, {-40, 0}}, color = {0, 0, 127})); annotation( uses(Modelica(version = "3.2.2"))); end Sistema_MKC_Grafico;