Skip to content
Documentation Menu

TC_G_14_CS — Change Availability Charging Station - With ongoing transaction

TC_G_14_CS — Change Availability Charging Station - With ongoing transaction

Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block G. Availability, page 210.

Identification

FieldValue
Test case nameChange Availability Charging Station - With ongoing transaction
Test case IdTC_G_14_CS
Use case Id(s)G04
Requirement(s)G04.FR.01, G04.FR.02, G04.FR.03, G04.FR.05, G04.FR.06
System under testCharging Station
Functional blockG. 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 is able to perform the change availability during a transaction according to the mechanism 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 StationCSMS
2. The Charging Station responds with a ChangeAvailabilityResponse1. The OCTT sends a ChangeAvailabilityRequest; with operationalStatus Inoperative
3. The Charging Station notifies the CSMS about the current state of the connectors of the EVSEs that do not have an active transaction.4. The OCTT responds accordingly.
Note(s): Wait for <Configured Transaction Duration>
5. Execute Reusable State StopAuthorized
6. The Charging Station notifies the CSMS about the current state of the connectors of the configured evse.7. The OCTT responds accordingly.
8. Execute Reusable State EVConnectedPostSession
9. The Charging Station notifies the CSMS about the current state of the connectors of the configured evse.10. The OCTT responds accordingly.
11. Execute Reusable State EVDisconnected
12. The Charging Station notifies the CSMS about the current state of the connectors of the configured evse.13. The OCTT responds accordingly.
14. Execute Reusable State ParkingBayUnoccupied
15. The Charging Station notifies the CSMS about the current state of the connectors of the configured evse.16. The OCTT responds accordingly.
Note(s): Steps 6, 7, 9, 10, 12, 13, 15, and 16 will only be executed if the previous step ended the transaction

Tool validations

Step 2:

Message ChangeAvailabilityResponse

  • status Scheduled

Step 7:

Message: StatusNotificationRequest

  • connectorStatus Unavailable
  • evseId not 0
  • connectorId not 0 Message: NotifyEventRequest
  • eventData[0].trigger Delta
  • eventData[0].actualValue "Unavailable"
  • eventData[0].component.name "Connector"
  • eventData[0].variable.name "AvailabilityState"

Post scenario validations

  • A message to report the state of a connector has been received for all connectors.