Class PowerModelDatacenterSimple

java.lang.Object
org.cloudsimplus.power.models.PowerModelDatacenter
org.cloudsimplus.power.models.PowerModelDatacenterSimple
All Implemented Interfaces:
PowerModel

public class PowerModelDatacenterSimple extends PowerModelDatacenter
Simple power model defining the power consumption of a Datacenter. It's power usage is the aggregated power usage of all hosts, multiplied by the Power Usage Effectiveness (PUE).
Since:
CloudSim Plus 6.0.0
  • Constructor Details

    • PowerModelDatacenterSimple

      public PowerModelDatacenterSimple(Datacenter datacenter)
      Instantiates a PowerModelDatacenterSimple for a given Datacenter, defining the Power Usage Effectiveness (PUE) as 1 (100%).
      Parameters:
      datacenter - the Datacenter for which the power model will be defined
  • Method Details

    • getPowerMeasurement

      public 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:
    • setPowerUsageEffectiveness

      public void setPowerUsageEffectiveness(double powerUsageEffectiveness)
      Sets the Power Usage Effectiveness (PUE) for this Power Model, defining how effective power usage is.
      Parameters:
      powerUsageEffectiveness - a percentage value between [0 and 1]