modelCylinderBase

One cylinder with analytic handling of kinematic loop

Information

Slider-crank mechanism with analytic handling of kinematic loop to model one cylinder in an engine.

Parameters

TypeNameDefaultDescription
Booleananimationtrue= true, if animation shall be enabled
SI.LengthcylinderTopPosition0.42Length from crank shaft to end of cylinder.
SI.LengthcrankLength0.14Length of crank shaft in x direction
SI.LengthcrankPinOffset0.05Offset of crank pin from center axis
SI.LengthcrankPinLength0.1Offset of crank pin from center axis
Modelica.Units.NonSI.Angle_degcylinderInclinationAngle0Inclination of cylinder
Modelica.Units.NonSI.Angle_degcrankAngleOffset0Offset for crank angle
SI.LengthcylinderLengthcylinderTopPosition - (pistonLength + rodLength - crankPinOffset)Maximum length of cylinder volume
Piston
SI.LengthpistonLength0.1Length of cylinder
SI.LengthpistonCenterOfMasspistonLength/2Distance from frame_a to center of mass of piston
SI.MasspistonMass6Mass of piston
SI.InertiapistonInertia_110.0088Inertia 11 of piston with respect to center of mass frame, parallel to frame_a
SI.InertiapistonInertia_220.0076Inertia 22 of piston with respect to center of mass frame, parallel to frame_a
SI.InertiapistonInertia_330.0088Inertia 33 of piston with respect to center of mass frame, parallel to frame_a
Rod
SI.LengthrodLength0.175Length of rod
SI.LengthrodCenterOfMassrodLength/2Distance from frame_a to center of mass of piston
SI.MassrodMass1Mass of rod
SI.InertiarodInertia_110.006Inertia 11 of rod with respect to center of mass frame, parallel to frame_a
SI.InertiarodInertia_220.0005Inertia 22 of rod with respect to center of mass frame, parallel to frame_a
SI.InertiarodInertia_330.006Inertia 33 of rod with respect to center of mass frame, parallel to frame_a

Connectors

TypeNameDefaultDescription
Interfaces.Frame_acylinder_a
Interfaces.Frame_acylinder_b
Interfaces.Frame_acrank_a
Interfaces.Frame_acrank_b

Components

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Parts.FixedTranslationmid
Modelica.Mechanics.MultiBody.Parts.FixedTranslationmounting
Modelica.Mechanics.MultiBody.Parts.FixedRotationcylinderInclination
Modelica.Mechanics.MultiBody.Parts.FixedRotationcrankAngle
Joints.Assemblies.JointRRPjointRRP
Modelica.Mechanics.MultiBody.Parts.BodyShapeconnectingRod
Modelica.Mechanics.MultiBody.Parts.BodyShapepiston
GasForce2gasForce
Modelica.Mechanics.MultiBody.Parts.FixedTranslationcrank