hu.mta.sztaki.lpds.cloud.simulator.energy.powermodelling
Class PowerState.ConsumptionModel
java.lang.Object
hu.mta.sztaki.lpds.cloud.simulator.energy.powermodelling.PowerState.ConsumptionModel
- Direct Known Subclasses:
- ConstantConsumptionModel, LinearConsumptionModel
- Enclosing class:
- PowerState
public abstract static class PowerState.ConsumptionModel
- extends Object
By sub-classing this class one can define arbitrary consumption models.
- Author:
- "Gabor Kecskemeti, Laboratory of Parallel and Distributed Systems, MTA SZTAKI (c) 2014"
Field Summary |
protected PowerState |
myPowerState
backlink to the power state with useful data to determine the
consumption model |
Method Summary |
protected abstract 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 |
myPowerState
protected final PowerState myPowerState
- backlink to the power state with useful data to determine the
consumption model
PowerState.ConsumptionModel
public PowerState.ConsumptionModel()
evaluateConsumption
protected abstract double evaluateConsumption(double load)
- calculates the instantaneous power draw of a resource spreader under
a particular load.
- 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.