Table of Contents

Smart Charging

Smart Charging lets the CSMS influence how much power a transaction may draw and when, by installing charging profiles. This is the OCPP 2.0.1 SmartCharging functional block and the OCPP 1.6 Smart Charging profile.

Enua supports installing and clearing charging profiles and querying the resulting composite schedule.

Charging profiles

A charging profile contains a charging schedule — a series of periods, each with a power or current limit. The charger enforces the most restrictive applicable limit. A profile has a purpose (for example TxProfile for the current transaction) and, when several apply, a stack level that determines precedence.

Set a charging profile

SetChargingProfile installs a profile on the charger.

[
  2,
  "1efde99b-37ab-4f7b-b95d-c78432c3dacc",
  "SetChargingProfile",
  {
    "evseId": 1,
    "chargingProfile": {
      "id": 1,
      "stackLevel": 0,
      "chargingProfilePurpose": "TxProfile",
      "chargingProfileKind": "Absolute",
      "transactionId": "a3e1b9c4-...",
      "chargingSchedule": [
        {
          "id": 1,
          "chargingRateUnit": "A",
          "chargingSchedulePeriod": [
            { "startPeriod": 0, "limit": 16 }
          ]
        }
      ]
    }
  }
]

The charger responds with Accepted or Rejected.

Clear a charging profile

ClearChargingProfile removes one or more installed profiles, filtered by id or by criteria such as purpose and stack level.

[
  2,
  "1efde99b-37ab-4f7b-b95d-c78432c3dacc",
  "ClearChargingProfile",
  {
    "chargingProfileId": 1
  }
]

Get the composite schedule

GetCompositeSchedule asks the charger to combine all applicable profiles into a single schedule for a given duration, so you can see the effective limits it will enforce.

[
  2,
  "681bbb0e-df67-5b23-90ed-a221fa345c12",
  "GetCompositeSchedule",
  {
    "duration": 3600,
    "evseId": 1
  }
]
Note

In OCPP 2.0.1 you can also enumerate installed profiles with GetChargingProfiles, to which the charger replies with one or more ReportChargingProfiles messages.