added some methods to manage the time, and methods to convert signals
into power consumptions