# m111-alex

Tune https://rusefi.com/online/view.php?msq=1490

```
    // default 0.9
    engineConfiguration->tChargeMaxRpmMaxTps = 0.900002;
    // default "RPM+TPS (Default)"
    engineConfiguration->tChargeMode = TCHARGE_MODE_AIR_INTERP;
    // default 1.0
    engineConfiguration->tChargeAirIncrLimit = 15.0;
    // default 12.5
    engineConfiguration->tChargeAirDecrLimit = 15.0;
    // default 0.098
    engineConfiguration->tChargeAirCoefMin = 0.4;
    // default 0.902
    engineConfiguration->tChargeAirCoefMax = 0.889999;
    // default 153.6
    engineConfiguration->tChargeAirFlowMax = 220.0;
    // default "Sequential"
    engineConfiguration->injectionMode = IM_BATCH;
    // default "false"
    engineConfiguration->twoWireBatchInjection = true;
    // default "Single Coil"
    engineConfiguration->ignitionMode = IM_WASTED_SPARK;
    // default 0.0
    engineConfiguration->fixedTiming = 10.0;
    // default 2.0
    engineConfiguration->displacement = 2.2;
    // default 0.0
    engineConfiguration->vehicleWeight = 1250.0;
    // default 9.0
    engineConfiguration->compressionRatio = 9.5;
    // default 0.0
    engineConfiguration->globalTriggerAngleOffset = 72.0;
    // default "Inactive"
    engineConfiguration->vvtMode1 = VVT_FIRST_HALF;
    // default 300.0
    engineConfiguration->fuelReferencePressure = 0.0;
    // default 0.0
    engineConfiguration->cylinderBankSelect1 = 1.0;
    // default 0.0
    engineConfiguration->cylinderBankSelect2 = 1.0;
    // default 0.0
    engineConfiguration->cylinderBankSelect3 = 1.0;
    // default 0.0
    engineConfiguration->cylinderBankSelect4 = 1.0;
    // default 0.0
    engineConfiguration->cylinderBankSelect5 = 1.0;
    // default 0.0
    engineConfiguration->cylinderBankSelect6 = 1.0;
    // default 0.0
    engineConfiguration->cylinderBankSelect7 = 1.0;
    // default 0.0
    engineConfiguration->cylinderBankSelect8 = 1.0;
    // default 0.0
    engineConfiguration->cylinderBankSelect9 = 1.0;
    // default 0.0
    engineConfiguration->cylinderBankSelect10 = 1.0;
    // default 0.0
    engineConfiguration->cylinderBankSelect11 = 1.0;
    // default 0.0
    engineConfiguration->cylinderBankSelect12 = 1.0;
    // default 4.0
    engineConfiguration->benchTestOnTime = 5.0;
    // default 0.0
    engineConfiguration->tpsMin = 890.0;
    // default 1000.0
    engineConfiguration->tpsMax = 35.0;
    // default 1000.0
    engineConfiguration->tps1SecondaryMin = 93.0;
    // default 0.0
    engineConfiguration->tps1SecondaryMax = 903.0;
    // default 1000.0
    engineConfiguration->tps2SecondaryMin = 0.0;
    // default 0.0
    engineConfiguration->tps2SecondaryMax = 1000.0;
    // default 0.0
    engineConfiguration->throttlePedalUpVoltage = 0.290001;
    // default 5.0
    engineConfiguration->throttlePedalWOTVoltage = 4.599976;
    // default 5.0
    engineConfiguration->throttlePedalSecondaryUpVoltage = 0.12;
    // default 0.0
    engineConfiguration->throttlePedalSecondaryWOTVoltage = 2.130005;
    // default 65.0
    engineConfiguration->mc33_hvolt = 0.0;
    // default 13000.0
    engineConfiguration->mc33_i_boost = 0.0;
    // default 400.0
    engineConfiguration->mc33_t_max_boost = 0.0;
    // default 9400.0
    engineConfiguration->mc33_i_peak = 0.0;
    // default 700.0
    engineConfiguration->mc33_t_peak_tot = 0.0;
    // default 10.0
    engineConfiguration->mc33_t_peak_off = 0.0;
    // default 10.0
    engineConfiguration->mc33_t_bypass = 0.0;
    // default 3700.0
    engineConfiguration->mc33_i_hold = 0.0;
    // default 60.0
    engineConfiguration->mc33_t_hold_off = 0.0;
    // default 10000.0
    engineConfiguration->mc33_t_hold_tot = 0.0;
    // default 1.0
    engineConfiguration->turboSpeedSensorMultiplier = 0.0;
    // default 0.0
    engineConfiguration->mapLowValueVoltage = 0.2;
    // default 5.0
    engineConfiguration->mapHighValueVoltage = 4.950012;
    // default 410.0
    engineConfiguration->mapErrorDetectionTooHigh = 250.0;
    // default 1.0
    engineConfiguration->mapMinBufferLength = 2.0;
    // default "false"
    engineConfiguration->enableAemXSeries = true;
    // default 3.0
    engineConfiguration->idleStepperReactionTime = 10.0;
    // default 200.0
    engineConfiguration->idleStepperTotalSteps = 150.0;
    // default "true"
    engineConfiguration->stepperForceParkingEveryRestart = false;
    // default 15.0
    engineConfiguration->etbIdleThrottleRange = 10.0;
    // default 15.0
    engineConfiguration->acIdleExtraOffset = 7.0;
    // default 50.0
    engineConfiguration->acIdleRpmBump = 100.0;
    // default 2.0
    engineConfiguration->iacByTpsTaper = 0.0;
    // default 5.0
    engineConfiguration->idlePidDeactivationTpsThreshold = 2.0;
    // default 300.0
    engineConfiguration->idlePidRpmUpperLimit = 450.0;
    // default "false"
    engineConfiguration->useIdleTimingPidControl = true;
    // default 0.5
    engineConfiguration->acDelay = 0.0;
    // default 0.0
    engineConfiguration->warningPeriod = 10.0;
    // default "false"
    engineConfiguration->enableSoftwareKnock = true;
    // default 87.5
    engineConfiguration->cylinderBore = 89.90039;
    // default 0.0
    engineConfiguration->knockBandCustom = 12.80005;
    // default 0.0
    engineConfiguration->knockRetardAggression = 5.0;
    // default 0.0
    engineConfiguration->knockRetardReapplyRate = 0.1;
    // default "false"
    engineConfiguration->is_enabled_spi_2 = true;
    // default "false"
    engineConfiguration->is_enabled_spi_3 = true;
    // default "false"
    engineConfiguration->fuelClosedLoopCorrectionEnabled = true;
    // default 6000.0
    engineConfiguration->vvtActivationDelayMs = 0.0;
    // default 500.0
    engineConfiguration->vvtControlMinRpm = 550.0;
    // default 300.0
    engineConfiguration->vvtOutputFrequency1 = 0.0;
    // default 5.333333
    engineConfiguration->vbattDividerCoeff = 5.852941;
    // default 3.0
    engineConfiguration->vssFilterReciprocal = 10.0;
    // default 1000.0
    engineConfiguration->driveWheelRevPerKm = 500.0;
    // default "false"
    engineConfiguration->enableCanVss = true;
    // default "BMW_e46"
    engineConfiguration->canVssNbcType = W202;
    // default 1.0
    engineConfiguration->finalGearRatio = 0.0;
    // default 3.0
    engineConfiguration->adcVcc = 3.29;
    // default 38400.0
    engineConfiguration->tunerStudioSerialSpeed = 115200.0;
    // default "500kbps"
    engineConfiguration->can2BaudRate = B100KBPS;
    // default "None"
    engineConfiguration->canNbcType = CAN_BUS_W202_C180;
    // default 0.0
    engineConfiguration->auxSerialSpeed = 115200.0;
    // default "false"
    engineConfiguration->isSdCardEnabled = true;
    // default "INSTANT_RPM"
    engineConfiguration->debugMode = DBG_TPS_ACCEL;
    // default 7000.0
    engineConfiguration->rpmHardLimit = 6200.0;
    // default 300.0
    engineConfiguration->boostCutPressure = 0.0;
    // default 0.0
    engineConfiguration->etbRevLimitStart = 6100.0;
    // default 0.0
    engineConfiguration->etbRevLimitRange = 200.0;
    // default "false"
    engineConfiguration->overrideCrankingIacSetting = true;
    // default 6.0
    engineConfiguration->crankingTimingAngle = 3.0;
    // default 6.0
    engineConfiguration->ignitionDwellForCrankingMs = 5.0;
    // default 0.5
    engineConfiguration->primingDelay = 0.0;
    // default 0.0
    engineConfiguration->tpsAccelLookback = 0.35;
    // default 40.0
    engineConfiguration->tpsAccelEnrichmentThreshold = 80.0;
    // default 0.0
    engineConfiguration->tpsDecelEnleanmentThreshold = 0.8;
    // default 0.0
    engineConfiguration->tpsAccelFractionPeriod = 1.0;
    // default 0.0
    engineConfiguration->tpsAccelFractionDivisor = 0.8;
    // default "Basic (constants)"
    engineConfiguration->complexWallModel = Advanced (tables);
    // default 0.3
    engineConfiguration->wwaeTau = 0.1;
    // default 0.3
    engineConfiguration->wwaeBeta = 0.83;
    // default 0.0
    engineConfiguration->scriptSetting1 = 5000.0;
    // default "Throttle 2"
    engineConfiguration->etbFunctions2 = DC_None;
    // default -30.0
    engineConfiguration->etb_iTermMin = -40.0;
    // default 30.0
    engineConfiguration->etb_iTermMax = 40.0;
    // default 800.0
    engineConfiguration->etbFreq = 500.0;
    // default 100.0
    engineConfiguration->etbMaximumPosition = 0.0;
    // default 400.0
    engineConfiguration->engineChartSize = 300.0;
    // default "false"
    engineConfiguration->launchControlEnabled = true;
    // default "Launch Button"
    engineConfiguration->launchActivationMode = ALWAYS_ACTIVE_LAUNCH;
    // default 30.0
    engineConfiguration->launchSpeedThreshold = 15.0;
    // default 3000.0
    engineConfiguration->launchRpm = 3500.0;
    // default "false"
    engineConfiguration->enableLaunchRetard = true;
    // default 0.0
    engineConfiguration->launchTimingRetard = 10.0;
    // default "false"
    engineConfiguration->launchFuelCutEnable = true;
    // default "Switch Input"
    engineConfiguration->antiLagActivationMode = ALWAYS_ON_ANTILAG;
    // default 60.0
    engineConfiguration->coastingFuelCutClt = 30.0;
    // default 1500.0
    engineConfiguration->coastingFuelCutRpmHigh = 2000.0;
    // default 2.0
    engineConfiguration->coastingFuelCutTps = 5.0;
```
