TC_J_03_CS — Clock-aligned Meter Values - EventType Ended
TC_J_03_CS — Clock-aligned Meter Values - EventType Ended
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block J. MeterValues, page 223.
Identification
| Field | Value |
|---|---|
| Test case name | Clock-aligned Meter Values - EventType Ended |
| Test case Id | TC_J_03_CS |
| Use case Id(s) | J01 & (E06,E07,E08,E09,E10,E12) |
| Requirement(s) | J01.FR.01,J01.FR.02,J01.FR.03,J01.FR.06,J01.FR.07,J01.FR.08,J01.FR.14,J01.FR.15 & E06.FR.11,E06.FR.17,E07.FR.08,E07.FR.13,E08.FR.09,E09.FR.05,E10.FR.04,E12.FR.07 |
| System under test | Charging Station |
| Functional block | J. MeterValues |
Description
The Charging Station samples the electrical meter or other sensor/transducer hardware to provide information about its Meter Values. Depending on configuration settings, the Charging Station will send Meter Values.
Purpose
To verify if the Charging Station is able to send clock-aligned Meter Values when a transaction ends at the TransactionEventRequest with eventType is Ended, when it is configured to do so.
Prerequisite(s)
The Charging Station has an energy meter.
Before (Preparations)
Configuration State:
- AlignedDataTxEndedInterval is <Configured clock_aligned_tx_ended_meter_values_interval> AlignedDataSendDuringIdle is false (If implemented)
Memory State:
- N/a
Reusable State(s):
- State is EnergyTransferStarted
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| 1. Execute Reusable State ParkingBayUnoccupied; Note(s):; - This step will be executed after the <Configured transaction duration> is reached.; - This causes the transaction to stop. |
Tool validations
N/a
Post scenario validations
- The TransactionEventRequest containing eventType Ended contains the MeterValue field.
- The MeterValue must contain <An element per data collection moment indicated by AlignedDataTxEndedInterval. The OCTT will not validate this.>
- timestamp <The intervals between the timestamps of the received Meter Value messages must equal the configured value at AlignedDataTxEndedInterval.>
- sampledValue[0].context must be Sample.Clock
- sampledValue must contain <An element per configured measurand at the AlignedDataTxEndedMeasurands. The measurand field may be omitted when the measurand is "Energy.Active.Import.Register">