diff --git a/simulator/generated/canned-tunes/COUPE-BK1-comparing-against-current-COUPE-BK1-default.md b/simulator/generated/canned-tunes/COUPE-BK1-comparing-against-current-COUPE-BK1-default.md new file mode 100644 index 0000000000..99c06060d5 --- /dev/null +++ b/simulator/generated/canned-tunes/COUPE-BK1-comparing-against-current-COUPE-BK1-default.md @@ -0,0 +1,142 @@ +# COUPE-BK1-comparing-against-current-COUPE-BK1-default + +// canned tune https://rusefi.com/online/view.php?msq=1508 + +``` + // default "true" + engineConfiguration->isForcedInduction = false; + // default -154.0 + engineConfiguration->vvtOffsets[0] = -155; + // default 335.0 + engineConfiguration->vvtOffsets[1] = 337; + // default 354.19 + engineConfiguration->injector.flow = 440; + // default 0.0 + engineConfiguration->cylinderBankSelect[0] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[1] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[2] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[3] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[4] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[5] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[6] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[7] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[8] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[9] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[10] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[11] = 1; + // default 98.0 + engineConfiguration->tpsMin = 111; + // default 926.0 + engineConfiguration->tpsMax = 923; + // default 891.0 + engineConfiguration->tps1SecondaryMin = 874; + // default 69.0 + engineConfiguration->tps1SecondaryMax = 63; + // default 300.0 + engineConfiguration->idle.solenoidFrequency = 200; + // default "false" + engineConfiguration->stepperDcInvertedPins = true; + // default 15.0 + engineConfiguration->etbIdleThrottleRange = 5; + // default 15.0 + engineConfiguration->acIdleExtraOffset = 10; + // default 2.0 + engineConfiguration->fan1ExtraIdle = 0; + // default 2.0 + engineConfiguration->iacByTpsTaper = 0; + // default 2.0 + engineConfiguration->iacByTpsHoldTime = 0; + // default 3.0 + engineConfiguration->iacByTpsDecayTime = 0; + // default 0.0 + engineConfiguration->idleTimingPid.dFactor = 5.0E-4; + // default 80.0 + engineConfiguration->fanOnTemperature = 86; + // default 75.0 + engineConfiguration->fanOffTemperature = 80; + // default "false" + engineConfiguration->enableFan1WithAc = true; + // default 87.0 + engineConfiguration->fan2OnTemperature = 93; + // default 82.0 + engineConfiguration->fan2OffTemperature = 87; + // default "false" + engineConfiguration->enableFan2WithAc = true; + // default 0.5 + engineConfiguration->acDelay = 0; + // default 0.0 + engineConfiguration->warningPeriod = 10; + // default 20.0 + engineConfiguration->knockRetardAggression = 0; + // default 3.0 + engineConfiguration->knockRetardReapplyRate = 0; + // default 6000.0 + engineConfiguration->vvtActivationDelayMs = 3000; + // default 500.0 + engineConfiguration->vvtControlMinRpm = 1500; + // default 0.1 + engineConfiguration->auxPid[0].dFactor = 0.2; + // default "None" + engineConfiguration->canNbcType = CAN_BUS_GENESIS_COUPE; + // default "MAP" + engineConfiguration->debugMode = DBG_22; + // default 250.0 + engineConfiguration->etbRevLimitRange = 0; + // default 70.0 + engineConfiguration->crankingIACposition = 50; + // default 100.0 + engineConfiguration->afterCrankingIACtaperDuration = 200; + // default "true" + engineConfiguration->overrideCrankingIacSetting = false; + // default 0.5 + engineConfiguration->primingDelay = 0; + // default 0.3 + engineConfiguration->tpsAccelLookback = 0; + // default 12.0 + engineConfiguration->tpsAccelEnrichmentThreshold = 40; + // default 7.0 + engineConfiguration->tpsDecelEnleanmentThreshold = 0; + // default 3.0 + engineConfiguration->tpsAccelFractionPeriod = 0; + // default 3.0 + engineConfiguration->tpsAccelFractionDivisor = 0; + // default "false" + engineConfiguration->isBoostControlEnabled = true; + // default 2000.0 + engineConfiguration->boostControlMinRpm = 0; + // default 30.0 + engineConfiguration->boostControlMinTps = 0; + // default 110.0 + engineConfiguration->boostControlMinMap = 0; + // default "Throttle 2" + engineConfiguration->etbFunctions[1] = DC_Wastegate; + // default 8.8944 + engineConfiguration->etb.pFactor = 7.213493; + // default 70.2307 + engineConfiguration->etb.iFactor = 94.99006; + // default 0.1855 + engineConfiguration->etb.dFactor = 0.0892407; + // default 400.0 + engineConfiguration->engineChartSize = 300; + + + coupleBK1cannedboostTableOpenLoop(); + coupleBK1cannedvvtTable1(); + coupleBK1cannedvvtTable2(); + coupleBK1cannedscriptTable4(); + coupleBK1cannedignitionTable(); + coupleBK1cannedlambdaTable(); + coupleBK1cannedtcuSolenoidTable(); + coupleBK1cannedpostCrankingFactor(); +``` diff --git a/simulator/generated/canned-tunes/COUPE-BK1-comparing-against-current-COUPE-BK1-default_methods.md b/simulator/generated/canned-tunes/COUPE-BK1-comparing-against-current-COUPE-BK1-default_methods.md new file mode 100644 index 0000000000..73e13924d9 --- /dev/null +++ b/simulator/generated/canned-tunes/COUPE-BK1-comparing-against-current-COUPE-BK1-default_methods.md @@ -0,0 +1,126 @@ +``` +static void coupleBK1cannedboostTableOpenLoop() { + static const float hardCodedboostTableOpenLoop[8][8] = { +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +}; + copyTable(config->boostTableOpenLoop, hardCodedboostTableOpenLoop); +} + +static void coupleBK1cannedvvtTable1() { + static const float hardCodedvvtTable1[8][8] = { +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 5.000, 10.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 10.000, 15.000, 15.000, 15.000, 10.000, 10.000, 10.000, }, +{0.000, 10.000, 15.000, 15.000, 15.000, 10.000, 10.000, 10.000, }, +{0.000, 10.000, 15.000, 15.000, 15.000, 10.000, 10.000, 10.000, }, +{0.000, 10.000, 15.000, 15.000, 15.000, 10.000, 10.000, 10.000, }, +{0.000, 30.000, 30.000, 30.000, 19.000, 9.000, 5.000, 5.000, }, +{0.000, 30.000, 30.000, 30.000, 19.000, 9.000, 5.000, 5.000, }, +}; + copyTable(config->vvtTable1, hardCodedvvtTable1); +} + +static void coupleBK1cannedvvtTable2() { + static const float hardCodedvvtTable2[8][8] = { +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, }, +{0.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, }, +{0.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, }, +{0.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, }, +}; + copyTable(config->vvtTable2, hardCodedvvtTable2); +} + +static void coupleBK1cannedscriptTable4() { + static const float hardCodedscriptTable4[8][10] = { +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +}; + copyTable(config->scriptTable4, hardCodedscriptTable4); +} + +static void coupleBK1cannedignitionTable() { + static const float hardCodedignitionTable[16][16] = { +{12.100, 14.000, 17.800, 22.900, 29.300, 33.600, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 42.000, 42.000, 42.000, 42.000, }, +{11.800, 13.700, 10.000, 14.900, 23.600, 30.800, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 41.000, 41.000, 41.000, 41.000, }, +{11.600, 13.400, 12.300, 17.100, 23.000, 29.900, 39.200, 40.000, 40.000, 40.000, 40.000, 40.000, 40.000, 40.000, 40.000, 40.000, }, +{11.400, 13.200, 16.700, 21.400, 22.300, 29.100, 38.200, 39.000, 39.000, 39.000, 39.000, 39.000, 39.000, 39.000, 39.000, 39.000, }, +{11.200, 12.900, 16.300, 20.800, 21.600, 28.300, 37.200, 38.000, 38.000, 38.000, 38.000, 38.000, 38.000, 38.000, 38.000, 38.000, }, +{10.900, 12.600, 16.600, 20.200, 23.400, 26.700, 27.000, 28.500, 30.000, 30.400, 30.800, 31.100, 31.500, 31.900, 32.300, 33.000, }, +{10.800, 12.400, 16.800, 19.600, 20.900, 24.200, 24.500, 26.000, 27.500, 27.900, 28.300, 28.600, 29.000, 29.400, 29.800, 30.500, }, +{14.300, 14.900, 16.500, 18.800, 20.700, 21.700, 22.000, 23.500, 25.000, 25.400, 25.800, 26.100, 26.500, 26.900, 27.300, 28.000, }, +{14.000, 14.600, 15.600, 17.100, 18.500, 19.200, 19.500, 21.000, 22.500, 22.900, 23.300, 23.600, 24.000, 24.400, 24.800, 25.500, }, +{12.900, 13.300, 14.000, 15.100, 16.100, 16.700, 17.000, 18.500, 20.000, 20.400, 20.800, 21.100, 21.500, 21.900, 22.300, 23.000, }, +{11.700, 12.000, 12.400, 13.100, 13.700, 14.200, 14.500, 16.000, 17.500, 17.900, 18.300, 18.600, 19.000, 19.400, 19.800, 20.500, }, +{10.400, 10.500, 10.800, 11.100, 11.500, 11.900, 12.000, 13.500, 15.000, 15.400, 15.800, 16.100, 16.500, 16.900, 17.300, 18.000, }, +{8.800, 9.000, 9.100, 9.400, 9.700, 10.000, 10.300, 11.800, 13.300, 13.700, 14.100, 14.400, 14.800, 15.200, 15.600, 16.300, }, +{6.700, 6.800, 7.500, 7.700, 8.000, 8.400, 8.700, 10.200, 11.700, 12.100, 12.500, 12.800, 13.200, 13.600, 14.000, 14.700, }, +{1.800, 5.600, 6.200, 6.500, 6.800, 7.100, 7.000, 8.500, 10.000, 10.400, 10.800, 11.100, 11.500, 11.900, 12.300, 13.000, }, +{-1.200, 2.600, 3.200, 3.600, 4.100, 5.000, 7.100, 7.800, 8.400, 9.000, 9.400, 9.500, 9.700, 9.800, 10.000, 10.000, }, +}; + copyTable(config->ignitionTable, hardCodedignitionTable); +} + +static void coupleBK1cannedlambdaTable() { + static const float hardCodedlambdaTable[16][16] = { +{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, +{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, +{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, +{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, +{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, +{14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, }, +{13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, }, +{13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, }, +{13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, }, +{12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, }, +{12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, }, +{12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, }, +{11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, }, +{11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, }, +{11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, }, +{10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, }, +}; + copyTable(config->lambdaTable, hardCodedlambdaTable); +} + +static void coupleBK1cannedtcuSolenoidTable() { + static const float hardCodedtcuSolenoidTable[6][10] = { +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +}; + copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); +} + +static void coupleBK1cannedpostCrankingFactor() { + static const float hardCodedpostCrankingFactor[6][6] = { +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +}; + copyTable(engineConfiguration->postCrankingFactor, hardCodedpostCrankingFactor); +} + +``` diff --git a/simulator/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults.md b/simulator/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults.md new file mode 100644 index 0000000000..35ed4e24fa --- /dev/null +++ b/simulator/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults.md @@ -0,0 +1,163 @@ +# COUPE-BK1-comparing-against-global-defaults + +// canned tune https://rusefi.com/online/view.php?msq=1508 + +``` + // default "Single Coil" + engineConfiguration->ignitionMode = IM_INDIVIDUAL_COILS; + // default 2.0 + engineConfiguration->displacement = 1.998; + // default 0.0 + engineConfiguration->globalTriggerAngleOffset = 475; + // default 450.0 + engineConfiguration->vvtOffsets[0] = -155; + // default 0.0 + engineConfiguration->vvtOffsets[1] = 337; + // default 200.0 + engineConfiguration->injector.flow = 440; + // default "None" + engineConfiguration->injectorCompensationMode = ICM_FixedRailPressure; + // default 300.0 + engineConfiguration->fuelReferencePressure = 379.2116; + // default 0.0 + engineConfiguration->cylinderBankSelect[0] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[1] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[2] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[3] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[4] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[5] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[6] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[7] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[8] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[9] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[10] = 1; + // default 0.0 + engineConfiguration->cylinderBankSelect[11] = 1; + // default 0.0 + engineConfiguration->tpsMin = 111; + // default 1000.0 + engineConfiguration->tpsMax = 923; + // default 1000.0 + engineConfiguration->tps1SecondaryMin = 874; + // default 0.0 + engineConfiguration->tps1SecondaryMax = 63; + // default 0.0 + engineConfiguration->throttlePedalUpVoltage = 0.73; + // default 5.0 + engineConfiguration->throttlePedalWOTVoltage = 4; + // default 5.0 + engineConfiguration->throttlePedalSecondaryUpVoltage = 0.34; + // default 0.0 + engineConfiguration->throttlePedalSecondaryWOTVoltage = 1.86; + // default 300.0 + engineConfiguration->idle.solenoidFrequency = 200; + // default "false" + engineConfiguration->stepperDcInvertedPins = true; + // default 15.0 + engineConfiguration->etbIdleThrottleRange = 5; + // default 15.0 + engineConfiguration->acIdleExtraOffset = 10; + // default 2.0 + engineConfiguration->fan1ExtraIdle = 0; + // default 2.0 + engineConfiguration->iacByTpsTaper = 0; + // default "false" + engineConfiguration->useSeparateAdvanceForIdle = true; + // default "false" + engineConfiguration->useIdleTimingPidControl = true; + // default 0.0 + engineConfiguration->idleTimingPid.dFactor = 5.0E-4; + // default 95.0 + engineConfiguration->fanOnTemperature = 86; + // default 91.0 + engineConfiguration->fanOffTemperature = 80; + // default "false" + engineConfiguration->enableFan1WithAc = true; + // default "false" + engineConfiguration->disableFan1WhenStopped = true; + // default 95.0 + engineConfiguration->fan2OnTemperature = 93; + // default 91.0 + engineConfiguration->fan2OffTemperature = 87; + // default "false" + engineConfiguration->enableFan2WithAc = true; + // default "false" + engineConfiguration->disableFan2WhenStopped = true; + // default 0.5 + engineConfiguration->acDelay = 0; + // default 0.0 + engineConfiguration->warningPeriod = 10; + // default "false" + engineConfiguration->enableSoftwareKnock = true; + // default 20.0 + engineConfiguration->knockRetardAggression = 0; + // default 3.0 + engineConfiguration->knockRetardReapplyRate = 0; + // default 6000.0 + engineConfiguration->vvtActivationDelayMs = 3000; + // default 550.0 + engineConfiguration->vvtControlMinRpm = 1500; + // default "advance" + engineConfiguration->invertVvtControlExhaust = retard; + // default 33.0 + engineConfiguration->auxPid[0].offset = 38; + // default 0.005 + engineConfiguration->auxPid[0].iFactor = 25.4; + // default 0.0 + engineConfiguration->auxPid[0].dFactor = 0.2; + // default 0.0 + engineConfiguration->auxPid[1].offset = 38; + // default 0.0 + engineConfiguration->auxPid[1].pFactor = 2; + // default 0.0 + engineConfiguration->auxPid[1].iFactor = 25.4; + // default 0.0 + engineConfiguration->auxPid[1].dFactor = 0.2; + // default "None" + engineConfiguration->canNbcType = CAN_BUS_GENESIS_COUPE; + // default "MAP" + engineConfiguration->debugMode = DBG_22; + // default 250.0 + engineConfiguration->etbRevLimitRange = 0; + // default 0.5 + engineConfiguration->primingDelay = 0; + // default "false" + engineConfiguration->isBoostControlEnabled = true; + // default 2000.0 + engineConfiguration->boostControlMinRpm = 0; + // default 30.0 + engineConfiguration->boostControlMinTps = 0; + // default 110.0 + engineConfiguration->boostControlMinMap = 0; + // default "Throttle 2" + engineConfiguration->etbFunctions[1] = DC_Wastegate; + // default 1.0 + engineConfiguration->etb.pFactor = 7.213493; + // default 10.0 + engineConfiguration->etb.iFactor = 94.99006; + // default 0.05 + engineConfiguration->etb.dFactor = 0.0892407; + // default 400.0 + engineConfiguration->engineChartSize = 300; + + + coupleBK1cannedboostTableOpenLoop(); + coupleBK1cannedvvtTable1(); + coupleBK1cannedvvtTable2(); + coupleBK1cannedscriptTable4(); + coupleBK1cannedignitionTable(); + coupleBK1cannedveTable(); + coupleBK1cannedlambdaTable(); + coupleBK1cannedtcuSolenoidTable(); + coupleBK1cannedpostCrankingFactor(); +``` diff --git a/simulator/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults_methods.md b/simulator/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults_methods.md new file mode 100644 index 0000000000..61073b03bc --- /dev/null +++ b/simulator/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults_methods.md @@ -0,0 +1,148 @@ +``` +static void coupleBK1cannedboostTableOpenLoop() { + static const float hardCodedboostTableOpenLoop[8][8] = { +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +{25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, +}; + copyTable(config->boostTableOpenLoop, hardCodedboostTableOpenLoop); +} + +static void coupleBK1cannedvvtTable1() { + static const float hardCodedvvtTable1[8][8] = { +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 5.000, 10.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 10.000, 15.000, 15.000, 15.000, 10.000, 10.000, 10.000, }, +{0.000, 10.000, 15.000, 15.000, 15.000, 10.000, 10.000, 10.000, }, +{0.000, 10.000, 15.000, 15.000, 15.000, 10.000, 10.000, 10.000, }, +{0.000, 10.000, 15.000, 15.000, 15.000, 10.000, 10.000, 10.000, }, +{0.000, 30.000, 30.000, 30.000, 19.000, 9.000, 5.000, 5.000, }, +{0.000, 30.000, 30.000, 30.000, 19.000, 9.000, 5.000, 5.000, }, +}; + copyTable(config->vvtTable1, hardCodedvvtTable1); +} + +static void coupleBK1cannedvvtTable2() { + static const float hardCodedvvtTable2[8][8] = { +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, }, +{0.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, }, +{0.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, }, +{0.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, -25.000, }, +}; + copyTable(config->vvtTable2, hardCodedvvtTable2); +} + +static void coupleBK1cannedscriptTable4() { + static const float hardCodedscriptTable4[8][10] = { +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +}; + copyTable(config->scriptTable4, hardCodedscriptTable4); +} + +static void coupleBK1cannedignitionTable() { + static const float hardCodedignitionTable[16][16] = { +{12.100, 14.000, 17.800, 22.900, 29.300, 33.600, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 42.000, 42.000, 42.000, 42.000, }, +{11.800, 13.700, 10.000, 14.900, 23.600, 30.800, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 41.000, 41.000, 41.000, 41.000, }, +{11.600, 13.400, 12.300, 17.100, 23.000, 29.900, 39.200, 40.000, 40.000, 40.000, 40.000, 40.000, 40.000, 40.000, 40.000, 40.000, }, +{11.400, 13.200, 16.700, 21.400, 22.300, 29.100, 38.200, 39.000, 39.000, 39.000, 39.000, 39.000, 39.000, 39.000, 39.000, 39.000, }, +{11.200, 12.900, 16.300, 20.800, 21.600, 28.300, 37.200, 38.000, 38.000, 38.000, 38.000, 38.000, 38.000, 38.000, 38.000, 38.000, }, +{10.900, 12.600, 16.600, 20.200, 23.400, 26.700, 27.000, 28.500, 30.000, 30.400, 30.800, 31.100, 31.500, 31.900, 32.300, 33.000, }, +{10.800, 12.400, 16.800, 19.600, 20.900, 24.200, 24.500, 26.000, 27.500, 27.900, 28.300, 28.600, 29.000, 29.400, 29.800, 30.500, }, +{14.300, 14.900, 16.500, 18.800, 20.700, 21.700, 22.000, 23.500, 25.000, 25.400, 25.800, 26.100, 26.500, 26.900, 27.300, 28.000, }, +{14.000, 14.600, 15.600, 17.100, 18.500, 19.200, 19.500, 21.000, 22.500, 22.900, 23.300, 23.600, 24.000, 24.400, 24.800, 25.500, }, +{12.900, 13.300, 14.000, 15.100, 16.100, 16.700, 17.000, 18.500, 20.000, 20.400, 20.800, 21.100, 21.500, 21.900, 22.300, 23.000, }, +{11.700, 12.000, 12.400, 13.100, 13.700, 14.200, 14.500, 16.000, 17.500, 17.900, 18.300, 18.600, 19.000, 19.400, 19.800, 20.500, }, +{10.400, 10.500, 10.800, 11.100, 11.500, 11.900, 12.000, 13.500, 15.000, 15.400, 15.800, 16.100, 16.500, 16.900, 17.300, 18.000, }, +{8.800, 9.000, 9.100, 9.400, 9.700, 10.000, 10.300, 11.800, 13.300, 13.700, 14.100, 14.400, 14.800, 15.200, 15.600, 16.300, }, +{6.700, 6.800, 7.500, 7.700, 8.000, 8.400, 8.700, 10.200, 11.700, 12.100, 12.500, 12.800, 13.200, 13.600, 14.000, 14.700, }, +{1.800, 5.600, 6.200, 6.500, 6.800, 7.100, 7.000, 8.500, 10.000, 10.400, 10.800, 11.100, 11.500, 11.900, 12.300, 13.000, }, +{-1.200, 2.600, 3.200, 3.600, 4.100, 5.000, 7.100, 7.800, 8.400, 9.000, 9.400, 9.500, 9.700, 9.800, 10.000, 10.000, }, +}; + copyTable(config->ignitionTable, hardCodedignitionTable); +} + +static void coupleBK1cannedveTable() { + static const float hardCodedveTable[16][16] = { +{52.000, 54.000, 54.000, 56.000, 61.000, 55.000, 55.000, 65.000, 65.000, 60.000, 60.000, 60.000, 60.000, 60.000, 60.000, 60.000, }, +{51.500, 54.500, 54.400, 56.000, 61.000, 68.100, 66.800, 67.600, 68.200, 63.400, 63.400, 63.400, 63.400, 63.400, 63.400, 63.400, }, +{52.500, 55.400, 57.700, 62.200, 62.800, 65.800, 69.600, 71.100, 72.200, 67.600, 67.600, 67.600, 67.600, 67.600, 67.600, 67.600, }, +{54.200, 56.300, 59.000, 64.300, 65.700, 68.400, 71.400, 72.900, 73.900, 70.500, 70.400, 70.400, 70.300, 70.200, 70.200, 70.200, }, +{54.400, 56.700, 59.500, 65.200, 71.800, 75.400, 75.300, 73.800, 74.700, 72.600, 72.500, 72.300, 72.200, 72.100, 72.000, 72.000, }, +{55.100, 58.100, 61.400, 67.900, 75.400, 77.300, 75.000, 76.300, 77.200, 77.500, 77.000, 76.500, 76.000, 75.600, 75.400, 75.400, }, +{55.800, 59.400, 63.000, 70.100, 73.200, 75.400, 77.800, 78.900, 79.800, 79.100, 78.400, 77.700, 77.000, 76.400, 76.100, 76.100, }, +{56.000, 66.200, 70.600, 74.200, 74.100, 76.000, 79.900, 84.100, 82.200, 79.600, 78.900, 78.200, 77.500, 76.900, 76.600, 76.600, }, +{58.500, 67.400, 69.200, 75.500, 78.300, 79.900, 81.700, 83.700, 84.700, 82.100, 81.400, 80.700, 80.000, 79.400, 79.100, 79.100, }, +{52.900, 70.000, 71.900, 75.900, 79.800, 81.900, 83.700, 85.600, 86.100, 83.600, 83.000, 82.200, 81.600, 81.000, 80.700, 83.700, }, +{50.700, 71.000, 73.000, 77.300, 81.600, 83.900, 85.700, 87.600, 87.900, 85.400, 84.800, 84.000, 83.400, 82.800, 82.500, 85.500, }, +{53.700, 74.000, 76.000, 80.300, 84.600, 86.900, 88.700, 90.600, 90.900, 88.400, 87.800, 87.000, 86.400, 85.800, 85.500, 88.500, }, +{56.700, 77.000, 79.000, 83.300, 87.600, 89.900, 91.700, 93.600, 93.900, 91.400, 90.800, 90.000, 89.400, 88.800, 88.500, 91.500, }, +{59.700, 80.000, 82.000, 86.300, 90.600, 92.900, 94.700, 96.600, 96.900, 94.400, 93.800, 93.000, 92.400, 91.800, 91.500, 94.500, }, +{62.700, 83.000, 85.000, 89.300, 93.600, 95.900, 97.700, 99.600, 99.900, 97.400, 96.800, 96.000, 95.400, 94.800, 94.500, 97.500, }, +{65.700, 86.000, 88.000, 92.300, 96.600, 98.900, 100.700, 102.600, 102.900, 100.400, 99.800, 99.000, 98.400, 97.800, 97.500, 100.500, }, +}; + copyTable(config->veTable, hardCodedveTable); +} + +static void coupleBK1cannedlambdaTable() { + static const float hardCodedlambdaTable[16][16] = { +{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, +{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, +{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, +{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, +{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, +{14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, }, +{13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, }, +{13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, }, +{13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, }, +{12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, }, +{12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, }, +{12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, }, +{11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, }, +{11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, }, +{11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, }, +{10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, }, +}; + copyTable(config->lambdaTable, hardCodedlambdaTable); +} + +static void coupleBK1cannedtcuSolenoidTable() { + static const float hardCodedtcuSolenoidTable[6][10] = { +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +}; + copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); +} + +static void coupleBK1cannedpostCrankingFactor() { + static const float hardCodedpostCrankingFactor[6][6] = { +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +}; + copyTable(engineConfiguration->postCrankingFactor, hardCodedpostCrankingFactor); +} + +``` diff --git a/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default.md b/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default.md index c1e5b926b2..65c0f35fac 100644 --- a/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default.md +++ b/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default.md @@ -55,10 +55,10 @@ engineConfiguration->engineChartSize = 300; - couplecannedtpsTpsAccelTable(); - couplecannedscriptTable4(); - couplecannedpedalToTpsTable(); - couplecannedlambdaTable(); - couplecannedtcuSolenoidTable(); - couplecannedpostCrankingFactor(); + coupleBK2cannedtpsTpsAccelTable(); + coupleBK2cannedscriptTable4(); + coupleBK2cannedpedalToTpsTable(); + coupleBK2cannedlambdaTable(); + coupleBK2cannedtcuSolenoidTable(); + coupleBK2cannedpostCrankingFactor(); ``` diff --git a/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default_methods.md b/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default_methods.md index db9f5514f1..e64dbfd360 100644 --- a/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default_methods.md +++ b/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default_methods.md @@ -1,5 +1,5 @@ ``` -static void couplecannedtpsTpsAccelTable() { +static void coupleBK2cannedtpsTpsAccelTable() { static const float hardCodedtpsTpsAccelTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, {5.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -13,7 +13,7 @@ static void couplecannedtpsTpsAccelTable() { copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable); } -static void couplecannedscriptTable4() { +static void coupleBK2cannedscriptTable4() { static const float hardCodedscriptTable4[8][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -27,7 +27,7 @@ static void couplecannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } -static void couplecannedpedalToTpsTable() { +static void coupleBK2cannedpedalToTpsTable() { static const float hardCodedpedalToTpsTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, {8.000, 8.000, 8.000, 8.000, 8.000, 8.000, 8.000, 8.000, }, @@ -41,7 +41,7 @@ static void couplecannedpedalToTpsTable() { copyTable(config->pedalToTpsTable, hardCodedpedalToTpsTable); } -static void couplecannedlambdaTable() { +static void coupleBK2cannedlambdaTable() { static const float hardCodedlambdaTable[16][16] = { {14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, {14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, @@ -63,7 +63,7 @@ static void couplecannedlambdaTable() { copyTable(config->lambdaTable, hardCodedlambdaTable); } -static void couplecannedtcuSolenoidTable() { +static void coupleBK2cannedtcuSolenoidTable() { static const float hardCodedtcuSolenoidTable[6][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -75,7 +75,7 @@ static void couplecannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } -static void couplecannedpostCrankingFactor() { +static void coupleBK2cannedpostCrankingFactor() { static const float hardCodedpostCrankingFactor[6][6] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, diff --git a/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults.md b/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults.md index beceeae5b6..71fb0e8a80 100644 --- a/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults.md +++ b/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults.md @@ -151,12 +151,12 @@ engineConfiguration->engineChartSize = 300; - couplecannedtpsTpsAccelTable(); - couplecannedscriptTable4(); - couplecannedignitionTable(); - couplecannedveTable(); - couplecannedpedalToTpsTable(); - couplecannedlambdaTable(); - couplecannedtcuSolenoidTable(); - couplecannedpostCrankingFactor(); + coupleBK2cannedtpsTpsAccelTable(); + coupleBK2cannedscriptTable4(); + coupleBK2cannedignitionTable(); + coupleBK2cannedveTable(); + coupleBK2cannedpedalToTpsTable(); + coupleBK2cannedlambdaTable(); + coupleBK2cannedtcuSolenoidTable(); + coupleBK2cannedpostCrankingFactor(); ``` diff --git a/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults_methods.md b/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults_methods.md index c3b709300b..e9ef9262f6 100644 --- a/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults_methods.md +++ b/simulator/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults_methods.md @@ -1,5 +1,5 @@ ``` -static void couplecannedtpsTpsAccelTable() { +static void coupleBK2cannedtpsTpsAccelTable() { static const float hardCodedtpsTpsAccelTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, {5.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -13,7 +13,7 @@ static void couplecannedtpsTpsAccelTable() { copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable); } -static void couplecannedscriptTable4() { +static void coupleBK2cannedscriptTable4() { static const float hardCodedscriptTable4[8][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -27,7 +27,7 @@ static void couplecannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } -static void couplecannedignitionTable() { +static void coupleBK2cannedignitionTable() { static const float hardCodedignitionTable[16][16] = { {12.100, 14.000, 17.800, 22.900, 29.300, 35.600, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 42.000, 42.000, 42.000, 42.000, }, {11.800, 13.700, 10.000, 14.900, 28.600, 34.800, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 41.000, 41.000, 41.000, 41.000, }, @@ -49,7 +49,7 @@ static void couplecannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } -static void couplecannedveTable() { +static void coupleBK2cannedveTable() { static const float hardCodedveTable[16][16] = { {52.000, 54.000, 54.000, 56.000, 61.000, 55.000, 55.000, 65.000, 65.000, 60.000, 60.000, 60.000, 60.000, 60.000, 60.000, 60.000, }, {51.500, 54.500, 54.400, 56.000, 61.000, 68.100, 66.800, 67.600, 68.200, 63.400, 63.400, 63.400, 63.400, 63.400, 63.400, 63.400, }, @@ -71,7 +71,7 @@ static void couplecannedveTable() { copyTable(config->veTable, hardCodedveTable); } -static void couplecannedpedalToTpsTable() { +static void coupleBK2cannedpedalToTpsTable() { static const float hardCodedpedalToTpsTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, {8.000, 8.000, 8.000, 8.000, 8.000, 8.000, 8.000, 8.000, }, @@ -85,7 +85,7 @@ static void couplecannedpedalToTpsTable() { copyTable(config->pedalToTpsTable, hardCodedpedalToTpsTable); } -static void couplecannedlambdaTable() { +static void coupleBK2cannedlambdaTable() { static const float hardCodedlambdaTable[16][16] = { {14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, {14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, @@ -107,7 +107,7 @@ static void couplecannedlambdaTable() { copyTable(config->lambdaTable, hardCodedlambdaTable); } -static void couplecannedtcuSolenoidTable() { +static void coupleBK2cannedtcuSolenoidTable() { static const float hardCodedtcuSolenoidTable[6][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -119,7 +119,7 @@ static void couplecannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } -static void couplecannedpostCrankingFactor() { +static void coupleBK2cannedpostCrankingFactor() { static const float hardCodedpostCrankingFactor[6][6] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },