Files
FluidSimCpp/engines/yz-racing.toml

138 lines
3.2 KiB
TOML

# Engine definition. Dimensional keys state their units.
schema_version = 2
id = "yz-racing"
name = "YZ125 / expansion chamber"
category = "Two-stroke / 125 cc"
description = "Racing pipe / calibrated carb / 3% idle stop"
order = 1
cycle = "two_stroke"
[simulation]
cells_per_meter = 100.0
[two_stroke]
reed_pipe_diameter_mm = 40
transfer_pipe_diameter_mm = 32
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
exhaust = "racing"
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 = [[160.0, 36.0, 36.0], [180.0, 36.0, 60.0], [190.0, 60.0, 105.0], [130.0, 105.0, 105.0], [210.0, 105.0, 22.0], [240.0, 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]
[[geometry.cylinders]]
origin_mm = [ 0, 0, 0 ]
tilt_deg = 0.0
# intake
[[geometry.pipes]]
index = 0
points_mm = [
[ -235.9365, 16.1836, 0 ],
[ -135.9365, 16.1836, 0 ]
]
# reed passage
[[geometry.pipes]]
index = 1
points_mm = [
[ -56.5664, 16.1836, 0 ],
[ -26.5664, 16.1836, 0 ]
]
# transfer passage
[[geometry.pipes]]
index = 2
points_mm = [
[ 26.5664, 42.75, 0 ],
[ 30.8157, 45.5218, 0 ],
[ 34.5021, 48.2991, 0 ],
[ 37.6254, 51.0817, 0 ],
[ 40.1858, 53.8698, 0 ],
[ 42.1833, 56.6633, 0 ],
[ 43.6178, 59.4623, 0 ],
[ 44.4893, 62.2667, 0 ],
[ 44.7979, 65.0764, 0 ],
[ 44.5435, 67.8916, 0 ],
[ 43.7262, 70.7123, 0 ],
[ 42.3459, 73.5383, 0 ],
[ 40.4026, 76.3698, 0 ],
[ 37.8964, 79.2067, 0 ],
[ 34.8272, 82.0491, 0 ],
[ 31.1951, 84.8968, 0 ],
[ 27, 87.75, 0 ]
]
# exhaust chamber
[[geometry.pipes]]
index = 3
points_mm = [
[ 27, 112.25, 0 ],
[ 177.3508, 57.5268, 0 ],
[ 253.4221, -105.6086, 0 ],
[ 144.4426, -261.2475, 0 ],
[ 14.4426, -261.2475, 0 ],
[ -182.8929, -189.4233, 0 ],
[ -422.8929, -189.4233, 0 ]
]
[[geometry.volumes]]
id = "intake_plenum"
center_mm = [ -96.2515, 16.1836, 0 ]
size_mm = [ 79.3701, 79.3701, 79.3701 ]
[[geometry.volumes]]
id = "crankcase"
center_mm = [ 0, 16.1836, 0 ]
size_mm = [ 53.1329, 53.1329, 53.1329 ]