Skip to main content

Power Models

The CPUPowerModel defines how CPU utilization translates to power consumption. Different model types suit different hardware characteristics.

Model Types

ModelDescriptionBest For
mseMean Squared Error based modelGeneral purpose, default
asymptoticNon-linear curve with asymptotic behaviorHigh-utilization workloads
linearLinear interpolation between idle and max powerSimple approximations

Parameters

All power models share these common parameters:

ParameterTypeDescription
idlePowerfloatPower draw at 0% utilization (Watts)
maxPowerfloatPower draw at 100% utilization (Watts)

MSE Model

The MSE model uses a calibration factor to scale predictions:

ParameterDescription
calibrationFactorScaling multiplier for power calculation

Asymptotic Model

The asymptotic model provides non-linear scaling:

ParameterDescription
asymUtilCurve coefficient (0-1), controls the shape of the utilization curve

Example Configuration

{
"cpuPowerModel": {
"modelType": "mse",
"idlePower": 25.0,
"maxPower": 174.0,
"calibrationFactor": 10.0
}
}

Calibration

When calibration is enabled, OpenDT automatically tunes power model parameters to minimize the error between predicted and actual power consumption.

The calibrator runs parallel simulations with different parameter values, calculates MAPE (Mean Absolute Percentage Error) against actual measurements, and publishes the best-performing configuration.