Published June 30, 2025 | Version v1.0.0
Software Open

Gambling on Reconfigurable Intelligent Surfaces

  • 1. ROR icon TU Wien

Description

Gambling on Reconfigurable Intelligent Surfaces - Python Implementation

This code implements the techniques described in:

"Gambling on Reconfigurable Intelligent Surfaces", Stefan Schwarz, IEEE Communications Letters, 2024, Volume: 28, Issue: 4, DOI: 10.1109/LCOMM.2024.3360477  

Please cite this paper when using this code.

Context and methodology

  • This code was created as part of the project 10.55776/PAT4490824 funded by Austrian Science Fund (FWF).
  • The code serves to reproduce the results presented in 10.1109/LCOMM.2024.3360477.
  • The code is implemented in Python.

Technical details

  • The main file of the code is RIS_bidding_geometric.py. This code should be used to run simulations.  
  • Dependencies and requirements are described in pyproject.toml.
  • Additional information is provided in README.

Further details

  • The auction environment is defined in RIS_env_geometric_v2.py
  • Utility/value estimation is in RIS_Competition_Geometric.py
  • Wireles specific functions (channels, SINRs, etc) are in wireless_fuf.py
  • A trained RL agent for 3 base stations, 2 operators, 10 users, 20 RISs and 1000 reconfigurable elements per RIS is provided in ppo_ris_3BS_10UE_20RIS_1000M.zip. Run the main file RIS_bidding_geometric.py to test this agent.
  • You may train new agents for other settings by activating "retrain" in RIS_bidding_geometric.py

This project is licensed under the MIT License. See the LICENSE file for details.

Files

RIS_Gambling-v1.0.1.zip

Files (179.9 KiB)

Name Size
md5:f8d4a31838affa43def52ee330f11dd4
179.9 KiB Preview Download

Additional details

Related works

Is described by
Publication: 10.1109/LCOMM.2024.3360477 (DOI)
Is version of
Software: https://github.com/StefanSchwarzTUW/RIS_Gambling (URL)

Funding

RL-based Competition in Reconfigurable Wireless Environments PAT4490824
FWF Austrian Science Fund