# Engine definition. Dimensional keys state their units. schema_version = 2 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" [simulation] cells_per_meter = 20.0 [engine] bank_angle_deg = 60.0 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 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_valve_count = 1 exhaust_valve_diameter_mm = 25.92 fuel_lhv_j_per_kg = 4.4e+07 heat_transfer = 100.0 intake_valve_count = 1 intake_valve_diameter_mm = 30.78 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 [[pipes]] id = "intake" diameter_mm = 75.0 [[pipes]] id = "runners" count = 5 diameter_mm = 35.0 [[pipes]] id = "primary_1" diameter_mm = 38.0 [[pipes]] id = "primary_2" diameter_mm = 38.0 [[pipes]] id = "primary_3" diameter_mm = 38.0 [[pipes]] id = "primary_4" diameter_mm = 38.0 [[pipes]] id = "primary_5" diameter_mm = 38.0 [[pipes]] id = "tailpipe_11" diameter_mm = 60.0 [[pipes]] id = "secondary_12" diameter_mm = 48.0 [[pipes]] id = "secondary_13" diameter_mm = 48.0 [cam.intake] points = [ [0.000, 0.000000], [340.000, 0.000000], [345.000, 0.147226], [350.000, 0.555725], [355.000, 1.175731], [360.000, 1.957478], [365.000, 2.851200], [370.000, 3.807130], [375.000, 4.775501], [380.000, 5.706547], [385.000, 6.550502], [390.000, 7.257600], [395.000, 7.778074], [400.000, 8.062157], [402.500, 8.100000], [527.500, 8.100000], [532.500, 7.952774], [537.500, 7.544275], [542.500, 6.924269], [547.500, 6.142522], [552.500, 5.248800], [557.500, 4.292870], [562.500, 3.324499], [567.500, 2.393453], [572.500, 1.549498], [577.500, 0.842400], [582.500, 0.321926], [587.500, 0.037843], [590.000, 0.000000], [720.000, 0.000000] ] [cam.exhaust] points = [ [0.000, 0.000000], [130.000, 0.000000], [135.000, 0.122772], [140.000, 0.464543], [145.000, 0.985494], [150.000, 1.645808], [155.000, 2.405667], [160.000, 3.225253], [165.000, 4.064747], [170.000, 4.884333], [175.000, 5.644192], [180.000, 6.304506], [185.000, 6.825457], [190.000, 7.167228], [195.000, 7.290000], [325.000, 7.290000], [330.000, 7.167228], [335.000, 6.825457], [340.000, 6.304506], [345.000, 5.644192], [350.000, 4.884333], [355.000, 4.064747], [360.000, 3.225253], [365.000, 2.405667], [370.000, 1.645808], [375.000, 0.985494], [380.000, 0.464543], [385.000, 0.122772], [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 = [ -198, 0, 0 ] tilt_deg = 0.0 [[geometry.cylinders]] origin_mm = [ -99, 0, 0 ] tilt_deg = 0.0 [[geometry.cylinders]] origin_mm = [ 0, 0, 0 ] tilt_deg = 0.0 [[geometry.cylinders]] origin_mm = [ 99, 0, 0 ] tilt_deg = 0.0 [[geometry.cylinders]] origin_mm = [ 198, 0, 0 ] tilt_deg = 0.0 # intake [[geometry.pipes]] index = 0 points_mm = [ [ -447.5, 200.32, -355.3 ], [ -247.5, 200.32, -355.3 ] ] # runners 1 [[geometry.pipes]] index = 1 points_mm = [ [ -198, 200.32, -282.4 ], [ -198, 200.32, -32.4 ] ] # runners 2 [[geometry.pipes]] index = 2 points_mm = [ [ -99, 200.32, -282.4 ], [ -99, 200.32, -32.4 ] ] # runners 3 [[geometry.pipes]] index = 3 points_mm = [ [ 0, 200.32, -282.4 ], [ 0, 200.32, -32.4 ] ] # runners 4 [[geometry.pipes]] index = 4 points_mm = [ [ 99, 200.32, -282.4 ], [ 99, 200.32, -32.4 ] ] # runners 5 [[geometry.pipes]] index = 5 points_mm = [ [ 198, 200.32, -282.4 ], [ 198, 200.32, -32.4 ] ] # primary_1 [[geometry.pipes]] index = 6 points_mm = [ [ -198, 200.32, 40.5 ], [ -196.9791, 196.8636, 54.8898 ], [ -194.0939, 191.2973, 66.9724 ], [ -189.6107, 183.8025, 76.938 ], [ -183.7958, 174.5606, 84.977 ], [ -176.9157, 163.7531, 91.2796 ], [ -169.2366, 151.5614, 96.0361 ], [ -161.0248, 138.1668, 99.4366 ], [ -152.5467, 123.7508, 101.6714 ], [ -144.0686, 108.4947, 102.9308 ], [ -135.8568, 92.5801, 103.405 ], [ -128.1777, 76.1882, 103.2843 ], [ -121.2975, 59.5006, 102.759 ], [ -115.4827, 42.6985, 102.0192 ], [ -110.9995, 25.9635, 101.2552 ], [ -108.1143, 9.4769, 100.6573 ], [ -107.0934, -6.5798, 100.4157 ] ] # primary_2 [[geometry.pipes]] index = 7 points_mm = [ [ -99, 200.32, 40.5 ], [ -99, 196.9527, 53.8104 ], [ -99, 191.3077, 65.0919 ], [ -99, 183.5998, 74.5059 ], [ -99, 174.0438, 82.2139 ], [ -99, 162.8545, 88.3773 ], [ -99, 150.2468, 93.1578 ], [ -99, 136.4356, 96.7166 ], [ -99, 121.6356, 99.2152 ], [ -99, 106.0616, 100.8153 ], [ -99, 89.9286, 101.678 ], [ -99, 73.4513, 101.9651 ], [ -99, 56.8446, 101.8379 ], [ -99, 40.3233, 101.4579 ], [ -99, 24.1023, 100.9866 ], [ -99, 8.3963, 100.5854 ], [ -99, -6.5798, 100.4157 ] ] # primary_3 [[geometry.pipes]] index = 8 points_mm = [ [ 0, 200.32, 40.5 ], [ -1.0209, 196.8636, 54.8898 ], [ -3.9061, 191.2973, 66.9724 ], [ -8.3893, 183.8025, 76.938 ], [ -14.2042, 174.5606, 84.977 ], [ -21.0843, 163.7531, 91.2796 ], [ -28.7634, 151.5614, 96.0361 ], [ -36.9752, 138.1668, 99.4366 ], [ -45.4533, 123.7508, 101.6714 ], [ -53.9314, 108.4947, 102.9308 ], [ -62.1432, 92.5801, 103.405 ], [ -69.8223, 76.1882, 103.2843 ], [ -76.7025, 59.5006, 102.759 ], [ -82.5173, 42.6985, 102.0192 ], [ -87.0005, 25.9635, 101.2552 ], [ -89.8857, 9.4769, 100.6573 ], [ -90.9066, -6.5798, 100.4157 ] ] # primary_4 [[geometry.pipes]] index = 9 points_mm = [ [ 99, 200.32, 40.5 ], [ 99.5105, 196.8588, 55.4115 ], [ 100.9531, 191.2967, 68.8484 ], [ 103.1947, 183.8133, 80.8814 ], [ 106.1021, 174.5883, 91.5813 ], [ 109.5421, 163.8012, 101.0186 ], [ 113.3817, 151.6317, 109.2643 ], [ 117.4876, 138.2594, 116.3889 ], [ 121.7267, 123.8639, 122.4633 ], [ 125.9657, 108.6248, 127.5582 ], [ 130.0716, 92.7219, 131.7443 ], [ 133.9112, 76.3346, 135.0923 ], [ 137.3512, 59.6426, 137.673 ], [ 140.2586, 42.8255, 139.5571 ], [ 142.5003, 26.063, 140.8153 ], [ 143.9429, 9.5347, 141.5183 ], [ 144.4533, -6.5798, 141.737 ] ] # primary_5 [[geometry.pipes]] index = 10 points_mm = [ [ 198, 200.32, 40.5 ], [ 197.4895, 196.8588, 55.4115 ], [ 196.0469, 191.2967, 68.8484 ], [ 193.8053, 183.8133, 80.8814 ], [ 190.8979, 174.5883, 91.5813 ], [ 187.4578, 163.8012, 101.0186 ], [ 183.6183, 151.6317, 109.2643 ], [ 179.5124, 138.2594, 116.3889 ], [ 175.2733, 123.8639, 122.4633 ], [ 171.0343, 108.6248, 127.5582 ], [ 166.9284, 92.7219, 131.7443 ], [ 163.0888, 76.3346, 135.0923 ], [ 159.6487, 59.6426, 137.673 ], [ 156.7414, 42.8255, 139.5571 ], [ 154.4998, 26.063, 140.8153 ], [ 153.0571, 9.5347, 141.5183 ], [ 152.5467, -6.5798, 141.737 ] ] # tailpipe_11 [[geometry.pipes]] index = 11 points_mm = [ [ 218.4202, -70, 165.75 ], [ 1718.4201, -70, 165.75 ] ] # secondary_12 [[geometry.pipes]] index = 12 points_mm = [ [ -80.5798, -27.7723, 109.4464 ], [ -62.6699, -28.2154, 110.0372 ], [ -45.3699, -29.4676, 111.7068 ], [ -28.5928, -31.4134, 114.3012 ], [ -12.2514, -33.9372, 117.6662 ], [ 3.7414, -36.9233, 121.6478 ], [ 19.4729, -40.2562, 126.0916 ], [ 35.03, -43.8203, 130.8438 ], [ 50.5, -47.5, 135.75 ], [ 65.97, -51.1797, 140.6562 ], [ 81.5271, -54.7438, 145.4084 ], [ 97.2586, -58.0767, 149.8522 ], [ 113.2514, -61.0628, 153.8337 ], [ 129.5928, -63.5866, 157.1988 ], [ 146.3699, -65.5324, 159.7932 ], [ 163.6699, -66.7846, 161.4628 ], [ 181.5798, -67.2277, 162.0536 ] ] # secondary_13 [[geometry.pipes]] index = 13 points_mm = [ [ 166.9202, -41.0953, 156.1151 ], [ 168.1884, -41.2391, 156.1631 ], [ 169.3158, -41.6457, 156.2986 ], [ 170.3225, -42.2774, 156.5091 ], [ 171.2287, -43.0968, 156.7823 ], [ 172.0544, -44.0662, 157.1054 ], [ 172.8198, -45.1483, 157.4661 ], [ 173.5449, -46.3054, 157.8518 ], [ 174.25, -47.5, 158.25 ], [ 174.955, -48.6946, 158.6482 ], [ 175.6802, -49.8517, 159.0339 ], [ 176.4456, -50.9338, 159.3946 ], [ 177.2713, -51.9032, 159.7177 ], [ 178.1775, -52.7226, 159.9909 ], [ 179.1842, -53.3543, 160.2014 ], [ 180.3117, -53.7609, 160.337 ], [ 181.5798, -53.9047, 160.3849 ] ] [[geometry.volumes]] id = "intake_plenum" center_mm = [ 0, 200.32, -355.3 ] size_mm = [ 495, 69.2799, 145.8 ] [[geometry.volumes]] id = "junction_0" center_mm = [ -99, -25, 105.75 ] size_mm = [ 36.8403, 36.8403, 36.8403 ] [[geometry.volumes]] id = "junction_1" center_mm = [ 148.5, -25, 150.75 ] size_mm = [ 36.8403, 36.8403, 36.8403 ] [[geometry.volumes]] id = "junction_2" center_mm = [ 200, -70, 165.75 ] size_mm = [ 36.8403, 36.8403, 36.8403 ]