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.
This commit is contained in:
grillkol committed 2026-10-24 03:24:35 +02:00
1 parent 5607dcf2b5
commit bf8621ad39
82 files changed
+24084 -648

No files matched your search

+163
View File
@@ -0,0 +1,163 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "big-carb"
name = "8.0 litre / carbureted big-block"
category = "V8 / big-block"
description = "Cross-plane firing / American 4-2-1 + H / carb fuel transport"
order = 29
cycle = "four_stroke"
[engine]
bank_angle_deg = 90.0
collector_volume_litres = 2.0
cylinders = 8
initial_rpm = 1120.0
initialize_phased_charge = true
layout = "v"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0, 450.0, 270.0, 540.0, 630.0, 360.0, 180.0, 89.99998]
pipe_damping = 1.0
plenum_volume_litres = 8.0
starter_torque_nm = 201.1122
throttle_diameter_mm = 85.0
topology = "american_v8"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 114.3
burn_duration_deg = 65.0
burn_start_deg = 5.0
compression = 9.0
energy_variation = 0.05
exhaust_close_deg = 370.0
exhaust_open_deg = 140.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 36.576
exhaust_valve_lift_mm = 10.287
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 570.0
intake_open_deg = 350.0
intake_valve_count = 1
intake_valve_diameter_mm = 43.434
intake_valve_lift_mm = 11.43
misfire_probability = 0.0
rod_mm = 176.4
stroke_mm = 98.0
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 32.17795
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.03217795
inertia_kg_m2 = 0.9653385
[ecu]
idle_base_opening = 0.07
idle_control = "fixed"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 800.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [750.0, 12.0], [2500.0, 28.0], [4000.0, 32.0], [6000.0, 30.0]]
overrun_cut_rpm = 2000.0
overrun_fuel_cut_enabled = false
overrun_ignition_cut_enabled = true
overrun_resume_rpm = 1100.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = false
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 1769.787
clutch_engagement_rate = 8.0
drag_coefficient = 0.4
final_drive_ratio = 3.623529
frontal_area = 2.0
gear_ratios = [3.35, 1.93, 1.29, 1.0, 0.68]
gravity = 9.80665
mass_kg = 1400.0
primary_reduction = 1.0
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "carburetor"
pilot_jet_diameter_mm = 0.2337673
main_jet_diameter_mm = 4.524528
needle_jet_diameter_mm = 4.656493
needle_low_scale = 0.6
needle_mid_scale = 0.65
needle_off_idle_scale = 0.964
needle_quarter_scale = 0.64
needle_tip_scale = 0.782
needle_transition_scale = 0.89
needle_upper_scale = 0.76
bowl_capacity_kg = 0.1
bowl_refill_kg_per_s = 0.1
[junctions]
h_pipe = true
junction_volume_cc = 50.0
[[pipes]]
id = "intake"
cells = 3
diameter_mm = 70.0
length_mm = 180.0
[[pipes]]
id = "runners"
count = 8
cells = 2
diameter_mm = 38.0
length_mm = 120.0
[[pipes]]
id = "primaries"
count = 8
cells = 15
diameter_mm = 38.0
length_mm = 750.0
[[pipes]]
id = "secondaries"
count = 4
cells = 8
diameter_mm = 45.0
length_mm = 400.0
[[pipes]]
id = "bank_collectors"
count = 2
cells = 11
diameter_mm = 50.0
length_mm = 550.0
[[pipes]]
id = "tailpipes"
count = 2
cells = 25
diameter_mm = 50.0
length_mm = 1250.0
[[pipes]]
id = "crossover"
cells = 16
diameter_mm = 38.0
length_mm = 780.0
+126
View File
@@ -0,0 +1,126 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "busso"
name = "Busso-inspired / 3.0 V6"
category = "V6"
description = "Estimated concept calibration / EFI"
order = 26
cycle = "four_stroke"
[engine]
bank_angle_deg = 60.0
collector_volume_litres = 1.5
cylinders = 6
initial_rpm = 1400.0
initialize_phased_charge = true
layout = "v"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0, 600.0, 480.0, 360.0, 240.0, 120.0]
pipe_damping = 1.0
plenum_volume_litres = 6.0
starter_torque_nm = 73.97478
throttle_diameter_mm = 65.0
topology = "collector"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 93.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 10.0
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 29.76
exhaust_valve_lift_mm = 8.370001
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 1
intake_valve_diameter_mm = 35.34
intake_valve_lift_mm = 9.3
misfire_probability = 0.0
rod_mm = 130.68
stroke_mm = 72.6
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 11.83596
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.01183596
inertia_kg_m2 = 0.3550789
[ecu]
idle_base_opening = 0.05
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1000.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 650.978
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 1400.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[[pipes]]
id = "intake"
cells = 4
diameter_mm = 75.0
length_mm = 200.0
[[pipes]]
id = "runners"
count = 6
cells = 5
diameter_mm = 35.0
length_mm = 250.0
[[pipes]]
id = "primaries"
count = 6
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "tailpipe"
cells = 30
diameter_mm = 60.0
length_mm = 1500.0
+126
View File
@@ -0,0 +1,126 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "ej20"
name = "EJ20-inspired / 2.0 flat four NA"
category = "Boxer / flat four"
description = "Estimated concept calibration / EFI"
order = 27
cycle = "four_stroke"
[engine]
bank_angle_deg = 180.0
collector_volume_litres = 1.0
cylinders = 4
initial_rpm = 1400.0
initialize_phased_charge = true
layout = "boxer"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0, 540.0, 360.0, 180.0]
pipe_damping = 1.0
plenum_volume_litres = 4.0
starter_torque_nm = 49.85708
throttle_diameter_mm = 65.0
topology = "collector"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 92.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 10.0
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 29.44
exhaust_valve_lift_mm = 8.280001
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 1
intake_valve_diameter_mm = 34.96
intake_valve_lift_mm = 9.2
misfire_probability = 0.0
rod_mm = 135.0
stroke_mm = 75.0
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 7.977133
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.007977134
inertia_kg_m2 = 0.239314
[ecu]
idle_base_opening = 0.05
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1000.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 438.7423
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 1400.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[[pipes]]
id = "intake"
cells = 4
diameter_mm = 75.0
length_mm = 200.0
[[pipes]]
id = "runners"
count = 4
cells = 5
diameter_mm = 35.0
length_mm = 250.0
[[pipes]]
id = "primaries"
count = 4
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "tailpipe"
cells = 30
diameter_mm = 60.0
length_mm = 1500.0
+159
View File
@@ -0,0 +1,159 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "f20"
name = "F20C-inspired / 2.0 high-rev four"
category = "Inline four / specials"
description = "Unequal primaries / small junctions / staged collectors / EFI"
order = 22
cycle = "four_stroke"
[engine]
bank_angle_deg = 60.0
collector_volume_litres = 1.0
cylinders = 4
initial_rpm = 1400.0
initialize_phased_charge = true
layout = "inline"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0, 180.0, 540.0, 360.0]
pipe_damping = 0.0
plenum_volume_litres = 4.0
starter_torque_nm = 49.9353
throttle_diameter_mm = 65.0
topology = "staged"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 87.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 10.0
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 27.84
exhaust_valve_lift_mm = 7.83
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 1
intake_valve_diameter_mm = 33.06
intake_valve_lift_mm = 8.7
misfire_probability = 0.0
rod_mm = 151.2
stroke_mm = 84.0
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 7.989648
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.007989648
inertia_kg_m2 = 0.2396894
[ecu]
idle_base_opening = 0.05
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1000.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 9000.0
rev_resume_rpm = 8750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 439.4306
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 1400.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[junctions]
h_pipe = true
junction_volume_cc = 50.0
[[pipes]]
id = "intake"
cells = 4
diameter_mm = 75.0
length_mm = 200.0
[[pipes]]
id = "runners"
count = 4
cells = 5
diameter_mm = 35.0
length_mm = 250.0
[[pipes]]
id = "primary_1"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_2"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "primary_3"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "primary_4"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "tailpipe_9"
cells = 30
diameter_mm = 60.0
length_mm = 1500.0
[[pipes]]
id = "secondary_10"
cells = 9
diameter_mm = 48.0
length_mm = 420.0
[[pipes]]
id = "secondary_11"
cells = 11
diameter_mm = 48.0
length_mm = 540.0
+68
View File
@@ -0,0 +1,68 @@
# 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]
+165
View File
@@ -0,0 +1,165 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "five"
name = "Audi-inspired / 2.2 inline five"
category = "Inline five"
description = "Unequal primaries / small junctions / staged collectors / EFI"
order = 23
cycle = "four_stroke"
[engine]
bank_angle_deg = 60.0
collector_volume_litres = 1.25
cylinders = 5
initial_rpm = 1400.0
initialize_phased_charge = true
layout = "inline"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0, 576.0, 144.0, 432.0, 288.0]
pipe_damping = 0.0
plenum_volume_litres = 5.0
starter_torque_nm = 55.65237
throttle_diameter_mm = 65.0
topology = "staged"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 81.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 10.0
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 25.92
exhaust_valve_lift_mm = 7.29
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 1
intake_valve_diameter_mm = 30.78
intake_valve_lift_mm = 8.1
misfire_probability = 0.0
rod_mm = 155.52
stroke_mm = 86.4
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 8.90438
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.008904381
inertia_kg_m2 = 0.2671314
[ecu]
idle_base_opening = 0.05
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1000.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 489.7409
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 1400.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[junctions]
h_pipe = true
junction_volume_cc = 50.0
[[pipes]]
id = "intake"
cells = 4
diameter_mm = 75.0
length_mm = 200.0
[[pipes]]
id = "runners"
count = 5
cells = 5
diameter_mm = 35.0
length_mm = 250.0
[[pipes]]
id = "primary_1"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_2"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "primary_3"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "primary_4"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_5"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "tailpipe_11"
cells = 30
diameter_mm = 60.0
length_mm = 1500.0
[[pipes]]
id = "secondary_12"
cells = 9
diameter_mm = 48.0
length_mm = 420.0
[[pipes]]
id = "secondary_13"
cells = 11
diameter_mm = 48.0
length_mm = 540.0
+68
View File
@@ -0,0 +1,68 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "fivehundred"
name = "500 cc / big single"
category = "Two-stroke / 500 cc"
description = "Concept single / transported carb fuel"
order = 16
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.04002316
bore_mm = 86.0
carburetor_diameter_mm = 41.0
crankcase_clearance_cc = 600.3475
exhaust = "racing"
exhaust_cell_length_mm = 15.0
exhaust_duration_deg = 190.0
exhaust_width_mm = 57.15746
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 = 1.0
main_jet_scale = 1.7504
minimum_burn_s = 0.001270166
needle_jet_scale = 1.06
needle_low_scale = 3.04
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.75
pilot_tip_scale = 1.0
pilot_transition_scale = 1.0
rod_mm = 174.6478
stroke_mm = 86.0
transfer_duration_deg = 130.0
transfer_width_mm = 79.38537
trapped_compression = 8.2
chamber_sections_mm = [[254.0332, 57.15746, 57.15746], [285.7873, 57.15746, 95.26245], [301.6644, 95.26245, 166.7093], [206.402, 166.7093, 166.7093], [333.4185, 166.7093, 34.92956], [381.0498, 34.92956, 34.92956]]
[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]
+126
View File
@@ -0,0 +1,126 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "flat6"
name = "911-inspired / 3.0 flat six"
category = "Boxer / flat six"
description = "Estimated concept calibration / EFI"
order = 28
cycle = "four_stroke"
[engine]
bank_angle_deg = 180.0
collector_volume_litres = 1.5
cylinders = 6
initial_rpm = 1400.0
initialize_phased_charge = true
layout = "boxer"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0, 600.0, 480.0, 360.0, 240.0, 120.0]
pipe_damping = 1.0
plenum_volume_litres = 6.0
starter_torque_nm = 74.85159
throttle_diameter_mm = 65.0
topology = "collector"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 95.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 10.0
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 30.4
exhaust_valve_lift_mm = 8.55
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 1
intake_valve_diameter_mm = 36.1
intake_valve_lift_mm = 9.5
misfire_probability = 0.0
rod_mm = 126.72
stroke_mm = 70.4
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 11.97625
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.01197626
inertia_kg_m2 = 0.3592876
[ecu]
idle_base_opening = 0.05
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1000.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 658.694
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 1400.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[[pipes]]
id = "intake"
cells = 4
diameter_mm = 75.0
length_mm = 200.0
[[pipes]]
id = "runners"
count = 6
cells = 5
diameter_mm = 35.0
length_mm = 250.0
[[pipes]]
id = "primaries"
count = 6
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "tailpipe"
cells = 30
diameter_mm = 60.0
length_mm = 1500.0
+126
View File
@@ -0,0 +1,126 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "ltwin"
name = "916-inspired / 90-degree V twin"
category = "Twins / V"
description = "Estimated concept calibration / EFI"
order = 20
cycle = "four_stroke"
[engine]
bank_angle_deg = 90.0
collector_volume_litres = 0.5
cylinders = 2
initial_rpm = 1400.0
initialize_phased_charge = true
layout = "v"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0, 450.0]
pipe_damping = 1.0
plenum_volume_litres = 2.0
starter_torque_nm = 22.90127
throttle_diameter_mm = 65.0
topology = "collector"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 94.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 10.0
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 30.08
exhaust_valve_lift_mm = 8.46
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 1
intake_valve_diameter_mm = 35.72
intake_valve_lift_mm = 9.4
misfire_probability = 0.0
rod_mm = 118.8
stroke_mm = 66.0
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 3.664203
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.003664203
inertia_kg_m2 = 0.1099261
[ecu]
idle_base_opening = 0.05
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1000.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 201.5311
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 240.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[[pipes]]
id = "intake"
cells = 4
diameter_mm = 75.0
length_mm = 200.0
[[pipes]]
id = "runners"
count = 2
cells = 5
diameter_mm = 35.0
length_mm = 250.0
[[pipes]]
id = "primaries"
count = 2
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "tailpipe"
cells = 30
diameter_mm = 60.0
length_mm = 1500.0
+171
View File
@@ -0,0 +1,171 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "rb26"
name = "RB26-inspired / 2.6 inline six NA"
category = "Inline six"
description = "Unequal primaries / small junctions / staged collectors / EFI"
order = 24
cycle = "four_stroke"
[engine]
bank_angle_deg = 60.0
collector_volume_litres = 1.5
cylinders = 6
initial_rpm = 1400.0
initialize_phased_charge = true
layout = "inline"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0, 240.0, 480.0, 120.0, 600.0, 360.0]
pipe_damping = 0.0
plenum_volume_litres = 6.0
starter_torque_nm = 64.21635
throttle_diameter_mm = 65.0
topology = "staged"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 86.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 10.0
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 27.52
exhaust_valve_lift_mm = 7.740001
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 1
intake_valve_diameter_mm = 32.68
intake_valve_lift_mm = 8.6
misfire_probability = 0.0
rod_mm = 132.66
stroke_mm = 73.7
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 10.27462
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.01027462
inertia_kg_m2 = 0.3082384
[ecu]
idle_base_opening = 0.05
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1000.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 565.1038
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 1400.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[junctions]
h_pipe = true
junction_volume_cc = 50.0
[[pipes]]
id = "intake"
cells = 4
diameter_mm = 75.0
length_mm = 200.0
[[pipes]]
id = "runners"
count = 6
cells = 5
diameter_mm = 35.0
length_mm = 250.0
[[pipes]]
id = "primary_1"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_2"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "primary_3"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "primary_4"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_5"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "primary_6"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "tailpipe_13"
cells = 30
diameter_mm = 60.0
length_mm = 1500.0
[[pipes]]
id = "secondary_14"
cells = 9
diameter_mm = 48.0
length_mm = 420.0
[[pipes]]
id = "secondary_15"
cells = 11
diameter_mm = 48.0
length_mm = 540.0
+152
View File
@@ -0,0 +1,152 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "saab-chambered"
name = "Saab B205 / chambered"
category = "Inline four / Saab"
description = "Expansion resonator and two-chamber rear muffler"
order = 4
cycle = "four_stroke"
[engine]
bank_angle_deg = 56.0
collector_volume_litres = 0.6
cylinders = 4
initial_rpm = 1200.0
initialize_phased_charge = true
layout = "inline"
maximum_load_torque_nm = 200.0
minimum_substeps = 2
phase_degrees = [0.0, 180.0, 540.0, 360.0]
pipe_damping = 0.0
plenum_volume_litres = 3.0
starter_torque_nm = 65.0
throttle_diameter_mm = 52.0
topology = "collector"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 90.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 8.8
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 2
exhaust_valve_diameter_mm = 28.0
exhaust_valve_lift_mm = 8.0
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 2
intake_valve_diameter_mm = 32.0
intake_valve_lift_mm = 8.5
misfire_probability = 0.0
rod_mm = 153.0
stroke_mm = 78.0
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 12.0
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.012
inertia_kg_m2 = 0.18
[ecu]
idle_base_opening = 0.08
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -10.0
idle_rpm = 850.0
idle_spark_gain = 0.025
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 2000.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 1300.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 6500.0
rev_resume_rpm = 6250.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 300.0
clutch_engagement_rate = 8.0
drag_coefficient = 0.32
final_drive_ratio = 4.05
frontal_area = 2.2
gear_ratios = [3.382716, 1.758025, 1.177778, 0.8938271, 0.6592593]
gravity = 9.80665
mass_kg = 1675.0
primary_reduction = 1.0
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 3.6
wheel_radius_mm = 317.0
[fuel]
system = "injection"
[silencers]
cell_length_mm = 35.0
connecting_length_mm = 800.0
diameter_mm = 60.0
enabled = true
inlet_length_mm = 1400.0
outlet_length_mm = 350.0
[silencers.resonator]
chambers = 1
core_diameter_mm = 60.0
length_mm = 400.0
loss_coefficient = 0.1
passage_diameter_mm = 60.0
resistance = 2.0
type = "expansion"
volume_litres = 6.0
[silencers.muffler]
chambers = 2
core_diameter_mm = 60.0
length_mm = 650.0
loss_coefficient = 0.35
passage_diameter_mm = 60.0
resistance = 4.0
type = "chambered"
volume_litres = 18.0
[[pipes]]
id = "intake"
cells = 8
diameter_mm = 60.0
length_mm = 150.0
[[pipes]]
id = "runners"
count = 4
cells = 10
diameter_mm = 32.0
length_mm = 250.0
[[pipes]]
id = "primaries"
count = 4
cells = 10
diameter_mm = 34.0
length_mm = 280.0
[[pipes]]
id = "tailpipe"
profile = "silenced"
+152
View File
@@ -0,0 +1,152 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "saab-expansion"
name = "Saab B205 / expansion silencers"
category = "Inline four / Saab"
description = "Two single expansion chambers, same body volumes"
order = 5
cycle = "four_stroke"
[engine]
bank_angle_deg = 56.0
collector_volume_litres = 0.6
cylinders = 4
initial_rpm = 1200.0
initialize_phased_charge = true
layout = "inline"
maximum_load_torque_nm = 200.0
minimum_substeps = 2
phase_degrees = [0.0, 180.0, 540.0, 360.0]
pipe_damping = 0.0
plenum_volume_litres = 3.0
starter_torque_nm = 65.0
throttle_diameter_mm = 52.0
topology = "collector"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 90.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 8.8
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 2
exhaust_valve_diameter_mm = 28.0
exhaust_valve_lift_mm = 8.0
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 2
intake_valve_diameter_mm = 32.0
intake_valve_lift_mm = 8.5
misfire_probability = 0.0
rod_mm = 153.0
stroke_mm = 78.0
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 12.0
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.012
inertia_kg_m2 = 0.18
[ecu]
idle_base_opening = 0.08
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -10.0
idle_rpm = 850.0
idle_spark_gain = 0.025
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 2000.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 1300.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 6500.0
rev_resume_rpm = 6250.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 300.0
clutch_engagement_rate = 8.0
drag_coefficient = 0.32
final_drive_ratio = 4.05
frontal_area = 2.2
gear_ratios = [3.382716, 1.758025, 1.177778, 0.8938271, 0.6592593]
gravity = 9.80665
mass_kg = 1675.0
primary_reduction = 1.0
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 3.6
wheel_radius_mm = 317.0
[fuel]
system = "injection"
[silencers]
cell_length_mm = 35.0
connecting_length_mm = 800.0
diameter_mm = 60.0
enabled = true
inlet_length_mm = 1400.0
outlet_length_mm = 350.0
[silencers.resonator]
chambers = 1
core_diameter_mm = 60.0
length_mm = 400.0
loss_coefficient = 0.1
passage_diameter_mm = 60.0
resistance = 2.0
type = "expansion"
volume_litres = 6.0
[silencers.muffler]
chambers = 1
core_diameter_mm = 60.0
length_mm = 650.0
loss_coefficient = 0.35
passage_diameter_mm = 60.0
resistance = 4.0
type = "expansion"
volume_litres = 18.0
[[pipes]]
id = "intake"
cells = 8
diameter_mm = 60.0
length_mm = 150.0
[[pipes]]
id = "runners"
count = 4
cells = 10
diameter_mm = 32.0
length_mm = 250.0
[[pipes]]
id = "primaries"
count = 4
cells = 10
diameter_mm = 34.0
length_mm = 280.0
[[pipes]]
id = "tailpipe"
profile = "silenced"
+152
View File
@@ -0,0 +1,152 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "saab-open"
name = "Saab B205 / open exhaust"
category = "Inline four / Saab"
description = "Silencers bypassed; naturally aspirated baseline"
order = 6
cycle = "four_stroke"
[engine]
bank_angle_deg = 56.0
collector_volume_litres = 0.6
cylinders = 4
initial_rpm = 1200.0
initialize_phased_charge = true
layout = "inline"
maximum_load_torque_nm = 200.0
minimum_substeps = 2
phase_degrees = [0.0, 180.0, 540.0, 360.0]
pipe_damping = 0.0
plenum_volume_litres = 3.0
starter_torque_nm = 65.0
throttle_diameter_mm = 52.0
topology = "collector"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 90.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 8.8
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 2
exhaust_valve_diameter_mm = 28.0
exhaust_valve_lift_mm = 8.0
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 2
intake_valve_diameter_mm = 32.0
intake_valve_lift_mm = 8.5
misfire_probability = 0.0
rod_mm = 153.0
stroke_mm = 78.0
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 12.0
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.012
inertia_kg_m2 = 0.18
[ecu]
idle_base_opening = 0.08
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -10.0
idle_rpm = 850.0
idle_spark_gain = 0.025
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 2000.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 1300.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 6500.0
rev_resume_rpm = 6250.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 300.0
clutch_engagement_rate = 8.0
drag_coefficient = 0.32
final_drive_ratio = 4.05
frontal_area = 2.2
gear_ratios = [3.382716, 1.758025, 1.177778, 0.8938271, 0.6592593]
gravity = 9.80665
mass_kg = 1675.0
primary_reduction = 1.0
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 3.6
wheel_radius_mm = 317.0
[fuel]
system = "injection"
[silencers]
cell_length_mm = 35.0
connecting_length_mm = 800.0
diameter_mm = 60.0
enabled = false
inlet_length_mm = 1400.0
outlet_length_mm = 350.0
[silencers.resonator]
chambers = 1
core_diameter_mm = 60.0
length_mm = 400.0
loss_coefficient = 0.1
passage_diameter_mm = 60.0
resistance = 2.0
type = "straight_through"
volume_litres = 6.0
[silencers.muffler]
chambers = 1
core_diameter_mm = 60.0
length_mm = 650.0
loss_coefficient = 0.35
passage_diameter_mm = 60.0
resistance = 4.0
type = "straight_through"
volume_litres = 18.0
[[pipes]]
id = "intake"
cells = 8
diameter_mm = 60.0
length_mm = 150.0
[[pipes]]
id = "runners"
count = 4
cells = 10
diameter_mm = 32.0
length_mm = 250.0
[[pipes]]
id = "primaries"
count = 4
cells = 10
diameter_mm = 34.0
length_mm = 280.0
[[pipes]]
id = "tailpipe"
profile = "silenced"
+152
View File
@@ -0,0 +1,152 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "saab-straight"
name = "Saab B205 / straight-through"
category = "Inline four / Saab"
description = "6 L resonator and 18 L straight-through rear muffler"
order = 3
cycle = "four_stroke"
[engine]
bank_angle_deg = 56.0
collector_volume_litres = 0.6
cylinders = 4
initial_rpm = 1200.0
initialize_phased_charge = true
layout = "inline"
maximum_load_torque_nm = 200.0
minimum_substeps = 2
phase_degrees = [0.0, 180.0, 540.0, 360.0]
pipe_damping = 0.0
plenum_volume_litres = 3.0
starter_torque_nm = 65.0
throttle_diameter_mm = 52.0
topology = "collector"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 90.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 8.8
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 2
exhaust_valve_diameter_mm = 28.0
exhaust_valve_lift_mm = 8.0
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 2
intake_valve_diameter_mm = 32.0
intake_valve_lift_mm = 8.5
misfire_probability = 0.0
rod_mm = 153.0
stroke_mm = 78.0
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 12.0
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.012
inertia_kg_m2 = 0.18
[ecu]
idle_base_opening = 0.08
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -10.0
idle_rpm = 850.0
idle_spark_gain = 0.025
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 2000.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 1300.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 6500.0
rev_resume_rpm = 6250.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 300.0
clutch_engagement_rate = 8.0
drag_coefficient = 0.32
final_drive_ratio = 4.05
frontal_area = 2.2
gear_ratios = [3.382716, 1.758025, 1.177778, 0.8938271, 0.6592593]
gravity = 9.80665
mass_kg = 1675.0
primary_reduction = 1.0
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 3.6
wheel_radius_mm = 317.0
[fuel]
system = "injection"
[silencers]
cell_length_mm = 35.0
connecting_length_mm = 800.0
diameter_mm = 60.0
enabled = true
inlet_length_mm = 1400.0
outlet_length_mm = 350.0
[silencers.resonator]
chambers = 1
core_diameter_mm = 60.0
length_mm = 400.0
loss_coefficient = 0.1
passage_diameter_mm = 60.0
resistance = 2.0
type = "straight_through"
volume_litres = 6.0
[silencers.muffler]
chambers = 1
core_diameter_mm = 60.0
length_mm = 650.0
loss_coefficient = 0.35
passage_diameter_mm = 60.0
resistance = 4.0
type = "straight_through"
volume_litres = 18.0
[[pipes]]
id = "intake"
cells = 8
diameter_mm = 60.0
length_mm = 150.0
[[pipes]]
id = "runners"
count = 4
cells = 10
diameter_mm = 32.0
length_mm = 250.0
[[pipes]]
id = "primaries"
count = 4
cells = 10
diameter_mm = 34.0
length_mm = 280.0
[[pipes]]
id = "tailpipe"
profile = "silenced"
+136
View File
@@ -0,0 +1,136 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "single-450"
name = "450 cc / carbureted four-stroke thumper"
category = "Singles / four-stroke"
description = "40 mm carb / mild valve timing / fixed idle stop"
order = 17
cycle = "four_stroke"
[engine]
bank_angle_deg = 60.0
collector_volume_litres = 0.25
cylinders = 1
initial_rpm = 1960.0
initialize_phased_charge = true
layout = "inline"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0]
pipe_damping = 1.0
plenum_volume_litres = 1.0
starter_torque_nm = 11.21926
throttle_diameter_mm = 40.0
topology = "collector"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 96.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 10.0
energy_variation = 0.05
exhaust_close_deg = 370.0
exhaust_open_deg = 145.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 30.72
exhaust_valve_lift_mm = 8.640001
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 565.0
intake_open_deg = 355.0
intake_valve_count = 1
intake_valve_diameter_mm = 36.48
intake_valve_lift_mm = 9.6
misfire_probability = 0.0
rod_mm = 111.6
stroke_mm = 62.0
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 1.795081
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.001795081
inertia_kg_m2 = 0.05385243
[ecu]
idle_base_opening = 0.045
idle_control = "fixed"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1400.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = false
overrun_ignition_cut_enabled = true
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = false
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 98.72945
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 240.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "carburetor"
pilot_jet_diameter_mm = 0.09349564
main_jet_diameter_mm = 2.091829
needle_jet_diameter_mm = 2.15284
needle_low_scale = 0.944
needle_mid_scale = 0.564
needle_off_idle_scale = 0.995
needle_quarter_scale = 0.835
needle_tip_scale = 0.97
needle_transition_scale = 1.6
needle_upper_scale = 0.65
bowl_capacity_kg = 0.1
bowl_refill_kg_per_s = 0.1
[[pipes]]
id = "intake"
cells = 4
diameter_mm = 75.0
length_mm = 200.0
[[pipes]]
id = "runners"
cells = 5
diameter_mm = 35.0
length_mm = 250.0
[[pipes]]
id = "primaries"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "tailpipe"
cells = 30
diameter_mm = 60.0
length_mm = 1500.0
+124
View File
@@ -0,0 +1,124 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "single-650"
name = "650 cc / big thumper"
category = "Singles / four-stroke"
description = "Estimated concept calibration / EFI"
order = 18
cycle = "four_stroke"
[engine]
bank_angle_deg = 60.0
collector_volume_litres = 0.25
cylinders = 1
initial_rpm = 1400.0
initialize_phased_charge = true
layout = "inline"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0]
pipe_damping = 1.0
plenum_volume_litres = 1.0
starter_torque_nm = 16.29701
throttle_diameter_mm = 65.0
topology = "collector"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 100.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 10.0
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 32.0
exhaust_valve_lift_mm = 9.000001
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 1
intake_valve_diameter_mm = 38.0
intake_valve_lift_mm = 10.0
misfire_probability = 0.0
rod_mm = 149.4
stroke_mm = 83.0
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 2.607522
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.002607522
inertia_kg_m2 = 0.07822565
[ecu]
idle_base_opening = 0.05
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1000.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 6500.0
rev_resume_rpm = 6250.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 143.4137
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 240.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[[pipes]]
id = "intake"
cells = 4
diameter_mm = 75.0
length_mm = 200.0
[[pipes]]
id = "runners"
cells = 5
diameter_mm = 35.0
length_mm = 250.0
[[pipes]]
id = "primaries"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "tailpipe"
cells = 30
diameter_mm = 60.0
length_mm = 1500.0
+171
View File
@@ -0,0 +1,171 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "six-long"
name = "3.0 litre / long-stroke inline six"
category = "Inline six"
description = "Unequal primaries / small junctions / staged collectors / EFI"
order = 25
cycle = "four_stroke"
[engine]
bank_angle_deg = 60.0
collector_volume_litres = 1.5
cylinders = 6
initial_rpm = 1400.0
initialize_phased_charge = true
layout = "inline"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0, 240.0, 480.0, 120.0, 600.0, 360.0]
pipe_damping = 0.0
plenum_volume_litres = 6.0
starter_torque_nm = 74.93359
throttle_diameter_mm = 65.0
topology = "staged"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 86.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 10.0
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 27.52
exhaust_valve_lift_mm = 7.740001
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 1
intake_valve_diameter_mm = 32.68
intake_valve_lift_mm = 8.6
misfire_probability = 0.0
rod_mm = 154.8
stroke_mm = 86.0
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 11.98938
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.01198938
inertia_kg_m2 = 0.3596812
[ecu]
idle_base_opening = 0.05
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1000.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 659.4156
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 1400.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[junctions]
h_pipe = true
junction_volume_cc = 50.0
[[pipes]]
id = "intake"
cells = 4
diameter_mm = 75.0
length_mm = 200.0
[[pipes]]
id = "runners"
count = 6
cells = 5
diameter_mm = 35.0
length_mm = 250.0
[[pipes]]
id = "primary_1"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_2"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "primary_3"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "primary_4"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_5"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "primary_6"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "tailpipe_13"
cells = 30
diameter_mm = 60.0
length_mm = 1500.0
[[pipes]]
id = "secondary_14"
cells = 9
diameter_mm = 48.0
length_mm = 420.0
[[pipes]]
id = "secondary_15"
cells = 11
diameter_mm = 48.0
length_mm = 540.0
+147
View File
@@ -0,0 +1,147 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "triple"
name = "1.0 litre / inline triple"
category = "Inline three"
description = "Unequal primaries / small junctions / staged collectors / EFI"
order = 21
cycle = "four_stroke"
[engine]
bank_angle_deg = 60.0
collector_volume_litres = 0.75
cylinders = 3
initial_rpm = 1400.0
initialize_phased_charge = true
layout = "inline"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0, 480.0, 240.0]
pipe_damping = 0.0
plenum_volume_litres = 3.0
starter_torque_nm = 24.99852
throttle_diameter_mm = 65.0
topology = "staged"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 79.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 10.0
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 25.28
exhaust_valve_lift_mm = 7.110001
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 1
intake_valve_diameter_mm = 30.02
intake_valve_lift_mm = 7.900001
misfire_probability = 0.0
rod_mm = 122.4
stroke_mm = 68.0
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 3.999763
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.003999764
inertia_kg_m2 = 0.1199929
[ecu]
idle_base_opening = 0.05
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1000.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 219.987
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 1400.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[junctions]
h_pipe = true
junction_volume_cc = 50.0
[[pipes]]
id = "intake"
cells = 4
diameter_mm = 75.0
length_mm = 200.0
[[pipes]]
id = "runners"
count = 3
cells = 5
diameter_mm = 35.0
length_mm = 250.0
[[pipes]]
id = "primary_1"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_2"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "primary_3"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "tailpipe_7"
cells = 30
diameter_mm = 60.0
length_mm = 1500.0
[[pipes]]
id = "secondary_8"
cells = 9
diameter_mm = 48.0
length_mm = 420.0
+126
View File
@@ -0,0 +1,126 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "twin-270"
name = "700 cc / 270-degree parallel twin"
category = "Twins / parallel"
description = "Estimated concept calibration / EFI"
order = 19
cycle = "four_stroke"
[engine]
bank_angle_deg = 60.0
collector_volume_litres = 0.5
cylinders = 2
initial_rpm = 1400.0
initialize_phased_charge = true
layout = "inline"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0, 450.0]
pipe_damping = 1.0
plenum_volume_litres = 2.0
starter_torque_nm = 17.09026
throttle_diameter_mm = 65.0
topology = "collector"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 80.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 10.0
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 25.6
exhaust_valve_lift_mm = 7.2
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 1
intake_valve_diameter_mm = 30.4
intake_valve_lift_mm = 8.0
misfire_probability = 0.0
rod_mm = 122.4
stroke_mm = 68.0
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 2.734442
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.002734442
inertia_kg_m2 = 0.08203326
[ecu]
idle_base_opening = 0.05
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1000.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 150.3943
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 240.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[[pipes]]
id = "intake"
cells = 4
diameter_mm = 75.0
length_mm = 200.0
[[pipes]]
id = "runners"
count = 2
cells = 5
diameter_mm = 35.0
length_mm = 250.0
[[pipes]]
id = "primaries"
count = 2
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "tailpipe"
cells = 30
diameter_mm = 60.0
length_mm = 1500.0
+126
View File
@@ -0,0 +1,126 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "twin"
name = "600 cc parallel twin"
category = "Twins / parallel"
description = "EFI motorcycle baseline"
order = 0
cycle = "four_stroke"
[engine]
bank_angle_deg = 56.0
collector_volume_litres = 0.15
cylinders = 2
initial_rpm = 2000.0
initialize_phased_charge = false
layout = "inline"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0, 180.0]
pipe_damping = 1.0
plenum_volume_litres = 1.0
starter_torque_nm = 18.0
throttle_diameter_mm = 26.0
topology = "collector"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 75.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 11.5
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 26.0
exhaust_valve_lift_mm = 7.5
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 1
intake_valve_diameter_mm = 30.0
intake_valve_lift_mm = 8.0
misfire_probability = 0.0
rod_mm = 112.0
stroke_mm = 68.0
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 5.0
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.003
inertia_kg_m2 = 0.04
[ecu]
idle_base_opening = 0.08
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1800.0
idle_spark_gain = 0.0
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 10000.0
rev_resume_rpm = 9750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 80.0
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 160.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[[pipes]]
id = "intake"
cells = 10
diameter_mm = 27.5
length_mm = 60.0
[[pipes]]
id = "runners"
count = 2
cells = 10
diameter_mm = 27.5
length_mm = 120.0
[[pipes]]
id = "primaries"
count = 2
cells = 6
diameter_mm = 28.0
length_mm = 200.0
[[pipes]]
id = "tailpipe"
cells = 10
diameter_mm = 28.0
length_mm = 400.0
+201
View File
@@ -0,0 +1,201 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "v10"
name = "5.0 litre / even-fire V10"
category = "V10"
description = "Separate five-cylinder banks / junction collectors / dual outlets"
order = 30
cycle = "four_stroke"
[engine]
bank_angle_deg = 72.0
collector_volume_litres = 2.5
cylinders = 10
initial_rpm = 1400.0
initialize_phased_charge = true
layout = "v"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0, 576.0, 432.0, 288.0, 144.0, 648.0001, 504.0, 360.0, 216.0, 72.00003]
pipe_damping = 0.0
plenum_volume_litres = 10.0
starter_torque_nm = 124.9751
throttle_diameter_mm = 65.0
topology = "staged"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 92.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 10.0
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 29.44
exhaust_valve_lift_mm = 8.280001
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 1
intake_valve_diameter_mm = 34.96
intake_valve_lift_mm = 9.2
misfire_probability = 0.0
rod_mm = 135.36
stroke_mm = 75.2
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 19.99601
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.01999602
inertia_kg_m2 = 0.5998804
[ecu]
idle_base_opening = 0.05
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1000.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 1099.781
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 1400.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[junctions]
h_pipe = true
junction_volume_cc = 50.0
[[pipes]]
id = "intake"
cells = 4
diameter_mm = 75.0
length_mm = 200.0
[[pipes]]
id = "runners"
count = 10
cells = 5
diameter_mm = 35.0
length_mm = 250.0
[[pipes]]
id = "primary_1"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_2"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "primary_3"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "primary_4"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_5"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "primary_6"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "primary_7"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_8"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "primary_9"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "primary_10"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "tailpipe_21"
cells = 30
diameter_mm = 60.0
length_mm = 1500.0
[[pipes]]
id = "tailpipe_22"
cells = 28
diameter_mm = 60.0
length_mm = 1380.0
[[pipes]]
id = "secondary_23"
cells = 9
diameter_mm = 48.0
length_mm = 420.0
[[pipes]]
id = "secondary_24"
cells = 11
diameter_mm = 48.0
length_mm = 540.0
+213
View File
@@ -0,0 +1,213 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "v12"
name = "250-inspired / 3.0 V12"
category = "V12"
description = "Separate six-cylinder banks / junction collectors / dual outlets"
order = 31
cycle = "four_stroke"
[engine]
bank_angle_deg = 60.0
collector_volume_litres = 3.0
cylinders = 12
initial_rpm = 1400.0
initialize_phased_charge = true
layout = "v"
maximum_load_torque_nm = 30.0
minimum_substeps = 1
phase_degrees = [0.0, 600.0, 480.0, 360.0, 240.0, 120.0, 660.0, 540.0, 420.0, 300.0, 180.0, 59.99998]
pipe_damping = 0.0
plenum_volume_litres = 12.0
starter_torque_nm = 73.83022
throttle_diameter_mm = 65.0
topology = "staged"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 73.0
burn_duration_deg = 60.0
burn_start_deg = 5.0
compression = 10.0
energy_variation = 0.05
exhaust_close_deg = 390.0
exhaust_open_deg = 130.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 23.36
exhaust_valve_lift_mm = 6.57
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 590.0
intake_open_deg = 340.0
intake_valve_count = 1
intake_valve_diameter_mm = 27.74
intake_valve_lift_mm = 7.3
misfire_probability = 0.0
rod_mm = 110.0
stroke_mm = 58.8
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 11.81283
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.01181284
inertia_kg_m2 = 0.354385
[ecu]
idle_base_opening = 0.05
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 1000.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [15000.0, 40.0]]
overrun_cut_rpm = 3500.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 2400.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 649.7059
clutch_engagement_rate = 8.0
drag_coefficient = 0.7
final_drive_ratio = 2.7
frontal_area = 0.65
gear_ratios = [4.1, 2.7, 2.0, 1.55, 1.25, 0.98]
gravity = 9.80665
mass_kg = 1400.0
primary_reduction = 1.8
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[junctions]
h_pipe = true
junction_volume_cc = 50.0
[[pipes]]
id = "intake"
cells = 4
diameter_mm = 75.0
length_mm = 200.0
[[pipes]]
id = "runners"
count = 12
cells = 5
diameter_mm = 35.0
length_mm = 250.0
[[pipes]]
id = "primary_1"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_2"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "primary_3"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "primary_4"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_5"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "primary_6"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "primary_7"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_8"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "primary_9"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "primary_10"
cells = 11
diameter_mm = 38.0
length_mm = 520.0
[[pipes]]
id = "primary_11"
cells = 12
diameter_mm = 38.0
length_mm = 585.0
[[pipes]]
id = "primary_12"
cells = 13
diameter_mm = 38.0
length_mm = 650.0
[[pipes]]
id = "tailpipe_25"
cells = 30
diameter_mm = 60.0
length_mm = 1500.0
[[pipes]]
id = "tailpipe_26"
cells = 28
diameter_mm = 60.0
length_mm = 1380.0
[[pipes]]
id = "secondary_27"
cells = 9
diameter_mm = 48.0
length_mm = 420.0
[[pipes]]
id = "secondary_28"
cells = 11
diameter_mm = 48.0
length_mm = 540.0
+151
View File
@@ -0,0 +1,151 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "v8-dual"
name = "American 5.0 / independent banks"
category = "V8 / American 5.0"
description = "Same 4-2-1 headers with H crossover disconnected"
order = 8
cycle = "four_stroke"
[engine]
bank_angle_deg = 56.0
collector_volume_litres = 1.5
cylinders = 8
initial_rpm = 1000.0
initialize_phased_charge = true
layout = "v"
maximum_load_torque_nm = 300.0
minimum_substeps = 1
phase_degrees = [0.0, 450.0, 270.0, 540.0, 630.0, 360.0, 180.0, 89.99998]
pipe_damping = 1.0
plenum_volume_litres = 4.0
starter_torque_nm = 180.0
throttle_diameter_mm = 65.0
topology = "american_v8"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 101.6
burn_duration_deg = 65.0
burn_start_deg = 5.0
compression = 7.0
energy_variation = 0.05
exhaust_close_deg = 370.0
exhaust_open_deg = 140.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 37.0
exhaust_valve_lift_mm = 10.0
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 570.0
intake_open_deg = 350.0
intake_valve_count = 1
intake_valve_diameter_mm = 45.0
intake_valve_lift_mm = 10.0
misfire_probability = 0.0
rod_mm = 129.0
stroke_mm = 76.2
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 22.0
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.025
inertia_kg_m2 = 1.1
[ecu]
idle_base_opening = 0.08
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 750.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [750.0, 12.0], [2500.0, 28.0], [4000.0, 32.0], [6000.0, 30.0]]
overrun_cut_rpm = 2000.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 1100.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 1100.0
clutch_engagement_rate = 8.0
drag_coefficient = 0.4
final_drive_ratio = 3.623529
frontal_area = 2.0
gear_ratios = [3.35, 1.93, 1.29, 1.0, 0.68]
gravity = 9.80665
mass_kg = 3000.0
primary_reduction = 1.0
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[junctions]
h_pipe = false
junction_volume_cc = 50.0
[[pipes]]
id = "intake"
cells = 3
diameter_mm = 70.0
length_mm = 180.0
[[pipes]]
id = "runners"
count = 8
cells = 2
diameter_mm = 38.0
length_mm = 120.0
[[pipes]]
id = "primaries"
count = 8
cells = 15
diameter_mm = 38.0
length_mm = 750.0
[[pipes]]
id = "secondaries"
count = 4
cells = 8
diameter_mm = 45.0
length_mm = 400.0
[[pipes]]
id = "bank_collectors"
count = 2
cells = 11
diameter_mm = 50.0
length_mm = 550.0
[[pipes]]
id = "tailpipes"
count = 2
cells = 25
diameter_mm = 50.0
length_mm = 1250.0
[[pipes]]
id = "crossover"
cells = 16
diameter_mm = 38.0
length_mm = 780.0
+151
View File
@@ -0,0 +1,151 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "v8-h"
name = "American 5.0 / 4-2-1 + H"
category = "V8 / American 5.0"
description = "750 mm primaries, 50 cc junctions, H crossover"
order = 7
cycle = "four_stroke"
[engine]
bank_angle_deg = 56.0
collector_volume_litres = 1.5
cylinders = 8
initial_rpm = 1000.0
initialize_phased_charge = true
layout = "v"
maximum_load_torque_nm = 300.0
minimum_substeps = 1
phase_degrees = [0.0, 450.0, 270.0, 540.0, 630.0, 360.0, 180.0, 89.99998]
pipe_damping = 1.0
plenum_volume_litres = 4.0
starter_torque_nm = 180.0
throttle_diameter_mm = 65.0
topology = "american_v8"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 101.6
burn_duration_deg = 65.0
burn_start_deg = 5.0
compression = 7.0
energy_variation = 0.05
exhaust_close_deg = 370.0
exhaust_open_deg = 140.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 37.0
exhaust_valve_lift_mm = 10.0
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 570.0
intake_open_deg = 350.0
intake_valve_count = 1
intake_valve_diameter_mm = 45.0
intake_valve_lift_mm = 10.0
misfire_probability = 0.0
rod_mm = 129.0
stroke_mm = 76.2
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 22.0
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.025
inertia_kg_m2 = 1.1
[ecu]
idle_base_opening = 0.08
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 750.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [750.0, 12.0], [2500.0, 28.0], [4000.0, 32.0], [6000.0, 30.0]]
overrun_cut_rpm = 2000.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 1100.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 1100.0
clutch_engagement_rate = 8.0
drag_coefficient = 0.4
final_drive_ratio = 3.623529
frontal_area = 2.0
gear_ratios = [3.35, 1.93, 1.29, 1.0, 0.68]
gravity = 9.80665
mass_kg = 3000.0
primary_reduction = 1.0
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[junctions]
h_pipe = true
junction_volume_cc = 50.0
[[pipes]]
id = "intake"
cells = 3
diameter_mm = 70.0
length_mm = 180.0
[[pipes]]
id = "runners"
count = 8
cells = 2
diameter_mm = 38.0
length_mm = 120.0
[[pipes]]
id = "primaries"
count = 8
cells = 15
diameter_mm = 38.0
length_mm = 750.0
[[pipes]]
id = "secondaries"
count = 4
cells = 8
diameter_mm = 45.0
length_mm = 400.0
[[pipes]]
id = "bank_collectors"
count = 2
cells = 11
diameter_mm = 50.0
length_mm = 550.0
[[pipes]]
id = "tailpipes"
count = 2
cells = 25
diameter_mm = 50.0
length_mm = 1250.0
[[pipes]]
id = "crossover"
cells = 16
diameter_mm = 38.0
length_mm = 780.0
+151
View File
@@ -0,0 +1,151 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "v8-large"
name = "American 5.0 / larger primaries"
category = "V8 / American 5.0"
description = "42 mm x 750 mm primaries with H crossover"
order = 11
cycle = "four_stroke"
[engine]
bank_angle_deg = 56.0
collector_volume_litres = 1.5
cylinders = 8
initial_rpm = 1000.0
initialize_phased_charge = true
layout = "v"
maximum_load_torque_nm = 300.0
minimum_substeps = 1
phase_degrees = [0.0, 450.0, 270.0, 540.0, 630.0, 360.0, 180.0, 89.99998]
pipe_damping = 1.0
plenum_volume_litres = 4.0
starter_torque_nm = 180.0
throttle_diameter_mm = 65.0
topology = "american_v8"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 101.6
burn_duration_deg = 65.0
burn_start_deg = 5.0
compression = 7.0
energy_variation = 0.05
exhaust_close_deg = 370.0
exhaust_open_deg = 140.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 37.0
exhaust_valve_lift_mm = 10.0
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 570.0
intake_open_deg = 350.0
intake_valve_count = 1
intake_valve_diameter_mm = 45.0
intake_valve_lift_mm = 10.0
misfire_probability = 0.0
rod_mm = 129.0
stroke_mm = 76.2
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 22.0
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.025
inertia_kg_m2 = 1.1
[ecu]
idle_base_opening = 0.08
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 750.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [750.0, 12.0], [2500.0, 28.0], [4000.0, 32.0], [6000.0, 30.0]]
overrun_cut_rpm = 2000.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 1100.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 1100.0
clutch_engagement_rate = 8.0
drag_coefficient = 0.4
final_drive_ratio = 3.623529
frontal_area = 2.0
gear_ratios = [3.35, 1.93, 1.29, 1.0, 0.68]
gravity = 9.80665
mass_kg = 3000.0
primary_reduction = 1.0
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[junctions]
h_pipe = true
junction_volume_cc = 50.0
[[pipes]]
id = "intake"
cells = 3
diameter_mm = 70.0
length_mm = 180.0
[[pipes]]
id = "runners"
count = 8
cells = 2
diameter_mm = 38.0
length_mm = 120.0
[[pipes]]
id = "primaries"
count = 8
cells = 15
diameter_mm = 42.0
length_mm = 750.0
[[pipes]]
id = "secondaries"
count = 4
cells = 8
diameter_mm = 45.0
length_mm = 400.0
[[pipes]]
id = "bank_collectors"
count = 2
cells = 11
diameter_mm = 50.0
length_mm = 550.0
[[pipes]]
id = "tailpipes"
count = 2
cells = 25
diameter_mm = 50.0
length_mm = 1250.0
[[pipes]]
id = "crossover"
cells = 16
diameter_mm = 38.0
length_mm = 780.0
+151
View File
@@ -0,0 +1,151 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "v8-long"
name = "American 5.0 / long headers"
category = "V8 / American 5.0"
description = "900 mm primaries with H crossover"
order = 10
cycle = "four_stroke"
[engine]
bank_angle_deg = 56.0
collector_volume_litres = 1.5
cylinders = 8
initial_rpm = 1000.0
initialize_phased_charge = true
layout = "v"
maximum_load_torque_nm = 300.0
minimum_substeps = 1
phase_degrees = [0.0, 450.0, 270.0, 540.0, 630.0, 360.0, 180.0, 89.99998]
pipe_damping = 1.0
plenum_volume_litres = 4.0
starter_torque_nm = 180.0
throttle_diameter_mm = 65.0
topology = "american_v8"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 101.6
burn_duration_deg = 65.0
burn_start_deg = 5.0
compression = 7.0
energy_variation = 0.05
exhaust_close_deg = 370.0
exhaust_open_deg = 140.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 37.0
exhaust_valve_lift_mm = 10.0
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 570.0
intake_open_deg = 350.0
intake_valve_count = 1
intake_valve_diameter_mm = 45.0
intake_valve_lift_mm = 10.0
misfire_probability = 0.0
rod_mm = 129.0
stroke_mm = 76.2
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 22.0
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.025
inertia_kg_m2 = 1.1
[ecu]
idle_base_opening = 0.08
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 750.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [750.0, 12.0], [2500.0, 28.0], [4000.0, 32.0], [6000.0, 30.0]]
overrun_cut_rpm = 2000.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 1100.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 1100.0
clutch_engagement_rate = 8.0
drag_coefficient = 0.4
final_drive_ratio = 3.623529
frontal_area = 2.0
gear_ratios = [3.35, 1.93, 1.29, 1.0, 0.68]
gravity = 9.80665
mass_kg = 3000.0
primary_reduction = 1.0
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[junctions]
h_pipe = true
junction_volume_cc = 50.0
[[pipes]]
id = "intake"
cells = 3
diameter_mm = 70.0
length_mm = 180.0
[[pipes]]
id = "runners"
count = 8
cells = 2
diameter_mm = 38.0
length_mm = 120.0
[[pipes]]
id = "primaries"
count = 8
cells = 18
diameter_mm = 38.0
length_mm = 900.0
[[pipes]]
id = "secondaries"
count = 4
cells = 8
diameter_mm = 45.0
length_mm = 400.0
[[pipes]]
id = "bank_collectors"
count = 2
cells = 11
diameter_mm = 50.0
length_mm = 550.0
[[pipes]]
id = "tailpipes"
count = 2
cells = 25
diameter_mm = 50.0
length_mm = 1250.0
[[pipes]]
id = "crossover"
cells = 16
diameter_mm = 38.0
length_mm = 780.0
+151
View File
@@ -0,0 +1,151 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "v8-short"
name = "American 5.0 / short headers"
category = "V8 / American 5.0"
description = "600 mm primaries with H crossover"
order = 9
cycle = "four_stroke"
[engine]
bank_angle_deg = 56.0
collector_volume_litres = 1.5
cylinders = 8
initial_rpm = 1000.0
initialize_phased_charge = true
layout = "v"
maximum_load_torque_nm = 300.0
minimum_substeps = 1
phase_degrees = [0.0, 450.0, 270.0, 540.0, 630.0, 360.0, 180.0, 89.99998]
pipe_damping = 1.0
plenum_volume_litres = 4.0
starter_torque_nm = 180.0
throttle_diameter_mm = 65.0
topology = "american_v8"
[cylinder]
afr = 14.7
ambient_temperature_k = 300.0
bore_mm = 101.6
burn_duration_deg = 65.0
burn_start_deg = 5.0
compression = 7.0
energy_variation = 0.05
exhaust_close_deg = 370.0
exhaust_open_deg = 140.0
exhaust_valve_count = 1
exhaust_valve_diameter_mm = 37.0
exhaust_valve_lift_mm = 10.0
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_close_deg = 570.0
intake_open_deg = 350.0
intake_valve_count = 1
intake_valve_diameter_mm = 45.0
intake_valve_lift_mm = 10.0
misfire_probability = 0.0
rod_mm = 129.0
stroke_mm = 76.2
wall_area = 0.02
wiebe_a = 5.0
wiebe_m = 2.0
[crankshaft]
friction_constant_nm = 22.0
friction_quadratic_nm_s2 = 0.0
friction_viscous_nm_s = 0.025
inertia_kg_m2 = 1.1
[ecu]
idle_base_opening = 0.08
idle_control = "feedback"
idle_ki = 4e-05
idle_kp = 0.0001
idle_max_opening = 0.25
idle_minimum_advance_deg = -5.0
idle_rpm = 750.0
idle_spark_gain = 0.02
ignition_map = [[0.0, 10.0], [750.0, 12.0], [2500.0, 28.0], [4000.0, 32.0], [6000.0, 30.0]]
overrun_cut_rpm = 2000.0
overrun_fuel_cut_enabled = true
overrun_ignition_cut_enabled = false
overrun_resume_rpm = 1100.0
power_afr = 12.8
rev_limit_enabled = true
rev_limit_fuel_cut_enabled = true
rev_limit_rpm = 7000.0
rev_resume_rpm = 6750.0
stoichiometric_afr = 14.7
throttle_closing_rate = 0.0
throttle_closing_time_constant_s = 0.0
throttle_rate = 1000.0
throttle_time_constant_s = 0.001
[vehicle]
air_density = 1.225
clutch_capacity = 1100.0
clutch_engagement_rate = 8.0
drag_coefficient = 0.4
final_drive_ratio = 3.623529
frontal_area = 2.0
gear_ratios = [3.35, 1.93, 1.29, 1.0, 0.68]
gravity = 9.80665
mass_kg = 3000.0
primary_reduction = 1.0
rolling_resistance = 0.015
rotational_inertia_kg_m2 = 1.2
wheel_radius_mm = 320.0
[fuel]
system = "injection"
[junctions]
h_pipe = true
junction_volume_cc = 50.0
[[pipes]]
id = "intake"
cells = 3
diameter_mm = 70.0
length_mm = 180.0
[[pipes]]
id = "runners"
count = 8
cells = 2
diameter_mm = 38.0
length_mm = 120.0
[[pipes]]
id = "primaries"
count = 8
cells = 12
diameter_mm = 38.0
length_mm = 600.0
[[pipes]]
id = "secondaries"
count = 4
cells = 8
diameter_mm = 45.0
length_mm = 400.0
[[pipes]]
id = "bank_collectors"
count = 2
cells = 11
diameter_mm = 50.0
length_mm = 550.0
[[pipes]]
id = "tailpipes"
count = 2
cells = 25
diameter_mm = 50.0
length_mm = 1250.0
[[pipes]]
id = "crossover"
cells = 16
diameter_mm = 38.0
length_mm = 780.0
+68
View File
@@ -0,0 +1,68 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "yz-fat"
name = "125 / wide belly chamber"
category = "Two-stroke / 125 cc"
description = "Estimated chamber geometry / same 125 cc engine"
order = 14
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 = [[160.0, 42.48, 42.48], [180.0, 42.48, 70.8], [190.0, 70.8, 123.9], [130.0, 123.9, 123.9], [210.0, 123.9, 25.96], [240.0, 25.96, 25.96]]
[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]
+68
View File
@@ -0,0 +1,68 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
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"
[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 = [[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]
+68
View File
@@ -0,0 +1,68 @@
# 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]
+68
View File
@@ -0,0 +1,68 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "yz-straight"
name = "YZ125 / straight exhaust"
category = "Two-stroke / 125 cc"
description = "Straight exhaust / calibrated pilot and needle / 3% idle stop"
order = 2
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 = "straight"
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 = 50.0
needle_quarter_scale = 1.42
needle_tip_scale = 6.0
needle_transition_scale = 14.0
needle_upper_scale = 0.76
pilot_jet_scale = 0.534
pilot_tip_scale = 1.0
pilot_transition_scale = 1.1
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]
+68
View File
@@ -0,0 +1,68 @@
# Engine definition. Dimensional keys state their units.
schema_version = 1
id = "yz-torque"
name = "125 / long torque chamber"
category = "Two-stroke / 125 cc"
description = "Estimated chamber geometry / same 125 cc engine"
order = 12
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 = [[188.8, 36.0, 36.0], [212.4, 36.0, 60.0], [224.2, 60.0, 105.0], [153.4, 105.0, 105.0], [247.8, 105.0, 22.0], [283.2, 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]