| Literature DB >> 30347844 |
Ramon Alcarria1, Borja Bordel2, Tomás Robles3, Diego Martín4, Miguel-Ángel Manso-Callejo5.
Abstract
Resource consumption in residential areas requires novel contributions in the field of consumer information management and collaborative mechanisms for the exchange of resources, in order to optimize the overall consumption of the community. We propose an authorization system to facilitate access to consumer information and resource trading, based on blockchain technology. Our proposal is oriented to the Smart communities, an evolution of Community Energy Management Systems, in which communities are involved in the monitoring and coordination of resource consumption. The proposed environment allows a more reliable management of monitoring and authorization functions, with secure data access and storage and delegation of controller functions among householders. We provide the definition of virtual assets for energy and water resource sharing as an auction, which encourages the optimization of global consumption and saves resources. The proposed solution is implemented and validated in application scenarios that demonstrate the suitability of the defined consensus mechanism, trustworthiness in the level of provided security for resource monitoring and delegation and reduction on resource consumption by the resource trading contribution.Entities:
Keywords: blockchain; power consumption; prosumer; resource auction; resource monitoring; smart communities; trading; water consumption
Year: 2018 PMID: 30347844 PMCID: PMC6210077 DOI: 10.3390/s18103561
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Architecture of the blockchain-based authorization system.
Figure 2Architecture for the trustworthy secure resource monitoring solution.
Figure 3Architecture for the secure controller functions delegation.
Figure 4Token provision through Smart Community Token contract.
Figure 5Negotiation algorithm for resource trading.
Figure 6Resource trading, third phase: Payment and resource delivery algorithm.
Figure 7Implementation prototype.
Configuration parameters for private Ethereum network and PoA support.
| Parameter | Value | Description |
|---|---|---|
|
| 2 | EIP150 since block #2: improvements for denial-of-service |
|
| 0x0 | needed for fast sync |
|
| 3 | EIP155 since block #3: preventing replay attacks. |
|
| 3 | EIP158 since block #3: treating empty accounts as non-existent |
|
| 30000 | Number of blocks after resetting pending votes |
|
| 10 s | Minimum difference between two consecutive block’s timestamps |
|
| 65 bytes | Extra-data of each block enough to store the miner’s signature |
|
| {0xf, 0x0} | Vote on adding a new signer (0xf) or removing a signer (0x0) |
|
| 3 | Number of authorized signers valid at a particular chain instance |
|
| 2 | Signer signs only one block out of |
|
| {1, 2} | Block difficulty for blocks containing in-turn signatures (1) and out-of-turn signatures (2), with slight penalization |
Figure 8Implementation prototype: (a) energy main tab energy; (b) transaction tab.
Figure 9Power consumption and costs for PoW approach.
Solution to attack methods in PoW and PoA.
| Attack | PoW | PoA |
|---|---|---|
| Malicious contributor | Malicious miner needs 51% of hashing power for successful attach | Any signer may only mint 1 block out of every |
| Censoring contributor | Miner censoring blocks is penalized and their blocks are rarely included in the chain | Signers censoring blocks with negative votes are limited to 1 block out of |
| Spamming contributor | Spamming transactions requires money to be spent on transaction fees | Signers injecting new vote proposals inside every block they mint is mitigated by placing a limit on the vote window. |
| Concurrent contributors | Concurrent block discovery is rare. In this case best fork is selected for chain continuation. | As at any point in time |
Configuration parameters for performance evaluation.
| Parameter | Value | Description |
|---|---|---|
|
| 40 | Number of smart homes available in the smart community. |
|
| 10 s | Minimum difference between two consecutive block’s timestamps |
|
| [0, N] | Length of essential data set for basic quota control. |
|
| [0, N] | Length of extended dataset for enhanced management. |
|
| 10 KB | |
|
| variable | Number of records of essential data set samples which are simultaneously stored in the blockchain. |
|
|
| Sample generation period. |
|
| {0.25, 0.5, 1, 2} | Number of samples that will be generated by smart home in the time in which a block is generated. |
Figure 10Presence probability of storing in next two blocks.
Computational cost in Gas for resource monitoring.
|
| Solutions | |||
|---|---|---|---|---|
| Smonitoring | Monitoring | Sdelegation | Delegation | |
| 1 | 3.06 × 105 | 8.44 × 104 | 6.52 × 103 | 1.12 × 103 |
| 101 | 3.45 × 106 | 6.98 × 105 | 6.18 × 104 | 9.22 × 103 |
| 102 | 3.26 × 107 | 6.02 × 106 | 5.95 × 105 | 9.17 × 104 |
| 103 | 3.11 × 108 | 6.37 × 107 | 5.72 × 106 | 9.06 × 105 |
| 104 | 3.15 × 109 | 6.25 × 108 | 5.67 × 107 | 8.87 × 106 |
Figure 11Comparing resource trading with normalized daily values of water consumption.