| Package | Description |
|---|---|
| de.fzi.power.interpreter |
| Modifier and Type | Method and Description |
|---|---|
static ConsumptionContext |
ConsumptionContext.createConsumptionContext(PowerBindingRepository bindingRepository,
AbstractEvaluationScope initialScope,
PowerModelRegistry powerModelRegistry)
Creates a consumption context.
|
static ConsumptionContext |
ConsumptionContext.createConsumptionContext(PowerProvidingEntity ppe,
AbstractEvaluationScope initialScope,
PowerModelRegistry powerModelRegistry)
Creates a consumption context.
|
| Modifier and Type | Method and Description |
|---|---|
static PowerConsumptionSwitch |
PowerConsumptionSwitch.createPowerConsumptionSwitch(ConsumptionContext ctx)
Creates a power consumption switch.
|
void |
PowerConsumptionSwitch.setConsumptionContext(ConsumptionContext ctx)
Change the context for which the power consumption is evaluated.
|