This simulator evaluates TXOP outage duration and outage occurrence interval under legacy EDCA and proposed AC_N variants.
- Single AP uplink contention model.
- All overlapping uplink transmissions collide at the AP.
- Hidden-node probability affects sensing among STAs.
- Full TXOP transmission can be enabled with
--full-txop. - RTS/CTS can be enabled with
--enable-rts.
pip install numpy pandas matplotlibLegacy BE:
python edca_sim.py --stas 32 --acs AC_BE --txops 10000 --enable-rts --full-txop --no-plotProposed AC_N255:
python edca_sim.py --stas 32 --acs AC_N255 --txops 10000 --enable-rts --full-txop --no-plotHidden-node case:
python edca_sim.py --stas 32 --acs AC_N255 --txops 10000 --enable-rts --full-txop --hidden-prob 0.1The script writes results to results/<timestamp>_<pid>/, including:
txop_log.csv: per-TXOP start/end timestamps, STA, AC, RTS usage, durationsummary.txt: simulation arguments, sensing matrix, and aggregate statistics- Optional plots if
--no-plotis not used