Skip to content
Yuer-1218Public

About

Code and reproducibility package for SA-OPS: State-Aware Optimal Point Servicing for mobile AUVs with UOWC (IEEE TMC 2026)

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SA-OPS Reproducibility Package

License: MIT Python 3.11+

SA-OPS mission overview

This repository contains the minimal simulation and plotting package used for the numerical results in "Integrated Discovery and State-Aware Servicing for Mobile AUVs With UOWC: Modeling and Performance Analysis" (IEEE Transactions on Mobile Computing, 2026). Paper: arXiv:2607.15183 · IEEE Xplore

SA-OPS is a local threshold-based servicing policy for an AUV that first discovers an underwater optical node and then selects communication and charging actions from the node's reported residual energy. The package covers the analytical/Monte Carlo checks and the mission-level experiments reported in Figs. 2--8.

Repository Layout

SA-OPS/
├── src/
│   ├── theory_validation.py       # Figs. 2--5
│   ├── fig6_density_analysis.py   # Fig. 6
│   ├── fig7_policy_comparison.py  # Fig. 7
│   └── fig8_threshold_selection.py# Fig. 8
├── data/
│   ├── simulation_params.pkl
│   ├── simulation_initial_nodes.pkl
│   ├── fig6_results.pkl
│   ├── fig7_histories.pkl
│   ├── fig7_final_states.csv
│   ├── fig7_summary.csv
│   ├── fig8_topsis.csv
│   └── fig8_lws.csv
├── figures/
│   ├── paper_fig2.pdf ... paper_fig8.pdf
├── requirements.txt
└── README.md

The paper_fig*.pdf files are the exact figure files used in the revised manuscript. The archived data files are intentionally included so that the final plots can be regenerated without rerunning the most expensive Monte Carlo sweeps.

Environment

  • Python 3.11 or 3.12
  • A LaTeX distribution such as TeX Live or MiKTeX for the manuscript-style fonts
  • Times New Roman or a compatible Times font

Install the Python dependencies in an isolated environment:

python -m venv .venv
# Windows
.venv\Scripts\activate
# Linux/macOS
source .venv/bin/activate
pip install -r requirements.txt

Reproduce the Figures

Run the commands from the repository root.

# Fast analytical/Monte Carlo smoke test for Figs. 2--5
python src/theory_validation.py --quick

# Exact plots from the archived paper data
python src/fig6_density_analysis.py
python src/fig7_policy_comparison.py
python src/fig8_threshold_selection.py

The regenerated files are written to figures/reproduced_fig*.pdf and .png.

To rerun the mission-level Monte Carlo experiments instead of loading the archived outputs:

python src/fig6_density_analysis.py --simulate
python src/fig7_policy_comparison.py --simulate
python src/fig8_threshold_selection.py --simulate

The Fig. 8 full run evaluates 31 initial-energy means, 16 standard deviations, 71 healthy-threshold candidates, and 10 Monte Carlo realizations per candidate. It is therefore substantially more expensive than the plot-only command.

Figure-to-Code Mapping

Manuscript figure Reproduction entry Purpose
Fig. 2 src/theory_validation.py Maximum discovery distance: analytical model versus numerical search
Fig. 3 src/theory_validation.py Effective success volume: integral versus Monte Carlo integration
Fig. 4 src/theory_validation.py PPP discovery probability and expected search time
Fig. 5 src/theory_validation.py First-discovered-node distance distribution
Fig. 6 src/fig6_density_analysis.py SA-OPS mission evolution over density and completed services
Fig. 7 src/fig7_policy_comparison.py Five-policy comparison at the representative operating point
Fig. 8 src/fig8_threshold_selection.py TOPSIS/LWS healthy-threshold selection surfaces

Implemented Policies in Fig. 7

  • SA-OPS: associates with one discovered node and applies the three-branch energy-threshold rule.
  • Energy-Deficit Priority (EDP): polls up to 20 current candidates and selects the smallest projected residual energy.
  • Greedy Utility-per-Joule (UPJ): polls the same candidate set and ranks immediate rescue, energy increase, and healthy-threshold crossing per AUV service joule.
  • Communicate-Only: performs WIT without WPT.
  • Always-Charge: charges every encountered node to capacity.

EDP and UPJ use broader current-state information than SA-OPS; none of the policies observes future random realizations.

Reproducibility Notes

  • The Fig. 7 experiment uses 10 fixed seeds and a common initial node state.
  • Curves are extended horizontally after mission termination only inside the plotting function to permit panel-wise comparison.
  • fig8_topsis.csv and fig8_lws.csv store the final robust threshold surfaces after the common-random-number Monte Carlo and MCDA pipeline.
  • Fig. 1 is a conceptual system schematic and is not generated by this code package.

Citation

If you find this code useful in your research, please consider citing:

@article{ma2026integrated,
  title   = {Integrated Discovery and State-Aware Servicing for Mobile AUVs With UOWC: Modeling and Performance Analysis},
  author  = {Ma, Qiyu and Xu, Jiajie and Alouini, Mohamed-Slim},
  journal = {IEEE Transactions on Mobile Computing},
  year    = {2026},
  note    = {Early access}
}

License

This project is released under the MIT License.

About

Code and reproducibility package for SA-OPS: State-Aware Optimal Point Servicing for mobile AUVs with UOWC (IEEE TMC 2026)

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages