402 lines
8.3 KiB
TOML
402 lines
8.3 KiB
TOML
# Engine definition. Dimensional keys state their units.
|
|
schema_version = 2
|
|
id = "saab-open"
|
|
name = "Saab B205 / open exhaust"
|
|
category = "Inline four / Saab"
|
|
description = "Silencers bypassed; naturally aspirated baseline"
|
|
order = 6
|
|
cycle = "four_stroke"
|
|
|
|
[simulation]
|
|
cells_per_meter = 40.0
|
|
|
|
[engine]
|
|
bank_angle_deg = 56.0
|
|
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
|
|
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_valve_count = 2
|
|
exhaust_valve_diameter_mm = 28.0
|
|
fuel_lhv_j_per_kg = 4.4e+07
|
|
heat_transfer = 100.0
|
|
intake_valve_count = 2
|
|
intake_valve_diameter_mm = 32.0
|
|
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"
|
|
diameter_mm = 138.1976604
|
|
|
|
[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"
|
|
diameter_mm = 187.7736449
|
|
|
|
[[pipes]]
|
|
id = "intake"
|
|
diameter_mm = 60.0
|
|
|
|
[[pipes]]
|
|
id = "runners"
|
|
count = 4
|
|
diameter_mm = 32.0
|
|
|
|
[[pipes]]
|
|
id = "primaries"
|
|
count = 4
|
|
diameter_mm = 34.0
|
|
|
|
[[pipes]]
|
|
id = "tailpipe"
|
|
profile = "silenced"
|
|
|
|
[cam.intake]
|
|
points = [
|
|
[0.000, 0.000000],
|
|
[340.000, 0.000000],
|
|
[345.000, 0.154496],
|
|
[350.000, 0.583168],
|
|
[355.000, 1.233792],
|
|
[360.000, 2.054144],
|
|
[365.000, 2.992000],
|
|
[370.000, 3.995136],
|
|
[375.000, 5.011328],
|
|
[380.000, 5.988352],
|
|
[385.000, 6.873984],
|
|
[390.000, 7.616000],
|
|
[395.000, 8.162176],
|
|
[400.000, 8.460288],
|
|
[402.500, 8.500000],
|
|
[527.500, 8.500000],
|
|
[532.500, 8.345504],
|
|
[537.500, 7.916832],
|
|
[542.500, 7.266208],
|
|
[547.500, 6.445856],
|
|
[552.500, 5.508000],
|
|
[557.500, 4.504864],
|
|
[562.500, 3.488672],
|
|
[567.500, 2.511648],
|
|
[572.500, 1.626016],
|
|
[577.500, 0.884000],
|
|
[582.500, 0.337824],
|
|
[587.500, 0.039712],
|
|
[590.000, 0.000000],
|
|
[720.000, 0.000000]
|
|
]
|
|
|
|
[cam.exhaust]
|
|
points = [
|
|
[0.000, 0.000000],
|
|
[130.000, 0.000000],
|
|
[135.000, 0.134729],
|
|
[140.000, 0.509786],
|
|
[145.000, 1.081475],
|
|
[150.000, 1.806099],
|
|
[155.000, 2.639964],
|
|
[160.000, 3.539372],
|
|
[165.000, 4.460628],
|
|
[170.000, 5.360036],
|
|
[175.000, 6.193901],
|
|
[180.000, 6.918525],
|
|
[185.000, 7.490214],
|
|
[190.000, 7.865271],
|
|
[195.000, 8.000000],
|
|
[325.000, 8.000000],
|
|
[330.000, 7.865271],
|
|
[335.000, 7.490214],
|
|
[340.000, 6.918525],
|
|
[345.000, 6.193901],
|
|
[350.000, 5.360036],
|
|
[355.000, 4.460628],
|
|
[360.000, 3.539372],
|
|
[365.000, 2.639964],
|
|
[370.000, 1.806099],
|
|
[375.000, 1.081475],
|
|
[380.000, 0.509786],
|
|
[385.000, 0.134729],
|
|
[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 = [ -162, 0, 0 ]
|
|
tilt_deg = 0.0
|
|
|
|
[[geometry.cylinders]]
|
|
origin_mm = [ -54, 0, 0 ]
|
|
tilt_deg = 0.0
|
|
|
|
[[geometry.cylinders]]
|
|
origin_mm = [ 54, 0, 0 ]
|
|
tilt_deg = 0.0
|
|
|
|
[[geometry.cylinders]]
|
|
origin_mm = [ 162, 0, 0 ]
|
|
tilt_deg = 0.0
|
|
|
|
# intake
|
|
[[geometry.pipes]]
|
|
index = 0
|
|
points_mm = [
|
|
[ -366, 194, -367 ],
|
|
[ -216, 194, -367 ]
|
|
]
|
|
|
|
# runners 1
|
|
[[geometry.pipes]]
|
|
index = 1
|
|
points_mm = [
|
|
[ -162, 194, -286 ],
|
|
[ -162, 194, -36 ]
|
|
]
|
|
|
|
# runners 2
|
|
[[geometry.pipes]]
|
|
index = 2
|
|
points_mm = [
|
|
[ -54, 194, -286 ],
|
|
[ -54, 194, -36 ]
|
|
]
|
|
|
|
# runners 3
|
|
[[geometry.pipes]]
|
|
index = 3
|
|
points_mm = [
|
|
[ 54, 194, -286 ],
|
|
[ 54, 194, -36 ]
|
|
]
|
|
|
|
# runners 4
|
|
[[geometry.pipes]]
|
|
index = 4
|
|
points_mm = [
|
|
[ 162, 194, -286 ],
|
|
[ 162, 194, -36 ]
|
|
]
|
|
|
|
# primaries 1
|
|
[[geometry.pipes]]
|
|
index = 5
|
|
points_mm = [
|
|
[ -162, 194, 45 ],
|
|
[ -160.763, 188.9129, 64.0687 ],
|
|
[ -157.153, 180.2477, 79.8812 ],
|
|
[ -151.3211, 168.5436, 92.717 ],
|
|
[ -143.4188, 154.3395, 102.8556 ],
|
|
[ -133.5973, 138.1743, 110.5766 ],
|
|
[ -122.008, 120.5871, 116.1596 ],
|
|
[ -108.8022, 102.1169, 119.884 ],
|
|
[ -94.1311, 83.3026, 122.0296 ],
|
|
[ -78.1462, 64.6831, 122.8757 ],
|
|
[ -60.9986, 46.7976, 122.702 ],
|
|
[ -42.8397, 30.185, 121.7881 ],
|
|
[ -23.8208, 15.3842, 120.4134 ],
|
|
[ -4.0933, 2.9342, 118.8576 ],
|
|
[ 16.1917, -6.6259, 117.4002 ],
|
|
[ 36.8826, -12.7573, 116.3208 ],
|
|
[ 57.8284, -14.9208, 115.8988 ]
|
|
]
|
|
|
|
# primaries 2
|
|
[[geometry.pipes]]
|
|
index = 6
|
|
points_mm = [
|
|
[ -54, 194, 45 ],
|
|
[ -52.5634, 190.4508, 60.6385 ],
|
|
[ -48.5035, 184.9694, 73.8883 ],
|
|
[ -42.1951, 177.702, 84.9399 ],
|
|
[ -34.0128, 168.7945, 93.9836 ],
|
|
[ -24.3315, 158.3933, 101.2098 ],
|
|
[ -13.526, 146.6443, 106.8088 ],
|
|
[ -1.9709, 133.6937, 110.971 ],
|
|
[ 9.959, 119.6875, 113.8869 ],
|
|
[ 21.8888, 104.7719, 115.7468 ],
|
|
[ 33.4439, 89.093, 116.741 ],
|
|
[ 44.2495, 72.7969, 117.0599 ],
|
|
[ 53.9308, 56.0297, 116.8939 ],
|
|
[ 62.113, 38.9374, 116.4335 ],
|
|
[ 68.4215, 21.6663, 115.8689 ],
|
|
[ 72.4814, 4.3623, 115.3905 ],
|
|
[ 73.9179, -12.8284, 115.1887 ]
|
|
]
|
|
|
|
# primaries 3
|
|
[[geometry.pipes]]
|
|
index = 7
|
|
points_mm = [
|
|
[ 54, 194, 45 ],
|
|
[ 54.4291, 190.6029, 58.7971 ],
|
|
[ 55.6418, 184.9872, 70.6803 ],
|
|
[ 57.5261, 177.3561, 80.7907 ],
|
|
[ 59.9702, 167.9128, 89.2697 ],
|
|
[ 62.862, 156.8603, 96.2586 ],
|
|
[ 66.0897, 144.4017, 101.8985 ],
|
|
[ 69.5412, 130.7403, 106.3308 ],
|
|
[ 73.1046, 116.0791, 109.6968 ],
|
|
[ 76.6681, 100.6212, 112.1377 ],
|
|
[ 80.1196, 84.5698, 113.7948 ],
|
|
[ 83.3472, 68.1279, 114.8094 ],
|
|
[ 86.2391, 51.4988, 115.3227 ],
|
|
[ 88.6831, 34.8854, 115.476 ],
|
|
[ 90.5675, 18.4911, 115.4106 ],
|
|
[ 91.7801, 2.5188, 115.2677 ],
|
|
[ 92.2093, -12.8284, 115.1887 ]
|
|
]
|
|
|
|
# primaries 4
|
|
[[geometry.pipes]]
|
|
index = 8
|
|
points_mm = [
|
|
[ 162, 194, 45 ],
|
|
[ 161.4216, 190.5899, 58.9539 ],
|
|
[ 159.7871, 184.9857, 70.9535 ],
|
|
[ 157.2474, 177.3856, 81.144 ],
|
|
[ 153.9532, 167.9879, 89.6711 ],
|
|
[ 150.0555, 156.9908, 96.6801 ],
|
|
[ 145.7053, 144.5927, 102.3166 ],
|
|
[ 141.0532, 130.9918, 106.7259 ],
|
|
[ 136.2503, 116.3863, 110.0536 ],
|
|
[ 131.4474, 100.9746, 112.445 ],
|
|
[ 126.7953, 84.9549, 114.0457 ],
|
|
[ 122.445, 68.5255, 115.001 ],
|
|
[ 118.5474, 51.8846, 115.4565 ],
|
|
[ 115.2532, 35.2305, 115.5575 ],
|
|
[ 112.7134, 18.7614, 115.4496 ],
|
|
[ 111.0789, 2.6757, 115.2782 ],
|
|
[ 110.5006, -12.8284, 115.1887 ]
|
|
]
|
|
|
|
# tailpipe
|
|
[[geometry.pipes]]
|
|
index = 9
|
|
points_mm = [
|
|
[ 142.1717, -55, 129.5 ],
|
|
[ 1892.1716, -55, 129.5 ]
|
|
]
|
|
|
|
[[geometry.volumes]]
|
|
id = "intake_plenum"
|
|
center_mm = [ 0, 194, -367 ]
|
|
size_mm = [ 432, 42.8669, 162 ]
|
|
|
|
[[geometry.volumes]]
|
|
id = "exhaust_collector"
|
|
center_mm = [ 100, -55, 129.5 ]
|
|
size_mm = [ 84.3433, 84.3433, 84.3433 ]
|