Interface PowerModel

All Known Subinterfaces:
PowerModelHost
All Known Implementing Classes:
PowerModelDatacenter, PowerModelDatacenterSimple, PowerModelHostAbstract, PowerModelHostSimple, PowerModelHostSpec

public interface PowerModel
A common interface for implementing models of power consumption for entities such as Datacenters and Hosts. A PowerModel computes the current power usage (in Watts) of an entity during the simulation.
Since:
CloudSim Plus 6.0.0
  • Method Details

    • getPowerMeasurement

      PowerMeasurement getPowerMeasurement()
      Returns:
      the entity's current power usage as a PowerMeasurement object, which can hold additional information like static and dynamic fraction of power usage.
      See Also:
    • getPower

      default double getPower()
      Returns:
      the entity's current total power usage as a double value, representing the Watts consumed.
      See Also: