Reimagining Bitcoin Mining as a Virtual Energy Storage Mechanism in Grid Modernization: Enhancing Security, Sustainability, and Resilience of Smart Cities Against False Data Injection Cyberattacks
Abstract
1. Introduction
1.1. Background, Definitions, and Motivation
1.2. Literature Review
1.3. Problem Statement, Research Gap, and Contribution of This Paper
- Developing an innovative framework that leverages Bitcoin mining facilities in conjunction with transmission and sub-transmission networks, enabling these facilities to function as grid-scale dynamic loads/virtual energy storage systems and enhance overall system flexibility and resilience,
- Introducing a novel remediation framework that integrates large-scale Bitcoin mining facilities to mitigate the impacts of FDI cyberattacks on smart power transmission networks, reducing system congestion and preventing potential widespread power outages while enhancing grid resilience in real time, and
- Pioneering QAPSO-WOWO (quantum augmented particle swarm optimization wavelet-oriented whale optimization), a next-generation hybrid optimization algorithm that harnesses quantum intelligence and bio-inspired dynamics to tackle massive, complex optimization challenges, achieving near-instantaneous performance that redefines computational efficiency.
2. Integrated Framework for Bitcoin Mining-Based Energy Storage and Cybersecurity
2.1. Basics of Bitcoin
2.2. Bitcoin Mining as a Virtual Energy Storage Asset vs. Traditional Storage Systems
2.3. The Holistic Proposed Remediation Framework Against FDI Cyberattacks
3. Problem Formulation
3.1. FDI Cyberattack to Stealthy Bypass Bad Data Detection (BDD) in State Estimation
3.2. Remediation Framework’s Objective Functions and Constraints
- Dual-domain optimization as it integrates physical grid control with digital asset economics and cyber-defense costs in one unified objective,
- Economic, virtual charging, process as the term converts surplus energy into digital value, replacing traditional state-of-charge models,
- Cyber-aware feedback loop as couples real-time FDI detection metrics (e.g., residual energy and entropy in telemetry data) with control actuation costs, and
- Adaptive weighting as the coefficients can adapt dynamically via reinforcement learning and AI-based tuning to emphasize stability or profitability during crises.
3.3. The Holistic Proposed Framework Justifications
3.4. Optimization Algorithm Handlining the Proposed Framework
| Algorithm 1 The proposed Algorithm Pseudocode |
| Input: Objective function f(x), swarm size , max iterations Output: Optimal solution 1: Initialize particle positions and velocities for to 2: Evaluate objective for each particle 3: Set personal best = and global best = argmin() 4: for to do 5: Update inertia 6://Quantum-Augmented PSO (QAPSO) Step 7: for each particle k do 8: Generate local attractor based on and 9: Update position using quantum probability distribution 10: Evaluate and update if improved 11: end for 12: Update global best if any improved 13://Wavelet-Oriented Whale Optimization (WOWO) Step 14: for each whale do 15: Compute distances Dis, , for encircling, bubble-net, and prey search 16: Update whale positions , , 17: end for 18://Wavelet-Based Fine-Tuning 19: Apply discrete wavelet transform 20: Extract high-frequency components 21: Adjust whale positions 22: Evaluate and update personal/global bests 23: end for 24: Return = |
4. Case Study—Modified IEEE 39-Bus New England Test System
5. Initialization, Obtained Results, and Discussions
5.1. Initialization
5.2. Obtained Results and Analyses
5.2.1. Scenario I: Baseline—Normal Operation Without FDI or Remediation
5.2.2. Scenario II: Cyberattack—FDI Attack Without Remediation
5.2.3. Scenario III: FDI Attack and Remediation via Virtual Energy Storage Systems
5.2.4. Real-World Applicability of Bitcoin Mining-Based Virtual Energy Storage Systems
5.2.5. Benchmarking and Convergence Analysis of the Proposed Hybrid Optimization Algorithm
5.3. Utilization of Bitcoin-Based Digital Assets for Enhancing System Resilience
Economic and Real-Time Justification
6. Conclusions and Ways Forward
Funding
Data Availability Statement
Conflicts of Interest
References
- Hajiaghapour-Moghimi, M.; Hajipour, E.; Hosseini, K.A.; Tavakkoli, M.; Fattaheian-Dehkordi, S.; Vakilian, M.; Lehtonen, M. Hedging investments of grid-connected PV-BESS in buildings using cryptocurrency mining: A case study in Finland. IEEE Access 2023, 11, 66327–66345. [Google Scholar] [CrossRef]
- Cambridge Bitcoin Electricity Consumption Index. Available online: https://ccaf.io/cbnsi/cbeci (accessed on 20 October 2025).
- Kim, S. A novel Bitcoin mining scheme based on the multi-leader multi-follower stackelberg game model. IEEE Access 2018, 6, 48902–48912. [Google Scholar] [CrossRef]
- Vicente, R.; Van Rooyen, G.-J.; Bam, L. Cryptocurrency mining to hedge renewable energy investments: A decision-support tool. In Proceedings of the IEEE International Conference on Engineering, Technology and Innovation (ICE/ITMC), Edinburgh, UK, 19–22 June 2023; pp. 1–9. [Google Scholar]
- Deep, A.K.; Raja, G.L.; Meena, G.D. Robust moments-matching load frequency control strategy for cyber–physical power system amid communication time delay. Appl. Energy 2025, 383, 125251. [Google Scholar] [CrossRef]
- Hajipour, E.; Khavari, F.; Hajiaghapour-Moghimi, M.; Hosseini, K.A.; Vakilian, M. An economic evaluation framework for cryptocurrency mining operation in microgrids. Int. J. Electr. Power Energy Syst. 2022, 142, 108329. [Google Scholar] [CrossRef]
- Dasaklis, T.K.; Thomaidis, I.T.; Giannopoulos, P.G.; Tsoulfas, G.T. Rethinking Bitcoin’s energy use through sustainable digital business models and resources monetization: A multiple case study analysis. Digit. Bus. 2025, 5, 100114. [Google Scholar] [CrossRef]
- Wendl, M.; Doan, M.H.; Sassen, R. The environmental impact of cryptocurrencies using proof of work and proof of stake consensus algorithms: A systematic review. J. Environ. Manag. 2023, 326, 116530. [Google Scholar] [CrossRef] [PubMed]
- Kohli, V.; Chakravarty, S.; Chamola, V.; Sangwan, K.S.; Zeadally, S. An analysis of energy consumption and carbon footprints of cryptocurrencies and possible solutions. Digit. Commun. Netw. 2023, 9, 79–89. [Google Scholar] [CrossRef]
- Sarkodie, S.A.; Amani, M.A.; Ahmed, M.Y.; Owusu, P.A. Assessment of Bitcoin carbon footprint. Sustain. Horiz. 2023, 7, 100060. [Google Scholar] [CrossRef]
- Kohler, S.; Pizzol, M. Life cycle assessment of Bitcoin mining. Environ. Sci. Technol. 2019, 53, 13598–13606. [Google Scholar] [CrossRef] [PubMed]
- Choobineh, M.; Arabnya, A.; Sohrabi, B.; Khodaei, A.; Paaso, A. Blockchain technology in energy systems: A state-of-the-art review. IET Blockchain 2022, 3, 35–59. [Google Scholar] [CrossRef]
- Sey, C.; Kun, S.; Barnes, O.; Kodjiku, S.L.; Asamoah, K.O.; Ukwuoma, C.C.; Adjei-Mensah, I.; Fiasam, L.D.; Aggrey, E.S.E.; Gyarteng, E.S. Blockchain-enabled adaptive criticality-based IoT firmware update distribution framework for sustainable smart cities. J. Ind. Inf. Integr. 2025, 47, 100929. [Google Scholar] [CrossRef]
- Bruno, A.; Weber, P.; Yates, A.J. Can Bitcoin mining increase renewable electricity capacity? Resour. Energy Econ. 2023, 74, 101376. [Google Scholar] [CrossRef]
- Xu, W.; Jaimoukha, I.M.; Teng, F. Robust moving target defense against false data injection attacks in power grids. IEEE Trans. Inf. Forensics Secur. 2022, 18, 29–40. [Google Scholar] [CrossRef]
- Liu, B.; Wu, H. Optimal D-FACTS placement in moving target defense against false data injection attacks. IEEE Trans. Smart Grid 2020, 11, 4345–4357. [Google Scholar] [CrossRef]
- Jafari, M.; Rahman, M.A.; Paudyal, S. Optimal false data injection attack against load-frequency control in power systems. IEEE Trans. Inf. Forensics Secur. 2023, 18, 5200–5212. [Google Scholar] [CrossRef]
- Chen, Y.; Lakshminarayana, S.; Poor, H.V. Moving target defense against adversarial false data injection attacks in power grids. IEEE Internet Things J. 2025, 12, 26315–26327. [Google Scholar] [CrossRef]
- Zhang, Y.; Wang, J.; Chen, B. Detecting false data injection attacks in smart grids: A semi-supervised deep learning approach. IEEE Trans. Smart Grid 2020, 12, 623–634. [Google Scholar] [CrossRef]
- Chen, B.; Wu, Q.H.; Li, M.; Xiahou, K. Detection of false data injection attacks on power systems using graph edge-conditioned convolutional networks. Prot. Control. Mod. Power Syst. 2023, 8, 1–12. [Google Scholar] [CrossRef]
- Jafari, M.; Rahman, M.A.; Paudyal, S. Optimal false data injection attacks against power system frequency stability. IEEE Trans. Smart Grid 2022, 14, 1276–1288. [Google Scholar] [CrossRef]
- Naderi, E.; Asrari, A. Intelligent remedial action scheme against false data injection cyberattacks targeting energy justice and equity in modern power systems. In Communities for Clean Energy Justice and Equity in Grid Modernization; IEEE: Piscataway, NJ, USA, 2024. [Google Scholar]
- Naderi, E.; Asrari, A.; Saffari, M. Digital twin-enabled resilient network reconfiguration for cybersecurity of decarbonized power distribution systems. In Proceedings of the 7th Global Power, Energy and Communication Conference (GPECOM), Bochum, Germany, 11–13 June 2025; pp. 768–772. [Google Scholar]
- Naderi, E.; Asrari, A. A remediation framework against false data injection cyberattacks targeting ULTC transformers to avoid voltage collapse in smart distribution networks. IEEE Trans. Ind. Appl. 2025, 61, 5148–5160. [Google Scholar] [CrossRef]
- Naderi, E.; Asrari, A. Cyber-physical distribution systems resilience against cyberattacks via a remediation framework based on static VAR compensators (SVCs). IEEE Access 2024, 12, 119633–119646. [Google Scholar] [CrossRef]
- Naderi, E.; Asrari, A. A remedial action scheme to mitigate market power caused by cyberattacks targeting a smart distribution system. IEEE Trans. Ind. Inform. 2024, 20, 3197–3208. [Google Scholar] [CrossRef]
- Naderi, E.; Asrari, A.; Fajri, P. A remedial action scheme against false data injection cyberattacks targeting ULTC transformers in smart distribution systems. In Proceedings of the IEEE/IAS Industrial and Commercial Power System Asia (I&CPS Asia), Pattaya, Thailand, 9–12 July 2024; pp. 126–130. [Google Scholar]
- Heinonen, H.T.; Semenov, A.; Veijalainen, J.; Hämäläinen, T. A survey on technologies which make Bitcoin greener or more justified. IEEE Access 2022, 10, 74792–74814. [Google Scholar] [CrossRef]
- Nasir, A.; Shaukat, K.; Khan, K.I.; Hameed, I.A.; Alam, T.M.; Luo, S. What is core and what future holds for blockchain technologies and cryptocurrencies: A bibliometric analysis. IEEE Access 2021, 9, 989–1004. [Google Scholar] [CrossRef]
- Zaghloul, E.; Li, T.; Mutka, M.W.; Ren, J. Bitcoin and blockchain: Security and privacy. IEEE Internet Things J. 2020, 7, 10288–10313. [Google Scholar] [CrossRef]
- Vries, A.D. Bitcoin’s growing energy problem. Joule 2018, 2, 801–805. [Google Scholar] [CrossRef]
- Muminov, A.; Sattarov, O.; Na, D. Enhanced Bitcoin price direction forecasting with DQN. IEEE Access 2024, 12, 29093–29112. [Google Scholar] [CrossRef]
- Stoll, C.; Klaassen, L.; Gallersdorfer, A. The Carbon Footprint of Bitcoin. MIT Center for Energy and Environmental Policy Research, Working Paper Series. Available online: https://ceepr.mit.edu/wp-content/uploads/2021/09/2018-018.pdf (accessed on 20 October 2025).
- Lin, X.; Li, W.; Guo, X.; Su, B.; Guo, S.; Jing, Y.; Zhang, X. Advancements in energy-storage technologies: A review of current developments and applications. Sustainability 2025, 17, 8316. [Google Scholar] [CrossRef]
- Czagany, M.; Hompoth, S.; Keshri, A.K.; Pandit, N.; Galambos, I.; Gacsi, Z.; Baumli, P. Supercapacitors: An efficient way for energy storage application. Materials 2024, 17, 702. [Google Scholar] [CrossRef]
- Nikolaos, P.C.; Marios, F.; Dimitris, K. A review of pumped hydro storage systems. Energies 2023, 16, 4516. [Google Scholar] [CrossRef]
- Arevalo, P.; Ochoa-Correa, D.; Villa-Avila, E. Advances in thermal energy storage systems for renewable energy: A review of recent developments. Processes 2024, 12, 1844. [Google Scholar] [CrossRef]
- Lennon, A.; Jiang, Y.; Hall, C.; Lau, D.; Song, N.; Burr, P.; Grey, C.P.; Griffith, K.J. High-rate lithium ion energy storage to facilitate increased penetration of photovoltaic systems in electricity grids. MRS Energy Sustain. 2019, 6, E2. [Google Scholar] [CrossRef]
- Naderi, E. Securing the future: Integrating quantum computing and digital twin technologies into modern power & transportation systems for resilient smart cities against false data injection cyberattacks. Int. J. Crit. Infrastruct. Prot. 2025, 51, 100807. [Google Scholar] [CrossRef]
- Yang, Q.; Jiang, L.; Hao, W.; Zhou, B.; Yang, P.; Lv, Z. PMU placement in electric transmission networks for reliable state estimation against false data injection attacks. IEEE Internet Things J. 2017, 4, 1978–1986. [Google Scholar] [CrossRef]
- Mirjalili, S.; Lewis, A. The whale optimization algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
- Mafarja, M.; Mirjalili, S. Whale optimization approaches for Wrapper feature selection. Appl. Soft Comput. 2018, 62, 441–453. [Google Scholar] [CrossRef]
- Mafarja, M.; Mirjalili, S. Hybrid whale optimization algorithm with simulated annealing for feature selection. Neurocomputing 2017, 260, 302–312. [Google Scholar] [CrossRef]
- Ding, C.; Zhao, M.; Lin, J.; Jiao, J. Multi-objective iterative optimization algorithm based optimal wavelet filter selection for multi-fault diagnosis of rolling element bearings. ISA Trans. 2019, 88, 199–215. [Google Scholar] [CrossRef]
- Athay, T.; Podmore, R.; Virmani, S. A practical method for the direct analysis of transient stability. IEEE Trans. Power Appar. Syst. 1979, PAS-98, 573–584. [Google Scholar] [CrossRef]
- Sarajčev, P.; Kunac, A.; Petrović, G.; Despalatović, M. IEEE New England 39-bus test case: Dataset for the transient stability assessment. Zenodo 2022. [Google Scholar] [CrossRef]
- Pai, M.A. Energy Function Analysis for Power System Stability; The Kluwer International Series in Engineering and Computer Science. Power Electronics and Power Systems; Kluwer Academic Publishers: Boston, MA, USA, 1989. [Google Scholar]







