A. Power Consumption Calculation