public interface CalculatorInstantiator
| Modifier and Type | Method and Description |
|---|---|
AbstractDistributionPowerModelCalculator |
instantiatePowerProvidingEntityCalculator(PowerProvidingEntity ppe)
Creates a
AbstractDistributionPowerModelCalculator for a PowerProvidingEntity
. |
IResourcePowerModelCalculator |
instantiateResourceCalculator(PowerConsumingResource resource)
Creates a
AbstractResourcePowerModelCalculator for a PowerConsumingResource. |
IResourcePowerModelCalculator |
instantiateStatefulResourcePowerModelCalculator(StatefulPowerConsumingResource resource)
Instantiate the resource power model calculator of a stateful resource.
|
IResourcePowerModelCalculator instantiateResourceCalculator(PowerConsumingResource resource)
AbstractResourcePowerModelCalculator for a PowerConsumingResource.
The calculator type is selected based on the
PowerConsumingResource.getResourcePowerAssemblyContext() of the
PowerConsumingResource.resource - The resource for which the calculator is created.AbstractDistributionPowerModelCalculator instantiatePowerProvidingEntityCalculator(PowerProvidingEntity ppe)
AbstractDistributionPowerModelCalculator for a PowerProvidingEntity
. The calculator type is selected based on the
PowerProvidingEntity.getDistributionPowerAssemblyContext().ppe - The entity for which the calculator is created.IResourcePowerModelCalculator instantiateStatefulResourcePowerModelCalculator(StatefulPowerConsumingResource resource)
resource - the resource for which the power model is generated.