SlideShare una empresa de Scribd logo
1 de 27
1
POWERCHAIN
Building Blocks to establish a Distributed
Grid with a light weight P2P energy market.
2
POWERCHAIN
Collection of Smart Contracts implemented
for Ethereum Blockchain…
3
Node
Termination
Meter
Metering
Power
Delivery
POWERCHAIN
… working together to build a common
consense based power grid and market.
4
POWERCHAIN
Content
1. Building Blocks
2. Use Cases
3. Best Practice
5
Node
Meter
Metering
Power
Delivery
POWERCHAIN
Termination
6
Node
Meter
Metering
Power
Delivery
POWERCHAIN
Standarized Representation of a power transmission from a Producer [Node]
to a Consumer [Node].
 Time Frame of Delivery (Start/End)
 Power (Total Wh, Min W, Peak W)
 Termination check
 Value (Money)
Termination
7
Node
Meter
Metering
Power
Delivery
POWERCHAIN
Contract for Grid-End-Point operation owned by
DSO
 Manages approved Meter Operators [Metering]
 Manages a list of Producer/Consumers [Node]
 Manages a list of peers to other Grids
[Termination]
Termination
8
Node
Termination
Meter
Metering
Power
Delivery
POWERCHAIN
Legal, Managed Entity connected to a grid
as End-Point
 Is able to sell or buy power [PowerDelivery]
 Has a connection to the grid [Termination]
 Has a approved Meter [Meter/Metreing]
