hu.mta.sztaki.lpds.cloud.simulator.energy.powermodelling
Class LinearConsumptionModel
java.lang.Object
hu.mta.sztaki.lpds.cloud.simulator.energy.powermodelling.PowerState.ConsumptionModel
hu.mta.sztaki.lpds.cloud.simulator.energy.powermodelling.LinearConsumptionModel
- Direct Known Subclasses:
- NoIdleConsumptionModel
public class LinearConsumptionModel
- extends PowerState.ConsumptionModel
Defines a power draw model that interpolates the returned instantaneous power
draw values between the minimum and maximum power draw values from the power
state.
- Author:
- "Gabor Kecskemeti, Laboratory of Parallel and Distributed Systems, MTA SZTAKI (c) 2014"
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 |
LinearConsumptionModel
public LinearConsumptionModel()
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.
- Specified by:
evaluateConsumption
in class PowerState.ConsumptionModel
- 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.