PowerAware

public interface PowerAware

An interface for power-aware components such as Datacenter and PowerModel.

Author:Manoel Campos da Silva Filho

Methods

getPower

double getPower()

Gets the current power consumption in Watt-Second (Ws). For this moment, it only computes the power consumed by Pes.

Returns:the power consumption in Watt-Second (Ws)

See also: .getPowerInKWattsHour()

getPowerInKWattsHour

double getPowerInKWattsHour()

Gets the current power consumption in Kilowatt-hour (kWh). For this moment, it only computes the power consumed by Pes.

Returns:the power consumption Kilowatt-hour (kWh)

See also: .getPower()

wattsSecToKWattsHour

static double wattsSecToKWattsHour(double power)

Converts from Watts-Second to Kilowatt-hour (kWh).

Parameters:
  • power – the value in Watts-Second
Returns:

the value converted to Kilowatt-hour (kWh)