improved

Updates to Patch Session

The Push-Session payloads are updated to better accommodate a new Parking/Charging algorithm. Sessions sent more often than every 15 minutes will be sent in a 'compact' outline.

Background

GreenFlux is currently improving the 'Charging/Parking' algorithm to better detect when an EV is no longer drawing sufficient amounts of energy to be considered 'charging'.

As part of this, we are making changes to how often certain information relating to a Session is calculated.
In order for the algorithm to work, we take the last 15minutes into account.

Changes

A key change is that a 'full' Patch session is sent every 15 minutes and in case of a Charge Station with a more frequent MeterValue setting, those intermediate updates are sent in a 'compact' Patch session.

A key element is that the 'kwh' field is continuously sent, but the 'charging_pariods' may be omitted.

a) Patch session every 15mins
Every 15mins, a 'full' patch is sent as shown in the example below.

{
    "id": "NLGFX637561499213897595-ef07d",
  "start_datetime":"2021-05-09T09:38:39Z", 
  "kwh": 0.285,
    "charging_periods": [
        {
            "start_date_time": "2021-05-09T09:38:39Z",
            "dimensions": [
                {
                    "type": "TIME",
                    "volume": 0.0833
                },
                {
                    "type": "ENERGY",
                    "volume": 0.285
                }
            ]
        }
    ],
  "status": "ACTIVE",
    "last_updated": "2021-05-09T09:43:39Z"
}

b) Patch session more frequently than 15mins
If MeterValues are received more frequently than a 900 seconds interval, then a 'compact' session payload is sent that excludes the 'charging_periods'.
However, the total kwh field is still present an increasing.

{
  "start_datetime":"2021-05-09T09:38:39Z",
  "kwh": 0.285,
  "status": "ACTIVE"
    "last_updated": "2021-05-09T09:43:39Z"
}

The full description can be found in the related article Push session