304 lines
6.2 KiB
TOML
304 lines
6.2 KiB
TOML
# Engine definition. Dimensional keys state their units.
|
|
schema_version = 2
|
|
id = "twin-270"
|
|
name = "700 cc / 270-degree parallel twin"
|
|
category = "Twins / parallel"
|
|
description = "Estimated concept calibration / EFI"
|
|
order = 19
|
|
cycle = "four_stroke"
|
|
|
|
[simulation]
|
|
cells_per_meter = 50.0
|
|
|
|
[engine]
|
|
bank_angle_deg = 60.0
|
|
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
|
|
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_valve_count = 1
|
|
exhaust_valve_diameter_mm = 25.6
|
|
fuel_lhv_j_per_kg = 4.4e+07
|
|
heat_transfer = 100.0
|
|
intake_valve_count = 1
|
|
intake_valve_diameter_mm = 30.4
|
|
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"
|
|
diameter_mm = 75.0
|
|
|
|
[[pipes]]
|
|
id = "runners"
|
|
count = 2
|
|
diameter_mm = 35.0
|
|
|
|
[[pipes]]
|
|
id = "primaries"
|
|
count = 2
|
|
diameter_mm = 38.0
|
|
|
|
[[pipes]]
|
|
id = "tailpipe"
|
|
diameter_mm = 60.0
|
|
|
|
[cam.intake]
|
|
points = [
|
|
[0.000, 0.000000],
|
|
[340.000, 0.000000],
|
|
[345.000, 0.145408],
|
|
[350.000, 0.548864],
|
|
[355.000, 1.161216],
|
|
[360.000, 1.933312],
|
|
[365.000, 2.816000],
|
|
[370.000, 3.760128],
|
|
[375.000, 4.716544],
|
|
[380.000, 5.636096],
|
|
[385.000, 6.469632],
|
|
[390.000, 7.168000],
|
|
[395.000, 7.682048],
|
|
[400.000, 7.962624],
|
|
[402.500, 8.000000],
|
|
[527.500, 8.000000],
|
|
[532.500, 7.854592],
|
|
[537.500, 7.451136],
|
|
[542.500, 6.838784],
|
|
[547.500, 6.066688],
|
|
[552.500, 5.184000],
|
|
[557.500, 4.239872],
|
|
[562.500, 3.283456],
|
|
[567.500, 2.363904],
|
|
[572.500, 1.530368],
|
|
[577.500, 0.832000],
|
|
[582.500, 0.317952],
|
|
[587.500, 0.037376],
|
|
[590.000, 0.000000],
|
|
[720.000, 0.000000]
|
|
]
|
|
|
|
[cam.exhaust]
|
|
points = [
|
|
[0.000, 0.000000],
|
|
[130.000, 0.000000],
|
|
[135.000, 0.121256],
|
|
[140.000, 0.458807],
|
|
[145.000, 0.973327],
|
|
[150.000, 1.625489],
|
|
[155.000, 2.375967],
|
|
[160.000, 3.185435],
|
|
[165.000, 4.014565],
|
|
[170.000, 4.824033],
|
|
[175.000, 5.574511],
|
|
[180.000, 6.226673],
|
|
[185.000, 6.741193],
|
|
[190.000, 7.078744],
|
|
[195.000, 7.200000],
|
|
[325.000, 7.200000],
|
|
[330.000, 7.078744],
|
|
[335.000, 6.741193],
|
|
[340.000, 6.226673],
|
|
[345.000, 5.574511],
|
|
[350.000, 4.824033],
|
|
[355.000, 4.014565],
|
|
[360.000, 3.185435],
|
|
[365.000, 2.375967],
|
|
[370.000, 1.625489],
|
|
[375.000, 0.973327],
|
|
[380.000, 0.458807],
|
|
[385.000, 0.121256],
|
|
[390.000, 0.000000],
|
|
[720.000, 0.000000]
|
|
]
|
|
|
|
[valves.intake]
|
|
mass_g = 35.0
|
|
spring_rate_n_per_mm = 38.0
|
|
damping_n_s_per_m = 24.0
|
|
seat_force_n = 75.0
|
|
maximum_lift_mm = 15.0
|
|
seat_restitution = 0.005
|
|
cam_restitution = 0.01
|
|
stop_restitution = 0.01
|
|
|
|
[valves.exhaust]
|
|
mass_g = 35.0
|
|
spring_rate_n_per_mm = 38.0
|
|
damping_n_s_per_m = 24.0
|
|
seat_force_n = 75.0
|
|
maximum_lift_mm = 15.0
|
|
seat_restitution = 0.005
|
|
cam_restitution = 0.01
|
|
stop_restitution = 0.01
|
|
|
|
[valve_sound]
|
|
mode_hz = 3600.0
|
|
effective_mass_g = 180.0
|
|
radiation_area_cm2 = 10.0
|
|
damping_ratio = 0.9
|
|
|
|
[[geometry.cylinders]]
|
|
origin_mm = [ -49, 0, 0 ]
|
|
tilt_deg = 0.0
|
|
|
|
[[geometry.cylinders]]
|
|
origin_mm = [ 49, 0, 0 ]
|
|
tilt_deg = 0.0
|
|
|
|
# intake
|
|
[[geometry.pipes]]
|
|
index = 0
|
|
points_mm = [
|
|
[ -298, 155.9556, -354 ],
|
|
[ -98, 155.9556, -354 ]
|
|
]
|
|
|
|
# runners 1
|
|
[[geometry.pipes]]
|
|
index = 1
|
|
points_mm = [
|
|
[ -49, 155.9556, -282 ],
|
|
[ -49, 155.9556, -32 ]
|
|
]
|
|
|
|
# runners 2
|
|
[[geometry.pipes]]
|
|
index = 2
|
|
points_mm = [
|
|
[ 49, 155.9556, -282 ],
|
|
[ 49, 155.9556, -32 ]
|
|
]
|
|
|
|
# primaries 1
|
|
[[geometry.pipes]]
|
|
index = 3
|
|
points_mm = [
|
|
[ -49, 155.9556, 40 ],
|
|
[ -47.6414, 152.9696, 53.5851 ],
|
|
[ -43.8021, 148.472, 65.1692 ],
|
|
[ -37.8363, 142.566, 74.9076 ],
|
|
[ -30.0984, 135.3552, 82.9554 ],
|
|
[ -20.943, 126.9429, 89.4678 ],
|
|
[ -10.7243, 117.4325, 94.5999 ],
|
|
[ 0.2032, 106.9274, 98.5068 ],
|
|
[ 11.485, 95.5311, 101.3437 ],
|
|
[ 22.7669, 83.347, 103.2658 ],
|
|
[ 33.6944, 70.4784, 104.4283 ],
|
|
[ 43.913, 57.0288, 104.9862 ],
|
|
[ 53.0685, 43.1016, 105.0948 ],
|
|
[ 60.8063, 28.8002, 104.9091 ],
|
|
[ 66.7721, 14.2281, 104.5844 ],
|
|
[ 70.6115, -0.5115, 104.2758 ],
|
|
[ 71.9701, -15.315, 104.1385 ]
|
|
]
|
|
|
|
# primaries 2
|
|
[[geometry.pipes]]
|
|
index = 4
|
|
points_mm = [
|
|
[ 49, 155.9556, 40 ],
|
|
[ 49.465, 153.1235, 51.7218 ],
|
|
[ 50.7792, 148.49, 61.9229 ],
|
|
[ 52.8211, 142.2161, 70.709 ],
|
|
[ 55.4697, 134.4629, 78.1854 ],
|
|
[ 58.6034, 125.3916, 84.4576 ],
|
|
[ 62.1011, 115.1632, 89.631 ],
|
|
[ 65.8413, 103.9388, 93.8112 ],
|
|
[ 69.7029, 91.8796, 97.1037 ],
|
|
[ 73.5645, 79.1467, 99.6138 ],
|
|
[ 77.3048, 65.9012, 101.447 ],
|
|
[ 80.8024, 52.3041, 102.7088 ],
|
|
[ 83.9362, 38.5167, 103.5048 ],
|
|
[ 86.5847, 24.6999, 103.9402 ],
|
|
[ 88.6267, 11.015, 104.1207 ],
|
|
[ 89.9409, -2.377, 104.1516 ],
|
|
[ 90.4059, -15.315, 104.1385 ]
|
|
]
|
|
|
|
# tailpipe
|
|
[[geometry.pipes]]
|
|
index = 5
|
|
points_mm = [
|
|
[ 139.685, -55, 119 ],
|
|
[ 1639.685, -55, 119 ]
|
|
]
|
|
|
|
[[geometry.volumes]]
|
|
id = "intake_plenum"
|
|
center_mm = [ 0, 155.9556, -354 ]
|
|
size_mm = [ 196, 70.8617, 144 ]
|
|
|
|
[[geometry.volumes]]
|
|
id = "exhaust_collector"
|
|
center_mm = [ 100, -55, 119 ]
|
|
size_mm = [ 79.3701, 79.3701, 79.3701 ]
|