This is a project repository for flow-level carbon estimation. The project has two parts: (1) a power measurements part done on three types of switches and (2) a simulation part using the ns-3 simulator tool to quantify the scale of carbon per flow in a real network topology.
Carbon tracing at the flow level requires visibility in the network. The carbon cost of the flow should be traced at each device along the path of this flow.
The full description of the simulation setup, metrics and topologies can be found in the paper referenced below.
The measurements benchmark is explained in the relative folder. The simulation setup is also explained in the relative folder and can be linked to the carbon-aware routing simulation explained in https://github.com/ox-computing/CATE
When referencing this work, please use the following citation:
S. El Zahr, and N. Zilberman. 2025. "From Measurement to Emissions: Assessing the Carbon Footprint of Traffic Flows". In Proceedings of the ACM on Measurement and Analysis of Computing Systems (SIGMETRICS '26).