9
POWERCHAIN
#USECASES (Basics)
10
POWERCHAIN
UC1: Setup Grid
The smallest possible grid is a Termination with an approved Metering …
metering = instanceByName('Metering');
termination = instanceByName('Termination');
termination.addMetering(metering.address);
11
POWERCHAIN
UC2: Adding a Producer and a Consumer Node
In order to exchange power two Nodes are required.
For the moment both connect to the same Termination which accepts only one Metering.
params =[metering.address];
nodes.A = instanceByName('Node',params);
nodes.B = instanceByName('Node',params);
Metering assigns two new Meters to those Nodes and adds to Termination.
meters.A= instanceByName('Meter', [0,true]); // Initial Reading 0 – Does Feed In to the grid (=true)
meters.B= instanceByName('Meter', [7,false]); // Initial Reading 7 – Does Feed Out of the grid (=false)
metering.addMeter(meters.A.address,nodes.A.address);
metering.addMeter(meters.B.address,nodes.B.address);
termination.addNode(nodes.A.address);
termination.addNode(nodes.B.address);
nodes.A.transferTermination(termination.address);
nodes.B.transferTermination(termination.address);
12
POWERCHAIN
UC3: Update Meter Readings
Metering provides an oracle by updating periodically readings of Meters.
As consequence of updateReading() all active PowerDelivery contracts of the affected Node
get balanced to the current reading.
metering.updateReading(meters.A.address,new Date().getTime(),123); // Sets Current reading of Meter A to 123
metering.updateReading(meters.B.address,new Date().getTime(),456); // Sets Current reading of Meter B to 456
updateReading() processPowerDelivery() updateReading()
balance
• Last Reading
• Power Debit
• Power Credit
13
POWERCHAIN
UC3: Update Meter Readings (cont…)
updateReading()
• Last Reading
• Power Debit
• Power Credit
Last Reading
Actual readig of Meter
Power Credit
Power units (Wh) measured and covered by power delivery contracts
Power Debit
Power units (Wh) measured but not covered by power delivery contracts
Condition:
(Last Reading – Initial Reading*) = Power Credit + Power Debit
*) Initial Reading is reading of Meter as given in new Meter tx: instanceByName('Meter', [7,true]); // Initial Reading=7
14
POWERCHAIN
UC4: Creating a Power Product
In order to trade on a market a product needs to be available having a common specification of the asset.
PowerDelivery contracts hold a common specification for a „power product“. As every Node needs to follow
this standard it could be traded/exchanged.
node.createOffer(
bool _is_feedin, // Perspective of Node (Is Feed-In or Feed-Out)
uint256 _time_start, // Start of Delivery
uint256 _time_end, // End of Delivery
uint256 _total_power, // Total Power in Watt-Hours
uint256 _peak_load, // Max-Load in Watt
uint256 _min_load, // Min-Load in Watt
uint256 _bid // Bid of creating Node (Monetary Value)
);
node.createOffer() New ProductDelivery()
15
POWERCHAIN
UC5: Signing a Power Delivery (Contract)
A power delivery contract could be signed by any other Node. During signature process
it is checked if Termination (physical connection) is possible.
node.signSellFeedIn(PowerDelivery.address,_bid); // _bid = counter offer needs to be better or equal
…
node.signBuyFeedOut(PowerDelivery.address,_bid); // _bid = counter offer needs to be better or equal
PowerDelivery contract accepts changes of counter bid until starting time of delivery.
16
POWERCHAIN
#BESTPRACTICE
17
POWERCHAIN
#Blockchain - Consense
In general a Blockchain holds an „universe of common truth“ = Consense
Node
Termination
Meter
Metering
Power
Delivery
Shared
Truth
18
POWERCHAIN
#Blockchain - Visibility
• All transactional data is public within its chain
• Mining provides confirmations of transactions
Meter
Power
Delivery
Meter
Producer Contract Consumer
If all transactions get confirmed, we do not need to identify „Producer“ or „Consumer“ to ensure consense.
“On the blockchain, nobody knows you're a fridge”
19
POWERCHAIN
#Blockchain - Transactionalization
• Storing data in a blockchain is expensive
• Each transaction costs a fee (or gas)
Meter
Power
Delivery
Contract Consumer
Provides sub-second readings
Might be one single transaction
Metering
Provided oracalized data as required
20
POWERCHAIN
#Blockchain - In/Off Chain
• Transactional Data is required in chain
• Operational Data is required off chain
Power
Delivery
Metering
Provided oracalized data as required (In Chain)
Termination Operational Data on Request (Off Chain)
21
POWERCHAIN
#Blockchain - Off Chain
• Offchain transactions like data exchange can still be part of a single shared truth
• EDIchain is a framework to exchange EDI messages via a Blockchain
MeteringTermination
EDI Message
CONTRL/APERAK
Metadata
Business
Content
(EDI Document)
HASH
On Chain (Frontend)
Off Chain (Backend)
POWERCHAIN
#Smart Contract
• Simple rule based transaction trigger.
• Or: Changing the state of a machine (blockchain) based on conditions.
Power
Delivery
If all prerequisites are met…
feed_in=Node(msg.sender);
… sending Node becomes
Producer
POWERCHAIN
#Smart Contract
• The code is the rule
• Once published the rules can not be changed.
Termination
The test() function is called as soon as a Node wants to sign a PowerDelivery.
For the owner of a Termination it might be good to keep record of all tests…
tests.push(_delivery);
… as this would change a value this function „call“ becomes a transaction (=requires Gas).
POWERCHAIN
#Smart Contract
• Use „Events“ for monitoring instead of transactions
tests.push(_delivery);
contract Termination {
…
event TestTermination(address _sender,address _target);
…
function test(Node _delivery,Termination callstack) returns (bool) {
TestTermination(msg.sender,_delivery);
…
}
POWERCHAIN
#Smart Contract
• The code is the rule
• Once published the rules can not be changed.
Termination v1
As v1 is available within the blockchain „forever“ there needs to be a sunset function right
from start
Termination v2
POWERCHAIN
#Node (Blockchain)
• Never trust a Node … trust transactions.
meters.A= instanceByName('Meter', [0,true]);
Everyone could create a Meter
But it requires a Metering to add it.
metering.addMeter(meters.A.address,nodes.A.address);
Contract Metering {
function addMeter(Meter meter,Node _node) {
if(msg.sender!=owner) throw;
…
}
}
Everyone could create a Metering
But it requires a Termination to accept it.
Everyone could create a PowerDelivery
But if there is no Termination (peering) between both parties it will not be possible to sign.
27
POWERCHAIN
Hackaton:
https://hack.ether.camp/#/idea/let-
ethereums-blockchain-become-the-
backbone-for-energy-markets
GitHub:
https://github.com/zoernert/powerchain
Community:
http://ossn.stromhaltig.de/

Más contenido relacionado

Destacado

Blockchain in energy business
Blockchain in energy businessBlockchain in energy business
Blockchain in energy businessPiotr Kosiński
 
TransActive Grid
TransActive GridTransActive Grid
TransActive GridJohn Lilic
 
Transactive Energy: A Sustainable Business and Regulatory Model for Electricity
Transactive Energy: A Sustainable Business and Regulatory Model for Electricity Transactive Energy: A Sustainable Business and Regulatory Model for Electricity
Transactive Energy: A Sustainable Business and Regulatory Model for Electricity Baker Street Publishing LLC
 
Devcon 1 - Build a Ðapp: Contract and Design
Devcon 1 - Build a Ðapp: Contract and DesignDevcon 1 - Build a Ðapp: Contract and Design
Devcon 1 - Build a Ðapp: Contract and DesignAlexandre Van de Sande
 
The New Energy Consumer: What Promises Do Blockchain Technologies Offer Energ...
The New Energy Consumer: What Promises Do Blockchain Technologies Offer Energ...The New Energy Consumer: What Promises Do Blockchain Technologies Offer Energ...
The New Energy Consumer: What Promises Do Blockchain Technologies Offer Energ...accenture
 
EcoSummit 2016 in Berlin Presentation - ConsenSys / RWE
EcoSummit 2016 in Berlin Presentation - ConsenSys / RWEEcoSummit 2016 in Berlin Presentation - ConsenSys / RWE
EcoSummit 2016 in Berlin Presentation - ConsenSys / RWEJohn Lilic
 
[기조연설]인코어드테크놀로지스_최종웅대표님_2014SEL포럼
[기조연설]인코어드테크놀로지스_최종웅대표님_2014SEL포럼[기조연설]인코어드테크놀로지스_최종웅대표님_2014SEL포럼
[기조연설]인코어드테크놀로지스_최종웅대표님_2014SEL포럼STUDENT ENERGY LAB
 
[전문가발표]에너지수요모델링_인코어드_2014SEL포럼
[전문가발표]에너지수요모델링_인코어드_2014SEL포럼[전문가발표]에너지수요모델링_인코어드_2014SEL포럼
[전문가발표]에너지수요모델링_인코어드_2014SEL포럼STUDENT ENERGY LAB
 
ConsenSys Ethereum Total Return Swap in Japanese
ConsenSys Ethereum Total Return Swap in JapaneseConsenSys Ethereum Total Return Swap in Japanese
ConsenSys Ethereum Total Return Swap in JapaneseJohn Lilic
 
Adaption einer Blockchain für den Stromhandel
Adaption einer Blockchain für den StromhandelAdaption einer Blockchain für den Stromhandel
Adaption einer Blockchain für den StromhandelThorsten Zoerner
 
The Digitally Enabled Grid: How can utilities survive the energy demand disru...
The Digitally Enabled Grid: How can utilities survive the energy demand disru...The Digitally Enabled Grid: How can utilities survive the energy demand disru...
The Digitally Enabled Grid: How can utilities survive the energy demand disru...accenture
 
The Accenture Technology Vision 2016 for Utilities
The Accenture Technology Vision 2016 for UtilitiesThe Accenture Technology Vision 2016 for Utilities
The Accenture Technology Vision 2016 for Utilitiesaccenture
 
New Business Opportunities for Utility Distribution Companies in an Expanded ...
New Business Opportunities for Utility Distribution Companies in an Expanded ...New Business Opportunities for Utility Distribution Companies in an Expanded ...
New Business Opportunities for Utility Distribution Companies in an Expanded ...accenture
 
5.6 off main-grid systems for access to electricity
5.6 off main-grid systems for access to electricity5.6 off main-grid systems for access to electricity
5.6 off main-grid systems for access to electricityLeNS_slide
 
Undergraduate Energy Management Certificate Program
Undergraduate Energy Management Certificate ProgramUndergraduate Energy Management Certificate Program
Undergraduate Energy Management Certificate ProgramUT Austin: ACA
 

Destacado (20)

Blockchain in energy business
Blockchain in energy businessBlockchain in energy business
Blockchain in energy business
 
TransActive Grid
TransActive GridTransActive Grid
TransActive Grid
 
Transactive Energy: A Sustainable Business and Regulatory Model for Electricity
Transactive Energy: A Sustainable Business and Regulatory Model for Electricity Transactive Energy: A Sustainable Business and Regulatory Model for Electricity
Transactive Energy: A Sustainable Business and Regulatory Model for Electricity
 
Devcon 1 - Build a Ðapp: Contract and Design
Devcon 1 - Build a Ðapp: Contract and DesignDevcon 1 - Build a Ðapp: Contract and Design
Devcon 1 - Build a Ðapp: Contract and Design
 
The New Energy Consumer: What Promises Do Blockchain Technologies Offer Energ...
The New Energy Consumer: What Promises Do Blockchain Technologies Offer Energ...The New Energy Consumer: What Promises Do Blockchain Technologies Offer Energ...
The New Energy Consumer: What Promises Do Blockchain Technologies Offer Energ...
 
Tag innovations
Tag innovationsTag innovations
Tag innovations
 
EcoSummit 2016 in Berlin Presentation - ConsenSys / RWE
EcoSummit 2016 in Berlin Presentation - ConsenSys / RWEEcoSummit 2016 in Berlin Presentation - ConsenSys / RWE
EcoSummit 2016 in Berlin Presentation - ConsenSys / RWE
 
StromDAO
StromDAOStromDAO
StromDAO
 
[기조연설]인코어드테크놀로지스_최종웅대표님_2014SEL포럼
[기조연설]인코어드테크놀로지스_최종웅대표님_2014SEL포럼[기조연설]인코어드테크놀로지스_최종웅대표님_2014SEL포럼
[기조연설]인코어드테크놀로지스_최종웅대표님_2014SEL포럼
 
[전문가발표]에너지수요모델링_인코어드_2014SEL포럼
[전문가발표]에너지수요모델링_인코어드_2014SEL포럼[전문가발표]에너지수요모델링_인코어드_2014SEL포럼
[전문가발표]에너지수요모델링_인코어드_2014SEL포럼
 
ConsenSys Ethereum Total Return Swap in Japanese
ConsenSys Ethereum Total Return Swap in JapaneseConsenSys Ethereum Total Return Swap in Japanese
ConsenSys Ethereum Total Return Swap in Japanese
 
Adaption einer Blockchain für den Stromhandel
Adaption einer Blockchain für den StromhandelAdaption einer Blockchain für den Stromhandel
Adaption einer Blockchain für den Stromhandel
 
Blockchain_OS
Blockchain_OSBlockchain_OS
Blockchain_OS
 
StromDAO - Die Idee
StromDAO - Die IdeeStromDAO - Die Idee
StromDAO - Die Idee
 
The Digitally Enabled Grid: How can utilities survive the energy demand disru...
The Digitally Enabled Grid: How can utilities survive the energy demand disru...The Digitally Enabled Grid: How can utilities survive the energy demand disru...
The Digitally Enabled Grid: How can utilities survive the energy demand disru...
 
The Accenture Technology Vision 2016 for Utilities
The Accenture Technology Vision 2016 for UtilitiesThe Accenture Technology Vision 2016 for Utilities
The Accenture Technology Vision 2016 for Utilities
 
New Business Opportunities for Utility Distribution Companies in an Expanded ...
New Business Opportunities for Utility Distribution Companies in an Expanded ...New Business Opportunities for Utility Distribution Companies in an Expanded ...
New Business Opportunities for Utility Distribution Companies in an Expanded ...
 
Uber-like Models for the Electrical Industry
Uber-like Models for the Electrical IndustryUber-like Models for the Electrical Industry
Uber-like Models for the Electrical Industry
 
5.6 off main-grid systems for access to electricity
5.6 off main-grid systems for access to electricity5.6 off main-grid systems for access to electricity
5.6 off main-grid systems for access to electricity
 
Undergraduate Energy Management Certificate Program
Undergraduate Energy Management Certificate ProgramUndergraduate Energy Management Certificate Program
Undergraduate Energy Management Certificate Program
 

Similar a PowerChain - Blockchain 4 Energy

EE452_Flyback Convert
EE452_Flyback ConvertEE452_Flyback Convert
EE452_Flyback Convertki hei chan
 
Horizon: A Gas-Efficient Trustless Bridge for Cross-Chain Transactions
Horizon: A Gas-Efficient Trustless Bridge for Cross-Chain TransactionsHorizon: A Gas-Efficient Trustless Bridge for Cross-Chain Transactions
Horizon: A Gas-Efficient Trustless Bridge for Cross-Chain TransactionsGanesha Upadhyaya
 
Horizon: A Gas-Efficient Trustless Bridge for Cross-Chain Transactions
Horizon: A Gas-Efficient Trustless Bridge for Cross-Chain TransactionsHorizon: A Gas-Efficient Trustless Bridge for Cross-Chain Transactions
Horizon: A Gas-Efficient Trustless Bridge for Cross-Chain TransactionsGanesha Upadhyaya
 
Design & Implementation of Controller Based Buck-Boost Converter for Small Wi...
Design & Implementation of Controller Based Buck-Boost Converter for Small Wi...Design & Implementation of Controller Based Buck-Boost Converter for Small Wi...
Design & Implementation of Controller Based Buck-Boost Converter for Small Wi...iosrjce
 
Remote Control of Nanogrids: a Cost-effective Solution in a Laboratory Setup
Remote Control of Nanogrids: a Cost-effective Solution in a Laboratory SetupRemote Control of Nanogrids: a Cost-effective Solution in a Laboratory Setup
Remote Control of Nanogrids: a Cost-effective Solution in a Laboratory SetupAlessandro Burgio
 
Proof of Computing Work Protocol by Pandora Boxchain
Proof of Computing Work Protocol by Pandora BoxchainProof of Computing Work Protocol by Pandora Boxchain
Proof of Computing Work Protocol by Pandora BoxchainPandora Boxchain
 
ATC for congestion management in deregulated power system
ATC for congestion management in deregulated power systemATC for congestion management in deregulated power system
ATC for congestion management in deregulated power systemBhargav Pandya
 
How to Build an Event-based Control Center for the Electrical Grid
How to Build an Event-based Control Center for the Electrical GridHow to Build an Event-based Control Center for the Electrical Grid
How to Build an Event-based Control Center for the Electrical GridHostedbyConfluent
 
Bt0064 logic design2
Bt0064 logic design2Bt0064 logic design2
Bt0064 logic design2Techglyphs
 
Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618Arnaud Le Hors
 
Internship Report (VTOL) (2)
Internship Report (VTOL) (2)Internship Report (VTOL) (2)
Internship Report (VTOL) (2)Rishabh Prakash
 
Hello world contract
Hello world contractHello world contract
Hello world contractGene Leybzon
 
Running Head CLIENT SERVER AUTHENTICATIONHANDLING CONCURRENT CL.docx
Running Head CLIENT SERVER AUTHENTICATIONHANDLING CONCURRENT CL.docxRunning Head CLIENT SERVER AUTHENTICATIONHANDLING CONCURRENT CL.docx
Running Head CLIENT SERVER AUTHENTICATIONHANDLING CONCURRENT CL.docxjoellemurphey
 
Security in the blockchain
Security in the blockchainSecurity in the blockchain
Security in the blockchainBellaj Badr
 
On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...
On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...
On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...IJPEDS-IAES
 
2017 Atlanta Regional User Seminar - Real-Time Volt/Var Optimization Scheme f...
2017 Atlanta Regional User Seminar - Real-Time Volt/Var Optimization Scheme f...2017 Atlanta Regional User Seminar - Real-Time Volt/Var Optimization Scheme f...
2017 Atlanta Regional User Seminar - Real-Time Volt/Var Optimization Scheme f...OPAL-RT TECHNOLOGIES
 

Similar a PowerChain - Blockchain 4 Energy (20)

Advanced smart contract
Advanced smart contractAdvanced smart contract
Advanced smart contract
 
EE452_Flyback Convert
EE452_Flyback ConvertEE452_Flyback Convert
EE452_Flyback Convert
 
Horizon: A Gas-Efficient Trustless Bridge for Cross-Chain Transactions
Horizon: A Gas-Efficient Trustless Bridge for Cross-Chain TransactionsHorizon: A Gas-Efficient Trustless Bridge for Cross-Chain Transactions
Horizon: A Gas-Efficient Trustless Bridge for Cross-Chain Transactions
 
Horizon: A Gas-Efficient Trustless Bridge for Cross-Chain Transactions
Horizon: A Gas-Efficient Trustless Bridge for Cross-Chain TransactionsHorizon: A Gas-Efficient Trustless Bridge for Cross-Chain Transactions
Horizon: A Gas-Efficient Trustless Bridge for Cross-Chain Transactions
 
G010614450
G010614450G010614450
G010614450
 
Design & Implementation of Controller Based Buck-Boost Converter for Small Wi...
Design & Implementation of Controller Based Buck-Boost Converter for Small Wi...Design & Implementation of Controller Based Buck-Boost Converter for Small Wi...
Design & Implementation of Controller Based Buck-Boost Converter for Small Wi...
 
Remote Control of Nanogrids: a Cost-effective Solution in a Laboratory Setup
Remote Control of Nanogrids: a Cost-effective Solution in a Laboratory SetupRemote Control of Nanogrids: a Cost-effective Solution in a Laboratory Setup
Remote Control of Nanogrids: a Cost-effective Solution in a Laboratory Setup
 
Proof of Computing Work Protocol by Pandora Boxchain
Proof of Computing Work Protocol by Pandora BoxchainProof of Computing Work Protocol by Pandora Boxchain
Proof of Computing Work Protocol by Pandora Boxchain
 
ATC for congestion management in deregulated power system
ATC for congestion management in deregulated power systemATC for congestion management in deregulated power system
ATC for congestion management in deregulated power system
 
How to Build an Event-based Control Center for the Electrical Grid
How to Build an Event-based Control Center for the Electrical GridHow to Build an Event-based Control Center for the Electrical Grid
How to Build an Event-based Control Center for the Electrical Grid
 
Bt0064 logic design2
Bt0064 logic design2Bt0064 logic design2
Bt0064 logic design2
 
Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618
 
Internship Report (VTOL) (2)
Internship Report (VTOL) (2)Internship Report (VTOL) (2)
Internship Report (VTOL) (2)
 
Hello world contract
Hello world contractHello world contract
Hello world contract
 
Running Head CLIENT SERVER AUTHENTICATIONHANDLING CONCURRENT CL.docx
Running Head CLIENT SERVER AUTHENTICATIONHANDLING CONCURRENT CL.docxRunning Head CLIENT SERVER AUTHENTICATIONHANDLING CONCURRENT CL.docx
Running Head CLIENT SERVER AUTHENTICATIONHANDLING CONCURRENT CL.docx
 
Security in the blockchain
Security in the blockchainSecurity in the blockchain
Security in the blockchain
 
Multi_Vdd_IEEE_Paper
Multi_Vdd_IEEE_PaperMulti_Vdd_IEEE_Paper
Multi_Vdd_IEEE_Paper
 
Paper 33-FPGA Triggered Space Vector Modulated Voltage
Paper 33-FPGA Triggered Space Vector Modulated VoltagePaper 33-FPGA Triggered Space Vector Modulated Voltage
Paper 33-FPGA Triggered Space Vector Modulated Voltage
 
On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...
On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...
On the Impact of Timer Resolution in the Efficiency Optimization of Synchrono...
 
2017 Atlanta Regional User Seminar - Real-Time Volt/Var Optimization Scheme f...
2017 Atlanta Regional User Seminar - Real-Time Volt/Var Optimization Scheme f...2017 Atlanta Regional User Seminar - Real-Time Volt/Var Optimization Scheme f...
2017 Atlanta Regional User Seminar - Real-Time Volt/Var Optimization Scheme f...
 

Más de Thorsten Zoerner

NetworkingFriday: Das STROMDAO Energy Application Framework (EAF)
NetworkingFriday: Das STROMDAO Energy Application Framework (EAF)NetworkingFriday: Das STROMDAO Energy Application Framework (EAF)
NetworkingFriday: Das STROMDAO Energy Application Framework (EAF)Thorsten Zoerner
 
IDENTITY BASED CONSENSUS FRAMEWORK FOR ISO 14064-2 GHG REPORTING
IDENTITY BASED CONSENSUS FRAMEWORK FOR ISO 14064-2 GHG REPORTINGIDENTITY BASED CONSENSUS FRAMEWORK FOR ISO 14064-2 GHG REPORTING
IDENTITY BASED CONSENSUS FRAMEWORK FOR ISO 14064-2 GHG REPORTINGThorsten Zoerner
 
Strom-Quittung - Fair laden bei praktisch jeder Wallbox
Strom-Quittung - Fair laden bei praktisch jeder WallboxStrom-Quittung - Fair laden bei praktisch jeder Wallbox
Strom-Quittung - Fair laden bei praktisch jeder WallboxThorsten Zoerner
 
Neues E-Auto? Keine Ladestation?!
Neues E-Auto? Keine Ladestation?!Neues E-Auto? Keine Ladestation?!
Neues E-Auto? Keine Ladestation?!Thorsten Zoerner
 
Unser Heilsbringer: Blockchain
Unser Heilsbringer: BlockchainUnser Heilsbringer: Blockchain
Unser Heilsbringer: BlockchainThorsten Zoerner
 
Key Investment Facts - STROMDAO GmbH
Key Investment Facts - STROMDAO GmbHKey Investment Facts - STROMDAO GmbH
Key Investment Facts - STROMDAO GmbHThorsten Zoerner
 
STROMDAO - Corrently Pitch Deck #CrowdInvest
STROMDAO - Corrently Pitch Deck #CrowdInvestSTROMDAO - Corrently Pitch Deck #CrowdInvest
STROMDAO - Corrently Pitch Deck #CrowdInvestThorsten Zoerner
 
Digitalisierung und Community kommt nach dem EEG
Digitalisierung und Community kommt nach dem EEGDigitalisierung und Community kommt nach dem EEG
Digitalisierung und Community kommt nach dem EEGThorsten Zoerner
 
Zusammensetzung des Strompreises
Zusammensetzung des StrompreisesZusammensetzung des Strompreises
Zusammensetzung des StrompreisesThorsten Zoerner
 
Correnty - Variable Stromtarife
Correnty - Variable StromtarifeCorrenty - Variable Stromtarife
Correnty - Variable StromtarifeThorsten Zoerner
 
STROMDAO - Corrently Pitch Deck
STROMDAO - Corrently Pitch DeckSTROMDAO - Corrently Pitch Deck
STROMDAO - Corrently Pitch DeckThorsten Zoerner
 
Corrently Pitch - CloudMallBW (bwcon Afterwork Sommerfest)
Corrently Pitch - CloudMallBW (bwcon Afterwork Sommerfest)Corrently Pitch - CloudMallBW (bwcon Afterwork Sommerfest)
Corrently Pitch - CloudMallBW (bwcon Afterwork Sommerfest)Thorsten Zoerner
 
STROMDAO - Corrently Equity Story
STROMDAO - Corrently Equity StorySTROMDAO - Corrently Equity Story
STROMDAO - Corrently Equity StoryThorsten Zoerner
 
Corrently - Micro Pitch Deck
Corrently - Micro Pitch DeckCorrently - Micro Pitch Deck
Corrently - Micro Pitch DeckThorsten Zoerner
 
Konsens ohne Mittelmann - Blockchain in der Energiewirtschaft
Konsens ohne Mittelmann - Blockchain in der EnergiewirtschaftKonsens ohne Mittelmann - Blockchain in der Energiewirtschaft
Konsens ohne Mittelmann - Blockchain in der EnergiewirtschaftThorsten Zoerner
 

Más de Thorsten Zoerner (20)

NetworkingFriday: Das STROMDAO Energy Application Framework (EAF)
NetworkingFriday: Das STROMDAO Energy Application Framework (EAF)NetworkingFriday: Das STROMDAO Energy Application Framework (EAF)
NetworkingFriday: Das STROMDAO Energy Application Framework (EAF)
 
SESS Market Trends
SESS Market TrendsSESS Market Trends
SESS Market Trends
 
STROMDAO GmbH
STROMDAO GmbHSTROMDAO GmbH
STROMDAO GmbH
 
IDENTITY BASED CONSENSUS FRAMEWORK FOR ISO 14064-2 GHG REPORTING
IDENTITY BASED CONSENSUS FRAMEWORK FOR ISO 14064-2 GHG REPORTINGIDENTITY BASED CONSENSUS FRAMEWORK FOR ISO 14064-2 GHG REPORTING
IDENTITY BASED CONSENSUS FRAMEWORK FOR ISO 14064-2 GHG REPORTING
 
Strom-Quittung - Fair laden bei praktisch jeder Wallbox
Strom-Quittung - Fair laden bei praktisch jeder WallboxStrom-Quittung - Fair laden bei praktisch jeder Wallbox
Strom-Quittung - Fair laden bei praktisch jeder Wallbox
 
Neues E-Auto? Keine Ladestation?!
Neues E-Auto? Keine Ladestation?!Neues E-Auto? Keine Ladestation?!
Neues E-Auto? Keine Ladestation?!
 
Unser Heilsbringer: Blockchain
Unser Heilsbringer: BlockchainUnser Heilsbringer: Blockchain
Unser Heilsbringer: Blockchain
 
Key Investment Facts - STROMDAO GmbH
Key Investment Facts - STROMDAO GmbHKey Investment Facts - STROMDAO GmbH
Key Investment Facts - STROMDAO GmbH
 
STROMDAO - Corrently Pitch Deck #CrowdInvest
STROMDAO - Corrently Pitch Deck #CrowdInvestSTROMDAO - Corrently Pitch Deck #CrowdInvest
STROMDAO - Corrently Pitch Deck #CrowdInvest
 
Digitalisierung und Community kommt nach dem EEG
Digitalisierung und Community kommt nach dem EEGDigitalisierung und Community kommt nach dem EEG
Digitalisierung und Community kommt nach dem EEG
 
Zusammensetzung des Strompreises
Zusammensetzung des StrompreisesZusammensetzung des Strompreises
Zusammensetzung des Strompreises
 
Correnty - Variable Stromtarife
Correnty - Variable StromtarifeCorrenty - Variable Stromtarife
Correnty - Variable Stromtarife
 
STROMDAO - Corrently Pitch Deck
STROMDAO - Corrently Pitch DeckSTROMDAO - Corrently Pitch Deck
STROMDAO - Corrently Pitch Deck
 
Corrently Pitch - CloudMallBW (bwcon Afterwork Sommerfest)
Corrently Pitch - CloudMallBW (bwcon Afterwork Sommerfest)Corrently Pitch - CloudMallBW (bwcon Afterwork Sommerfest)
Corrently Pitch - CloudMallBW (bwcon Afterwork Sommerfest)
 
STROMDAO - Corrently Equity Story
STROMDAO - Corrently Equity StorySTROMDAO - Corrently Equity Story
STROMDAO - Corrently Equity Story
 
Corrently (English)
Corrently (English)Corrently (English)
Corrently (English)
 
Corrently - Micro Pitch Deck
Corrently - Micro Pitch DeckCorrently - Micro Pitch Deck
Corrently - Micro Pitch Deck
 
Corrently
CorrentlyCorrently
Corrently
 
Hybridstrom by STROMDAO
Hybridstrom by STROMDAOHybridstrom by STROMDAO
Hybridstrom by STROMDAO
 
Konsens ohne Mittelmann - Blockchain in der Energiewirtschaft
Konsens ohne Mittelmann - Blockchain in der EnergiewirtschaftKonsens ohne Mittelmann - Blockchain in der Energiewirtschaft
Konsens ohne Mittelmann - Blockchain in der Energiewirtschaft
 

Último

Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 

Último (20)

Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 

PowerChain - Blockchain 4 Energy

  • 1. 1 POWERCHAIN Building Blocks to establish a Distributed Grid with a light weight P2P energy market.
  • 2. 2 POWERCHAIN Collection of Smart Contracts implemented for Ethereum Blockchain…
  • 3. 3 Node Termination Meter Metering Power Delivery POWERCHAIN … working together to build a common consense based power grid and market.
  • 4. 4 POWERCHAIN Content 1. Building Blocks 2. Use Cases 3. Best Practice
  • 6. 6 Node Meter Metering Power Delivery POWERCHAIN Standarized Representation of a power transmission from a Producer [Node] to a Consumer [Node].  Time Frame of Delivery (Start/End)  Power (Total Wh, Min W, Peak W)  Termination check  Value (Money) Termination
  • 7. 7 Node Meter Metering Power Delivery POWERCHAIN Contract for Grid-End-Point operation owned by DSO  Manages approved Meter Operators [Metering]  Manages a list of Producer/Consumers [Node]  Manages a list of peers to other Grids [Termination] Termination
  • 8. 8 Node Termination Meter Metering Power Delivery POWERCHAIN Legal, Managed Entity connected to a grid as End-Point  Is able to sell or buy power [PowerDelivery]  Has a connection to the grid [Termination]  Has a approved Meter [Meter/Metreing]
  • 10. 10 POWERCHAIN UC1: Setup Grid The smallest possible grid is a Termination with an approved Metering … metering = instanceByName('Metering'); termination = instanceByName('Termination'); termination.addMetering(metering.address);
  • 11. 11 POWERCHAIN UC2: Adding a Producer and a Consumer Node In order to exchange power two Nodes are required. For the moment both connect to the same Termination which accepts only one Metering. params =[metering.address]; nodes.A = instanceByName('Node',params); nodes.B = instanceByName('Node',params); Metering assigns two new Meters to those Nodes and adds to Termination. meters.A= instanceByName('Meter', [0,true]); // Initial Reading 0 – Does Feed In to the grid (=true) meters.B= instanceByName('Meter', [7,false]); // Initial Reading 7 – Does Feed Out of the grid (=false) metering.addMeter(meters.A.address,nodes.A.address); metering.addMeter(meters.B.address,nodes.B.address); termination.addNode(nodes.A.address); termination.addNode(nodes.B.address); nodes.A.transferTermination(termination.address); nodes.B.transferTermination(termination.address);
  • 12. 12 POWERCHAIN UC3: Update Meter Readings Metering provides an oracle by updating periodically readings of Meters. As consequence of updateReading() all active PowerDelivery contracts of the affected Node get balanced to the current reading. metering.updateReading(meters.A.address,new Date().getTime(),123); // Sets Current reading of Meter A to 123 metering.updateReading(meters.B.address,new Date().getTime(),456); // Sets Current reading of Meter B to 456 updateReading() processPowerDelivery() updateReading() balance • Last Reading • Power Debit • Power Credit
  • 13. 13 POWERCHAIN UC3: Update Meter Readings (cont…) updateReading() • Last Reading • Power Debit • Power Credit Last Reading Actual readig of Meter Power Credit Power units (Wh) measured and covered by power delivery contracts Power Debit Power units (Wh) measured but not covered by power delivery contracts Condition: (Last Reading – Initial Reading*) = Power Credit + Power Debit *) Initial Reading is reading of Meter as given in new Meter tx: instanceByName('Meter', [7,true]); // Initial Reading=7
  • 14. 14 POWERCHAIN UC4: Creating a Power Product In order to trade on a market a product needs to be available having a common specification of the asset. PowerDelivery contracts hold a common specification for a „power product“. As every Node needs to follow this standard it could be traded/exchanged. node.createOffer( bool _is_feedin, // Perspective of Node (Is Feed-In or Feed-Out) uint256 _time_start, // Start of Delivery uint256 _time_end, // End of Delivery uint256 _total_power, // Total Power in Watt-Hours uint256 _peak_load, // Max-Load in Watt uint256 _min_load, // Min-Load in Watt uint256 _bid // Bid of creating Node (Monetary Value) ); node.createOffer() New ProductDelivery()
  • 15. 15 POWERCHAIN UC5: Signing a Power Delivery (Contract) A power delivery contract could be signed by any other Node. During signature process it is checked if Termination (physical connection) is possible. node.signSellFeedIn(PowerDelivery.address,_bid); // _bid = counter offer needs to be better or equal … node.signBuyFeedOut(PowerDelivery.address,_bid); // _bid = counter offer needs to be better or equal PowerDelivery contract accepts changes of counter bid until starting time of delivery.
  • 17. 17 POWERCHAIN #Blockchain - Consense In general a Blockchain holds an „universe of common truth“ = Consense Node Termination Meter Metering Power Delivery Shared Truth
  • 18. 18 POWERCHAIN #Blockchain - Visibility • All transactional data is public within its chain • Mining provides confirmations of transactions Meter Power Delivery Meter Producer Contract Consumer If all transactions get confirmed, we do not need to identify „Producer“ or „Consumer“ to ensure consense. “On the blockchain, nobody knows you're a fridge”
  • 19. 19 POWERCHAIN #Blockchain - Transactionalization • Storing data in a blockchain is expensive • Each transaction costs a fee (or gas) Meter Power Delivery Contract Consumer Provides sub-second readings Might be one single transaction Metering Provided oracalized data as required
  • 20. 20 POWERCHAIN #Blockchain - In/Off Chain • Transactional Data is required in chain • Operational Data is required off chain Power Delivery Metering Provided oracalized data as required (In Chain) Termination Operational Data on Request (Off Chain)
  • 21. 21 POWERCHAIN #Blockchain - Off Chain • Offchain transactions like data exchange can still be part of a single shared truth • EDIchain is a framework to exchange EDI messages via a Blockchain MeteringTermination EDI Message CONTRL/APERAK Metadata Business Content (EDI Document) HASH On Chain (Frontend) Off Chain (Backend)
  • 22. POWERCHAIN #Smart Contract • Simple rule based transaction trigger. • Or: Changing the state of a machine (blockchain) based on conditions. Power Delivery If all prerequisites are met… feed_in=Node(msg.sender); … sending Node becomes Producer
  • 23. POWERCHAIN #Smart Contract • The code is the rule • Once published the rules can not be changed. Termination The test() function is called as soon as a Node wants to sign a PowerDelivery. For the owner of a Termination it might be good to keep record of all tests… tests.push(_delivery); … as this would change a value this function „call“ becomes a transaction (=requires Gas).
  • 24. POWERCHAIN #Smart Contract • Use „Events“ for monitoring instead of transactions tests.push(_delivery); contract Termination { … event TestTermination(address _sender,address _target); … function test(Node _delivery,Termination callstack) returns (bool) { TestTermination(msg.sender,_delivery); … }
  • 25. POWERCHAIN #Smart Contract • The code is the rule • Once published the rules can not be changed. Termination v1 As v1 is available within the blockchain „forever“ there needs to be a sunset function right from start Termination v2
  • 26. POWERCHAIN #Node (Blockchain) • Never trust a Node … trust transactions. meters.A= instanceByName('Meter', [0,true]); Everyone could create a Meter But it requires a Metering to add it. metering.addMeter(meters.A.address,nodes.A.address); Contract Metering { function addMeter(Meter meter,Node _node) { if(msg.sender!=owner) throw; … } } Everyone could create a Metering But it requires a Termination to accept it. Everyone could create a PowerDelivery But if there is no Termination (peering) between both parties it will not be possible to sign.

Notas del editor

  1. Peer2Peer energy markets are not a new topic. Even with blockchain technologies like Ethereum there are some basic concepts. What is missing is are standards and a level of industrialization.