1 | within Project1;
|
---|
2 | model SuspensionMechanism "Suspension mechanism for tutorials"
|
---|
3 | extends
|
---|
4 | VDLMotorsports.Chassis.Suspensions.Linkages.Templates.DoubleWishbonePushrodS1;
|
---|
5 | Modelica.Mechanics.MultiBody.Parts.FixedTranslation FromWishboneToPushrod(r=
|
---|
6 | r0R1L1_scaled - r0L1L2U_scaled) annotation (Placement(transformation(
|
---|
7 | extent={{-11,-11},{11,11}},
|
---|
8 | rotation=90,
|
---|
9 | origin={77,39})));
|
---|
10 | equation
|
---|
11 | connect(pushrod.frame_a, FromWishboneToPushrod.frame_b) annotation (Line(
|
---|
12 | points={{36,60},{77,60},{77,50}},
|
---|
13 | color={95,95,95},
|
---|
14 | thickness=0.5,
|
---|
15 | smooth=Smooth.None));
|
---|
16 | connect(lowerWishbone.frame_b, FromWishboneToPushrod.frame_a) annotation (
|
---|
17 | Line(
|
---|
18 | points={{8,-70},{36,-70},{36,0},{77,0},{77,28}},
|
---|
19 | color={95,95,95},
|
---|
20 | thickness=0.5,
|
---|
21 | smooth=Smooth.None));
|
---|
22 | annotation (Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-100,
|
---|
23 | -100},{100,100}}), graphics));
|
---|
24 | end SuspensionMechanism;
|
---|