getting back to original scale
This commit is contained in:
parent
841b6de4c6
commit
098e66b6bb
|
@ -416,8 +416,8 @@ void setMazdaMiata2003EngineConfigurationNewBoard(DECLARE_ENGINE_PARAMETER_F) {
|
|||
setEgoSensor(ES_14Point7_Free PASS_ENGINE_PARAMETER);
|
||||
|
||||
|
||||
// set cranking_fuel 13
|
||||
engineConfiguration->cranking.baseFuel = 13; // higher value for return system NA conversion since lower fuel pressure
|
||||
// set cranking_fuel 9
|
||||
engineConfiguration->cranking.baseFuel = 9; // higher value for return system NA conversion since lower fuel pressure
|
||||
engineConfiguration->vbattDividerCoeff = 9.30; // actual value on my new board
|
||||
|
||||
engineConfiguration->useConstantDwellDuringCranking = true;
|
||||
|
|
|
@ -541,16 +541,16 @@ void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_F) {
|
|||
config->crankingFuelCoef[7] = 1;
|
||||
config->crankingFuelBins[7] = 90;
|
||||
|
||||
config->crankingCycleCoef[0] = 1;
|
||||
config->crankingCycleCoef[0] = 1.5;
|
||||
config->crankingCycleBins[0] = 4;
|
||||
|
||||
config->crankingCycleCoef[1] = 0.9;
|
||||
config->crankingCycleCoef[1] = 1.35;
|
||||
config->crankingCycleBins[1] = 8;
|
||||
|
||||
config->crankingCycleCoef[2] = 0.7;
|
||||
config->crankingCycleCoef[2] = 1.05;
|
||||
config->crankingCycleBins[2] = 12;
|
||||
|
||||
config->crankingCycleCoef[3] = 0.5;
|
||||
config->crankingCycleCoef[3] = 0.75;
|
||||
config->crankingCycleBins[3] = 16;
|
||||
|
||||
config->crankingCycleCoef[4] = 0.5;
|
||||
|
|
|
@ -113,9 +113,9 @@ void testFuelMap(void) {
|
|||
// NAN in case we have issues with the CLT sensor
|
||||
assertEqualsM("getStartingFuel nan", 4, getCrankingFuel3(NAN, 0 PASS_ENGINE_PARAMETER));
|
||||
assertEqualsM("getStartingFuel#1", 17.8, getCrankingFuel3(0, 4 PASS_ENGINE_PARAMETER));
|
||||
assertEqualsM("getStartingFuel#2", 14.6286, getCrankingFuel3(8, 15 PASS_ENGINE_PARAMETER));
|
||||
assertEqualsM("getStartingFuel#2", 8.4480, getCrankingFuel3(8, 15 PASS_ENGINE_PARAMETER));
|
||||
assertEqualsM("getStartingFuel#3", 6.48, getCrankingFuel3(70, 0 PASS_ENGINE_PARAMETER));
|
||||
assertEqualsM("getStartingFuel#4", 4.4023, getCrankingFuel3(70, 50 PASS_ENGINE_PARAMETER));
|
||||
assertEqualsM("getStartingFuel#4", 2.6069, getCrankingFuel3(70, 50 PASS_ENGINE_PARAMETER));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue