batsim icon indicating copy to clipboard operation
batsim copied to clipboard

Consumed energy output: instantaneous power might be cleaner

Open mpoquet opened this issue 7 years ago • 3 comments

In exported file _consumed_energy.csv, the written instantaneous power on a line corresponds to the energy difference with the previous line divided by the time difference with the previous line.

This leads to power values of NA for the first power value, or when two lines are at the exact same time.

Enhancement fix: the current consumed power could be retrieved from SimGrid to match the simulation current consumption. This way a line meaning would be present focused and future oriented, instead of past-focused and past-oriented. This way, no NA value would exist.

mpoquet avatar May 10 '17 05:05 mpoquet