Add functions to estimate compressor power consumption and extracting data needed to train the model.

Signed-off-by: Howard Cheung <howard.at@gmail.com>