Simulator for IoT data flow performance
Project description
EDICT
EDICT is a simulation tool for evaluating the performance of Edge interactions in IoT-enhanced environments. It generates a performance metrics dataset as a CSV file by relying on queueing network models.
Installation
EDICT can be installed with the following command
$ pip install edict-iot
Using EDICT
EDICT can be run either through the CLI, or can be called within your Python modules. Running EDICT requires 4 arguments:
- an input file, which contains the IoT system specification. Note that the input file should be located in a subdirectory called
files. - an output file, which refers to the output dataset where response time metrics will be saved. This dataset will contain aggregated results for all simulation runs.
- a duration (in seconds), which refers for how long the simulation should be run for. We recommend running the simulation for a duration of 3 to 5 minutes to achieve confidence levels higher than 95%.
- an alias to identify the simulation. This alias will also be used to identify the simulation in the output file.
To run EDICT using the CLI, you can run the following command:
$ edict --input files/input_file.json --output output_file.csv --duration duration --alias alias
You can also import EDICT in your Python code and call the simulate function with the same arguments, as follows:
import edict
edict.simulate(input_file=input_file, output_file=output_file, simulation_duration=duration, alias=alias)
EDICT will generate 2 CSV files containing performanc metrics:
- A CSV file of the form
alias_input_file.csv, located in thefilesdirectory. This file contains response time, throughput, and drop rate metrics per subscription. For each simulation, an individual file will be created. - A CSV file of the form
output_file.csv. This file will contain aggregated response time results for all simulations that you run and that haveoutput_file.csvas their output file. This file can be used for performance optimization approaches, for instance.
For more information about EDICT, please check https://github.com/houssamhh/edict.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file edict_iot-1.0.0.tar.gz.
File metadata
- Download URL: edict_iot-1.0.0.tar.gz
- Upload date:
- Size: 32.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44bfafeef81b4d8e6d0bb7c7352f6e0789e44e43611fa61d05951dd5a17a2ec3
|
|
| MD5 |
32710b6e633f1f9e0c82c6e0f9d86e80
|
|
| BLAKE2b-256 |
155e0d6744d410f5317d5be130c79c8b399bcb82c2e5e35c1d3e1889411eefb2
|
File details
Details for the file edict_iot-1.0.0-py3-none-any.whl.
File metadata
- Download URL: edict_iot-1.0.0-py3-none-any.whl
- Upload date:
- Size: 32.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4800f8c0bb5d3118f41bf9872631ad2ef15e7498f30713e1fb6ad307396bee99
|
|
| MD5 |
52ad870b09018790d4d09959461069a8
|
|
| BLAKE2b-256 |
446fc365efdcc07fd0688d466c7ced3a6d4f0750d08292f38955cd7e434be233
|