Class DatacenterPowerSupply

java.lang.Object
org.cloudbus.cloudsim.datacenters.DatacenterPowerSupply
All Implemented Interfaces:
PowerAware

public class DatacenterPowerSupply
extends java.lang.Object
implements PowerAware
Computes current amount of power being consumed by the Hosts of a Datacenter.
Since:
CloudSim Plus 4.2.0
Author:
Manoel Campos da Silva Filho
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static DatacenterPowerSupply NULL  
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
      DatacenterPowerSupply()  
    protected DatacenterPowerSupply​(Datacenter datacenter)  
  • Method Summary

    Modifier and Type Method Description
    protected double computePowerUtilizationForTimeSpan​(double lastDatacenterProcessTime)
    Computes an estimation of total power consumed (in Watts-sec) by all Hosts of the Datacenter since the last time the processing of Cloudlets in this Host was updated.
    double getPower()
    Gets the total power consumed by the Datacenter up to now in Watt-Second (Ws).
    protected DatacenterPowerSupply setDatacenter​(Datacenter datacenter)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.cloudbus.cloudsim.power.models.PowerAware

    getPowerInKWatts