public abstract class PowerModelSpecPower extends java.lang.Object implements PowerModel
| Constructor and Description |
|---|
PowerModelSpecPower() |
| Modifier and Type | Method and Description |
|---|---|
double |
getPower(double utilization)
Get power consumption by the utilization percentage according to the power model.
|
protected abstract double |
getPowerData(int index)
Gets the power data.
|
public double getPower(double utilization)
throws java.lang.IllegalArgumentException
PowerModelgetPower in interface PowerModelutilization - the utilizationjava.lang.IllegalArgumentException - the illegal argument exceptionprotected abstract double getPowerData(int index)
index - the index