Files
FluidSimCpp/engines/ltwin.toml

304 lines
6.2 KiB
TOML

# Engine definition. Dimensional keys state their units.
schema_version = 2
id = "ltwin"
name = "916-inspired / 90-degree V twin"
category = "Twins / V"
description = "Estimated concept calibration / EFI"
order = 20
cycle = "four_stroke"
[simulation]
cells_per_meter = 20.0
[engine]
bank_angle_deg = 90.0
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
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_valve_count = 1
exhaust_valve_diameter_mm = 30.08
fuel_lhv_j_per_kg = 4.4e+07
heat_transfer = 100.0
intake_valve_count = 1
intake_valve_diameter_mm = 35.72
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"
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.170854],
[350.000, 0.644915],
[355.000, 1.364429],
[360.000, 2.271642],
[365.000, 3.308800],
[370.000, 4.418150],
[375.000, 5.541939],
[380.000, 6.622413],
[385.000, 7.601818],
[390.000, 8.422400],
[395.000, 9.026406],
[400.000, 9.356083],
[402.500, 9.400000],
[527.500, 9.400000],
[532.500, 9.229146],
[537.500, 8.755085],
[542.500, 8.035571],
[547.500, 7.128358],
[552.500, 6.091200],
[557.500, 4.981850],
[562.500, 3.858061],
[567.500, 2.777587],
[572.500, 1.798182],
[577.500, 0.977600],
[582.500, 0.373594],
[587.500, 0.043917],
[590.000, 0.000000],
[720.000, 0.000000]
]
[cam.exhaust]
points = [
[0.000, 0.000000],
[130.000, 0.000000],
[135.000, 0.142476],
[140.000, 0.539099],
[145.000, 1.143660],
[150.000, 1.909950],
[155.000, 2.791761],
[160.000, 3.742886],
[165.000, 4.717114],
[170.000, 5.668239],
[175.000, 6.550050],
[180.000, 7.316340],
[185.000, 7.920901],
[190.000, 8.317524],
[195.000, 8.460000],
[325.000, 8.460000],
[330.000, 8.317524],
[335.000, 7.920901],
[340.000, 7.316340],
[345.000, 6.550050],
[350.000, 5.668239],
[355.000, 4.717114],
[360.000, 3.742886],
[365.000, 2.791761],
[370.000, 1.909950],
[375.000, 1.143660],
[380.000, 0.539099],
[385.000, 0.142476],
[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 = [ 0, 0, 0 ]
tilt_deg = -45.0
[[geometry.cylinders]]
origin_mm = [ 0, 0, 0 ]
tilt_deg = 45.0
# intake
[[geometry.pipes]]
index = 0
points_mm = [
[ -256, 418.5291, 0 ],
[ -56, 418.5291, 0 ]
]
# runners 1
[[geometry.pipes]]
index = 1
points_mm = [
[ 0, 383.4546, -80.2802 ],
[ 0, 133.4546, -80.2802 ]
]
# runners 2
[[geometry.pipes]]
index = 2
points_mm = [
[ 0, 383.4546, 80.2802 ],
[ 0, 133.4546, 80.2802 ]
]
# primaries 1
[[geometry.pipes]]
index = 3
points_mm = [
[ 0, 73.6334, -140.1014 ],
[ 0.9822, 57.5171, -149.2024 ],
[ 3.7581, 42.9223, -151.9312 ],
[ 8.0713, 29.7825, -148.899 ],
[ 13.6657, 18.0314, -140.717 ],
[ 20.285, 7.6023, -127.9962 ],
[ 27.6731, -1.5711, -111.348 ],
[ 35.5736, -9.5553, -91.3833 ],
[ 43.7303, -16.4169, -68.7134 ],
[ 51.887, -22.2222, -43.9495 ],
[ 59.7875, -27.0379, -17.7026 ],
[ 67.1755, -30.9303, 9.416 ],
[ 73.7948, -33.9659, 36.7953 ],
[ 79.3892, -36.2112, 63.8239 ],
[ 83.7025, -37.7327, 89.8909 ],
[ 86.4783, -38.5968, 114.385 ],
[ 87.4606, -38.8701, 136.6951 ]
]
# primaries 2
[[geometry.pipes]]
index = 4
points_mm = [
[ 0, 73.6334, 140.1014 ],
[ 0.7766, 67.5842, 144.4533 ],
[ 2.9712, 61.9218, 148.2705 ],
[ 6.3814, 56.5771, 151.588 ],
[ 10.8045, 51.4813, 154.4409 ],
[ 16.0379, 46.5657, 156.8641 ],
[ 21.8791, 41.7612, 158.8927 ],
[ 28.1254, 36.9992, 160.5619 ],
[ 34.5744, 32.2106, 161.9065 ],
[ 41.0233, 27.3267, 162.9617 ],
[ 47.2696, 22.2785, 163.7626 ],
[ 53.1108, 16.9973, 164.344 ],
[ 58.3442, 11.4142, 164.7412 ],
[ 62.7673, 5.4602, 164.9891 ],
[ 66.1775, -0.9334, 165.1228 ],
[ 68.3721, -7.8355, 165.1773 ],
[ 69.1487, -15.315, 165.1877 ]
]
# tailpipe
[[geometry.pipes]]
index = 5
points_mm = [
[ 139.685, -55, 176.3802 ],
[ 1639.685, -55, 176.3802 ]
]
[[geometry.volumes]]
id = "intake_plenum"
center_mm = [ 0, 418.5291, 0 ]
size_mm = [ 112, 70.1489, 254.5604 ]
[[geometry.volumes]]
id = "exhaust_collector"
center_mm = [ 100, -55, 176.3802 ]
size_mm = [ 79.3701, 79.3701, 79.3701 ]