WOLFRAM SYSTEM MODELER

Engine1a

Model of one cylinder engine

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This is a model of the mechanical part of one cylinder of an engine. The combustion is not modelled. The "inertia" component at the lower left part is the output inertia of the engine driving the gearbox. The angular velocity of the output inertia has a start value of 10 rad/s in order to demonstrate the movement of the engine.

The engine is modeled solely by revolute and prismatic joints. Since this results in a planar loop there is the well known difficulty that the cut-forces perpendicular to the loop cannot be uniquely computed, as well as the cut-torques within the plane. This ambiguity is resolved by using the option planarCutJoint in the Advanced menu of one revolute joint in every planar loop (here: joint b1). This option sets the cut-force in direction of the axis of rotation, as well as the cut-torques perpendicular to the axis of rotation at this joint to zero and makes the problem mathematically well-formed.

An animation of this example is shown in the figure below.

model Examples.Loops.Engine

Components (14)

world

Type: World

Description: World coordinate system + gravity field + default animation definition

piston

Type: BodyCylinder

Description: Rigid body with cylinder shape. Mass and animation properties are computed from cylinder data and density (12 potential states)

connectingRod

Type: BodyBox

Description: Rigid body with box shape. Mass and animation properties are computed from box data and density (12 potential states)

bearing

Type: Revolute

Description: Revolute joint (1 rotational degree-of-freedom, 2 potential states, optional axis flange)

inertia

Type: Inertia

Description: 1D-rotational component with inertia

crank1

Type: BodyCylinder

Description: Rigid body with cylinder shape. Mass and animation properties are computed from cylinder data and density (12 potential states)

crank2

Type: BodyBox

Description: Rigid body with box shape. Mass and animation properties are computed from box data and density (12 potential states)

crank3

Type: BodyCylinder

Description: Rigid body with cylinder shape. Mass and animation properties are computed from cylinder data and density (12 potential states)

crank4

Type: BodyBox

Description: Rigid body with box shape. Mass and animation properties are computed from box data and density (12 potential states)

mid

Type: FixedTranslation

Description: Fixed translation of frame_b with respect to frame_a

cylPosition

Type: FixedTranslation

Description: Fixed translation of frame_b with respect to frame_a

b1

Type: Revolute

Description: Revolute joint (1 rotational degree-of-freedom, 2 potential states, optional axis flange)

b2

Type: RevolutePlanarLoopConstraint

Description: Revolute joint that is described by 2 positional constraints for usage in a planar loop (the ambiguous cut-force perpendicular to the loop and the ambiguous cut-torques are set arbitrarily to zero)

cylinder

Type: Prismatic

Description: Prismatic joint (1 translational degree-of-freedom, 2 potential states, optional axis flange)