| 1 | within ;
|
|---|
| 2 | model testParameter
|
|---|
| 3 | Modelica.Mechanics.MultiBody.Parts.FixedTranslation cs1(r={0,-0.760,-0.115},
|
|---|
| 4 | animation=false)
|
|---|
| 5 | annotation (Placement(transformation(extent={{-54,44},{-18,80}})));
|
|---|
| 6 | Modelica.Mechanics.MultiBody.Parts.FixedTranslation cs2(r={-0.180,0,-0.115},
|
|---|
| 7 | animation=false)
|
|---|
| 8 | annotation (Placement(transformation(extent={{-52,-50},{-32,-30}})));
|
|---|
| 9 | Modelica.Mechanics.MultiBody.Parts.BodyShape b1(
|
|---|
| 10 | m=259.1,
|
|---|
| 11 | r={0,0,0},
|
|---|
| 12 | r_CM={-0.001,-0.135,0},
|
|---|
| 13 | I_11=4.892,
|
|---|
| 14 | I_22=6.270,
|
|---|
| 15 | I_33=4.607,
|
|---|
| 16 | I_21=-0.035,
|
|---|
| 17 | I_31=-0.016,
|
|---|
| 18 | I_32=0.020,
|
|---|
| 19 | shapeType="modelica://MH_City_RT_meca/data/stl/achsschenkel_rechts.stl",
|
|---|
| 20 | useQuaternions=true,
|
|---|
| 21 | enforceStates=false,
|
|---|
| 22 | lengthDirection={1,0,0},
|
|---|
| 23 | color={200,0,0},
|
|---|
| 24 | animation=false)
|
|---|
| 25 | annotation (Placement(transformation(extent={{132,10},{156,34}})));
|
|---|
| 26 | Modelica.Mechanics.MultiBody.Parts.BodyShape b3(
|
|---|
| 27 | r={0,0,0},
|
|---|
| 28 | r_CM={0,0,0},
|
|---|
| 29 | m=19.7,
|
|---|
| 30 | I_11=0.938,
|
|---|
| 31 | I_22=0.013,
|
|---|
| 32 | I_33=0.937,
|
|---|
| 33 | I_21=0,
|
|---|
| 34 | I_31=0,
|
|---|
| 35 | I_32=0,
|
|---|
| 36 | shapeType="modelica://MH_City_RT_meca/data/stl/lenkkolben.stl",
|
|---|
| 37 | useQuaternions=true,
|
|---|
| 38 | lengthDirection={1,0,0},
|
|---|
| 39 | color={200,0,0},
|
|---|
| 40 | animation=false)
|
|---|
| 41 | annotation (Placement(transformation(extent={{10,-50},{30,-30}})));
|
|---|
| 42 | Modelica.Mechanics.MultiBody.Joints.Assemblies.JointRRR triple(
|
|---|
| 43 | n_a={0,0,1},
|
|---|
| 44 | rRod2_ib={-0.180,0.041,0},
|
|---|
| 45 | phi_offset=0,
|
|---|
| 46 | animation=false,
|
|---|
| 47 | phi_guess=0,
|
|---|
| 48 | rRod1_ia={0,-0.379,0}) annotation (Placement(transformation(
|
|---|
| 49 | extent={{20,-20},{-20,20}},
|
|---|
| 50 | rotation=-90,
|
|---|
| 51 | origin={78,6})));
|
|---|
| 52 | Modelica.Mechanics.MultiBody.Parts.FixedTranslation cs3(r={0,-0.340,0},
|
|---|
| 53 | animation=false)
|
|---|
| 54 | annotation (Placement(transformation(extent={{50,-54},{78,-26}})));
|
|---|
| 55 | Modelica.Mechanics.MultiBody.Parts.BodyShape b2(
|
|---|
| 56 | r_CM={0,-0.189,0},
|
|---|
| 57 | m=3.1,
|
|---|
| 58 | I_11=0.049,
|
|---|
| 59 | I_22=0.001,
|
|---|
| 60 | I_33=0.050,
|
|---|
| 61 | I_21=0,
|
|---|
| 62 | I_31=0,
|
|---|
| 63 | I_32=0,
|
|---|
| 64 | shapeType="modelica://MH_City_RT_meca/data/stl/spurstange.stl",
|
|---|
| 65 | r={0,0,0},
|
|---|
| 66 | useQuaternions=true,
|
|---|
| 67 | enforceStates=false,
|
|---|
| 68 | lengthDirection={1,0,0},
|
|---|
| 69 | color={200,0,0},
|
|---|
| 70 | animation=false)
|
|---|
| 71 | annotation (Placement(transformation(extent={{134,-20},{156,2}})));
|
|---|
| 72 | Modelica.Mechanics.MultiBody.Joints.Prismatic trans(
|
|---|
| 73 | n={0,1,0},
|
|---|
| 74 | stateSelect=StateSelect.prefer,
|
|---|
| 75 | useAxisFlange=true,
|
|---|
| 76 | s(fixed=true, start=1.39836e-12))
|
|---|
| 77 | annotation (Placement(transformation(extent={{-22,-30},{-2,-50}})));
|
|---|
| 78 | inner Modelica.Mechanics.MultiBody.World world
|
|---|
| 79 | annotation (Placement(transformation(extent={{-94,-50},{-74,-30}})));
|
|---|
| 80 | equation
|
|---|
| 81 | connect(cs1.frame_b, triple.frame_b) annotation (Line(
|
|---|
| 82 | points={{-18,62},{78,62},{78,26}},
|
|---|
| 83 | color={95,95,95},
|
|---|
| 84 | thickness=0.5,
|
|---|
| 85 | smooth=Smooth.None));
|
|---|
| 86 | connect(cs3.frame_b, triple.frame_a) annotation (Line(
|
|---|
| 87 | points={{78,-40},{78,-14}},
|
|---|
| 88 | color={95,95,95},
|
|---|
| 89 | thickness=0.5,
|
|---|
| 90 | smooth=Smooth.None));
|
|---|
| 91 | connect(cs2.frame_b, trans.frame_a) annotation (Line(
|
|---|
| 92 | points={{-32,-40},{-22,-40}},
|
|---|
| 93 | color={95,95,95},
|
|---|
| 94 | thickness=0.5,
|
|---|
| 95 | smooth=Smooth.None));
|
|---|
| 96 | connect(trans.frame_b, b3.frame_a) annotation (Line(
|
|---|
| 97 | points={{-2,-40},{10,-40}},
|
|---|
| 98 | color={95,95,95},
|
|---|
| 99 | thickness=0.5,
|
|---|
| 100 | smooth=Smooth.None));
|
|---|
| 101 | connect(b3.frame_b, cs3.frame_a) annotation (Line(
|
|---|
| 102 | points={{30,-40},{50,-40}},
|
|---|
| 103 | color={95,95,95},
|
|---|
| 104 | thickness=0.5,
|
|---|
| 105 | smooth=Smooth.None));
|
|---|
| 106 | connect(b1.frame_a, triple.frame_ib) annotation (Line(
|
|---|
| 107 | points={{132,22},{98,22}},
|
|---|
| 108 | color={95,95,95},
|
|---|
| 109 | thickness=0.5,
|
|---|
| 110 | smooth=Smooth.None));
|
|---|
| 111 | connect(world.frame_b, cs2.frame_a) annotation (Line(
|
|---|
| 112 | points={{-74,-40},{-52,-40}},
|
|---|
| 113 | color={95,95,95},
|
|---|
| 114 | thickness=0.5,
|
|---|
| 115 | smooth=Smooth.None));
|
|---|
| 116 | connect(cs1.frame_a, cs2.frame_a) annotation (Line(
|
|---|
| 117 | points={{-54,62},{-66,62},{-66,-40},{-52,-40}},
|
|---|
| 118 | color={95,95,95},
|
|---|
| 119 | thickness=0.5,
|
|---|
| 120 | smooth=Smooth.None));
|
|---|
| 121 | connect(b2.frame_a, triple.frame_ia) annotation (Line(
|
|---|
| 122 | points={{134,-9},{116,-9},{116,-10},{98,-10}},
|
|---|
| 123 | color={95,95,95},
|
|---|
| 124 | thickness=0.5,
|
|---|
| 125 | smooth=Smooth.None));
|
|---|
| 126 | annotation (uses(Modelica(version="3.2.1")), Diagram(coordinateSystem(
|
|---|
| 127 | preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics));
|
|---|
| 128 | end testParameter;
|
|---|