Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: calc.ve .pid wrong?

  1. #1
    Lifetime Member SSpdDmon's Avatar
    Join Date
    Jun 2005
    Posts
    1,558

    Default calc.ve .pid wrong?

    There's a calc pid in the scanner I just noticed that computes a VE value based on MAF. The equation shows:

    VEpcm=MAF*(IAT+273.15)/((displacement()*61.024)*RPM*MAP)*6155274.24

    I didn't get any values that made sense with that and I wasn't sure how to represent displacement.

    So, I tried the following:

    VEpcm=(MAF*(IAT+273.15)*6155274.24)/(displacement*61.024*RPM*MAP)

    ...using cylinder_volume*8=5665.527336 for displacement and metric values for MAF, IAT, and MAP.

    The result appears to be relatively close to my VE in grams*K/kPa.

    Is it possible this calculated pid's equation is wrong in the EFI Live sae_generic.txt file?
    Last edited by SSpdDmon; June 25th, 2007 at 01:38 AM.

  2. #2
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default

    Jeff, I pm'd Paul.

  3. #3
    Lifetime Member johnsZ06's Avatar
    Join Date
    Sep 2003
    Posts
    242

    Default

    Subscribe

  4. #4
    EFILive Developer Site Admin Blacky's Avatar
    Join Date
    Mar 2003
    Posts
    9,503

    Default

    The value of the displacement() function is determined by the displacement setting in the log file.

    You can view/change the displacement setting in the log file here:
    Edit->Log file information...->Vehicle Options->Engine:
    Select from the list, or just type in the displacemnt in CC.

    You can set the default displacement for a particular VIN in the customer details. The customer details are copied into a log file when it is recorded.

    Regards
    Paul
    Before asking for help, please read this.

  5. #5
    Senior Member
    Join Date
    Feb 2004
    Posts
    124

    Default

    I have done just that and still can't get the VE to work on old logged data(V1). Do I have to log new VE data before it will work?

  6. #6
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Question

    Posts #4 and #5 don't follow on from post #1...

  7. #7
    Lifetime Member SSpdDmon's Avatar
    Join Date
    Jun 2005
    Posts
    1,558

    Default

    Displacement seems to not be a problem anymore....at least not for me (edited my sae_generic.txt file to always use 5665.527336). I don't log any other cars and don't plan on a stroker anytime soon.

    The problem was the constant I highlighted in red. As it sits in the original sae_generic.txt, it's on the denominator side of the equation. When I moved it to the numerator side, the values started to look sane. After that and setting the displacement, the pid started working.

    Without the displacement in the equation, I would get an invalid error because of "divide by zero" was a possibility.

  8. #8
    EFILive Developer Site Admin Blacky's Avatar
    Join Date
    Mar 2003
    Posts
    9,503

    Default

    Quote Originally Posted by SSpdDmon
    The problem was the constant I highlighted in red. As it sits in the original sae_generic.txt, it's on the denominator side of the equation. When I moved it to the numerator side, the values started to look sane.
    No, the constant in red is on the numerator side - look carefully at the braces.

    Regards
    Paul
    Before asking for help, please read this.

  9. #9
    EFILive Developer Site Admin Blacky's Avatar
    Join Date
    Mar 2003
    Posts
    9,503

    Default

    Quote Originally Posted by mnotx
    I have done just that and still can't get the VE to work on old logged data(V1). Do I have to log new VE data before it will work?
    No, once you update the displacement value in the log file (and replot the charts), then the calculated PID's value should reflect the new displacement.

    Just to check the displacment is being picked up correctly, create a calculated PID with just "displacement()" as the expression. That should be a straight line at the value of the displacement.

    Regards
    Paul
    Before asking for help, please read this.

  10. #10
    EFILive Developer Site Admin Blacky's Avatar
    Join Date
    Mar 2003
    Posts
    9,503

    Default

    Quote Originally Posted by Blacky
    No, the constant in red is on the numerator side - look carefully at the braces.
    Regards
    Paul
    Just to clarify,

    a/b*c is NOT the same as a/(b*c)
    a/b*c IS the same as (a*c)/b

    Regards
    Paul
    Before asking for help, please read this.

Page 1 of 2 12 LastLast

Similar Threads

  1. what am i doing wrong?
    By BadLSX in forum Gen III V8 Specific
    Replies: 8
    Last Post: May 4th, 2010, 01:24 PM
  2. I think i did something wrong!!
    By 02Tahoe28 in forum Duramax LB7
    Replies: 1
    Last Post: October 2nd, 2008, 07:44 AM
  3. Can anyone see anything wrong here???
    By hquick in forum General (Petrol, Gas, Ethanol)
    Replies: 2
    Last Post: February 4th, 2008, 09:29 AM
  4. Something wrong with BBL
    By XLR8NSS in forum FlashScan V2 BB Logging
    Replies: 32
    Last Post: January 4th, 2008, 10:13 AM
  5. What am I doing wrong?
    By wildwhl in forum Black Box Logging
    Replies: 19
    Last Post: July 7th, 2006, 12:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •