kigt-inc / charge-cloud-backend-2023

0 stars 0 forks source link

Create sub transactions #26

Open kdiaz489 opened 10 months ago

kdiaz489 commented 10 months ago

According to the architecture documents (V1, page 8) , there should be a sub transaction within the Charger Utilized type transaction called EV Charge Period. This sub transaction is compliant with OCPP. This will record actual charging time and energy use calculated.

Start of a EV Charge Period type transaction Charging is a change in state of the EV Charger. Based on the timing the CSMS can capture the state of the EV Charger. Therefore when:

• 1 to a 3 – start a charging session related to the associated transaction for that EV Charger.

• 2 to 3 – start a charging session related to the associated transaction for that EV Charger.

Charging is a change is state of the EV Charger. Based on the timing the CSMS can capture the state of the EV Charger. Therefore when:

The time stamp record will have the EVSE Energy Usage for the transaction, divide it by 1000 for kwh and update the transaction record (KWH_Session).

darshanP-crest commented 10 months ago

Here is the video demonstration of Creation sub transactions and testing on Postman. https://www.awesomescreenshot.com/video/19924940?key=9ba16f34369c6cc9ac9da8df4412c3bb

darshanP-crest commented 10 months ago

Here is the video demonstration of Creation sub transactions and testing on Postman. https://www.awesomescreenshot.com/video/19967626?key=f34dd10c1aadd5db8e666aaf8d817a84

darshanP-crest commented 10 months ago

Here is the video demonstration of Creation sub transactions and testing on Postman. https://www.awesomescreenshot.com/video/20005516?key=86aeb51ee74493d733e57fdf0a41829a flow: 1 -> 2 -> 3 -> 2 -> 255

Here is the video demonstration of Creation sub transactions and testing on Postman. https://www.awesomescreenshot.com/video/20005693?key=c5132171cbc54aece7237b82330e4ed4 flow: 1 -> 2 -> 3 -> 2 -> 254 -> 255