Skip to main content

Load Sources

Capoworks firmware can give individual fuel, ignition and actuator tables their own captured load coordinate. A selector changes the Y-axis source and units for that consumer only. It does not change Fuel strategy, and it does not change the authority of the SD + Alpha-N blend.

The selectors use full-precision values captured during the completed fuel calculation. Packed datalog cursors are display values and are not read back as control inputs.

Selector choices and units​

The final TunerStudio selector choices are:

Selector labelCoordinateValid physical range
Model defaultThe active physical model's native loadDepends on model
Measured MAPMAP sensor value in kPa0 to 1000 kPa
TPSThrottle position in percentNormalized to 0 to 100 percent after sensor-tolerance checks
Acc PedalAccelerator pedal in percentNormalized to 0 to 100 percent after sensor-tolerance checks
Cyl Filling %Standardized cylinder filling in percentFinite and non-negative
Effective MAPMeasured or estimated MAP in kPa0 to 1000 kPa

The enum also contains INVALID entries. They are runtime guard values, not normal choices to select for a table.

Measured MAP is only the physical MAP sensor. Effective MAP can be the measured MAP or the MAP Estimate table value. An estimate is marked with the MAP-estimate diagnostic bit and must not be mistaken for a measured sensor.

Cyl Filling % is calculated from the final, corrected cylinder air mass and the captured displacement and cylinder count. It is not the same coordinate as the pre-trim MAF load.

What Model default means​

The runtime resolves Model default as follows:

Active fuel modelRuntime native coordinate
Speed DensityEffective MAP in kPa
Alpha-NTPS in percent
MAF Air ChargePre-trim MAF cylinder filling in percent
SD + Alpha-NEffective MAP in kPa

The final template helper labels have one source-level discrepancy worth knowing: outside the standalone Speed Density and Alpha-N modes, its modelDefaultLoadAxis helper currently renders Cylinder filling %. For an SD + Alpha-N calculation, the runtime native coordinate is effective MAP. Use the table's live cursor and the source fields rather than treating that helper label as a selector value change.

Legacy Lua and mock modes keep a compatibility path that resolves consumer coordinates from the live historical fuel load. The captured publication identity and model-validity gate described below are used by the revised Speed Density, Alpha-N, MAF and SD + Alpha-N models.

Configurable consumers​

These exact field labels expose independent selectors in the final template:

FunctionExact UI field labelDiagnostic load channel
Target lambda tableTarget lambda load sourceExisting target-lambda table cursor; Air blend: current lambda load in model diagnostics
Main ignition tableIgnition table load sourceMain ignition-table cursor
Injection phaseInjection phase load sourceLoad: injection phase
Cylinder ignition trimsCylinder 1 through Cylinder 12 in Cylinder ignition trim load sourcesLoad: ignition trim
Short-term fuel trim regionsLoad source and unitsLoad: STFT
Staged-injection tableTable load sourceLoad: staged injection
Lambda protection thresholdsThreshold load sourceLoad: lambda protection
Maximum lambda deviation tableDeviation table load sourceLoad: lambda deviation
Trailing-spark tableTrailing spark tableLoad: trailing spark
Ignition IAT correctionIAT correction tableLoad: ignition IAT correction
Maximum knock retardMaximum retard tableLoad: knock retard
Per-cylinder knock gainGain cylinder 1 through Gain cylinder 12Load: knock gain
HPFP target-pressure tableTarget table load sourceLoad: HPFP target

Ignition trim and knock gain each have one selector per cylinder. The other listed functions have one selector. The base Fuel strategy remains a separate setting.

Independence from fuel mode and blend authority​

A consumer selector is resolved from the values captured for the completed fuel calculation:

  • Speed Density supplies an effective-MAP native coordinate.
  • Alpha-N supplies a TPS native coordinate.
  • MAF Air Charge supplies pre-trim MAF cylinder filling as its native coordinate, while Cyl Filling % uses the final corrected mass.
  • SD + Alpha-N supplies effective MAP as its native coordinate after branch blending and shared corrections.

