DBC Signal names can be used to store values directly into metrics. Eg a signal v_b_soc would be sent to the metric v.b.soc. If the unit name on a signal matches a valid ‘unit code’ or ‘unit label’, then this will be passed on too.
For signal names, _ will get translated to a . for looking up metrics (. is still a valid character in a DBC ID).
It is also possible to store into a vector by putting a number at the end of the signal id. Eg the signal v_t_pressure_0 would be sent to the first element of the v.t.pressure vector.
There are also special BMS (battery management) targets that make sure the averages etc are calculated. The format is: bms.{type}.{operation}[.{index}].
The {type} is either v for voltage or t for temperature.
Operation | Description | Has Index |
|---|---|---|
n | Total number of cell voltage readings | No |
m | Readings per module | No |
r | Reset stats | Optional |
c | Cell value | Yes |
Example | Description |
|---|---|
| Set total number of cell temperature readings to incoming value. |
| Set total number of cells per grouping to incoming value. |
| Reset stats for cell voltages (ignore value) |
| Reset stats and set Voltage at index 0 to incoming value |
| Set cell temperature at index 2 to incoming value. |
| Set cell voltage at index 5 to incoming value. |