peaq
Search…
Electric Vehicle Charging
Peer-to-peer V2X Service
GRANT IF
1
(provider == authenticated)
2
&&
3
(consumer == authenticated)
4
&&
5
(consumer.charging.authorized == true) -> provider.charging.autor = init
Copied!
Definitions: ProviderConsumer
Alice owns a private charging station which she wants to make available to the public whenever she is not using it. However, she doesn’t want to sign up to an expensive third party subscription to handle charging sessions for her.
Using peaq's functions, Alice’s charging station becomes visible to Bob so that he can select it for reservation. Bob requests to reserve the charging station for 30 minutes. Bob’s car (Consumer) initiates the reserve request via smart contract for the charging station (Provider). The smart contract then validates that Bob has sufficient funds and blocks the required amount. The authentication is successful and Bob gets informed that the charging station is reserved. The charging station is informed of the car’s identity (Consumer Public Key) to expect. Bob and his car arrive at the charging station. Bob plugs in the charging cable which triggers a verification check via smart contract to validate the car's identity. After a successful verification Bob’s car is authorised to charge and energy flows. Once done with charging, Bob unplugs the cable and the charging station initiates the stop of the charging session. This triggers the smart contract which checks how much energy got consumed by Bob’s car and transfers the right amount (Pay-per-use) from the blocked funds to Alice.
Last modified 1mo ago
Copy link