| No. | Modification | Implementation in IEEE 39-Bus System | Objective/Justification |
|---|---|---|---|
| 1 | Integration of RERs | Replace conventional generation units at buses #30 and #37 with a 150 MW wind farm and a 100 MW PV plant, respectively. Introduce time-varying generation profiles to emulate intermittency. | To generate surplus renewable energy that can be utilized by Bitcoin mining facilities, enabling assessment of virtual energy storage behavior under fluctuating generation. |
| 2 | Deployment of Bitcoin mining facilities as virtual energy storage assets | Add dispatchable loads representing mining facilities at buses #16 (large-scale, 1.5 MW), #23 (medium-scale, 0.8 MW), and #39 (small-scale, 0.2 MW). Model each facility as a controllable flexible load with sub-second response capability. | To emulate virtual storage operation through dynamically adjustable energy consumption and evaluate the system’s charge/discharge analogy using mining flexibility. |
| 3 | Cyber layer augmentation for FDI attack simulation | Develop a cyber–physical communication layer representing supervisory control data flow. Introduce FDI attack vectors targeting PMUs and RTUs, shown by small orange triangles and cyan squares in the top portion of Figure 2. Secure mining buses via cryptographically verified communication channels. | To enable the simulation of cyber-induced data manipulation and evaluate the proposed remediation mechanism’s effectiveness against FDI attacks, bypassing the BDD algorithms embedded in state estimation. |
| 4 | Bidirectional control and coordination mechanism | Implement a hierarchical control scheme: the upper layer performs remediation and dispatch decisions; the lower layer (mining controllers) executes real-time load modulation through secure decentralized signaling. | To realize the proposed bidirectional control paradigm allowing coordinated load response and autonomous remediation under cyber or operational disturbances. |
| 5 | Economic-energy conversion layer | Define an economic mapping between consumed energy and generated Bitcoin value, . Integrate virtual revenue accumulation and cost-offset modeling within the system’s operational framework. | To represent the economic storage concept of the proposed framework, transforming excess renewable energy into a tradable digital asset value. |
| Metric | Symbol | Optimal Value | Remark |
|---|---|---|---|
| Power imbalance | 1.4 MW | Minor system-wide mismatch between generation and demand | |
| Average voltage deviation | 1.9% | Indicates highly stable voltage profile | |
| Renewable energy utilization | 97% | Represents near-total use of generated renewable energy | |
| Curtailment cost | $0.3 k/day | Minimal cost due to negligible renewable curtailment | |
| Bitcoin-mining profit | $5.2 k/day | Total virtual revenue from mining operations | |
| Cyber-resilience cost | - | No attack or cyber-related penalty present |
| Metric | Symbol | Optimal Value | Remark |
|---|---|---|---|
| Power imbalance | 23.1 MW | Significant imbalance caused by manipulated measurements | |
| Average voltage deviation | 5.2% | Unstable voltage profile due to false load/generation data | |
| Renewable energy utilization | 72% | Drop in renewable usage due to misinterpreted generation levels | |
| Curtailment cost | $3.5 k/day | High curtailment cost resulting from erroneous dispatch | |
| Bitcoin-mining profit | $5.1 k/day | Mining proceeds almost unaffected but economically inefficient overall | |
| Cyber-resilience cost | High | Elevated due to undetected FDI impact on operational integrity |
| Metric | Symbol | Optimal Value | Remark |
|---|---|---|---|
| Power imbalance | 4.8 MW | Reduced imbalance due to adaptive virtual storage compensation | |
| Average voltage deviation | 1.8% | Restored voltage stability through dynamic load modulation | |
| Renewable energy utilization | 94% | High utilization maintained via corrected dispatch decisions | |
| Curtailment cost | $0.9 k/day | Minimal cost due to restored renewable integration | |
| Bitcoin-mining profit | $4.7 k/day | Slightly reduced due to corrective curtailments in mining load | |
| Cyber-resilience cost | Moderate | Reflects residual cyber impact but substantially mitigated |
| Metric | Symbol | Scenario II (FDI Attack, No Mitigation) | Scenario III (FDI + Remediation) | Extended Case (Real-World Virtual Energy Storage Profit Allocation) | Remark |
|---|---|---|---|---|---|
| Power imbalance | 23.1 MW | 4.8 MW | 3.9 MW | Further improvement via profit-funded ancillary control | |
| Average voltage deviation | 5.3% | 2.6% | 2.1% | Additional voltage stabilization from reinvested funds | |
| Renewable energy utilization | 82% | 94% | 95% | Enhanced integration through flexible mining response | |
| Curtailment cost | $3.5 k/day | $0.9 k/day | $0.6 k/day | Reduced due to better balancing and remedial support | |
| Bitcoin-mining gross profit | $5.2 k/day | $4.7 k/day | $4.7 k/day | Stable mining income maintained under mitigation | |
| Profit allocated to resilience fund | - | - | $1.18 k/day (25%) | Used for post-event voltage and outage restoration | |
| Expected outage duration | 3.1 h/day | 1.4 h/day | 0.82 h/day | Outage time reduced through profit-backed control support | |
| Cyber-resilience cost | High | Moderate | Low | Reflects improved detection, restoration, and autonomy |
| Algorithm | Best Objective Value | Mean Objective Value | Std. Deviation | Convergence Iterations | Computation Time (s) | Power Imbalance (MW) | Voltage Deviation (%) | Renewable Utilization (%) | Robustness to FDI |
|---|---|---|---|---|---|---|---|---|---|
| PSO | 1.000 | 1.085 | 0.042 | 145 | 12.8 | 6.7 | 3.4 | 91.2 | Moderate |
| GA | 1.032 | 1.124 | 0.057 | 180 | 15.6 | 7.3 | 3.8 | 89.5 | Moderate |
| DE | 0.984 | 1.067 | 0.036 | 130 | 14.2 | 6.1 | 3.1 | 92.4 | Moderate-High |
| WO | 0.971 | 1.052 | 0.031 | 120 | 13.5 | 5.6 | 2.9 | 93.1 | High |
| QAPSO | 0.956 | 1.038 | 0.028 | 110 | 13.9 | 5.2 | 2.7 | 93.8 | High |
| Proposed Algorithm | 0.932 | 0.981 | 0.019 | 85 | 14.7 | 3.9 | 2.1 | 95.0 | Very High |
| Metric | Symbol | Pre-Fund Mitigation | Post-Fund Activation | Improvement (%) | Remark |
|---|---|---|---|---|---|
| Power imbalance | 4.8 MW | 3.2 MW | 33.3 | Real-time ancillary activation reduces imbalance | |
| Average voltage deviation | 2.6% | 1.9% | 26.9 | Improved voltage regulation through DRF spending | |
| Renewable energy utilization | 94% | 96% | 2.1 | Enhanced dispatch correction post-attack | |
| Outage duration | 0.88 h/day | 0.54 h/day | 32.9 | Faster recovery enabled by automatic payment to support assets | |
| Resilience index | RDI | 1.00 | 0.68 | 32 | Quantified resilience improvement |
| Daily Bitcoin reserve allocation | $1.18 k/day | $1.18 k/day | - | Steady digital asset contribution to resilience operations |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Naderi, E. Reimagining Bitcoin Mining as a Virtual Energy Storage Mechanism in Grid Modernization: Enhancing Security, Sustainability, and Resilience of Smart Cities Against False Data Injection Cyberattacks. Electronics 2026, 15, 1359. https://doi.org/10.3390/electronics15071359
Naderi E. Reimagining Bitcoin Mining as a Virtual Energy Storage Mechanism in Grid Modernization: Enhancing Security, Sustainability, and Resilience of Smart Cities Against False Data Injection Cyberattacks. Electronics. 2026; 15(7):1359. https://doi.org/10.3390/electronics15071359
Chicago/Turabian StyleNaderi, Ehsan. 2026. "Reimagining Bitcoin Mining as a Virtual Energy Storage Mechanism in Grid Modernization: Enhancing Security, Sustainability, and Resilience of Smart Cities Against False Data Injection Cyberattacks" Electronics 15, no. 7: 1359. https://doi.org/10.3390/electronics15071359
APA StyleNaderi, E. (2026). Reimagining Bitcoin Mining as a Virtual Energy Storage Mechanism in Grid Modernization: Enhancing Security, Sustainability, and Resilience of Smart Cities Against False Data Injection Cyberattacks. Electronics, 15(7), 1359. https://doi.org/10.3390/electronics15071359

