Title Page
Contents
ABSTRACT 8
1. Introduction 9
2. Preliminaries 12
2.1. Energy Blockchain 12
2.2. FHIPE and integer comparison 13
3. Proposed method: Dual Binary Encoding 16
3.1. Overview 16
3.2. Subroutine Y 17
3.3. Encoding method ƒY[이미지참조] 18
3.4. Subroutine XL[이미지참조] 20
3.5. Subroutine XG[이미지참조] 21
3.6. Encoding method ƒY[이미지참조] 22
3.7. Comparing VX and VY[이미지참조] 22
4. Proposed Energy Trading System 26
4.1. System components 26
4.2. Matching algorithm 27
4.3. Proposed Energy Trading Protocol 31
4.3.1. Setup Stage 31
4.3.2. Finite State Machine in the Blockchain 32
4.3.3. Bidding and Matching Operations 34
4.3.4. Actual trading 37
5. Performance Analysis 38
5.1. Environment parameters 38
5.2. Performance Analysis of the Proposed algorithm 38
5.3. Performance Analysis of the Proposed System 42
6. Discussion 45
7. Conclusion 46
References 47
Table 1. All possible combinations encoded with method Y. 18
Table 2. All possible combinations encoded with method XL.[이미지참조] 21
Table 3. All possible combinations encoded with method XG.[이미지참조] 21
Table 4. Gas cost comparison for the heap node creation. 43
Table 5. Gas cost comparison for the COMP operation 44
Figure 1. Encoding example: ƒY(VY=27).[이미지참조] 16
Figure 2. Encoding example: ƒX(VX=27).[이미지참조] 17
Figure 3. Algorithm 4 with D=5, VX=12, VY=13[이미지참조] 25
Figure 4. Proposed energy trading system model. 26
Figure 5. Comparison of encrypted bids. 28
Figure 6. Smart contract as a Finite State Machine. 33
Figure 7. Heap management. 34
Figure 8. Bidding and matching operations. 36
Figure 9. Trading operation. 37
Figure 10. Comparison of the computation times on the DSO. 40
Figure 11. Comparison of the computation times on the smart meter. 41