Skip to content

Commit

Permalink
Fixing potential missunderstanding regarding stop transaction
Browse files Browse the repository at this point in the history
Signed-off-by: florinmihut <[email protected]>
  • Loading branch information
florinmihut committed Dec 19, 2024
1 parent 56cda12 commit 7cb2b04
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions doc/ocmf/powermeter_stop_transaction.puml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ alt EvseManager configured to become inoperative in case of PowermeterCommError
EVSE_Manager->EVSE_Manager: Pause charging
EVSE_Manager -> OCPP: raiseError (Inoperative)
OCPP->CSMS: StatusNotification.req(Faulted)
note over EVSE_Manager: Note that we just continue charging otherwise
note over EVSE_Manager: Note that we just continue charging otherwise
end

!pragma teoz true

== User stops transaction while powermeter communication error ==
== User stops transaction after powermeter communication error ==

alt successful case
EVSE_Manager -> Powermeter: stopTransaction (ID)
Expand All @@ -46,4 +46,13 @@ OCPP->CSMS: StopTransaction.req()
return StopTransaction.conf
end

== User stops transaction while powermeter communication error ==

EVSE_Manager -> Powermeter: stopTransaction (ID)
return stopTransaction Response (FAIL)
EVSE_Manager -> OCPP: Event(TransactionFinished)

OCPP->CSMS: StopTransaction.req()
return StopTransaction.conf

@enduml

0 comments on commit 7cb2b04

Please sign in to comment.