-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: pietfried <pietgoempel@gmail.com>
- Loading branch information
1 parent
689836c
commit 60c75b5
Showing
5 changed files
with
65 additions
and
155 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
@startuml | ||
autonumber "<b><font color=red>" | ||
participant Powermeter | ||
participant EvseManager | ||
participant OCPP | ||
participant CSMS | ||
|
||
title Start of a Transaction | ||
|
||
== User plugs in EV and authorizes == | ||
|
||
EvseManager->OCPP: Event(SessionStarted) | ||
|
||
OCPP->CSMS: StatusNotification.req(Preparing) | ||
return StatusNotification.conf | ||
|
||
alt successful case | ||
EvseManager -> Powermeter: startTransaction | ||
return startTransaction Response (OK/ID) | ||
|
||
EvseManager -> OCPP: Event(TransactionStarted) | ||
OCPP->CSMS: StartTransaction.req | ||
return StartTransaction.conf | ||
|
||
note over EvseManager: Transaction started successfully | ||
|
||
else startTransaction failing due to power loss | ||
EvseManager -> Powermeter: startTransaction | ||
return startTransaction Response (FAIL) | ||
|
||
EvseManager -> OCPP: Event(Deauthorized) | ||
|
||
OCPP->CSMS: StatusNotification.req(Finishing) | ||
return StatusNotification.conf | ||
|
||
EvseManager -> OCPP: raiseError (PowermeterTransactionStartFailed) | ||
OCPP->CSMS: StatusNotification.req(Finishing, PowermeterTransactionStartFailed) | ||
return StatusNotification.conf | ||
|
||
alt EvseManager configured to become inoperative in case of PowermeterCommError | ||
EvseManager -> OCPP: raiseError (Inoperative) | ||
OCPP->CSMS: StatusNotification.req(Faulted) | ||
return StatusNotification.conf | ||
|
||
end | ||
|
||
note over EvseManager: Transaction did not start | ||
|
||
end | ||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.