hu.mta.sztaki.lpds.cloud.simulator.energy.powermodelling
Class NoIdleConsumptionModel

java.lang.Object
  extended by hu.mta.sztaki.lpds.cloud.simulator.energy.powermodelling.PowerState.ConsumptionModel
      extended by hu.mta.sztaki.lpds.cloud.simulator.energy.powermodelling.LinearConsumptionModel
          extended by hu.mta.sztaki.lpds.cloud.simulator.energy.powermodelling.NoIdleConsumptionModel

public class NoIdleConsumptionModel
extends LinearConsumptionModel

Defines a power draw model that either uses the LinearConsumptionModel to determine the power draw of uses 0W power draw value if there is no load specified. state.

Author:
"Gabor Kecskemeti, Laboratory of Parallel and Distributed Systems, MTA SZTAKI (c) 2014"

Field Summary
 
Fields inherited from class hu.mta.sztaki.lpds.cloud.simulator.energy.powermodelling.PowerState.ConsumptionModel
myPowerState
 
Constructor Summary
NoIdleConsumptionModel()
           
 
Method Summary
protected  double evaluateConsumption(double load)
          calculates the instantaneous power draw of a resource spreader under a particular load.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoIdleConsumptionModel

public NoIdleConsumptionModel()
Method Detail

evaluateConsumption

protected double evaluateConsumption(double load)
Description copied from class: PowerState.ConsumptionModel
calculates the instantaneous power draw of a resource spreader under a particular load.

Overrides:
evaluateConsumption in class LinearConsumptionModel
Parameters:
load - the load in the range of [0..1] of the resource spreader
Returns:
the estimated instantaneous power draw of the spreader in W.


Copyright © 2012–2015 University of Innsbruck & MTA SZTAKI. All rights reserved.