Skip to content

Repository files navigation

Secure Energy-Efficient Joint SDMA Beamforming and RIS Phase Shift Optimization

arXiv

This repository provides the Python implementation of the optimization framework proposed in

"Secure Rate-Splitting and RIS Beamforming with Untrusted Energy Harvesting Receivers"

The code jointly optimizes transmit beamforming for maximizing the secure energy efficiency (SEE) using:

  • Successive Convex Approximation (SCA)
  • Dinkelbach fractional programming
  • CVXPY optimization
  • MOSEK solver

Note: This implementation uses CVXPY with the MOSEK solver. A valid MOSEK installation and license are required for best performance.


Features

  • Multiuser SDMA downlink
  • Physical layer security
  • Secure energy efficiency maximization
  • SCA-based convex approximation
  • Monte Carlo simulations
  • Publication-quality result plotting

Project Structure

Secure-EE-SDMA/
│
├── src/
│   ├── main_SDMA.py
│   ├── optimization.py
│   ├── sca_opt.py
│   ├── sca_funcs.py
│   ├── calculate_sinrs.py
│   └── Channels.py
│
├── results/
│   ├── results_sdma.npz
│   └── figures/
│
├── plot_results.py
├── requirements.txt
└── README.md

Requirements

  • Python 3.10+
  • NumPy
  • SciPy
  • Matplotlib
  • CVXPY
  • MOSEK

Install the required packages

pip install -r requirements.txt

Running the simulation

Run

python src/main_SDMA.py

The simulation automatically stores the results in

results_sdma.npz

Plotting the results

Run

python plot_results.py

Example outputs include

  • Minimum secrecy rate versus transmit power
  • Secure energy efficiency versus transmit power

Simulation Parameters

Typical default parameters

Parameter Value
BS antennas 6
Users 4
Eavesdroppers 3
Maximum power 10–30 dBm
Episodes 20

Citation

If you use this code in your research, please cite

H. R. Hashempour, L.-N. Tran, D. H. N. Nguyen, and H. Q. Ngo, "Secure Rate-Splitting and RIS Beamforming with Untrusted Energy Harvesting Receivers," IEEE International Conference on Communications Workshops (ICC Workshops), 2026, pp. 1–6.

DOI: https://doi.org/10.1109/ICCWorkshops63917.2026.11586471

BibTeX

@INPROCEEDINGS{11586471,
  author={Hashempour, Hamid Reza and Tran, Le-Nam and Nguyen, Duy H. N. and Quoc Ngo, Hien},
  booktitle={2026 IEEE International Conference on Communications Workshops (ICC Workshops)},
  title={Secure Rate-Splitting and RIS Beamforming with Untrusted Energy Harvesting Receivers},
  year={2026},
  pages={1-6},
  doi={10.1109/ICCWorkshops63917.2026.11586471}
}

Contact

Hamid Reza Hashempour

School of Electronics, Electrical Engineering and Computer Science

Queen's University Belfast

Email: h.hashempoor@qub.ac.uk, rezarhp@gmail.com

About

Python implementation of RIS-assisted secure energy-efficient SDMA beamforming using SCA and Dinkelbach optimization.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages