Class ExpressionOasisDistributionPowerModelCalculator
- java.lang.Object
-
- de.fzi.power.interpreter.calculators.AbstractDistributionPowerModelCalculator
-
- de.fzi.power.interpreter.calculator.expressionoasis.ExpressionOasisDistributionPowerModelCalculator
-
public class ExpressionOasisDistributionPowerModelCalculator extends AbstractDistributionPowerModelCalculator
This class is anAbstractDistributionPowerModelCalculator
that makes use of the ExpressionOasis library to calculate the power consumption ofPowerProvidingEntity
s whose behavior is specified byDeclarativePowerModelSpecification
s.- See Also:
CalculatorFactoryImpl
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jscience.physics.amount.Amount<javax.measure.quantity.Power>
calculate(Map<PowerConsumingEntity,org.jscience.physics.amount.Amount<javax.measure.quantity.Power>> outletConsumptions)
Calculates the power consumption based on the power consumption measured or evaluated for a set of outlets of thePowerProvidingEntity
.
-
-
-
Method Detail
-
calculate
public org.jscience.physics.amount.Amount<javax.measure.quantity.Power> calculate(Map<PowerConsumingEntity,org.jscience.physics.amount.Amount<javax.measure.quantity.Power>> outletConsumptions)
Description copied from class:AbstractDistributionPowerModelCalculator
Calculates the power consumption based on the power consumption measured or evaluated for a set of outlets of thePowerProvidingEntity
.- Specified by:
calculate
in classAbstractDistributionPowerModelCalculator
- Parameters:
outletConsumptions
- The consumptions measured/evaluated at the outlets of a set of connected entities.- Returns:
- The consumption predicted by the calculator.
-
-