Class PowerModelSquare
java.lang.Object
org.cloudbus.cloudsim.power.models.PowerModelAbstract
org.cloudbus.cloudsim.power.models.PowerModelSimple
org.cloudbus.cloudsim.power.models.PowerModelSquare
- All Implemented Interfaces:
PowerAware
,PowerModel
public class PowerModelSquare extends PowerModelSimple
Implements a power model where the power consumption is the square of the resource usage.
If you are using any algorithms, policies or workload included in the power package please cite the following paper:
- Since:
- CloudSim Toolkit 2.0
- Author:
- Anton Beloglazov, Manoel Campos da Silva Filho
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PowerModelSquare(double maxPower, double staticPowerPercent)
Instantiates a new power model square. -
Method Summary
Methods inherited from class org.cloudbus.cloudsim.power.models.PowerModelSimple
getConstant, getMaxPower, getPowerInternal, getStaticPower, getStaticPowerPercent
Methods inherited from class org.cloudbus.cloudsim.power.models.PowerModelAbstract
getEnergyLinearInterpolation, getHost, getPower, getPower, setHost
-
Constructor Details
-
PowerModelSquare
public PowerModelSquare(double maxPower, double staticPowerPercent)Instantiates a new power model square.- Parameters:
maxPower
- the max power that can be consumed in Watt-Second (Ws).staticPowerPercent
- the static power usage percentage between 0 and 1.
-