Files
FluidSimCpp/engines/fifty.toml
max bf8621ad39 Load engines from TOML and improve scenario audio and carb tuning
Migrate 32 engine definitions into validated startup-loaded TOML files and separate configuration and snapshots from scenario assembly. Add camera-based stereo propagation from shared pipe geometry, preserve exhaust character, tune carburetor mixtures and idle, use ignition cuts for carb engines, and support returning to the scenario menu.

Validation: full Windows build and all 14 CTest checks passed.
2026-10-24 03:24:35 +02:00

69 lines
2.0 KiB
TOML

# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "fifty"
name = "50 cc / little screamer"
category = "Two-stroke / 50 cc"
description = "Concept single / transported carb fuel"
order = 15
cycle = "two_stroke"
[two_stroke]
initial_rpm = 3000.0
starter_torque_nm = 8.0
maximum_load_torque_nm = 10.0
crankshaft_inertia_kg_m2 = 0.004006997
bore_mm = 40.0
carburetor_diameter_mm = 19.0
crankcase_clearance_cc = 60.10495
exhaust = "racing"
exhaust_cell_length_mm = 15.0
exhaust_duration_deg = 190.0
exhaust_width_mm = 26.54048
friction_bar = 0.4
friction_bar_per_mps = 0.09
friction_bar_per_mps2 = 0.0009
idle_minimum_advance_deg = -10.0
idle_slide_opening = 0.045
idle_spark_gain = 0.05
jet_scale = 0.5
main_jet_scale = 1.6
minimum_burn_s = 0.0005897885
needle_jet_scale = 1.0
needle_low_scale = 2.72
needle_mid_scale = 0.8
needle_off_idle_scale = 12.0
needle_quarter_scale = 1.4
needle_tip_scale = 5.0
needle_transition_scale = 9.0
needle_upper_scale = 0.76
pilot_jet_scale = 0.7125
pilot_tip_scale = 1.0
pilot_transition_scale = 1.0
rod_mm = 81.09593
stroke_mm = 39.8
transfer_duration_deg = 130.0
transfer_width_mm = 36.86178
trapped_compression = 8.2
chamber_sections_mm = [[117.9577, 26.54048, 26.54048], [132.7024, 26.54048, 44.23414], [140.0748, 44.23414, 77.40974], [95.84063, 77.40974, 77.40974], [154.8195, 77.40974, 16.21918], [176.9366, 16.21918, 16.21918]]
[ecu]
idle_control = "fixed"
idle_rpm = 3000.0
idle_max_opening = 0.3
throttle_time_constant_s = 0.0002
throttle_rate = 5000.0
rev_limit_enabled = false
rev_limit_fuel_cut_enabled = false
overrun_cut_rpm = 5000.0
overrun_resume_rpm = 3500.0
overrun_fuel_cut_enabled = false
overrun_ignition_cut_enabled = true
ignition_map = [[0, 10], [3000, 18], [6000, 24], [9000, 18], [11000, 12], [13000, 6], [15000, 2], [18000, 0]]
[vehicle]
primary_reduction = 3.368421
final_drive_ratio = 3.769231
mass_kg = 170
wheel_radius_mm = 331.3
gear_ratios = [2.384615, 1.933333, 1.588235, 1.352941, 1.176471, 1.055556]