stateOfChargeCurve

Defines the state of charge (SOC) curve of an electric vehicle's battery. The SoC curve describes the battery's charge level as a list of pairs:

  • chargeLevel: The current charge level of the battery (Wh).

  • stateOfCharge: The corresponding state of charge (in percentages).

Example: [[0, 0], [10000, 45], [20000, 100]] This indicates that:

  • At 0 Wh, the SoC is 0%.

  • At 10000 Wh, the SoC is 45%.

  • At 20000 Wh, the SoC is 100%.

The curve should span from 0 to the maximum charge of the battery. The first element's charge level is assumed to be 0. The last element's charge level corresponds to the maximum battery charge.

If not provided, it defaults to a simple linear curve with two points: (0 energy, 0%) and (maxCharge, 100%).