Privacy-Preserving Distributed Optimal Power Flow With Partially Homomorphic Encryption

Tong Wu, Changhong Zhao, Ying-Jun Angela Zhang

Abstract

Modern smart grids require coordinated Optimal Power Flow (OPF) across multiple regions, yet sharing the necessary operational data poses significant privacy risks. This paper introduces a Privacy-Preserving Distributed OPF (PPOPF) framework that leverages Partially Homomorphic Encryption (PHE) and $\ell_1$-norm regularization within the Alternating Direction Method of Multipliers (ADMM). This approach allows agents to optimize power dispatch while keeping internal states confidential. Validated on an 85-bus tree distribution system, the algorithm maintains high accuracy (0.87% optimality gap) and achieves faster convergence than noise-based differential privacy techniques.

Introduction

The Optimal Power Flow (OPF) problem is fundamental to smart grid operations, aiming to minimize production costs while satisfying physical and operational constraints. In a decentralized grid, Distributed OPF (DOPF) algorithms like ADMM are typically employed. However, the standard ADMM requires agents to exchange intermediate states—such as complex voltages—which can reveal sensitive information about grid topology, power consumption patterns, and local assets to "honest-but-curious" neighbors or external eavesdroppers.

While Differential Privacy (DP) is a common countermeasure, it often introduces significant noise, leading to sub-optimal solutions or physical infeasibility. This paper addresses these challenges by proposing a PPOPF algorithm that ensures data privacy without sacrificing operational accuracy.

Methodology

The proposed PPOPF framework transitions from standard OPF to a privacy-preserving distributed implementation through several key stages, as illustrated in Figure 1.

Overview of the PPOPF research roadmap and algorithmic components.

The framework is built upon three core technical pillars:

1. Encrypted Dual Updates via PHE

The authors utilize the Paillier cryptosystem, a form of Partially Homomorphic Encryption (PHE). PHE allows a third-party system operator to perform additive operations on encrypted data. Agents submit encrypted states, and the operator computes dual variables (penalty terms) without ever decrypting the underlying values. This prevents the operator from accessing raw nodal data.

2. $\ell_1$-Norm Regularization

Standard ADMM uses a squared Frobenius norm for primal updates, requiring exact neighbor state values. By replacing this with an $\ell_1$-norm, the authors exploit the property that the subgradient of an $\ell_1$-norm is a sign signal (+1, -1, or 0). Consequently, agents only need to exchange the direction of difference (higher or lower) rather than exact magnitudes, significantly reducing the information leaked during communication.

3. Exact Semidefinite Program (SDP) Transformation

To handle the non-convexity introduced by $\ell_1$-regularization, the problem is transformed into a Semidefinite Program (SDP). The authors provide a rigorous proof that this transformation is "exact" for radial (tree-structured) networks, ensuring that the global optimum of the relaxed problem corresponds to a physically feasible solution.

The detailed iterative process for a region $r$ communicating with a neighbor $l$ is shown in Figure 2.

Detailed flowchart of the distributed PPOPF algorithm highlighting the primal update and privacy-preserving communication.

Experimental Evaluation

The PPOPF algorithm was evaluated using the standard 85-bus tree distribution system from the MATPOWER library. The system was partitioned into three regions, each equipped with AC generators to simulate a multi-agent dispatch scenario.

Key Results and Discussion

The proposed method demonstrates significant improvements over existing privacy-preserving techniques:

  • Accuracy: The PPOPF algorithm achieved an optimality gap of only 0.8754% relative to the centralized global optimum. In contrast, Differential Privacy methods often suffer from much larger gaps due to added noise.
  • Convergence Speed: The algorithm converged in 35 iterations. Comparison with DP methods showed that the latter required between 79 and 576 iterations, depending on the privacy budget (noise level), making PPOPF more suitable for time-sensitive grid operations.
  • Scalability: Computational tests up to 1,700 buses indicated that the distributed approach scales effectively. The encryption/decryption overhead remains low (approx. 1ms per operation), ensuring real-time viability.

Conclusion and Future Work

This research provides a robust framework for privacy-preserving coordination in smart grids. By moving from exact value exchange to sign-based signals and leveraging PHE, the PPOPF algorithm protects sensitive data while maintaining high dispatch efficiency.

Future work will focus on extending the "exactness" proofs of the SDP relaxation to meshed (loopy) transmission grids and developing defenses against "malicious" agents who might provide intentionally false data to manipulate market outcomes.

Summary updated

BibTeX
@article{wu2021privacy,
  author = {Tong Wu and Changhong Zhao and Ying-Jun Angela Zhang},
  title = {{Privacy-Preserving Distributed Optimal Power Flow With Partially Homomorphic Encryption}},
  journal = {IEEE Trans. Smart Grid},
  year = {2021},
  doi = {10.1109/tsg.2021.3084934},
}
Figure