modelCrankDrive

Equation based model of a crank drive.

Information

This model is an equation based model of a crank drive. It can be used to convert linear motion into circular motion.

Phi is the angle of the flyweel, 0 is the right-most position.

Parameters

TypeNameDefaultDescription
SI.LengthrodLengthLength of the linear moving rod
SI.RadiuscrankPointDistance of the crank Point to the center
SI.MasstranslationMassInertial mass of the linear motion
SI.InertiaJ_flyweelInertial mass of the circular motion
SI.Anglephi00Initial angle
SI.AngularVelocityomega00Initial angular velocity

Components

TypeNameDefaultDescription
Modelica.Mechanics.Translational.Interfaces.Flange_bflange_b
Modelica.Mechanics.Rotational.Interfaces.Flange_aflange_a
Modelica.Blocks.Interfaces.BooleanOutputh_out(h >= 0)
SI.Lengthh
SI.Lengthd1
SI.Lengthd2
SI.Anglephiflange_a.phi
SI.AngularVelocityomegader(phi)
SI.Velocityvder(flange_b.s)
SI.Torquetau_f-h*flange_b.f
SI.Forcexflange_b.s/crankPoint/2