Here's version 1. I need to dig a few more things up
VE learning happens when the car is in closed loop mode and the following conditions (specific to VE learn) are met:
Min coolant temperature: Fairly obvious. This is the temperature when you want VE learn to work. Best set it a degree or so under stat temperature so that the engine is thoroughly warm otherwise you'll see odd results creeping through.
Max power: I have absolutely no idea what this does. IIRC I set it to 100 and ignore it!
There are scaling factors applied to the inputs to the VE learn algorithm. Inputs are RPM, Pressure (kPa) and EGO.
I'm not 100% sure what these do. I think they are specifiers of how accurate the measurements are for RPM, kPa and EGO. I put 100 in each of them, which seems to work. (I will do a bit more digging into these)
Inside the algorithm, other parameters are used for specifying confidence thresholds, how quickly values can change and what the maximum change can be:
Min weight for modifying VE entry: The algorithm calculates a new VE estimate and a "confidence" of how good it thinks the new estimate is. This parameter allows you to filter out the "bad" estimates (eg from acceleration). Too low and you'll let any old rubbish modify the table. Too high and nothing will ever change.
Speed of changes: As far as I know, this controls how quickly the VE values are changed. Too fast and the algorithm will never settle on an answer. Too slow and you'll be waiting until the oil runs out...
Max deviation from reference table: Fairly staight forward - the largest correction to the VE table that the algorithm can do. I usually use 10% to 20% on the grounds that the algorithm isn't perfect, and may go crazy (with +ve feedback effects) if there are misfires etc.
Be careful where you let the algorithm work. If you use decel fuel cut etc, then it's best to disable EGO correction in these areas where practical otherwise the learning algorithm can try to "drill holes" in the map as the fuelling is turned back on. As always, it's best to do some tests yourself and see what it does.
Remember to back up your config before you start, and that you need to use the command line interface/PS2 keyboard to merge the VE map and the set of generated changes.