Generation Statistics
IGNIS tracks the generated current and power of the whole system — all controllers charging the common battery 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.
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
| State | Unit | Description |
|---|---|---|
current | A | Total battery current of the whole system, negative = generating |
power | W | Total battery power of the whole system, negative = generating |
The battery current reported on CAN already covers the whole battery and is used whenever it is available. Without it, the system current is the sum of the currents measured by the controllers themselves — in a multi-master system the peer's current comes from its status message, and a missing or faulted peer contributes zero. This is the same data source as the battery module uses.
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.
| Permanent | Unit | Description |
|---|---|---|
maxgencurrent | A | Peak generated (battery charging) current of this controller |
maxgenpwr | W | Peak generated power of this controller |
maxsystemcurrent | A | Peak generated current of the whole system |
maxsystempwr | W | Peak generated power of the whole system |
/genstat/single_runis reset on every controller power-up,/genstat/totalis 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.
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. For the engine running time and the start count see
Maintenance Tracking.