Skip to main content
Firmware Stable

Generation Statistics

IGNIS tracks the generated current and power of the whole system — all controllers feeding the common DC bus together — and logs the generation peaks into permanents. The system values are root states, so the complete system power can be read from a single controller.

info

These values keep the driver sign convention: the current and the power are negative while generating (charging the battery). Only the permanent peaks are stored with a positive sign.

System current and power

StateUnitDescription
currentATotal generated current of the whole system, negative = generating
powerWTotal generated power of the whole system, negative = generating

The system current is the sum of the currents measured by the controllers themselves — the total current the generators feed into the DC bus. In a multi-master system the peer's current comes from its status message, and a missing or faulted peer contributes zero. Note that the generated current splits into the battery charging and the host system's own draw — the battery-only part is what the BMS reports, and that is the business of the DC regulation, not of these statistics.

The system power is the system current times the measured battery voltage, since all controllers and the battery share the same DC bus.

Permanents

The generation peaks are logged into the /genstat directory, which mirrors the single_run / total structure of the driver permanents.

PermanentUnitDescription
maxgencurrentAPeak generated (battery charging) current of this controller
maxgenpwrWPeak generated power of this controller
maxsystemcurrentAPeak generated current of the whole system
maxsystempwrWPeak generated power of the whole system
  • /genstat/single_run is reset on every controller power-up, /genstat/total is never reset.
  • All four values are stored with a positive sign.
  • Only the generating direction is logged — the engine starting current does not appear in these values.

Maintenance counters

For maintenance scheduling, IGNIS also tracks the engine usage in permanents — retained across power cycles:

PermanentUnitDescription
motsecsTotal time under generation load, in seconds
starts-Total number of engine start attempts
tip

The driver permanents keep their own meaning and are not affected: /single_run and /total log the peak motor current (maxcurrent, an absolute value), the peak voltage, the temperatures and the energy counters.