Block Piston Engine It is a reciprocating internal combustion engine with multiple cylinders. The piston model takes into account the instantaneous torque transmitted to the crankshaft of the engine. The instantaneous torque allows you to simulate vibrations in the transmission that occur when the piston rotates. To simulate only the piston mechanism of an internal combustion engine, use the block Piston.
Port B is a translationally moving piston, and port F is a rotating crankshaft. The force acting on the piston is determined by the pressure in the cylinder and the cross-sectional area. The unit receives the combustion pressure from an interpolation table, parameterized depending on the angle of rotation of the crank and, if necessary, the angular velocity of the crank and the throttle opening level of the engine.
The torque of the crank depends on the force acting on the piston, the angle of rotation of the crank, as well as the length of the crank and connecting rod. In terms of these parameters, the ratio of the torque of the crankshaft to the force acting on the piston is expressed as follows:
where
— the instantaneous force acting on the piston connected to the drive port B;
— instantaneous torque of the crank connected to the slave port F;
— crank length;
— instantaneous crank rotation angle;
— connecting rod length.
_ Dimensions of the piston_
The input port T allows you to set the throttle level of the engine as a fraction of 0 before 1. This fraction corresponds to a percentage of the total power. The unit uses the input port whenever the pressure interpolation table in the unit parameter window is parameterized only by the angle of rotation of the crank.
Dependencies for a group of fuel consumption parameters
The table shows how the parameter values are Fuel consumption model they affect the availability of dependent parameters.
Fuel Consumption
Fuel consumption model
No fuel consumption
Constant per revolution
Fuel consumption by speed and torque
Brake specific fuel consumption by speed and torque
Brake specific fuel consumption by speed and brake mean effective pressure
Fuel consumption per pistons revolution
Speed vector
Torque vector
Brake mean effective pressure vector
Fuel consumption table
Brake specific fuel consumption table
Interpolation method — select Linear or Smooth
Ports
Input
# T
—
normalized engine throttle opening level, dimensionless
a non-negative scalar
Details
The required torque of the engine in the form of a fraction of the maximum possible torque.
Data types
Float64
Complex numbers support
I don’t
Conserving
# B
—
the leading port connected to the piston
translational mechanics
Details
A non-directional port connecting to the engine block.
The slave port of the engine. The crankshaft transmits the power generated during the combustion of fuel. As a rule, it is to him that the clutch and gearbox are attached.
To use this port, set the parameter Fuel consumption model one of the following values:
Constant per revolution;
Fuel consumption by speed and torque;
Brake specific fuel consumption by speed and torque;
Brake specific fuel consumption by speed and brake mean effective pressure.
Data types
Float64
Complex numbers support
I don’t
Parameters
Pistons
#Number of pistons —
number of pistons in an internal combustion engine
Details
The number of pistons in an internal combustion engine.
Default value
4
Program usage name
piston_count
Evaluatable
Yes
#Offset angle vector —
top dead center offset for each piston
rad | deg | rev | mrad | arcsec | arcmin | gon
Details
The vector of the piston displacement angles. The displacement angle determines the point in the engine cycle when the piston reaches the top dead center. The engine’s operating cycle covers a range of angles from before degrees, where — the number of cycles per cycle.
The size of the vector must match the number of pistons. The default vector corresponds to a four-stroke, four-piston engine.
Units
rad | deg | rev | mrad | arcsec | arcmin | gon
Default value
[0.0, 180.0, 360.0, -180.0] deg
Program usage name
phi_offset_vector
Evaluatable
Yes
#Cylinder bore —
the inner diameter of the piston cylinder wall
m | um | mm | cm | km | in | ft | yd | mi | nmi
Details
The inner diameter of the piston cylinder wall. The unit uses this parameter to calculate the torque interpolation table. You must specify a value greater than zero.
Units
m | um | mm | cm | km | in | ft | yd | mi | nmi
Default value
0.1 m
Program usage name
cylinder_bore
Evaluatable
Yes
#Piston stroke —
the length of the forward stroke of the piston
m | um | mm | cm | km | in | ft | yd | mi | nmi
Details
The distance from the fully retracted to the fully extended position of the piston. The unit uses this parameter to convert the pressure on the piston into torque values. You must specify a value greater than zero.
Units
m | um | mm | cm | km | in | ft | yd | mi | nmi
Default value
0.06 m
Program usage name
stroke_piston
Evaluatable
Yes
#Piston rod length —
connecting rod length between piston and crankshaft
m | um | mm | cm | km | in | ft | yd | mi | nmi
Details
The distance from the center of the piston pin hole to the center of the crankshaft hole in the connecting rod of the piston. The unit uses this parameter to convert the pressure on the piston into torque. You must specify a value greater than zero.
Units
m | um | mm | cm | km | in | ft | yd | mi | nmi
Default value
0.1 m
Program usage name
rod_length
Evaluatable
Yes
#Number of strokes per cycle —
the number of piston strokes required to complete one combustion cycle
Details
The number of piston strokes required for intake, compression, combustion, and exhaust of combustion products. Usually engines are two-stroke or four-stroke. You must use a multiple of two.
Default value
4
Program usage name
strokes_per_cycle_count
Evaluatable
Yes
#Pressure parameterization —
determination of the pressure applied to the piston
By crank angle | By crank angle and throttle | By crank angle, throttle and crank velocity
Details
A group of parameters that the block should use to parameterize pressure data.
Values
By crank angle | By crank angle and throttle | By crank angle, throttle and crank velocity
Default value
By crank angle
Program usage name
parameterization
Evaluatable
No
#Crank angle vector —
different angles of rotation of the piston crank
rad | deg | rev | mrad | arcsec | arcmin | gon
Details
The angle of rotation of the piston crank, starting from the minimum angle or higher and ending with the maximum angle or lower. The minimum or maximum angle can be calculated by multiplying the number of cycles by −90 degrees or 90 degrees, respectively. At least two values must be specified.
Each element of the parameter Crank angle vector corresponds to the parameter element Pressure vector (gauge) or -th line of the parameter Pressure matrix (gauge) or each parameter matrix Pressure matrix 3D (gauge).
Different throttle positions corresponding to the pressure in the parameters Pressure matrix (gauge) or Pressure matrix 3D (gauge). The throttle position must remain in the range of [0, 1], where 0 means the throttle valve is fully closed, and 1 — fully open throttle valve.
Each element of the parameter Throttle vector respond -the th column of the parameter Pressure matrix (gauge) or each parameter matrix Pressure matrix 3D (gauge).
Dependencies
To use this parameter, set for the parameter Pressure parameterization meaning By crank angle and throttle or By crank angle, throttle and crank velocity.
Default value
[0.0, 0.3, 0.8, 1.0]
Program usage name
throttle_position_vector
Evaluatable
Yes
#Pressure matrix (gauge) —
parameterized pressure values depending on the angle of rotation of the crank and the position of the throttle valve
Pa | uPa | hPa | kPa | MPa | GPa | kgf/m^2 | kgf/cm^2 | kgf/mm^2 | mbar | bar | kbar | atm | ksi | psi | mmHg | inHg
Details
A matrix of pressure values corresponding to different combinations of crank angle and throttle position.
Parameter Elements Crank angle vector correspond to parameter lines Pressure matrix (gauge). Parameter Elements Throttle vector correspond to parameter columns Pressure matrix (gauge).
Dependencies
To use this parameter, set for the parameter Pressure parameterization meaning By crank angle and throttle.
Different crank rotation speeds corresponding to the pressures in the parameter Pressure matrix 3D (gauge).
Each element of the parameter Crank velocity vector corresponds to one of the -parameter matrices Pressure matrix 3D (gauge).
Dependencies
To use this parameter, set for the parameter Pressure parameterization meaning By crank angle, throttle and crank velocity.
Units
rad/s | deg/s | rad/min | deg/min | rpm | rps
Default value
[0.0, 1000.0, 6000.0] rpm
Program usage name
w_vector
Evaluatable
Yes
#Pressure matrix 3D (gauge) —
parameterized pressure values depending on the angle of rotation of the crank, throttle position and crank rotation speed
Pa | uPa | hPa | kPa | MPa | GPa | kgf/m^2 | kgf/cm^2 | kgf/mm^2 | mbar | bar | kbar | atm | ksi | psi | mmHg | inHg
Details
A combined matrix of pressure values corresponding to different combinations of crank angle, throttle position, and crank rotation speed.
Parameter Elements Crank angle vector correspond to lines. Parameter Elements Throttle vector correspond to columns. Parameter Elements Crank velocity vector correspond to the matrices that you combine along the dimension .
By default , and .
Dependencies
To use this parameter, set for the parameter Pressure parameterization meaning By crank angle, throttle and crank velocity.
#Base and follower bearing viscous friction coefficients —
characteristics of friction in the system
N*m/(rad/s) | ft*lbf/(rad/s)
Details
Coefficients of viscous friction for the drive and driven bearings, in the specified order.
Units
N*m/(rad/s) | ft*lbf/(rad/s)
Default value
[0.0, 0.0] N*m/(rad/s)
Program usage name
viscous_coefficient_vector
Evaluatable
Yes
#Initial crank angle —
the initial position of the crank
rad | deg | rev | mrad | arcsec | arcmin | gon
Details
The angle of rotation of the crank at time zero relative to the position of the upper dead center. The engine’s operating cycle covers a range of angles from before degrees, where — the number of cycles per cycle.
Translational stiffness of the engine crankshaft spring. The stiffness of the spring takes into account the accumulation of elastic energy in the crankshaft due to the malleability of the material.
The stiffness coefficient of the engine crankshaft. This parameter takes into account the deformation resistance of the shaft.
#Damping —
the ability to lose energy in the system
N*m/(rad/s) | ft*lbf/(rad/s)
Details
Translational damping of the engine crankshaft. Damping takes into account the dissipation of energy in the crankshaft due to the malleability of the material.
Dependencies
To use this option, check the box Shaft dynamics.
Units
N*m/(rad/s) | ft*lbf/(rad/s)
Default value
1000.0 N*m/(rad/s)
Program usage name
C
Evaluatable
Yes
#Inertia —
the moment of inertia of the crankshaft
kg*m^2 | g*m^2 | kg*cm^2 | g*cm^2 | lbm*in^2 | lbm*ft^2 | slug*in^2 | slug*ft^2
Details
The moment of inertia of the crankshaft relative to its axis of rotation. This parameter takes into account the resistance to sudden changes in movement.
#Initial angular deflection —
initial angular deformation of the crankshaft
rad | deg | rev | mrad | arcsec | arcmin | gon
Details
The angle of deflection between the main and connecting rod neck of the crankshaft at zero time. The deflection angle measures the angular deformation of the crankshaft due to torsion.
The angular velocity of the crankshaft at zero time.
Dependencies
To use this option, check the box Shaft dynamics.
Units
rad/s | deg/s | rad/min | deg/min | rpm | rps
Default value
0.0 rpm
Program usage name
w_start
Evaluatable
Yes
Fuel Consumption
#Fuel consumption model —
activating fuel consumption simulation parameters
No fuel consumption | Constant per revolution | Fuel consumption by speed and torque | Brake specific fuel consumption by speed and torque | Brake specific fuel consumption by speed and brake mean effective pressure
Details
A model for calculating fuel consumption based on available data. Select the model to calculate the fuel consumption of the engine. The methods allow the use of parameters corresponding to typical industrial data. Choose one of the following options:
No fuel consumption (by default);
Constant per revolution;
Fuel consumption by speed and torque;
Brake specific fuel consumption by speed and torque;
Brake specific fuel consumption by speed and brake mean effective pressure.
If for the parameter Fuel consumption model value selected No fuel consumption The unit will not calculate fuel consumption even when the FC port is connected to another unit. Selecting this value increases the simulation speed.
Values
No fuel consumption | Constant per revolution | Fuel consumption by speed and torque | Brake specific fuel consumption by speed and torque | Brake specific fuel consumption by speed and brake mean effective pressure
Default value
No fuel consumption
Program usage name
fuel_consumption_model
Evaluatable
No
#Fuel consumption per pistons revolution —
fuel consumption per crank revolution
mg/rev | kg/rad
Details
Constant fuel consumption rate as a function of the number of revolutions of the crankshaft. Enter the amount of fuel consumed per revolution of the crankshaft.
Dependencies
To use this parameter, set for the parameter Fuel consumption model meaning Constant per revolution.
The vector of engine torques corresponding to rows of the fuel consumption table.
Dependencies
To use this parameter, set for the parameter Fuel consumption model meaning Fuel consumption by speed and torque, Brake specific fuel consumption by speed and torque or Brake specific fuel consumption by speed and brake mean effective pressure.
The vector of engine torques corresponding to columns of the fuel consumption table.
Dependencies
To use this parameter, set for the parameter Fuel consumption model meaning Fuel consumption by speed and torque or Brake specific fuel consumption by speed and torque.
A matrix of fuel consumption values corresponding to the engine speed and torque vectors. The number of rows must be equal to the number of elements in the parameter. Speed vector. The number of columns must be equal to the number of elements in the parameter. Torque vector.
Dependencies
To use this parameter, set for the parameter Fuel consumption model meaning Fuel consumption by speed and torque.
#Interpolation method —
an interpolation method for calculating fuel consumption
Linear | Smooth
Details
An interpolation method for calculating fuel consumption at intermediate values of rotational speed and torque. Fuel consumption remains constant outside the range indicated in the interpolation table.
Dependencies
To use this parameter, set for the parameter Fuel consumption model meaning Fuel consumption by speed and torque, Brake specific fuel consumption by speed and torque or Brake specific fuel consumption by speed and brake mean effective pressure.
Values
Linear | Smooth
Default value
Linear
Program usage name
fuel_consumption_interpolation_type
Evaluatable
No
#Brake specific fuel consumption table —
data on specific fuel consumption during braking
s^2/ft^2 | s^2/m^2 | g/(hr*kW)
Details
When selecting a value Brake specific fuel consumption by speed and torque for the parameter Fuel consumption model This parameter is a matrix of indicators of specific fuel consumption during braking, which corresponds to the vectors of engine speed and torque. Specific fuel consumption is the ratio of fuel consumption to power output. The number of rows must be equal to the number of elements in the parameter. Speed vector. The number of columns must be equal to the number of items in the parameter. Torque vector.
When selecting a value Brake specific fuel consumption by speed and brake mean effective pressure for the parameter Fuel consumption model This parameter is a matrix of indicators of specific fuel consumption during braking, which corresponds to the vectors of engine speed and average effective pressure during braking. The average effective braking pressure is the ratio of fuel consumption to power output. The number of rows must be equal to the number of elements in the parameter. Speed vector. The number of columns must be equal to the number of items in the parameter. Brake mean effective pressure vector.
Dependencies
To use this parameter, set for the parameter Fuel consumption model meaning Brake specific fuel consumption by speed and torque or Brake specific fuel consumption by speed and brake mean effective pressure.
#Brake mean effective pressure vector —
the average pressure in the cylinder required to create a given torque
Pa | uPa | hPa | kPa | MPa | GPa | kgf/m^2 | kgf/cm^2 | kgf/mm^2 | mbar | bar | kbar | atm | ksi | psi | mmHg | inHg
Details
The vector of values of the average effective braking pressure. The values of the average effective braking pressure satisfy the expression
where
— output torque;
— number of cycles per revolution;
— the working volume of the cylinder.
Dependencies
To use this parameter, set for the parameter Fuel consumption model meaning Brake specific fuel consumption by speed and brake mean effective pressure.