Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
Geometric Compression Ratio
The geometric compression ratio CR is the ratio of the total cylinder volume at BDC to the clearance volume at TDC. It is one of...
3 mesi fa
Risolto
Swept Volume and Clearance Volume
The swept volume (V_s) is the volume displaced by the piston as it travels from BDC (Bottom Dead Centre) to TDC (Top Dead Centre...
3 mesi fa
Risolto
Specific Fuel Consumption
Brake-specific fuel consumption (BSFC) measures how efficiently an engine converts fuel mass into useful work.
Lower is better...
3 mesi fa
Risolto
Piston Mean Speed
Mean piston speed is a critical mechanical stress indicator — it sets limits on valve timing, bearing loads, and material fatigu...
3 mesi fa
Risolto
Engine Displacement
Engine displacement is the total swept volume of all cylinders. It is determined by bore (cylinder diameter), stroke (piston tra...
3 mesi fa
Risolto
Fuel-Air Equivalence Ratio (Lambda)
Lambda (λ) is the ratio of actual air-fuel ratio to the stoichiometric air-fuel ratio. λ = 1 is perfect stoichiometry, λ < 1 is ...
3 mesi fa
Risolto
Volumetric efficiency
Volumetric efficiency measures how well an engine breathes.
The ratio of the actual air mass drawn in per cycle to the theoreti...
3 mesi fa
Risolto
Engine torque and RPM
Torque and power are related through rotational speed. Knowing brake power and engine RPM, you can back-calculate the torque del...
3 mesi fa
Risolto
Brake Mean Effective Pressure (BMEP)
BMEP is a normalised measure of engine work output per cycle per unit displacement. It lets you compare engines of different siz...
3 mesi fa
Risolto
Engine Thermal Efficiency
The thermal efficiency of an ideal Otto cycle engine depends only on the compression ratio. A higher compression ratio yields gr...