Interface PowerAware

All Known Subinterfaces:
Datacenter, PowerModel
All Known Implementing Classes:
DatacenterPowerSupply, DatacenterSimple, NetworkDatacenter, PowerModelAbstract, PowerModelCubic, PowerModelLinear, PowerModelSimple, PowerModelSpecPower, PowerModelSpecPowerHpProLiantMl110G3PentiumD930, PowerModelSpecPowerHpProLiantMl110G4Xeon3040, PowerModelSpecPowerHpProLiantMl110G5Xeon3075, PowerModelSpecPowerIbmX3250XeonX3470, PowerModelSpecPowerIbmX3250XeonX3480, PowerModelSpecPowerIbmX3550XeonX5670, PowerModelSpecPowerIbmX3550XeonX5675, PowerModelSqrt, PowerModelSquare

public interface PowerAware
An interface for power-aware components such as Datacenter and PowerModel.
Since:
CloudSim Plus 2.2.1
Author:
Manoel Campos da Silva Filho
  • Method Summary

    Modifier and Type Method Description
    double getPower()
    Gets the current power supply in Watts (w).
    default double getPowerInKWatts()
    Gets the current power supply in Kilowatts (kW).
    static double wattsSecToKWattsHour​(double power)
    Converts energy consumption from Watts-Second to Kilowatt-hour (kWh).
  • Method Details

    • getPower

      double getPower()
      Gets the current power supply in Watts (w).
      Returns:
      the power supply in Watts (w)
      See Also:
      getPowerInKWatts()
    • getPowerInKWatts

      default double getPowerInKWatts()
      Gets the current power supply in Kilowatts (kW).
      Returns:
      the power supply Kilowatts (kW)
      See Also:
      getPower()
    • wattsSecToKWattsHour

      static double wattsSecToKWattsHour​(double power)
      Converts energy consumption from Watts-Second to Kilowatt-hour (kWh).
      Parameters:
      power - the value in Watts-Second
      Returns:
      the value converted to Kilowatt-hour (kWh)