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.
69 lines
1.9 KiB
TOML
69 lines
1.9 KiB
TOML
# Engine definition. Dimensional keys state their units.
|
|
schema_version = 1
|
|
id = "yz-short"
|
|
name = "125 / short high-RPM chamber"
|
|
category = "Two-stroke / 125 cc"
|
|
description = "Estimated chamber geometry / same 125 cc engine"
|
|
order = 13
|
|
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.01
|
|
bore_mm = 54.0
|
|
carburetor_diameter_mm = 38.1
|
|
crankcase_clearance_cc = 150.0
|
|
exhaust = "racing"
|
|
exhaust_cell_length_mm = 10.0
|
|
exhaust_duration_deg = 190.0
|
|
exhaust_width_mm = 36.0
|
|
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.03
|
|
idle_spark_gain = 0.05
|
|
jet_scale = 1.0
|
|
main_jet_scale = 1.6
|
|
minimum_burn_s = 0.0008
|
|
needle_jet_scale = 1.0
|
|
needle_low_scale = 2.9
|
|
needle_mid_scale = 0.8
|
|
needle_off_idle_scale = 24.0
|
|
needle_quarter_scale = 1.4
|
|
needle_tip_scale = 6.5
|
|
needle_transition_scale = 9.0
|
|
needle_upper_scale = 0.76
|
|
pilot_jet_scale = 0.5475
|
|
pilot_tip_scale = 1.0
|
|
pilot_transition_scale = 1.55
|
|
rod_mm = 110.0
|
|
stroke_mm = 54.5
|
|
transfer_duration_deg = 130.0
|
|
transfer_width_mm = 50.0
|
|
trapped_compression = 8.2
|
|
chamber_sections_mm = [[131.2, 36.0, 36.0], [147.6, 36.0, 60.0], [155.8, 60.0, 105.0], [106.6, 105.0, 105.0], [172.2, 105.0, 22.0], [196.8, 22.0, 22.0]]
|
|
|
|
[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]
|