View Single Post
Old 10-09-2013, 07:08 PM   #170 (permalink)
josemapiro
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 197
Thanks: 93
Thanked 70 Times in 64 Posts
Quote:
Originally Posted by t vago View Post
It looks like that option has not been enabled in your copy of the code. You will need to go to this line, and uncomment the beginning of it.

Code:
//#define useCalculatedFuelFactor true	// Ability to calculate that pesky us/gal (or L) factor from easily available published fuel injector data
You may need to also do a minor code edit, because I think the most recent version in this thread has an incorrect label, somewhere near line 2290.

It should be this:
Code:
#ifdef useCalculatedFuelFactor
	idxNumerPressure,
	idxNumerPressure,
#endif
Not this:
Code:
#ifdef useIsqrt
	idxNumerPressure,
	idxNumerPressure,
#endif
I've tried but it gives the following error:
mpguino_1_86_tav_c: 5607: error: 'idxCorrFactor' was not declared in this scope
mpguino_1_86_tav_c: 5630: error: 'idxCorrFactor' was not declared in this scope

Thank you
José Rodrigues
  Reply With Quote