The tuning of a small four-stroke spark ignition engine for flexible valve timings through numerical approach