modelPartialRecipMachine

Model of a one cylinder engine with crank and slider mechanism

Information

This is a model of the mechanical part of one cylinder of an expander. You need to add an external calculation of the pressure in the cylinder. This can be done with respect to the crank angle, the expander starts at top dead center (TDC) with 0 degrees.

Parameters

TypeNameDefaultDescription
Booleananimatefalse
ThermoCycle.Components.Units.ExpansionAndCompressionMachines.Reciprocating.BaseClasses.BaseGeometrygeometry
SI.Lengths_TDCsqrt((geometry.r_crank + geometry.l_conrod)^2 - geometry.d_ppin^2)Crank shaft to TDC
SI.Lengths_BDCsqrt((geometry.r_crank - geometry.l_conrod)^2 - geometry.d_ppin^2)Crank shaft to BDC
SI.Lengthz_crageometry.d_ppin/(geometry.r_crank + geometry.l_conrod)*geometry.r_crankCrank pin z at TDC
SI.Lengthy_cras_TDC/(geometry.r_crank + geometry.l_conrod)*geometry.r_crankCrank pin y at TDC
SI.Lengthz_rodgeometry.d_ppin/(geometry.r_crank + geometry.l_conrod)*geometry.l_conrodRod pin z at TDC
SI.Lengthy_rods_TDC/(geometry.r_crank + geometry.l_conrod)*geometry.l_conrodRod pin y at TDC
SI.Lengthh_TDCgeometry.V_tdc/(Modelica.Constants.pi*geometry.r_piston^2)equivalent height at TDC
SI.Lengthh_tops_TDC + geometry.h_piston + h_TDCHeight of cylinder
SI.Lengthstrokes_TDC - s_BDC
SI.Lengthboregeometry.r_piston*2

Connectors

TypeNameDefaultDescription
Modelica.Mechanics.Rotational.Interfaces.Flange_bcrankShaft_b
Modelica.Mechanics.Rotational.Interfaces.Flange_acrankShaft_a

Components

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Parts.BodyCylinderpiston
Modelica.Mechanics.MultiBody.Parts.BodyBoxconrod
Modelica.Mechanics.MultiBody.Joints.RevolutemainCrankBearing
Modelica.Mechanics.MultiBody.Worldworld
Modelica.Mechanics.Rotational.Components.InertiainternalInertia
Modelica.Mechanics.MultiBody.Parts.BodyCylindercrankshaft
Modelica.Mechanics.MultiBody.Parts.BodyBoxcrank
Modelica.Mechanics.MultiBody.Parts.FixedTranslationjacketPosition
Modelica.Mechanics.MultiBody.Joints.RevolutecrankPinThis is the connection between conrod and crank arm.
Modelica.Mechanics.MultiBody.Joints.RevolutePlanarLoopConstraintpistonPinThis is the connection between piston and conrod.
Modelica.Mechanics.MultiBody.Joints.Prismaticslider