Abstract
As smart grids evolve, buildings are transitioning from passive consumers to active "prosumers" capable of providing demand flexibility (DF). However, current models rely on centralized aggregators that act as trusted third parties, introducing significant security risks and single points of failure. This paper introduces PlexiChain, a decentralized, blockchain-based framework that automates the aggregator role. By integrating NFT-based identity management and modeling aggregation as a Constraint Satisfaction Problem (CSP), PlexiChain provides a lightweight, secure solution for resource-constrained IoT environments. Experimental results show a 33% reduction in memory usage and a 40% increase in transaction throughput compared to traditional certificate-based systems, while effectively neutralizing MadIoT and False Data Injection attacks.
Introduction: The Challenge of Centralized Aggregation
In the transition toward modern smart grids, residential and commercial buildings have become prosumers—entities that both consume and generate energy. By adjusting loads such as HVAC systems and batteries, these prosumers offer Demand Flexibility (DF) to stabilize the grid. Because individual prosumers are typically too small to trade directly with grid operators (DSOs/TSOs), centralized aggregators have emerged as intermediaries.
However, this centralized model creates a "Trusted Third Party" (TTP) bottleneck. A compromised aggregator represents a single point of failure, allowing attackers to manipulate grid data through False Data Injection (FDI) or trigger "MadIoT" attacks—synchronously toggling high-wattage IoT devices to cause grid instability. Furthermore, standard blockchain implementations are often too resource-intensive for the low-power smart meters and IoT devices prevalent in built environments.
The PlexiChain Framework
PlexiChain addresses these vulnerabilities by extending the Hypergraph-based Adaptive consortium Blockchain (HARB) with three primary innovations designed for the IoT edge:
- NFT-based PKI: Instead of heavy X.509 digital certificates, PlexiChain utilizes Non-Fungible Tokens (NFTs) to manage device identities. Each device's identity is physically anchored using a Physically Unclonable Function (PUF), creating a unique silicon-level fingerprint bound to an on-chain NFT. This "certificate-less" approach significantly reduces the computational overhead for IoT hardware.
- Decentralized Flexibility Aggregator Smart Contract (dFASC): The aggregator's logic is fully automated via smart contracts. By modeling market clearing as a Constraint Satisfaction Problem (CSP), the system matches grid requests with prosumer bids while respecting local user constraints, such as maintaining comfortable indoor temperatures.
- Privacy-Preserving DApp: A specialized decentralized application manages trading workflows, utilizing a specialized contract (dTAM) to ensure data privacy during cross-cluster transactions.
Experimental Evaluation and Results
The framework was validated using a real-world dataset from an office building in Newcastle, Australia, featuring one year of 30-minute interval data on net power and HVAC consumption. Benchmarking against the standard HARB system using Hyperledger Caliper revealed substantial performance gains:
- Efficiency: PlexiChain reduced memory consumption by approximately 33.33%, making it viable for RAM-constrained smart meters.
- Performance: The system achieved a throughput of over 170 transactions per second (tps), compared to the 120 tps limit of the baseline system, with significantly lower latency at high transaction volumes.
- Security: Simulation of MadIoT and FDI attacks confirmed that the NFT-based verification and immutable ledger successfully prevented unauthorized control commands and data manipulation.
Conclusion
PlexiChain demonstrates that decentralized aggregation is not only possible but more efficient than traditional TTP models. By replacing corporate intermediaries with mathematical optimization (CSP) and hardware-rooted identity (NFTs/PUFs), the framework provides a robust foundation for secure, scalable demand flexibility trading in the future smart grid. Future work will focus on integrating native financial settlement layers and optimizing long-term ledger storage for edge devices.
Summary updated