Supplementary File 1 - Simulation code
=======================================

Paper: Adaptive Multi-Agent Orchestration of IoT-Driven Business Processes
       at the Network Edge: A Simulation Study
Author: Sultan Syzdykov, Esil University, Astana, Kazakhstan

This archive contains the discrete-event simulator used to produce all
results reported in the paper.

Requirements
------------
Python 3.8 or newer. Only the standard library is used.

Files
-----
sim.py      Simulation model: edge nodes, cloud share, WAN uplink,
            process template, disruption scenario and the six
            orchestration policies (CC, EL, RR, CNP, AMAO_NL, AMAO).
            All parameters (Table 1 of the paper) are defined at the
            top of this file.
run_all.py  Experiment 1 (stationary load, 10-50 events/s) and the
            disruption scenario at 40 events/s, including the
            per-phase breakdown. Writes results.json.
e2low.py    Disruption scenario at 25 events/s (Tables 4 and 5),
            with per-phase SLA violation rates, plus the same load
            without disruptions for comparison.

How to run
----------
    python run_all.py
    python e2low.py

Each script prints its results to the console. Every configuration is
run with 10 random seeds (1-10); the same seed is used for all policies,
so comparisons are paired. A full run takes a few minutes on an
ordinary laptop.

Note: policy AMAO_NL in the code corresponds to AMAO-NL in the paper.
