-
Notifications
You must be signed in to change notification settings - Fork 37
P2P trading devkits & examples and implementation guides #160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ameetdesh
wants to merge
136
commits into
main
Choose a base branch
from
p2p-trading
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or 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
PR for interim release of P2P trading guide
Updated Scope
This document outlines the representation of surplus energy in a peer-to-peer energy trading ecosystem, detailing the use of schema.org, IEC CIM, and a custom namespace for effective trading semantics.
This document outlines the technical specifications for onboarding users into Digital Energy Programs through multiple channels, covering aspects such as identity, authentication, and enrollment criteria.
This document provides a comprehensive guide for implementing a multi-channel onboarding system for Digital Energy Programs, covering aspects such as identity verification, meter mapping, and governance requirements.
Added details to sequence diagrams, and aligned flow with EV implementation guide.
…ementation guide.
…ed postman collections.
…d subsequent calls consistent, without breaking existing payloads.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR #160: P2P Energy Trading, Enrollment & Devkit Improvements
Overview
This PR introduces complete P2P energy trading and enrollment implementations with new devkits, reorganized examples, and improved tooling. Although this PR shows a huge number of files changes, most are file moves/renames. Contains all fixes from #162. After this merges, we will follow up by moving energy related schemas from protocol-specs-v2 here, and updating examples/implementation guides/postman.
Documentation
P2P Trading Implementation Guide
P2P_Trading_implementation_guide_DRAFT.mdEnrollment/Onboarding
IG_Onboarding_users_in_digital_energy_programs.md- complete onboarding guideOnboarding_Users_in_Digital_Energy_Programs.md- technical specificationEV Charging
EV_Charging.mdExample JSONs
New P2P Trading Examples (examples/p2p-trading/v2/)
discover-request/response,select-request/response,init-request/response,confirm-request/responsestatus-request,status-response,status-response-completed,status-response-curtailedcascaded-init-request,cascaded-on-init-response,cascaded-confirm-request,cascaded-on-confirm-responsepublish-catalog.jsonon-update-response-curtailment.jsonNew Enrollment Examples (examples/enrollment/v2/)
init-request-simple-consumer,init-request-prosumer-solar-battery,init-request-oauth2,init-request-otpon-init-response-success,on-init-response-oauth2,on-init-response-otp,on-init-response-error,on-init-response-conflictconfirm-request,confirm-request-oauth2,confirm-request-otpon-confirm-response-success,on-confirm-response-oauth2,on-confirm-response-otp,on-confirm-response-no-meterupdate-request-unenrollment,update-request-consent-revocationon-update-response-unenrollment,on-update-response-consent-revocationReorganized/Moved
examples/v2/P2P_Trading/→examples/p2p-trading/v2/examples/v1-EOS/ev_charging/v1-EOS/→examples/ev-charging/v1-EOS/examples/v2/P2P_Trading/directory (all files replaced with updated versions)Devkits
New P2P Energy Trading Devkit (testnet/p2p-energy-trading-devkit/)
New P2P Enrollment Devkit (testnet/p2p-enrollment-devkit/)
Updated EV Charging Devkit (testnet/ev-charging-devkit/)
Deleted
testnet/postman-collections/v2/(superseded by per-devkit Postman collections)Scripts
scripts/validate_schema.py
$refresolutionscripts/generate_postman_collection.py
publishendpoint support for CDS catalog uploadsKey Schema/Protocol Changes
orderAttributeswithEnergyTradeOrderdetails to all order JSONscustomerIDfield (required for pilot DISCOMs)targetMeterIdwithinorderItemAttributessourceMeterIDtoofferAttributesTesting
Recent Changes (Week of Jan 22-29)
Documentation
Schema/Examples
utilityIdto EnergyCustomer schemacustomerAttribute→providerAttributeDevkits