Changing one consumer from TPS to Measured MAP does not change fuel strategy, branch weights, the VE/filling calibration or another consumer's selector.

SD + Alpha-N has a separate Authority Y-axis source with only these choices:

UI choiceAuthority coordinate
TPS %TPS in percent
Measured MAP kPaStrict measured MAP in kPa

This authority control decides how much raw Speed Density mass and raw Alpha-N mass are combined. It is not one of the consumer load_override_e selectors. Changing Authority Y-axis source changes the units of the blend table and requires all blend breakpoints to be retuned.

The per-cylinder Speed Density and Alpha-N model fuel trims also have their own captured branch coordinates. They are not selected by the consumer load-source fields above. In blended mode, the active trim family follows the effective branch authority after branch fallback.

Validity and fallback behavior​

Strict source validity and the numeric fallback used for compatibility are kept separate. The published snapshot records which source coordinates were strictly valid; a fallback does not make its source healthy.

For a valid overall fuel calculation, a missing consumer coordinate can use the legacy numeric substitute:

Missing sourceCompatibility value
Measured MAP or Effective MAP200 kPa
TPS or Accelerator Pedal100 percent
Cylinder fillingNo invented numeric substitute
HPFP target using Measured MAP0 kPa

If a required enabled consumer uses a substitute, the calculation is marked Degraded with model fault code Load. This can keep injection available while making the fallback visible. If the final air mass itself is invalid, there is no substitute that keeps the model healthy: the model is Faulted, new injection is not admitted, and the published consumer cursor fields are cleared.

A missing optional coordinate does not by itself invalidate a good air mass. Coordinates are resolved from the captured frame without re-reading sensors, and a newer publication cannot be replaced by an older prepared calculation. Stopping the engine or changing the tune invalidates the captured publication and clears its cursors.

Diagnostic channels​

The final output-channel names are:

  • Load: injection phase
  • Load: ignition trim
  • Load: STFT
  • Load: staged injection
  • Load: lambda deviation
  • Load: lambda protection
  • Load: trailing spark
  • Load: ignition IAT correction
  • Load: knock retard
  • Load: knock gain
  • Load: HPFP target
  • Air blend: current lambda load

The per-cylinder ignition trim and knock gain channels contain one value per cylinder. Disabled consumers and unused cylinder slots publish zero. Because the load-channel entries have no single built-in unit, read the unit from the selector or table axis. A zero can mean either a genuine zero coordinate or an inactive or cleared cursor.

The shared model diagnostics use these codes:

ChannelCodeMeaning
Air blend: injection admission state0Legacy: a completed successful standalone-model publication, or a legacy mode
1NotReady
2Ready: a successful SD + Alpha-N publication
3Faulted
4Degraded: fuel is available with a fallback
Air blend: model fault0None
1Configuration
2Sensor
3Correction
4Result
5Load
6StrategyChange
7Scheduling

Airmass: Temperature/MAP estimate fallback flags is a bit field:

BitMeaning
1Temperature fallback
2Alpha-N barometric fallback
4MAP or effective-MAP fallback
8MAP estimate was used

Air blend: common correction multiplier, the SD and Alpha-N raw-mass channels, requested and effective authority, branch loads and branch VE/filling channels show which physical values produced the published result.

Tuning checks​

When changing a selector:

  1. Confirm the table's displayed Y-axis unit matches the selected coordinate.
  2. Retune breakpoints when moving between kPa and percent coordinates.
  3. Confirm the matching Load: cursor follows the expected source.
  4. Check admission state and model fault during steady and transient operation.
  5. If a fallback is present, repair the input or deliberately validate the fallback path before continuing calibration.

The selectors are independent, but they are not interchangeable tuning coordinates. A table calibrated on TPS should not be moved to MAP until its breakpoints and cell values have been reviewed.

Source references​

This page was checked against Capoworks firmware commit 8f4fcfb4 and its generated definition. The independent consumer selectors were introduced in commit 45298b90, with later final-layout and fallback changes folded into the pinned revision.