TC_G_18_CS — Change Availability EVSE - state persists across reboot
TC_G_18_CS — Change Availability EVSE - state persists across reboot
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block G. Availability, page 216.
Identification
| Field | Value |
|---|---|
| Test case name | Change Availability EVSE - state persists across reboot |
| Test case Id | TC_G_18_CS |
| Use case Id(s) | G03 |
| Requirement(s) | G03.FR.08. G01.FR.01 |
| System under test | Charging Station |
| Functional block | G. Availability |
Description
This test case covers how the CSMS requests the Charging Station to change the availability of one of the EVSEs from Operative to Inoperative. An EVSE is considered Operative in any status other than Faulted and Unavailable.
Purpose
To verify if the Charging Station sets the availability persistent across reboot/power loss as described at the OCPP specification.
Prerequisite(s)
n/a
Before (Preparations)
Configuration State:
- N/a
Memory State:
- N/a
Reusable State(s):
- N/a
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| 2. The Charging Station responds with a ChangeAvailabilityResponse | 1. The OCTT sends a ChangeAvailabilityRequest; with operationalStatus Inoperative AND evse.id <Configured evseId> |
| 3. The Charging Station notifies the CSMS about the current state of all connectors. | 4. The OCTT responds accordingly. |
| 5. Execute Reusable State Booted; Note(s):; - After booting the charging station should send the following status:; Message: StatusNotificationRequest; - connectorStatus Unavailable; - evseId <Configured evseId>; Message: NotifyEventRequest; - eventData[0].trigger Delta; - eventData[0].actualValue "Unavailable"; - eventData[0].component.name "Connector"; - eventData[0].component.evse.id <Configured evseId>; - eventData[0].variable.name "AvailabilityState" |
Tool validations
Step 2:
Message ChangeAvailabilityResponse
- status Accepted
Step 3:
Message: StatusNotificationRequest
- evseId not 0
- connectorId not 0
- connectorStatus Unavailable for evseId <Configured evseId>
- connectorStatus Available for evseId not <Configured evseId> Message: NotifyEventRequest
- eventData[0].actualValue Unavailable for evseId <Configured evseId>
- eventData[0].actualValue Available for evseId not <Configured evseId>
Post scenario validations
- A message to report the state of a connector has been received for all connectors.