Simulator for the eCAL metric
To install the required dependencies, run the following command:
pip install -r requirements.txtin case if you want to run LLMs you might need additional dependencies, you can install them by running the following command:
pip install transformers sentencepiece tiktokenTo run the calculator, use the following command:
python RunCalculator.pyThe configuration is done in the CalculatorConfig.py file. What specific configuration options are available can be found in the file itself.
To change the Control and Data plane overheads of the transmission layer or implement new protocols you can change the values in the configs/ProtocolConfigs.py file.
If you use this tool please cite our paper:
@Article{chou2025energycostartificialintelligence,
title={The Energy Cost of Artificial Intelligence Lifecycle in Communication Networks},
author={Shih-Kai Chou and Jernej Hribar and Vid Hanžel and Mihael Mohorčič and Carolina Fortuna},
year={2025},
eprint={2408.00540},
archivePrefix={arXiv},
primaryClass={cs.ET},
url={https://arxiv.org/abs/2408.00540},
}