TC_B_51_CS — Status change during offline period - > Offline Threshold
TC_B_51_CS — Status change during offline period - > Offline Threshold
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block B. Provisioning, page 76.
Identification
| Field | Value |
|---|---|
| Test case name | Status change during offline period - > Offline Threshold |
| Test case Id | TC_B_51_CS |
| Use case Id(s) | B04 |
| Requirement(s) | B04.FR.01 |
| System under test | Charging Station |
| Functional block | B. Provisioning |
Description
A Charging Station sends a notification to the CSMS to inform the CSMS about a Connector status change. This can be done in two ways. Via a StatusNotificationRequest or a NotifyEventRequest from the device model. When the Charging Station is connected again to the CSMS after having been offline, and the Charging Station was longer offline than the configured threshold, it will report the status of every connector.
Purpose
To verify whether the Charging Station reports the status of all connectors after having been offline for longer than the configured threshold with the configuration variable OfflineThreshold.
Prerequisite(s)
If the Charging Station does not have more than one EVSE, this testcase will be equal to TC_B_52_CS.
Before (Preparations)
Configuration State:
- OCPPCommCtrlr.OfflineThreshold is <Configured offlineThreshold> OCPPCommCtrlr.RetryBackOffWaitMinimum is <Configured offlineThreshold> + 2 seconds OCPPCommCtrlr.RetryBackOffRandomRange is 0
Memory State:
- N/a
Reusable State(s):
- N/a
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| 1. The OCTT closes the WebSocket connection AND does not accept a reconnect. | |
| 2. Manual Action: Connect the EV and EVSE. | |
| 3. The OCTT accepts reconnection attempt from the Charging Station, after the configured threshold has been exceeded. | |
| 4. The Charging Station notifies the CSMS about the current state of all connectors. | 5. The OCTT responds accordingly. |
Tool validations
Step 4:
Configured EVSE/Connector: Message: StatusNotificationRequest
- connectorStatus Occupied
- evseId <Configured evseId>
- connectorId <Configured connectorId> Message: NotifyEventRequest
- eventData[0].trigger Delta
- eventData[0].actualValue "Occupied"
- eventData[0].component.name "Connector"
- eventData[0].variable.name "AvailabilityState"
- eventData[0].evse.id <Configured evseId>
- eventData[0].connectorId <Configured connectorId> All other EVSE/Connector(s): Message: StatusNotificationRequest
- connectorStatus Available Message: NotifyEventRequest
- eventData[0].trigger Delta
- eventData[0].actualValue "Available"
- eventData[0].component.name "Connector"
- eventData[0].variable.name "AvailabilityState"
Post scenario validations
- N/a