Class PowerModelSqrt
java.lang.Object
org.cloudbus.cloudsim.power.models.PowerModelAbstract
org.cloudbus.cloudsim.power.models.PowerModelSimple
org.cloudbus.cloudsim.power.models.PowerModelSqrt
- All Implemented Interfaces:
PowerAware
,PowerModel
public class PowerModelSqrt extends PowerModelSimple
Implements a power model where the power consumption is the square root 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 PowerModelSqrt(double maxPower, double staticPowerPercent)
Instantiates a new power model sqrt. -
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
-
PowerModelSqrt
public PowerModelSqrt(double maxPower, double staticPowerPercent)Instantiates a new power model sqrt.- Parameters:
maxPower
- the max power that can be consumed in Watt-Second (Ws).staticPowerPercent
- the static power usage percentage between 0 and 1.
-