Generating sets with spark-ignition engines