Files
FluidSimCpp/engines/flat6.toml

444 lines
9.5 KiB
TOML

# Engine definition. Dimensional keys state their units.
schema_version = 2
id = "flat6"
name = "911-inspired / 3.0 flat six"
category = "Boxer / flat six"
description = "Estimated concept calibration / EFI"
order = 28
cycle = "four_stroke"
[simulation]
cells_per_meter = 20.0
[engine]
bank_angle_deg = 180.0
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
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_valve_count = 1
exhaust_valve_diameter_mm = 30.4
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_valve_count = 1
intake_valve_diameter_mm = 36.1
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"
diameter_mm = 75.0
[[pipes]]
id = "runners"
count = 6
diameter_mm = 35.0
[[pipes]]
id = "primaries"
count = 6
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.172672],
[350.000, 0.651776],
[355.000, 1.378944],
[360.000, 2.295808],
[365.000, 3.344000],
[370.000, 4.465152],
[375.000, 5.600896],
[380.000, 6.692864],
[385.000, 7.682688],
[390.000, 8.512000],
[395.000, 9.122432],
[400.000, 9.455616],
[402.500, 9.500000],
[527.500, 9.500000],
[532.500, 9.327328],
[537.500, 8.848224],
[542.500, 8.121056],
[547.500, 7.204192],
[552.500, 6.156000],
[557.500, 5.034848],
[562.500, 3.899104],
[567.500, 2.807136],
[572.500, 1.817312],
[577.500, 0.988000],
[582.500, 0.377568],
[587.500, 0.044384],
[590.000, 0.000000],
[720.000, 0.000000]
]
[cam.exhaust]
points = [
[0.000, 0.000000],
[130.000, 0.000000],
[135.000, 0.143992],
[140.000, 0.544834],
[145.000, 1.155826],
[150.000, 1.930269],
[155.000, 2.821461],
[160.000, 3.782704],
[165.000, 4.767296],
[170.000, 5.728539],
[175.000, 6.619731],
[180.000, 7.394174],
[185.000, 8.005166],
[190.000, 8.406008],
[195.000, 8.550000],
[325.000, 8.550000],
[330.000, 8.406008],
[335.000, 8.005166],
[340.000, 7.394174],
[345.000, 6.619731],
[350.000, 5.728539],
[355.000, 4.767296],
[360.000, 3.782704],
[365.000, 2.821461],
[370.000, 1.930269],
[375.000, 1.155826],
[380.000, 0.544834],
[385.000, 0.143992],
[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 = [ -113, 0, 0 ]
tilt_deg = -90.0
[[geometry.cylinders]]
origin_mm = [ 0, 0, 0 ]
tilt_deg = -90.0
[[geometry.cylinders]]
origin_mm = [ 113, 0, 0 ]
tilt_deg = -90.0
[[geometry.cylinders]]
origin_mm = [ -113, 0, 0 ]
tilt_deg = 90.0
[[geometry.cylinders]]
origin_mm = [ 0, 0, 0 ]
tilt_deg = 90.0
[[geometry.cylinders]]
origin_mm = [ 113, 0, 0 ]
tilt_deg = 90.0
# intake
[[geometry.pipes]]
index = 0
points_mm = [
[ -369.5, 309.1467, 0 ],
[ -169.5, 309.1467, 0 ]
]
# runners 1
[[geometry.pipes]]
index = 1
points_mm = [
[ -113, 288, -161.7422 ],
[ -113, 38, -161.7422 ]
]
# runners 2
[[geometry.pipes]]
index = 2
points_mm = [
[ 0, 288, -161.7422 ],
[ 0, 38, -161.7422 ]
]
# runners 3
[[geometry.pipes]]
index = 3
points_mm = [
[ 113, 288, -161.7422 ],
[ 113, 38, -161.7422 ]
]
# runners 4
[[geometry.pipes]]
index = 4
points_mm = [
[ -113, 288, 161.7422 ],
[ -113, 38, 161.7422 ]
]
# runners 5
[[geometry.pipes]]
index = 5
points_mm = [
[ 0, 288, 161.7422 ],
[ 0, 38, 161.7422 ]
]
# runners 6
[[geometry.pipes]]
index = 6
points_mm = [
[ 113, 288, 161.7422 ],
[ 113, 38, 161.7422 ]
]
# primaries 1
[[geometry.pipes]]
index = 7
points_mm = [
[ -113, -47.5, -161.7422 ],
[ -110.9337, -71.4523, -155.6934 ],
[ -105.0942, -89.3819, -145.9139 ],
[ -96.0205, -101.9065, -132.7278 ],
[ -84.2516, -109.644, -116.4591 ],
[ -70.3266, -113.2121, -97.4318 ],
[ -54.7846, -113.2287, -75.9701 ],
[ -38.1644, -110.3116, -52.3978 ],
[ -21.0052, -105.0785, -27.0392 ],
[ -3.8461, -98.1474, -0.2181 ],
[ 12.7741, -90.136, 27.7413 ],
[ 28.3162, -81.6621, 56.515 ],
[ 42.2412, -73.3435, 85.779 ],
[ 54.01, -65.798, 115.2091 ],
[ 63.0837, -59.6435, 144.4815 ],
[ 68.9232, -55.4977, 173.2719 ],
[ 70.9895, -53.9785, 201.2565 ]
]
# primaries 2
[[geometry.pipes]]
index = 8
points_mm = [
[ 0, -47.5, -161.7422 ],
[ 0.9701, -69.4678, -155.8573 ],
[ 3.7116, -85.9244, -145.9331 ],
[ 7.9716, -97.4347, -132.3551 ],
[ 13.4969, -104.5636, -115.5088 ],
[ 20.0344, -107.8759, -95.7796 ],
[ 27.3312, -107.9366, -73.5531 ],
[ 35.1341, -105.3106, -49.2148 ],
[ 43.19, -100.5627, -23.1501 ],
[ 51.246, -94.2577, 4.2554 ],
[ 59.0489, -86.9607, 32.6163 ],
[ 66.3456, -79.2365, 61.547 ],
[ 72.8832, -71.65, 90.6621 ],
[ 78.4085, -64.7661, 119.5761 ],
[ 82.6684, -59.1496, 147.9035 ],
[ 85.41, -55.3654, 175.2588 ],
[ 86.3801, -53.9785, 201.2565 ]
]
# primaries 3
[[geometry.pipes]]
index = 9
points_mm = [
[ 113, -47.5, -161.7422 ],
[ 112.8739, -68.8834, -155.9056 ],
[ 112.5175, -84.9063, -145.9387 ],
[ 111.9637, -96.1179, -132.2453 ],
[ 111.2454, -103.0675, -115.2289 ],
[ 110.3955, -106.3045, -95.2931 ],
[ 109.4469, -106.3782, -72.8414 ],
[ 108.4326, -103.8379, -48.2775 ],
[ 107.3853, -99.2328, -22.0049 ],
[ 106.338, -93.1123, 5.5727 ],
[ 105.3236, -86.0257, 34.0518 ],
[ 104.3751, -78.5223, 63.0288 ],
[ 103.5252, -71.1513, 92.1001 ],
[ 102.8069, -64.4622, 120.8621 ],
[ 102.2531, -59.0041, 148.9112 ],
[ 101.8967, -55.3265, 175.8439 ],
[ 101.7706, -53.9785, 201.2565 ]
]
# primaries 4
[[geometry.pipes]]
index = 10
points_mm = [
[ -113, -47.5, 161.7422 ],
[ -111.9277, -57.604, 161.0304 ],
[ -108.8344, -65.2317, 162.1579 ],
[ -103.9057, -70.635, 164.8772 ],
[ -97.3272, -74.0655, 168.941 ],
[ -89.2844, -75.775, 174.1016 ],
[ -79.9628, -76.0151, 180.1117 ],
[ -69.548, -75.0376, 186.7238 ],
[ -58.2255, -73.0943, 193.6904 ],
[ -46.1809, -70.4369, 200.7643 ],
[ -33.5998, -67.3171, 207.6977 ],
[ -20.6676, -63.9866, 214.2434 ],
[ -7.57, -60.6972, 220.1539 ],
[ 5.5076, -57.7006, 225.1816 ],
[ 18.3795, -55.2484, 229.0793 ],
[ 30.8603, -53.5926, 231.5993 ],
[ 42.7643, -52.9847, 232.4943 ]
]
# primaries 5
[[geometry.pipes]]
index = 11
points_mm = [
[ 0, -47.5, 161.7422 ],
[ 0.2446, -51.0321, 161.6825 ],
[ 0.9577, -53.7288, 162.6064 ],
[ 2.1082, -55.6739, 164.3788 ],
[ 3.6652, -56.9512, 166.8645 ],
[ 5.5977, -57.6445, 169.9283 ],
[ 7.8745, -57.8378, 173.4349 ],
[ 10.4648, -57.6147, 177.2493 ],
[ 13.3376, -57.0593, 181.2361 ],
[ 16.4617, -56.2552, 185.2602 ],
[ 19.8062, -55.2863, 189.1865 ],
[ 23.34, -54.2365, 192.8796 ],
[ 27.0322, -53.1895, 196.2044 ],
[ 30.8518, -52.2293, 199.0257 ],
[ 34.7676, -51.4397, 201.2084 ],
[ 38.7488, -50.9044, 202.617 ],
[ 42.7643, -50.7073, 203.1167 ]
]
# primaries 6
[[geometry.pipes]]
index = 12
points_mm = [
[ 113, -47.5, 161.7422 ],
[ 112.9404, -49.8804, 161.6759 ],
[ 112.7719, -51.7189, 162.2366 ],
[ 112.51, -53.0691, 163.3623 ],
[ 112.1704, -53.9844, 164.9911 ],
[ 111.7686, -54.5186, 167.0612 ],
[ 111.3201, -54.7253, 169.5108 ],
[ 110.8405, -54.6579, 172.2777 ],
[ 110.3453, -54.3701, 175.3004 ],
[ 109.8501, -53.9154, 178.5167 ],
[ 109.3705, -53.3476, 181.8648 ],
[ 108.922, -52.72, 185.2829 ],
[ 108.5202, -52.0865, 188.7091 ],
[ 108.1806, -51.5004, 192.0814 ],
[ 107.9187, -51.0154, 195.338 ],
[ 107.7502, -50.6851, 198.417 ],
[ 107.6906, -50.5631, 201.2565 ]
]
# tailpipe
[[geometry.pipes]]
index = 13
points_mm = [
[ 157.2357, -55, 258.4922 ],
[ 1657.2357, -55, 258.4922 ]
]
[[geometry.volumes]]
id = "intake_plenum"
center_mm = [ 0, 309.1467, 0 ]
size_mm = [ 339, 42.2934, 418.4844 ]
[[geometry.volumes]]
id = "exhaust_collector"
center_mm = [ 100, -55, 258.4922 ]
size_mm = [ 114.4714, 114.4714, 114.4714 ]